Package: laptop-mode-tools Version: 1.49-1 Severity: normal --- Please enter the report below this line. ---
When calling laptop_mode like in the /etc/init.d/laptop-mode script, I get errors from a "test"/"[" call in the shell: $ /usr/sbin/laptop_mode init auto force mar...@haktar:~$ sudo /usr/sbin/laptop_mode init auto force Laptop Mode Tools 1.49 enabled, not active Swapping out configuration files. /etc/syslog.conf is a symlink. Pointing config file /etc/syslog.conf to /etc/syslog.conf-nolm-ac. SIOCGMIIREG on eth0 failed: Input/output error SIOCGMIIREG on eth0 failed: Input/output error No MII transceiver present!. [: 89: ethtool:: unexpected operator [: 89: Cannot: unexpected operator SIOCGMIIPHY on 'eth1' failed: Operation not supported [: 89: Cannot: unexpected operator [: 89: ethtool:: unexpected operator Following symlink from /dev/cdrom to /dev/hda. Polling is already disabled on the given drive. This might be a duplicate of 535650 but I don't think so: it should be fixed in 1.49. The error seems to come from this call to ethtool: mar...@haktar:~$ sudo ethtool -s eth0 speed 0 ethtool: bad command line argument(s) For more information run ethtool -h This bug might be related to ethtool, but such errors should be handeled more graciously... --- System information. --- Architecture: amd64 Kernel: Linux 2.6.27.25 Debian Release: squeeze/sid 500 testing www.debian-multimedia.org 500 testing security.debian.org 500 testing ftp2.de.debian.org --- Package information. --- Depends (Version) | Installed ==========================-+-============ lsb-base (>= 3.0-10) | 3.2-22 util-linux (>= 2.13) | 2.15.1~rc1-1 psmisc | 22.7-1 Recommends (Version) | Installed =============================-+-=========== acpid | 1.0.10-2 OR apmd | 3.2.2-13 OR pbbuttonsd | OR pmud | hdparm | 9.15-1 sdparm | 1.02-1 hal | 0.5.12~git20090406.46dc48-2 ethtool | 6+20090307-1 net-tools | 1.60-23 wireless-tools | 29-1.1 Package's Suggests field is empty. -- Markus Grunwald http://the-grue.de Registered Linux User Nr 101577 http://counter.li.org gpg/pgp fingerprint: 7E01F5FE15CEDD0A (gpg --recv-keys 7E01F5FE15CEDD0A)
signature.asc
Description: OpenPGP digital signature