micheleciona / aceracpi

Automatically exported from code.google.com/p/aceracpi
0 stars 0 forks source link

[Regression] Brightness works on 0.8.2 but not 0.9.0 #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. cd /proc/acpi/acer
2. cat brightness

What is the expected output? What do you see instead?
The expected output is the current brightness value of the panel.
However, I see -
root@ubuntu:/proc/acpi/acer# cat brightness
Read error

What version of acer_acpi are you using? On which distribution and kernel
version?
Version 0.9.0 on ubuntu feisty fawn - kernel 2.6.20-16-generic. Version
0.8.2 on the _same_ kernel works perfectly. With 0.9.0 the backlight device
class is still properly exported (/sys/class/backlight/acer_acpi/ exists),
but no programs using it work (e.g. kpowersave). 

Please provide any additional information below.
The dmesg output while loading the module is -
[   19.204000] acer_acpi: Acer Laptop ACPI Extras version 0.9.0
[   19.204000] acer_acpi: Detected Acer WMID interface

Original issue reported on code.google.com by rohandhr...@gmail.com on 28 Sep 2007 at 5:52

GoogleCodeExporter commented 8 years ago
I am sorry, the title of the bug is misleading. On ubuntu with kernel 2.6.20, 
nothing
works. cat wireless, bluetooth, threeg all give "Read error". cat interface 
displays
WMID and cat version displays 0.9.0. All the above features worked perfectly on 
0.8.2
(my laptop is Acer TravelMate 3260 which does not have 3G).

Original comment by rohandhr...@gmail.com on 28 Sep 2007 at 5:58

GoogleCodeExporter commented 8 years ago
Please load acer_acpi with debug=2 and give me the output from dmesg when you 
try 
and read wireless, bluetooth, etc.

Original comment by cathec...@gmail.com on 28 Sep 2007 at 6:02

GoogleCodeExporter commented 8 years ago
I am right now on kernel 2.6.22 on arch linux. Without any parameters, I get 
the same
errors while trying to read any of the above, even on 2.6.22.

After loading with debug=2 dmesg shows --
acer_acpi: Acer Laptop ACPI Extras version 0.9.0
acer_acpi: Detected Acer WMID interface
acer_acpi: Finding quirks
acer_acpi: Looking for quirks
acer_acpi: No quirks known for this laptop
acer_acpi: Initialising interface
acer_acpi: Loading backlight driver
acer_acpi: ACPI driver registered
acer_acpi: Commandline args: mailled(-1) wireless(-1) bluetooth(-1) 
brightness(-1)

and 

[rohan@archlinux acer]$ sudo cat brightness
Read error

Same for bluetooth wireless etc. 

Original comment by rohandhr...@gmail.com on 28 Sep 2007 at 6:08

GoogleCodeExporter commented 8 years ago
Oh, and after doing cat brightness wireless etc. there is no change in the dmesg
output. The last line of dmesg is 

acer_acpi: Commandline args: mailled(-1) wireless(-1) bluetooth(-1) 
brightness(-1)

which is after loading the module.

Original comment by rohandhr...@gmail.com on 28 Sep 2007 at 6:11

GoogleCodeExporter commented 8 years ago
Please try this patch (it will apply with some warnings about fuzziness - 
ignore 
them).

Original comment by cathec...@gmail.com on 28 Sep 2007 at 6:15

Attachments:

GoogleCodeExporter commented 8 years ago
After applying this patch and modprobe-ing it, 

[rohan@archlinux acer]$ cat bluetooth
Segmentation fault
[rohan@archlinux acer]$ cat brightness
2
[rohan@archlinux acer]$ cat wireless
Segmentation fault
[rohan@archlinux acer]$ cat threeg
Segmentation fault
[rohan@archlinux acer]$ cat version
0.9.0
[rohan@archlinux acer]$ cat interface
WMID
[rohan@archlinux acer]$

After unloading and loading with debug=2 , dmesg shows this -->

