Re: Usb Modeswitch.
Robert Ladyman <it-Mr0VS1uEpT87VdE/[email protected]>
| Newsgroups | gmane.comp.security.ipcop.devel |
|---|---|
| Organization | File-Away Limited |
| Message-ID | <[email protected]> |
> Olaf Westrik wrote: > > On 2011-09-07 01:38, David W Studeman wrote: > >> I noticed that when I plug a Cellular USB device into my 3/4G Router > >> running 1.9.19, my logs show that the cdrom portion of udev beat it to > >> to punch so it gives that as the reason it did not use the modeswitch > >> rules. > >> > >> Do we really need udev cdrom support on a running IPCop system? I can't > >> think of any reason why a usb cdrom would need to be auto mounted in > >> /mnt/usb. There are rare instances where people have copied something > >> from a cdrom to a running IPCop but they generally had a build in ide > >> cdrom on the device of their choosing to run IPCop on. > > > > Installation from USB cdrom is not that uncommon, and since we now use > > fairly identical initramfs for installation and running IPCop, that's > > probably the cause for auto mounting. (Basically udev running, finding > > something because usb, sr_mod etc are loaded ...). > > > > > > Olaf > > Yes, pulling the cd udev files out did not make any difference. I guess I > will continue to do it manually and have the command in rc.event.local like > I have been. > I used to have to do something similar with OpenSuse - I used the 'eject' command once the usb device was detected and then the system would pick up the modem. I added it somewhere in the usb detection routines, but can't for the life of me remember where. Hope that gives you a clue. -- Robert Ladyman File-Away Limited 3 Ralston Business Centre, Newtyle, Blairgowrie Perthshire PH12 8TL SCOTLAND Tel: +44 (0) 1828 898 158 Mobile: +44 (0) 7732 771 649 http://www.file-away.co.uk ============================================ Registered Office: 32 Church Street, Newtyle, Blairgowrie Perthshire, PH12 8TZ SCOTLAND Registered in Scotland, Company Number SC222086 ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/