Bug#490167: laptop-mode-tools: Complains about missing /sys/class/power_supply/

2008-07-13 Thread Bart Samwel
Hi Frederik,

Frederik Himpe wrote:
 When starting or stopping the laptop-mode service on my Apple Powerbook G4
 it complains about /sys/class/power_supply which does not exist
 on my system. I'm using linux-image-2.6.25-2-powerpc 2.6.25-6/
 
 powerbook:~# /etc/init.d/laptop-mode stop
  * Disabling laptop mode...   
   
  
 cat: /sys/class/power_supply/*/type: No such file or directory
 Polling is already disabled on the given drive.
   
 
 [ ok ]
 powerbook:~# /etc/init.d/laptop-mode start
  * Enabling laptop mode...
   
  
 cat: /sys/class/power_supply/*/type: No such file or directory
 Polling is already disabled on the given drive.

Thanks for reporting, I'll investigate. Apple testing is not my forte,
not having an Apple available. :-/ I'll try and have a fix in the next
update.

Cheers,
Bart



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



Bug#490167: laptop-mode-tools: Complains about missing /sys/class/power_supply/

2008-07-10 Thread Frederik Himpe
Package: laptop-mode-tools
Version: 1.43-1
Severity: normal

When starting or stopping the laptop-mode service on my Apple Powerbook G4
it complains about /sys/class/power_supply which does not exist
on my system. I'm using linux-image-2.6.25-2-powerpc 2.6.25-6/

powerbook:~# /etc/init.d/laptop-mode stop
 * Disabling laptop mode... 
 
cat: /sys/class/power_supply/*/type: No such file or directory
Polling is already disabled on the given drive.

  
[ ok ]
powerbook:~# /etc/init.d/laptop-mode start
 * Enabling laptop mode...  
 
cat: /sys/class/power_supply/*/type: No such file or directory
Polling is already disabled on the given drive.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (300, 'testing'), (200, 'unstable'), (100, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.25-2-powerpc
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 laptop-mode-tools depends on:
ii  lsb-base  3.2-12 Linux Standard Base 3.2 init scrip
ii  util-linux2.13.1.1-1 Miscellaneous system utilities

Versions of packages laptop-mode-tools recommends:
ii  apmd  3.2.2-10   Utilities for Advanced Power Manag
ii  hal   0.5.11-2   Hardware Abstraction Layer
ii  hdparm8.9-1  tune hard disk parameters for high
pn  sdparmnone (no description available)

-- no debconf information



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