Bug#574848: [Pkg-acpi-devel] Bug#574848: acpid fails to notice button reload

2010-06-18 Thread Ted Felix
> My power button stops working after resume from suspend due to some 
kernel issue.
> To work around this issue I reload the button module in my suspend 
script and after reloading the module kacpimon shows events from the button.

> However, acpid still does not react to the button until restarted.

 Are you still having trouble with this?

 If so, here's an idea.  Try killing acpid

   sudo killall acpid

then running it in debug mode at the console.

   sudo /usr/sbin/acpid -d

 Now suspend and resume.  In debug mode, acpid should print a bunch of 
informational messages that might be of some help in tracking down why 
it is getting confused.  Post the output here and perhaps there will be 
something in there that might lead to a solution.


 I was able to stop and restart the button module and observe the 
correct behavior from acpid.  It looks like this:


 sudo /sbin/rmmod button

acpid: input device has been disconnected
acpid: input device has been disconnected
acpid: input device has been disconnected

 sudo /sbin/modprobe button

inotify read bytes: 32
inotify name len: 16
inotify about to open: /dev/input/event4
input layer /dev/input/event4 opened successfully
inotify read bytes: 32
inotify name len: 16
inotify about to open: /dev/input/event3
input layer /dev/input/event3 opened successfully
inotify read bytes: 32
inotify name len: 16
inotify about to open: /dev/input/event2
input layer /dev/input/event2 opened successfully

 So, it appears to work for me.

Ted.




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#574848: [Pkg-acpi-devel] Bug#574848: acpid fails to notice button reload

2010-03-22 Thread Michal Suchanek
On 21 March 2010 18:36, Michael Meskes  wrote:
> On Sun, Mar 21, 2010 at 06:15:12PM +0100, Michal Suchanek wrote:
>> To work around this issue I reload the button module in my suspend
>> script and after reloading the module kacpimon shows events from the
>> button.
>>
>> However, acpid still does not react to the button until restarted.
>
> Does kacpimon show the button if started *before* the reload?

No.

It keeps saying

Input layer read error: No such device (19)

really fast.

On the other hand, acpid did notice the button this time.

Thanks

Michal



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#574848: [Pkg-acpi-devel] Bug#574848: acpid fails to notice button reload

2010-03-21 Thread Michael Meskes
On Sun, Mar 21, 2010 at 06:15:12PM +0100, Michal Suchanek wrote:
> To work around this issue I reload the button module in my suspend
> script and after reloading the module kacpimon shows events from the
> button.
> 
> However, acpid still does not react to the button until restarted.

Does kacpimon show the button if started *before* the reload? 

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ 179140304, AIM/Yahoo/Skype michaelmeskes, Jabber mes...@jabber.org
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#574848: acpid fails to notice button reload

2010-03-21 Thread Michal Suchanek
Package: acpid
Version: 1:2.0.3-1
Severity: normal


My power button stops working after resume from suspend due to some
kernel issue.

To work around this issue I reload the button module in my suspend
script and after reloading the module kacpimon shows events from the
button.

However, acpid still does not react to the button until restarted.

Does the fact that the button is reloaded from the script which is run
by acpid on button press possibly cause this issue?


-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'testing'), (300, 'unstable'), (295, 
'experimental'), (290, 'stable-i386'), (280, 'testing-i386'), (270, 
'unstable-i386'), (150, 'experimental-i386'), (70, 'oldstable-i386'), (70, 
'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages acpid depends on:
ii  libc6 2.10.2-6   Embedded GNU C Library: Shared lib
ii  lsb-base  3.2-20 Linux Standard Base 3.2 init scrip
ii  module-init-tools 3.4-1  tools for managing Linux kernel mo

Versions of packages acpid recommends:
ii  acpi-support-base 0.133-1scripts for handling base ACPI eve

acpid suggests no packages.

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org