On Fri, Feb 20, 2004 at 12:38:47AM +1100, Patrick Lesslie wrote:
> Also, you might get lucky with the old bash loop, 
> 
> for io in 220 240 260 280 300 320 340 380
> do
>   for irq in 3 5 7 9 10 11
>   do
>     echo "Trying io=$io, irq=$irq ..."
>     modprobe cs89x0 io=$io irq=$irq
>   done
> done
> 
> and then check lsmod to see if you got lucky.

You can enhance that, as modprobe exists non-zero if it failed.  So you can
check modprobe's return value, and if it was good, print out the correct
settings and exit.  BTDTGTTS.  I love bash scripting.

- Matt
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to