acer_acpi: Acer Laptop ACPI Extras version 0.9.0
acer_acpi: Detected Acer WMID interface
acer_acpi: Finding quirks
acer_acpi: Looking for quirks
acer_acpi: No quirks known for this laptop
acer_acpi: Initialising interface
acer_acpi: Loading backlight driver
acer_acpi: Doing \_SB.WMID.WMBA( 1, 3, [4-byte buffer] )
acer_acpi:   Execution status: 0
acer_acpi:   Result: 20 bytes
acer_acpi:   In: 0x00000000
acer_acpi:   Out: 0x00000002
acer_acpi: Doing \_SB.WMID.WMBA( 1, 6, [4-byte buffer] )
acer_acpi:   Execution status: 0
acer_acpi:   Result: 20 bytes
acer_acpi:   In: 0x00000002
acer_acpi:   Out: 0x00000000
acer_acpi: ACPI driver registered
acer_acpi: Commandline args: mailled(-1) wireless(-1) bluetooth(-1) 
brightness(-1)

And after I get a segmentation fault, I did a dmesg again. This time --->

acer_acpi: Commandline args: mailled(-1) wireless(-1) bluetooth(-1) 
brightness(-1)
acer_acpi: Doing \_SB.WMID.WMBA( 1, 3, [4-byte buffer] )
acer_acpi:   Execution status: 0
acer_acpi:   Result: 20 bytes
acer_acpi:   In: 0x00000000
acer_acpi:   Out: 0x00000002
acer_acpi: Doing \_SB.WMID.WMBA( 1, 1, [4-byte buffer] )
acer_acpi:   Execution status: 0
acer_acpi:   Result: 20 bytes
acer_acpi:   In: 0x00000000
acer_acpi:   Out: 0x00000000
BUG: unable to handle kernel NULL pointer dereference at virtual address 
00000000
 printing eip:
