Package: acpi-support-base
Version: 0.109-5
Severity: normal

I am trying to get the lid event to suspend on my Eee 901 and have encountered
the following problems:

1. getXuser() in /usr/share/acpi-support/power-funcs uses finger, but the 
package 
does not depend on finger (and I didn't have it installed).

2. getXuser() is called from CheckPolicy() in 
/usr/share/acpi-support/policy-funcs and $displaynum is not set.  Do you expect 
that $displaynum is set by the caller of CheckPolicy(), i.e. in this case 
eeepc-acpi-scripts' /etc/acpi/actions/lid.sh?  Or should it be set to 0 in 
CheckPolicy()?

(Most users won't notice this second problem as the grep in getXuser will look 
for ':' when displaynum is not set and match either the idle time or the login 
time.  In fact, even with a valid display number, the pattern ':0' will 
frequently match the idle or login time in the second finger|grep|awk.  You 
need 
to take care to match only in the Tty column of the finger output.)

Cheers,  Phil 

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.25
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to