Douglas Phillipson wrote:
I have a HP Pavilion DV4000 Laptop running FC4. It works wonderfully well. That stated, there are a few little nit picky things that bug me. Some of the buttons on it don't work the way they do with that "other" OS. There is a "Wireless" button that disables the wireless function that I would like to work. I am an astronomer and when I'm out in the field I would like to disable wireless to save the battery. I'm not sure if "ifconfig eth1 down" actually turns off the wireless transmitter. I know that pushing this button under the "other" OS does turn it off. Any opinions on this would be greatly appreciated. Is there a way to link a command to this button?
I don't know about the button, but the command you're looking for is /sbin/iwconfig (man iwconfig, look for power) It sounds like the button may be acpid related, man acpid might be a start point, but I've never done enough with it to know. (The other possibility is hal, <http://hal.freedesktop.org/wiki/Software/hal>) The card should be able to power off: I think this is a requirement for RF devices in many regions. -- imalone