e099f935
*pde = 00000000
Oops: 0002 [#4]
PREEMPT SMP
Modules linked in: acer_acpi led_class i915 drm ipv6 cpufreq_ondemand nls_cp437 
vfat
fat joydev rtc_cmos rtc_core rtc_lib usbhid hid ff_memless tifm_7xx1 tifm_core 
pcmcia
yenta_socket rsrc_nonstatic pcmcia_core i2c_i801 i2c_core psmouse serio_raw sg
intel_agp agpgart tsdev thermal fan button battery ac evdev acpi_cpufreq 
freq_table
processor snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_hda_intel
snd_hwdep snd_pcm_oss snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd 
soundcore
sky2 ext3 jbd mbcache sr_mod cdrom sd_mod ehci_hcd uhci_hcd usbcore ata_piix
ata_generic libata
CPU:    0
EIP:    0060:[<e099f935>]    Not tainted VLI
EFLAGS: 00210246   (2.6.22-ARCH #1)
EIP is at WMID_get_u8+0x35/0xc0 [acer_acpi]
eax: 00000000   ebx: 00000000   ecx: df68f0c0   edx: 00000000
esi: d870ff24   edi: 00000400   ebp: d870ff64   esp: d870fefc
ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Process cat (pid: 6254, ti=d870e000 task=cd8f9a70 task.ti=d870e000)
Stack: 00000000 00001005 e099fafb 00000000 d81c1000 d81c1000 e099fecf c1303820
       c7228ef0 000200d0 00000b1c 00000000 e099f090 e099f020 d81c1000 00000400
       00000400 c01b61e0 00000400 d870ff68 e09a2820 00000400 00000000 0804e000
Call Trace:
 [<e099fafb>] get_bool+0x2b/0x1b0 [acer_acpi]
 [<e099fecf>] read_bool+0xf/0x50 [acer_acpi]
 [<e099f090>] dispatch_read+0x70/0x80 [acer_acpi]
 [<e099f020>] dispatch_read+0x0/0x80 [acer_acpi]
 [<c01b61e0>] proc_file_read+0x1e0/0x2a0
 [<c01b6000>] proc_file_read+0x0/0x2a0
 [<c017b8cb>] vfs_read+0xbb/0x140
 [<c017bdb1>] sys_read+0x41/0x70
 [<c010433e>] sysenter_past_esp+0x6b/0xa1
 [<c0350000>] netlbl_mgmt_listdef+0x60/0x260
 =======================
Code: 0c ba 05 10 00 00 83 c4 04 89 d0 5b c3 ff 24 95 6c 05 9a e0 b8 0a 00 00 
00 31
d2 89 e1 e8 84 fa ff ff 85 c0 89 c2 75 de 8b 04 24 <88> 03 83 c4 04 89 d0 5b c3 
a1 4c
33 9a e0 83 78 04 01 74 60 83
EIP: [<e099f935>] WMID_get_u8+0x35/0xc0 [acer_acpi] SS:ESP 0068:d870fefc

Original comment by rohandhr...@gmail.com on 28 Sep 2007 at 6:22

GoogleCodeExporter commented 8 years ago
Oh, and after applying that patch, I can control the brightness using echo 15 >
brightness i.e. brightness system works perfectly.
All other interfaces segfault, as I showed above. 

Original comment by rohandhr...@gmail.com on 28 Sep 2007 at 6:25

GoogleCodeExporter commented 8 years ago
Apply this patch on top of the previous one, and load again with debug=2

Original comment by cathec...@gmail.com on 28 Sep 2007 at 6:32

Attachments:

GoogleCodeExporter commented 8 years ago
After modprobe with debug=2, dmesg -->

acer_acpi: Acer Laptop ACPI Extras version 0.9.0
acer_acpi: Detected Acer WMID interface
acer_acpi: Finding quirks
acer_acpi: Looking for quirks
acer_acpi: No quirks known for this laptop
acer_acpi: Initialising interface
acer_acpi: Loading backlight driver
acer_acpi: Doing \_SB.WMID.WMBA( 1, 3, [4-byte buffer] )
acer_acpi:   Execution status: 0
acer_acpi:   Result: 20 bytes
acer_acpi:   In: 0x00000000
acer_acpi:   Out: 0x00000004
acer_acpi: Doing \_SB.WMID.WMBA( 1, 6, [4-byte buffer] )
acer_acpi:   Execution status: 0
acer_acpi:   Result: 20 bytes
acer_acpi:   In: 0x00000004
acer_acpi:   Out: 0x00000000
acer_acpi: ACPI driver registered
acer_acpi: Commandline args: mailled(-1) wireless(-1) bluetooth(-1) 
brightness(-1)

Then -->
[rohan@archlinux acer]$ sudo cat bluetooth
Segmentation fault

dmesg after that -->
acer_acpi: Calling get_u8 for WMID bool
acer_acpi: Doing \_SB.WMID.WMBA( 1, 2, [4-byte buffer] )
acer_acpi:   Execution status: 0
acer_acpi:   Result: 20 bytes
acer_acpi:   In: 0x00000000
acer_acpi:   Out: 0x00000000
BUG: unable to handle kernel NULL pointer dereference at virtual address 
00000000
 printing eip:
e099f935
*pde = 00000000
Oops: 0002 [#6]
PREEMPT SMP
Modules linked in: acer_acpi led_class i915 drm ipv6 cpufreq_ondemand nls_cp437 
vfat
fat joydev rtc_cmos rtc_core rtc_lib usbhid hid ff_memless tifm_7xx1 tifm_core 
pcmcia
yenta_socket rsrc_nonstatic pcmcia_core i2c_i801 i2c_core psmouse serio_raw sg
intel_agp agpgart tsdev thermal fan button battery ac evdev acpi_cpufreq 
freq_table
processor snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_hda_intel
snd_hwdep snd_pcm_oss snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd 
soundcore
sky2 ext3 jbd mbcache sr_mod cdrom sd_mod ehci_hcd uhci_hcd usbcore ata_piix
ata_generic libata
CPU:    0
EIP:    0060:[<e099f935>]    Not tainted VLI
EFLAGS: 00210246   (2.6.22-ARCH #1)
EIP is at WMID_get_u8+0x35/0xc0 [acer_acpi]
eax: 00000000   ebx: 00000000   ecx: df68f0c0   edx: 00000000
esi: 00001005   edi: d9673f24   ebp: d9673f64   esp: d9673ef4
ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Process cat (pid: 7293, ti=d9672000 task=cfea9030 task.ti=d9672000)
Stack: 00000000 00000004 e099fb84 e09a0a94 00000001 c2ab5000 c2ab5000 00000400
       e099ff0f c10556a0 d3c63ef0 000200d0 00000b28 00000000 e099f090 e099f020
       c2ab5000 00000400 00000400 c01b61e0 00000400 d9673f68 e09a28b0 00000400
Call Trace:
 [<e099fb84>] get_bool+0xb4/0x1f0 [acer_acpi]
 [<e099ff0f>] read_bool+0xf/0x50 [acer_acpi]
 [<e099f090>] dispatch_read+0x70/0x80 [acer_acpi]
 [<e099f020>] dispatch_read+0x0/0x80 [acer_acpi]
 [<c01b61e0>] proc_file_read+0x1e0/0x2a0
 [<c01b6000>] proc_file_read+0x0/0x2a0
 [<c017b8cb>] vfs_read+0xbb/0x140
 [<c017bdb1>] sys_read+0x41/0x70
 [<c010433e>] sysenter_past_esp+0x6b/0xa1
 [<c0350000>] netlbl_mgmt_listdef+0x60/0x260
 =======================
Code: 0c ba 05 10 00 00 83 c4 04 89 d0 5b c3 ff 24 95 ac 05 9a e0 b8 0a 00 00 
00 31
d2 89 e1 e8 84 fa ff ff 85 c0 89 c2 75 de 8b 04 24 <88> 03 83 c4 04 89 d0 5b c3 
a1 4c
34 9a e0 83 78 04 01 74 60 83
EIP: [<e099f935>] WMID_get_u8+0x35/0xc0 [acer_acpi] SS:ESP 0068:d9673ef4

Original comment by rohandhr...@gmail.com on 28 Sep 2007 at 6:41

GoogleCodeExporter commented 8 years ago
Another patch to try - this rolls up the previous patches in one, and adds some 
more debugging.

Please get a fresh copy of acer_acpi 0.9, apply this patch, and then run again 
with 
debug=2

Original comment by cathec...@gmail.com on 28 Sep 2007 at 9:39

Attachments:

GoogleCodeExporter commented 8 years ago
After applying the patch and dmesg with modprobe debug=2 ---> 
acer_acpi: Acer Laptop ACPI Extras version 0.9.0
acer_acpi: Detected Acer WMID interface
acer_acpi: Finding quirks
acer_acpi: Looking for quirks
acer_acpi: No quirks known for this laptop
acer_acpi: Initialising interface
acer_acpi: Loading backlight driver
acer_acpi: Doing \_SB.WMID.WMBA( 1, 3, [4-byte buffer] )
acer_acpi:   Execution status: 0
acer_acpi:   Result: 20 bytes
acer_acpi:   In: 0x00000000
acer_acpi:   Out: 0x00000004
acer_acpi: WMI_execute_u32 called successfully
acer_acpi: Result copied to value - exiting function WMID_get_u8
acer_acpi: Doing \_SB.WMID.WMBA( 1, 6, [4-byte buffer] )
acer_acpi:   Execution status: 0
acer_acpi:   Result: 20 bytes
acer_acpi:   In: 0x00000004
acer_acpi:   Out: 0x00000000
acer_acpi: ACPI driver registered
acer_acpi: Commandline args: mailled(-1) wireless(-1) bluetooth(-1) 
brightness(-1)

Then -->
[rohan@archlinux ~]$ cd /proc/acpi/acer/
[rohan@archlinux acer]$ ls
bluetooth  brightness  interface  threeg  version  wireless
[rohan@archlinux acer]$ cat version
0.9.0
[rohan@archlinux acer]$ cat bluetooth
Segmentation fault
[rohan@archlinux acer]$ cat brightness
4
[rohan@archlinux acer]$ cat wireless
Segmentation fault

dmesg output after those above commands -->

acer_acpi: get_bool called
acer_acpi: Calling get_u8 for WMID bool
acer_acpi: Doing \_SB.WMID.WMBA( 1, 2, [4-byte buffer] )
acer_acpi:   Execution status: 0
acer_acpi:   Result: 20 bytes
acer_acpi:   In: 0x00000000
acer_acpi:   Out: 0x00000000
acer_acpi: WMI_execute_u32 called successfully
BUG: unable to handle kernel NULL pointer dereference at virtual address 
00000000
 printing eip:
e099f95b
*pde = 00000000
Oops: 0002 [#2]
PREEMPT SMP
Modules linked in: acer_acpi led_class i915 drm ipv6 cpufreq_ondemand nls_cp437 
vfat
fat pcmcia joydev tifm_7xx1 tifm_core yenta_socket rsrc_nonstatic pcmcia_core 
usbhid
hid ff_memless rtc_cmos rtc_core rtc_lib sg psmouse serio_raw i2c_i801 i2c_core
intel_agp agpgart tsdev thermal fan button battery ac evdev acpi_cpufreq 
freq_table
processor snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_hda_intel
snd_hwdep snd_pcm_oss snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd 
soundcore
sky2 ext3 jbd mbcache sr_mod cdrom sd_mod ehci_hcd uhci_hcd usbcore ata_piix
ata_generic libata
CPU:    0
EIP:    0060:[<e099f95b>]    Not tainted VLI
EFLAGS: 00210246   (2.6.22-ARCH #1)
EIP is at WMID_get_u8+0x5b/0x120 [acer_acpi]
eax: 00000000   ebx: 00000000   ecx: 00200002   edx: 00000000
esi: 00000000   edi: d61ebf24   ebp: d61ebf64   esp: d61ebeec
ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Process cat (pid: 5936, ti=d61ea000 task=d0ea4550 task.ti=d61ea000)
Stack: e09a0b04 00000000 00000004 00001005 e099fbf4 e09a0ba0 00000001 c3324000
       c3324000 00000400 e099ff7f c1066480 d15b6c50 000200d0 00000aac 00000000
       e099f090 e099f020 c3324000 00000400 00000400 c01b61e0 00000400 d61ebf68
Call Trace:
 [<e099fbf4>] get_bool+0xc4/0x200 [acer_acpi]
 [<e099ff7f>] read_bool+0xf/0x50 [acer_acpi]
 [<e099f090>] dispatch_read+0x70/0x80 [acer_acpi]
 [<e099f020>] dispatch_read+0x0/0x80 [acer_acpi]
 [<c01b61e0>] proc_file_read+0x1e0/0x2a0
 [<c01b6000>] proc_file_read+0x0/0x2a0
 [<c017b8cb>] vfs_read+0xbb/0x140
 [<c017bdb1>] sys_read+0x41/0x70
 [<c010433e>] sysenter_past_esp+0x6b/0xa1
 [<c0350000>] netlbl_mgmt_listdef+0x60/0x260
 =======================
Code: 00 31 d2 8d 4c 24 04 e8 74 fa ff ff 83 3d 00 35 9a e0 01 89 c6 7e 0c c7 
04 24
04 0b 9a e0 e8 8d c7 78 df 85 f6 75 06 8b 44 24 04 <88> 03 83 3d 00 35 9a e0 01 
7e b1
c7 04 24 38 0b 9a e0 e8 6e c7
EIP: [<e099f95b>] WMID_get_u8+0x5b/0x120 [acer_acpi] SS:ESP 0068:d61ebeec
acer_acpi: Doing \_SB.WMID.WMBA( 1, 3, [4-byte buffer] )
acer_acpi:   Execution status: 0
acer_acpi:   Result: 20 bytes
acer_acpi:   In: 0x00000000
acer_acpi:   Out: 0x00000004
acer_acpi: WMI_execute_u32 called successfully
acer_acpi: Result copied to value - exiting function WMID_get_u8
acer_acpi: get_bool called
acer_acpi: Calling get_u8 for WMID bool
acer_acpi: Doing \_SB.WMID.WMBA( 1, 1, [4-byte buffer] )
acer_acpi:   Execution status: 0
acer_acpi:   Result: 20 bytes
acer_acpi:   In: 0x00000000
acer_acpi:   Out: 0x00000000
acer_acpi: WMI_execute_u32 called successfully
BUG: unable to handle kernel NULL pointer dereference at virtual address 
00000000
 printing eip:
e099f95b
*pde = 00000000
Oops: 0002 [#3]
PREEMPT SMP
Modules linked in: acer_acpi led_class i915 drm ipv6 cpufreq_ondemand nls_cp437 
vfat
fat pcmcia joydev tifm_7xx1 tifm_core yenta_socket rsrc_nonstatic pcmcia_core 
usbhid
hid ff_memless rtc_cmos rtc_core rtc_lib sg psmouse serio_raw i2c_i801 i2c_core
intel_agp agpgart tsdev thermal fan button battery ac evdev acpi_cpufreq 
freq_table
processor snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_hda_intel
snd_hwdep snd_pcm_oss snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd 
soundcore
sky2 ext3 jbd mbcache sr_mod cdrom sd_mod ehci_hcd uhci_hcd usbcore ata_piix
ata_generic libata
CPU:    0
EIP:    0060:[<e099f95b>]    Not tainted VLI
EFLAGS: 00210246   (2.6.22-ARCH #1)
EIP is at WMID_get_u8+0x5b/0x120 [acer_acpi]
eax: 00000000   ebx: 00000000   ecx: d0ea4550   edx: 00000000
esi: 00000000   edi: d1639f24   ebp: d1639f64   esp: d1639eec
ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Process cat (pid: 5942, ti=d1638000 task=d0ea4550 task.ti=d1638000)
Stack: e09a0b04 00000000 00000002 00001005 e099fbf4 e09a0ba0 00000001 c332c000
       c332c000 00000400 e099ff7f c1066580 d15b6c50 000200d0 00000a14 00000000
       e099f090 e099f020 c332c000 00000400 00000400 c01b61e0 00000400 d1639f68
Call Trace:
 [<e099fbf4>] get_bool+0xc4/0x200 [acer_acpi]
 [<e099ff7f>] read_bool+0xf/0x50 [acer_acpi]
 [<e099f090>] dispatch_read+0x70/0x80 [acer_acpi]
 [<e099f020>] dispatch_read+0x0/0x80 [acer_acpi]
 [<c01b61e0>] proc_file_read+0x1e0/0x2a0
 [<c01b6000>] proc_file_read+0x0/0x2a0
 [<c017b8cb>] vfs_read+0xbb/0x140
 [<c017bdb1>] sys_read+0x41/0x70
 [<c010433e>] sysenter_past_esp+0x6b/0xa1
 [<c0350000>] netlbl_mgmt_listdef+0x60/0x260
 =======================
Code: 00 31 d2 8d 4c 24 04 e8 74 fa ff ff 83 3d 00 35 9a e0 01 89 c6 7e 0c c7 
04 24
04 0b 9a e0 e8 8d c7 78 df 85 f6 75 06 8b 44 24 04 <88> 03 83 3d 00 35 9a e0 01 
7e b1
c7 04 24 38 0b 9a e0 e8 6e c7
EIP: [<e099f95b>] WMID_get_u8+0x5b/0x120 [acer_acpi] SS:ESP 0068:d1639eec

Original comment by rohandhr...@gmail.com on 29 Sep 2007 at 6:03

GoogleCodeExporter commented 8 years ago
Lets try this patch - apply on top of vanilla 0.9

Original comment by cathec...@gmail.com on 29 Sep 2007 at 10:39

Attachments:

GoogleCodeExporter commented 8 years ago
After modprobe with debug=2 dmesg -->

acer_acpi: Acer Laptop ACPI Extras version 0.9.0
acer_acpi: Detected Acer WMID interface
acer_acpi: Finding quirks
acer_acpi: Looking for quirks
acer_acpi: No quirks known for this laptop
acer_acpi: Initialising interface
acer_acpi: Loading backlight driver
acer_acpi: Doing \_SB.WMID.WMBA( 1, 3, [4-byte buffer] )
acer_acpi:   Execution status: 0
acer_acpi:   Result: 20 bytes
acer_acpi:   In: 0x00000000
acer_acpi:   Out: 0x00000008
acer_acpi: WMI_execute_u32 called successfully
acer_acpi: Result copied to value - exiting function WMID_get_u8
acer_acpi: Doing \_SB.WMID.WMBA( 1, 6, [4-byte buffer] )
acer_acpi:   Execution status: 0
acer_acpi:   Result: 20 bytes
acer_acpi:   In: 0x00000008
acer_acpi:   Out: 0x00000000
acer_acpi: ACPI driver registered
acer_acpi: Commandline args: mailled(-1) wireless(-1) bluetooth(-1) 
brightness(-1)

Then --->
[root@archlinux ~]# cd /proc/acpi/acer/
[root@archlinux acer]# cat bluetooth
0
[root@archlinux acer]# echo 1 > bluetooth
-bash: echo: write error: Invalid argument

And dmesg shows -->
acer_acpi: get_bool called
acer_acpi: Calling get_u8 for WMID bool
acer_acpi: Doing \_SB.WMID.WMBA( 1, 2, [4-byte buffer] )
acer_acpi:   Execution status: 0
acer_acpi:   Result: 20 bytes
acer_acpi:   In: 0x00000000
acer_acpi:   Out: 0x00000000
acer_acpi: WMI_execute_u32 called successfully
acer_acpi: Result copied to value - exiting function WMID_get_u8
acer_acpi: Converting value from get_u8 to bool
acer_acpi: get_bool called
acer_acpi: Calling get_u8 for WMID bool
acer_acpi: Doing \_SB.WMID.WMBA( 1, 1, [4-byte buffer] )
acer_acpi:   Execution status: 0
acer_acpi:   Result: 20 bytes
acer_acpi:   In: 0x00000000
acer_acpi:   Out: 0x00000000
acer_acpi: WMI_execute_u32 called successfully
acer_acpi: Result copied to value - exiting function WMID_get_u8
acer_acpi: Converting value from get_u8 to bool
acer_acpi: Doing \_SB.WMID.WMBA( 1, 3, [4-byte buffer] )
acer_acpi:   Execution status: 0
acer_acpi:   Result: 20 bytes
acer_acpi:   In: 0x00000000
acer_acpi:   Out: 0x00000008
acer_acpi: WMI_execute_u32 called successfully
acer_acpi: Result copied to value - exiting function WMID_get_u8
acer_acpi: get_bool called
acer_acpi: Calling get_u8 for WMID bool
acer_acpi: Doing \_SB.WMID.WMBA( 1, 2, [4-byte buffer] )
acer_acpi:   Execution status: 0
acer_acpi:   Result: 20 bytes
acer_acpi:   In: 0x00000000
acer_acpi:   Out: 0x00000000
acer_acpi: WMI_execute_u32 called successfully
acer_acpi: Result copied to value - exiting function WMID_get_u8
acer_acpi: Converting value from get_u8 to bool

Even now, except brightness, nothing works.

Original comment by rohandhr...@gmail.com on 29 Sep 2007 at 1:42

GoogleCodeExporter commented 8 years ago
Fixed in 0.9.1

Original comment by cathec...@gmail.com on 29 Sep 2007 at 5:14