Support #24

ul20a 2x117v support

Added by Anonymous almost 2 years ago. Updated 10 months ago.

Status:Closed Start date:03/05/2010
Priority:Normal Due date:
Assignee:Corentin Chary % Done:

0%

Category:-
Target version:-

Description

Hi,

I've some requests for this new great laptop.

  1. (very important!) The usual
    echo 0 > /sys/devices/platform/asus-laptop/wlan
    doesn't turn off the wireless radio. It's always on. However the wireless led is turned off. The wireless led is common between wireless and bluetooth, i.e. it is on if one between wireless or bluetooth is on. The wireless card is a Realtek 8191se, and works with the drivers downloaded and compiled from the manufacture site (with a little modification, see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/513883
  1. On the contrary, bluetooth is turned off by the usual change of bluetooth variable.
  1. Brightness keys work, but there's no change in /sys/devices/platform/asus-laptop/display. So it isn't possible to change the display brightness via software.
  1. other function keys don't work (for instance the touchpad one) but it's not important.

The output of dmesg | grep asus is:

[    4.679877] asus_laptop: Asus Laptop Support version 0.42
[    4.685910] asus_laptop:   UL20A model detected
[    4.691382] Registered led device: asus::touchpad
[    4.691435] asus_laptop: Brightness ignored, must be controlled by ACPI video driver

cat /sys/devices/platform/asus-laptop/infos

Asus Laptop Support 0.42
Model reference    : UL20A
SFUN value         : 0x1a18f7
DSDT length        : 53019
DSDT checksum      : 178
DSDT revision      : 1
OEM id             : UL20A
OEM table id       : UL20A207
OEM revision       : 0x207
ASL comp vendor id : INTL
ASL comp revision  : 0x20051117

I'm running a 2.6.32-trunk-amd64 kernel on debian squeeze (testing)

I'm attaching the dsdt dump and the output of lspci -nn.

Thank You,
Giuseppe Capriani

PS if anything else is needed just let me know!

dsdt (51.8 kB) Anonymous, 03/05/2010 05:28 pm

lspci_-nn.txt (2.1 kB) Anonymous, 03/05/2010 05:28 pm


Add

CC Addresses

  • none

History

Updated by Corentin Chary almost 2 years ago

Comment
  1. (very important!) The usual
    echo 0 > /sys/devices/platform/asus-laptop/wlan
    doesn't turn off the wireless radio. It's always on. However the wireless led is turned off. The wireless led is common between wireless and bluetooth, i.e. it is on if one between wireless or bluetooth is on. The wireless card is a Realtek 8191se, and works with the drivers downloaded and compiled from the manufacture site (with a little modification, see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/513883

wlan file directly calls WLED method provided by bios, and asus-laptop can't do anything else.
If your wireless driver provide an rfkill interface, use it.
Else, you can try to play (and report results) with wapf (see http://dev.iksaif.net/projects/acpi4asus/wiki/Asus-laptop_SFUN )

  1. On the contrary, bluetooth is turned off by the usual change of bluetooth variable.

bluetooth file calls BLED, see wapf above

  1. Brightness keys work, but there's no change in /sys/devices/platform/asus-laptop/display. So it isn't possible to change the display brightness via software.

display don't control the britghness, use /sys/class/backlight for that.

  1. other function keys don't work (for instance the touchpad one) but it's not important.

Please reed http://dev.iksaif.net/projects/acpi4asus/wiki/Asus-laptop_Support#Hotkeys and report informations about keys that are not working :).

Thanks for your detailed report !

Updated by Corentin Chary almost 2 years ago

  • Assignee set to Corentin Chary

Updated by Anonymous almost 2 years ago

Comment

Corentin Chary wrote:

wlan file directly calls WLED method provided by bios, and asus-laptop can't do anything else.
If your wireless driver provide an rfkill interface, use it.
Else, you can try to play (and report results) with wapf (see http://dev.iksaif.net/projects/acpi4asus/wiki/Asus-laptop_SFUN )

Playing with wapf=0,1,2,3,4,5 doesn't change anything but the behaviour of the Fn+F2 that one can see with acpi_listen. The wireless is always on. Sadly to say, realtek driver doesn't provide an rfkill interface. I've emailed to realtek tech support, but I don't think they will answer me

Also I've played with acpi_osi=Linux or =!Linux, but nothing has changed. May a newer bios help or not?

display don't control the britghness, use /sys/class/backlight for that.

I haven't had this file. It appears if I add acpi_backlight=vendor to kernel options and then works great! However the file is /sys/class/backlight/asus_laptop/actual_brightness that is a link to /sys/devices/platform/asus_laptop/backlight/asus_laptop/actual_brightness

Another (strange) thing is that the caps lock led works only in X. Why?

Best regards,
Giuseppe

Updated by Corentin Chary almost 2 years ago

Comment

Also I've played with acpi_osi=Linux or =!Linux, but nothing has changed. May a newer bios help or not?

I don't think so

display don't control the britghness, use /sys/class/backlight for that.

I haven't had this file. It appears if I add acpi_backlight=vendor to kernel options and then works great! However the file is /sys/class/backlight/asus_laptop/actual_brightness that is a link to /sys/devices/platform/asus_laptop/backlight/asus_laptop/actual_brightness

The file is a link because the parent of this backlight class is asus_laptop. However, without acpi_backlight=vender, there should be something in /sys/class/backlight (registed by the video.ko ACPI driver)

Another (strange) thing is that the caps lock led works only in X. Why?

I don't know, but I think this should be reported to linux-input mailing list :)

Updated by Anonymous almost 2 years ago

Comment

Corentin Chary wrote:

wlan file directly calls WLED method provided by bios, and asus-laptop can't do anything else.

I don't understand this point. If asus-laptop calls a bios function and it doesn't work, is it bios' fault or not? If yes, do I have to report it to asus? Probably they never answer me, but at least I can try :) Furthermore I can't try whether is it possible to turn off the radio in ms win or not. Can it be useful to know or not? Or is realtek's driver fault?

Best regards,
Giuseppe

Updated by Corentin Chary almost 2 years ago

Comment

Anonymous wrote:

Corentin Chary wrote:

wlan file directly calls WLED method provided by bios, and asus-laptop can't do anything else.

I don't understand this point. If asus-laptop calls a bios function and it doesn't work, is it bios' fault or not? If yes, do I have to report it to asus? Probably they never answer me, but at least I can try :) Furthermore I can't try whether is it possible to turn off the radio in ms win or not. Can it be useful to know or not? Or is realtek's driver fault?

Well, Asus don't provide any kind of documentation about how to use these bios method, so we have to guess. Currently, this WLED issue have no easy solution. On Eeepcs, there is a method that always work, so it simpler. Anyway, I think realtek driver should provide an rfkill interface. Maybe drivers inclued in the kernel (not from realtek) do so. But I don't know if your device is supported by mainline drivers.

Updated by Corentin Chary almost 2 years ago

  • Status changed from New to Closed

Updated by Anonymous almost 2 years ago

Comment

Just to let known to everybody that with the latest driver from realtek site web (version n° 15), it is added rfkill support.

However it is needed to activate the rf kill support changing the makefile (essentially one has to decomment the rfkill support for 8192se).

Now I'm happy.

BR,
Giuseppe

Also available in: Atom PDF