[Pkg-acpi-devel] Bug#581312: acpi-support: Wireless toggling is broken
Luca Niccoli
lultimouomo at gmail.com
Wed May 12 08:36:44 UTC 2010
Package: acpi-support
Version: 0.136-3
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
/usr/share/acpi-support/state-funcs begins with
IFACE_NAMES=`cut -d: -f1 -s /proc/net/wireless`
and then uses strings in $IFACE_NAMES to know wich interfaces are to be
turned off and on.
But if an interface is rfkilled, it does not appear in /proc/net/wireless
Overall the systems looks overly error prone and complicated; I think it
would be useful if we could drop the support of pre-lenny kernels (and
madwifi too, since it's been RMed).
This should let us move to a rfkill-centric approach, instead of a device
centric one.
I'm willing to do some programming on this, if you're interested.
Cheers,
Luca
- -- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (995, 'unstable'), (991, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.33 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages acpi-support depends on:
ii acpi-fakekey 0.136-3 tool to generate fake key events
ii acpi-support-base 0.136-3 scripts for handling base ACPI eve
ii acpid 1:2.0.4-1 Advanced Configuration and Power I
ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip
ii pm-utils 1.3.0-1 utilities and scripts for power ma
ii x11-xserver-utils 7.5+1 X server utilities
Versions of packages acpi-support recommends:
ii dbus 1.2.24-1 simple interprocess messaging syst
pn radeontool <none> (no description available)
ii vbetool 1.1-2 run real-mode video BIOS code to a
pn xscreensaver | gnome-screensa <none> (no description available)
Versions of packages acpi-support suggests:
ii rfkill 0.4-1 tool for enabling and disabling wi
ii xinput 1.5.1-1 Runtime configuration and test of
- -- Configuration Files:
/etc/acpi/power.sh changed [not included]
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkvqaJMACgkQ+AQB36CPPlrUgACglkl+cvb/DiVAbMCyC5mr6anx
gsUAniyJB2vlsqaN8PT7i0J2hGioK6Jp
=SqFY
-----END PGP SIGNATURE-----
More information about the Pkg-acpi-devel
mailing list