Skip to contentSkip to conversation

samsung-laptop: Samsung 530U3C major ACPI issues

DISCUSSION Sebastian Riemer 3 participants 8 messages Oct 24, 2012 – Oct 30, 2012 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

Hi Greg,

as you're the maintainer of the samsung-laptop driver I think that you can help with getting support for the Samsung 530U3C laptop into it.

My colleague Adrian reports the following ACPI issues:
- the closing of the lid isn't detected
- if the DC power supply is removed, this isn't detected
- Wifi LED is always turned on even if Wifi is deactivated
- high battery consumption

Attached you can find the debug data from "dmesg" and "lshw" from Fedora
17. The kernel messages already indicate ACPI issues.

How can we support you with getting the 530U3C support into the samsung-laptop driver?

Cheers,
Sebastian

Signature · 11 lines
Sebastian Riemer
Linux Kernel Developer - Storage

We are looking for (SENIOR) LINUX KERNEL DEVELOPERS!

ProfitBricks GmbH • Greifswalder Str. 207 • 10405 Berlin, Germany
www.profitbricks.com • [email protected]

Sitz der Gesellschaft: Berlin
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B
Geschäftsführer: Andreas Gauger, Achim Weiss
#1 lore raw

Hi Greg,

as you're the maintainer of the samsung-laptop driver I think that you can help with getting support for the Samsung 530U3C laptop into it.

My colleague Adrian reports the following ACPI issues:
- the closing of the lid isn't detected
- if the DC power supply is removed, this isn't detected
- Wifi LED is always turned on even if Wifi is deactivated
- high battery consumption

Attached you can find the debug data from "dmesg" and "lshw" from Fedora
17. The kernel messages already indicate ACPI issues.

How can we support you with getting the 530U3C support into the samsung-laptop driver?

Cheers,
Sebastian

P.S. Sorry for sending this email twice to the list. This time with the correct email address.

Signature · 11 lines
Sebastian Riemer
Linux Kernel Developer - Storage

We are looking for (SENIOR) LINUX KERNEL DEVELOPERS!

ProfitBricks GmbH • Greifswalder Str. 207 • 10405 Berlin, Germany
www.profitbricks.com • [email protected]

Sitz der Gesellschaft: Berlin
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B
Geschäftsführer: Andreas Gauger, Achim Weiss
#2 lore raw
Quoted 4 lines · Sebastian Riemer

Hi Greg,

as you're the maintainer of the samsung-laptop driver I think that you can help with getting support for the Samsung 530U3C laptop into it.

Wait, no, I am not the maintainer of that driver anymore, please see the MAINTAINERS file for the correct maintainer.

Or, you can use the scripts/get_maintainer.pl tool to determine this:

$ ./scripts/get_maintainer.pl --file drivers/platform/x86/samsung-laptop.c 
Corentin Chary <[email protected]> (maintainer:SAMSUNG LAPTOP DR...)
Matthew Garrett <[email protected]> (maintainer:X86 PLATFORM DRIVERS)
[email protected] (open list:SAMSUNG LAPTOP DR...)
[email protected] (open list)

I suggest you resend this message to Corentin, and cc: the other people and lists listed above.

Hope this helps,

greg k-h

#3 lore raw
In reply to Sebastian Riemer

Hi Corentin,

as you're the maintainer of the samsung-laptop driver I think that you can help with getting support for the Samsung 530U3C laptop into it.

My colleague Adrian reports the following ACPI issues:
- the closing of the lid isn't detected
- if the DC power supply is removed, this isn't detected
- Wifi LED is always turned on even if Wifi is deactivated
- high battery consumption

Attached you can find the debug data from "dmesg" and "lshw" from Fedora
17. The kernel messages already indicate ACPI issues.

How can we support you with getting the 530U3C support into the samsung-laptop driver?

Cheers,
Sebastian

Signature · 11 lines
Sebastian Riemer
Linux Kernel Developer - Storage

We are looking for (SENIOR) LINUX KERNEL DEVELOPERS!

ProfitBricks GmbH • Greifswalder Str. 207 • 10405 Berlin, Germany
www.profitbricks.com • [email protected]

Sitz der Gesellschaft: Berlin
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B
Geschäftsführer: Andreas Gauger, Achim Weiss
#4 lore raw

Hi,

Quoted 4 lines · Sebastian Riemer

Hi Corentin,

as you're the maintainer of the samsung-laptop driver I think that you can help with getting support for the Samsung 530U3C laptop into it.

samsung-laptop doesn't use ACPI, only SABI interface.

Quoted 3 lines

My colleague Adrian reports the following ACPI issues:
- the closing of the lid isn't detected
- if the DC power supply is removed, this isn't detected

This looks like ACPI issues, please file a bug on bugzilla, but first thing, check for bios updates :).

Quoted 1 line

- Wifi LED is always turned on even if Wifi is deactivated

I don't know what handle the LED here .. anything in /sys/class/led ?

Quoted 1 line

- high battery consumption

See powertop for that, may helps. Also check various graphic card parameters for power consumption.

Quoted 5 lines

Attached you can find the debug data from "dmesg" and "lshw" from Fedora
17. The kernel messages already indicate ACPI issues.

