[ltp] Re: ibm-acpi-0.4

Robert Ramiega linux-thinkpad@linux-thinkpad.org
Tue, 21 Sep 2004 19:43:41 +0200


 Hi!
 Sorry for late answer but i had problems accessing the Net.


On Fri, Sep 17, 2004 at 10:00:45PM -0700, Borislav Deianov wrote:
> Hi Robert,
> 
> On Fri, 17 Sep 2004 22:51:06 +0000 (UTC) Robert Ramiega <jedi@plukwa.net> wrote:
> > Bad news is that ibm_acpi doesn't work for me at all. Fn-F3/F4/F12
> > do nothing no matter if i loaded module or not. They don't even
> > generate any entries in /var/log/acpid.
> 
> Have you tried "echo enable,0xffff > /proc/acpi/ibm/hotkey"?

 I admit i must have read README not so carefully as i thought i did.
Here is proper info:
1. ibm_acpi not loaded
Fn F3/F7/F12 - does not generate any entries in /var/log/acpid
Fn F4 - generates:
[Tue Sep 21 18:51:58 2004] received event "button/sleep SLPB 00000080 0000000c"
[Tue Sep 21 18:51:58 2004] completed event "button/sleep SLPB 00000080 0000000c"

2. after loading ibm_acpi but before enabling hotkeys everything is like
described above. As soon as I enable hotkey (just echo enable >
/proc/acpi/ibm/hotkey ) acpi events change into this:
Fn F3 : 
[Tue Sep 21 19:02:53 2004] received event "ibm/hotkey HKEY 00000080 00001003"
[Tue Sep 21 19:02:15 2004] completed event "ibm/hotkey HKEY 00000080 00001003"

Fn F4 :
[Tue Sep 21 19:03:33 2004] received event "ibm/hotkey HKEY 00000080 00001004"
[Tue Sep 21 19:03:33 2004] completed event "ibm/hotkey HKEY 00000080 00001004"

Fn F12 : 
[Tue Sep 21 19:03:50 2004] received event "ibm/hotkey HKEY 00000080 0000100c"
[Tue Sep 21 19:03:50 2004] completed event "ibm/hotkey HKEY 00000080 0000100c"

Fn F7 does not generate any entries in /var/log/acpid 

> > Ejecting seems to work tho it didn;t created any entries in log
> > (reinserting dvd-drive put:
> > [Sat Sep 18 00:43:47 2004] completed event "ibm/bay MSTR 00000001 00000000"
> > in the log)
 I must have screwed something in IDE 'layer' cause i was unable to access
dvd-rom after reinserting I had to reboot to gain access again
> 
> You didn't get an event when popping out the eject lever? Did the LED
> go off as it should?
 There is no event in log file when i do:
echo eject > /proc/acpi/ibm/bay
cat /proc/acpi/ibm/bay 
occupied:	no
commands:	eject
but LED goes off.
On inserting i get above mentioned entries in log and LED goes on but idectl
(actually hdparm) gives me: HDIO_SCAN_HWIF failed: Input/output error
 Despite this i tried to mount dvd. At first try it spew errors that kernel
can't read sectors but eventually it started to work. Dunno why it didn;t
work before (will check this again a few times to get some more impresions
on it)
> 
> >  Borislav, if You are interested in supporting T21 i can send You dsdt.
> 
> Definitely. It's the only way I can target models other than my X40.
 I'll send it in separate mail in a few sec.
> 
> Thanks for the report,
 Thanks for good work =o)) (ok ok T21 is not supported but i think i can
safely say not *yet* supported =o))))

-- 
Just a friendly Jedi Knight     | I find your lack of faith
Robert Ramiega jedi@plukwa.net  | disturbing