[ltp] Re: [Ipw2100-devel] Re: [ACPI] ibm-acpi-0.3

Henrik Brix Andersen linux-thinkpad@linux-thinkpad.org
Wed, 18 Aug 2004 15:23:02 +0200


Hi,

On Wed, 2004-08-18 at 07:42, Len Brown wrote:
> > http://bkernel.sf.net/tmp/ibm-acpi-0.3.tar.gz
> 
> The radio hot key sends an ACPI event,
> and the acpid example calls this radio.sh:
> 
> #!/bin/bash
> 
> if ! /sbin/rmmod ipw2100; then
>         /sbin/service network restart
> fi
> 
> 
> Does this means that the button press magically changed
> the state of the radio in hardware?  I didn't see any
> processing inside the driver to do that.

No. The listed radio.sh script just unloads the ipw2100 module from
memory which effectively disables the wireless network connection.

Regards,
Brix
-- 
Henrik Brix Andersen <brix@gimp.org>