zzz: modem handling
December 02, 2010 —
BarryK
I am doing further work on my 'zzz' package, totally rethinking everything.
I have modified my /sbin/pup_event_backend_modprobe script so that now the 'option' module loads for my Optus E160E 3G modem, for both cases of plugged in at bootup, and hotplug. The particular problem I tackled was that the 'usb_storage' had made a prior claim on the USB 12d1:140c interface, but the 'option' module uses the same interface.
I have modified /usr/sbin/pupdial so that it ignores /dev/modem (for now). Instead, pupdial deletes it if it exists, so wvdialconf won't use it either.
I have removed the firmware tarballs 'Cdcacm', 'Hso', 'Nozomi', 'usbserial'.
These install scripts into /etc/init.d, however a fundamental problem is that USB devices are hot-pluggable, and it is not sufficient to have these scripts run only at bootup.
I will in future move any required detection of these devices into the 'pupdial' script.
Note, so that Woof can build a Puppy with any kernel PET, that may have these firmware tarballs, I have put code into /etc/rc.d/rc.sysinit (in my zzz pkg) that deletes them. This is a hack, for now.
Comments
PupDial hotplug supportUsername: BarryK
Very heavy development going on... Full hotplug support in PupDial expected soon.
Tags: quirky