[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to bind special button to ifup/ifdown

On Wed, 2007-03-07 at 01:32 +0100, Marcus C. Gottwald wrote:
> Andrew McMillan wrote (Wed 2007-Mar-07 00:07:52 +0000):
> > When I re-enable the wifi I need to "modprobe ipw3945" which also
> > manages to restart the daemon (there must be some special magic there
> > somewhere, but I haven't investigated much further.
>  $ cat /etc/modprobe.d/ipw3945d
>  install ipw3945 modprobe --ignore-install ipw3945 && /etc/init.d/ipw3945d modprobe-start
>  remove  ipw3945 /etc/init.d/ipw3945d modprobe-stop && modprobe -r --ignore-remove ipw3945


In case anyone is interested, I stuck that ACPI stuff in on my own
laptop and the key does not generate either keyboard *or* ACPI events.

OTOH removing the wireless doesn't disable the module or daemon, and
when I switch it back on network-manager does tickle it back into life
(at least with my kernel), so all is (mostly) good in the
world :-)


Andrew @ Catalyst .Net .NZ  Ltd,  PO Box 11-053, Manners St,  Wellington
WEB: http://catalyst.net.nz/            PHYS: Level 2, 150-154 Willis St
DDI: +64(4)803-2201      MOB: +64(272)DEBIAN      OFFICE: +64(4)499-2267
       The secret of being a bore is to say everything -- Voltaire

Reply to: