--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: sleepd: hdaps prevents hdaps from sleeping
- From: Kevin Mitchell <kevmitch@math.sfu.ca>
- Date: Thu, 28 May 2009 12:07:21 -0700
- Message-id: <20090528190721.14164.13351.reportbug@homunculus>
Package: sleepd
Version: 2.00
Severity: normal
Wow, it looks like some great work has gone into this program
recently. I am however having a problem with the new evdev interface and
my built-in accelerometer run by the hdaps kernel module.
At eventmonitor.c:55 I added
printf("%d: %s\n",j,eventData.events[i]);
Then at eventmonitor.c:93 I added
printf("activity on %d %d:%s \n",time(NULL),eventData.channels[retval],eventData.events[retval]);
and run sleepd -n -v -c 1
and get
sleepd: activity: irq 1
sleepd: activity: irq 12
sleepd: activity: AC status change
0: /dev/input/event0
1: /dev/input/event1
2: /dev/input/event2
3: /dev/input/event3
4: /dev/input/event4
5: /dev/input/event5
6: /dev/input/event6
7: /dev/input/event7
8: /dev/input/event8
9: /dev/input/event9
When i don't touch the computer at all I see
1243537346: activity on 1
sleepd: activity: keyboard/mouse events
...
1243537265: activity on 1
sleepd: activity: keyboard/mouse events
...
1243537265: activity on 1
sleepd: activity: keyboard/mouse events
and when i jar without touching the keyboard or mouse I see
1243537501: activity on 2
sleepd: activity: keyboard/mouse events
...
1243537501: activity on 2
sleepd: activity: keyboard/mouse events
...
1243537503: activity on 2
sleepd: activity: keyboard/mouse events
When I remove the hdaps module, the output is quiet as long as I don't
touch the keyboard or mouse.
Kevin
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (600, 'unstable'), (500, 'testing'), (400, 'stable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29.022 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages sleepd depends on:
ii libapm1 3.2.2-13 Library for interacting with APM d
ii libc6 2.9-13 GNU C Library: Shared libraries
ii libdbus-1-3 1.2.14-2 simple interprocess messaging syst
ii libhal1 0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer - share
ii lsb-base 3.2-22 Linux Standard Base 3.2 init scrip
Versions of packages sleepd recommends:
ii hal 0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer
ii pm-utils 1.2.5-2 utilities and scripts for power ma
sleepd suggests no packages.
-- no debconf information
--- End Message ---