How can we support you with getting the 530U3C support into the samsung-laptop driver?

Unfortunately, this doesn't seems to be related to samsung-laptop :).

Signature · 2 lines
Corentin Chary
http://xf.iksaif.net
#5 lore raw

Hi Corentin,

Quoted 1 line · Corentin Chary

samsung-laptop doesn't use ACPI, only SABI interface.

I thought it does for the video driver/backlight control. The strange thing is that the issues start directly after loading the driver. Perhaps it has to be blacklisted for this model.

Kernel log:

samsung_laptop: detected SABI interface: SwSmi@
samsung_laptop: Backlight controlled by ACPI video driver ACPI Warning: 0x000000000000efa0-0x000000000000efbf SystemIO conflicts with Region \_SB_.PCI0.SBUS.SMBI 1 (20120711/utaddress-251)
ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver

Where are the custom ACPI drivers in the kernel tree if not in drivers/platform/x86 ?
E.g. "eeepc-laptop" registers something like a custom ACPI driver if I see that right.

Quoted 2 lines

This looks like ACPI issues, please file a bug on bugzilla, but first thing, check for bios updates :).

Which bugzilla? Sorry, I'm not an ACPI specialist.

Cheers,
Sebastian

#6 lore raw
Quoted 8 lines · Sebastian Riemer

Hi Corentin,

Quoted 1 line · Corentin Chary

samsung-laptop doesn't use ACPI, only SABI interface.

I thought it does for the video driver/backlight control. The strange thing is that the issues start directly after loading the driver. Perhaps it has to be blacklisted for this model.

samsung-laptop talks to the bios directly using SABI. But the BIOS is also related to ACPI, so things can get ugly I guess...

Quoted 8 lines

Kernel log:

samsung_laptop: detected SABI interface: SwSmi@
samsung_laptop: Backlight controlled by ACPI video driver ACPI Warning: 0x000000000000efa0-0x000000000000efbf SystemIO conflicts with Region \_SB_.PCI0.SBUS.SMBI 1 (20120711/utaddress-251)
ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver

Hum can you try to blacklist samsung-laptop, load it manually, and send me the dmesg ?
If possible with and without acpi_backlght=vendor boot parameter.

Quoted 2 lines

Where are the custom ACPI drivers in the kernel tree if not in drivers/platform/x86 ?

drivers/paltform/x86 contains x86 platform drivers, and some of them are ACPI drivers, but not all of them.

Quoted 4 lines
Quoted 2 lines

This looks like ACPI issues, please file a bug on bugzilla, but first thing, check for bios updates :).

Which bugzilla? Sorry, I'm not an ACPI specialist.

The linux kernel bugzilla. But before doing that, are this issues only hapenning when/if samsung-laptop is loaded ?
Can you send me he output of:

tree /sys/devices/platform/samsung-laptop/
tree /sys/class/backlight

Thanks

Signature · 2 lines
Corentin Chary
http://xf.iksaif.net
#7 lore raw

Hi Corentin,

I've found the related bugs in the kernel bugzilla. These are really ACPI issues.

https://bugzilla.kernel.org/show_bug.cgi?id=45461
https://bugzilla.kernel.org/show_bug.cgi?id=44161

If my colleague Adrian wouldn't have removed Windows from his laptop, then it would be possible to do some reverse engineering, I guess. Where do vendor specific ACPI/WMI drivers hide for Windows? In the chipset drivers? SMBus?
Special are also the HECI/MEI devices with that laptop model. Haven't seen such drivers before - these are also in the linux staging drivers.

Cheers,
Sebastian

Quoted 42 lines · Corentin Chary
Quoted 7 lines · Sebastian Riemer

Hi Corentin,

Quoted 1 line · Corentin Chary

samsung-laptop doesn't use ACPI, only SABI interface.

I thought it does for the video driver/backlight control. The strange thing is that the issues start directly after loading the driver. Perhaps it has to be blacklisted for this model.

samsung-laptop talks to the bios directly using SABI. But the BIOS is also related to ACPI, so things can get ugly I guess...

Quoted 8 lines

Kernel log:

samsung_laptop: detected SABI interface: SwSmi@
samsung_laptop: Backlight controlled by ACPI video driver ACPI Warning: 0x000000000000efa0-0x000000000000efbf SystemIO conflicts with Region \_SB_.PCI0.SBUS.SMBI 1 (20120711/utaddress-251)
ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver

Hum can you try to blacklist samsung-laptop, load it manually, and send me the dmesg ?
If possible with and without acpi_backlght=vendor boot parameter.

Quoted 2 lines

Where are the custom ACPI drivers in the kernel tree if not in drivers/platform/x86 ?

drivers/paltform/x86 contains x86 platform drivers, and some of them are ACPI drivers, but not all of them.

Quoted 3 lines
Quoted 2 lines

This looks like ACPI issues, please file a bug on bugzilla, but first thing, check for bios updates :).

Which bugzilla? Sorry, I'm not an ACPI specialist.

The linux kernel bugzilla. But before doing that, are this issues only hapenning when/if samsung-laptop is loaded ?
Can you send me he output of:

tree /sys/devices/platform/samsung-laptop/
tree /sys/class/backlight

Thanks