[ltp] Scripts for wireless

Bob Alexander linux-thinkpad@linux-thinkpad.org
Sun, 30 Jan 2005 10:28:19 +0100


Theodore Ts'o wrote:
> On Sat, Jan 29, 2005 at 12:38:52PM +0100, Bob Alexander wrote:
> 
>>I'd like to get some good scripts to associate with Fn+Fn7 to 
>>activate/deactivate and also a suggestion on how is the most clean way 
>>to avoid automatic activation at boot time (Debian sid).
> 
> 
> Place the modules you don't want to be automatically loaded when the
> hardware is detected in the file /etc/hotplug/blacklist.
> 
> 						- Ted

Nope Ted,
in Debian it does not work ...


Sun Jan 30 10:56:25 2005: Detecting hardware: yenta_socket e1000 ath_pci 
piix i810_audio usb_uhci ehci_hcd
Sun Jan 30 10:56:26 2005: Loading yenta_socket module.
Sun Jan 30 10:56:27 2005: Loading e1000 module.
Sun Jan 30 10:56:28 2005: Loading ath_pci module.
Sun Jan 30 10:56:28 2005: Skipping unavailable/built-in piix module.
Sun Jan 30 10:56:28 2005: i810_audio disabled in configuration.
Sun Jan 30 10:56:28 2005: Loading uhci_hcd module.
Sun Jan 30 10:56:29 2005: Loading ehci_hcd module.

even though /etc/hotplug/blacklist contains:
# do not want wifi on by default but only via Fn+F5
ath_pci

and this is also confirmed by the following messages during boot in 
which you will see an ath_pci already loaded:

Sun Jan 30 10:56:34 2005: Starting hotplug subsystem:
Sun Jan 30 10:56:34 2005:    input
Sun Jan 30 10:56:34 2005:      evdev: already loaded
Sun Jan 30 10:56:34 2005:      evdev: already loaded
Sun Jan 30 10:56:34 2005:      evdev: already loaded
Sun Jan 30 10:56:34 2005:    input    [success]
Sun Jan 30 10:56:34 2005:    isapnp
Sun Jan 30 10:56:34 2005:    isapnp   [success]
Sun Jan 30 10:56:34 2005:    net
Sun Jan 30 10:56:34 2005:    net      [success]
Sun Jan 30 10:56:34 2005:    pci
Sun Jan 30 10:56:34 2005:      intel-agp: loaded successfully
Sun Jan 30 10:56:35 2005:      uhci-hcd: already loaded
Sun Jan 30 10:56:35 2005:      uhci-hcd: already loaded
Sun Jan 30 10:56:35 2005:      uhci-hcd: already loaded
Sun Jan 30 10:56:35 2005:      ehci-hcd: already loaded
Sun Jan 30 10:56:35 2005:      hw_random: loaded successfully
Sun Jan 30 10:56:37 2005:      snd-intel8x0: loaded successfully
Sun Jan 30 10:56:37 2005:      8250_pci: loaded successfully
Sun Jan 30 10:56:37 2005:      ignoring pci display device on 01:00.0
Sun Jan 30 10:56:37 2005:      yenta_socket: already loaded
Sun Jan 30 10:56:37 2005:      yenta_socket: already loaded
Sun Jan 30 10:56:37 2005:      e1000: already loaded
Sun Jan 30 10:56:38 2005:      ath_pci: already loaded
Sun Jan 30 10:56:38 2005:    pci      [success]
Sun Jan 30 10:56:38 2005:    usb
Sun Jan 30 10:56:39 2005:      usbhid: already loaded
Sun Jan 30 10:56:39 2005:    usb      [success]
Sun Jan 30 10:56:39 2005: done

Thank you,
Bob