usb-modeswitch 1.2.1

I have upgraded usb-modeswitch to version 1.2.1.

The PET is in the 'common' repo for all Woof-built puppies to use (28KB):
http://distro.ibiblio.org/quirky/pet_packages-common/usb-modeswitch-1.2.1-w5c.pet

The data is in the 'noarch' repo (15KB):
http://distro.ibiblio.org/quirky/pet_packages-noarch/usb-modeswitch-data-20111023.pet

The usb-modeswitch PET has a couple of modifications so as to work with two scripts that are in Woof, /usr/sbin/usb_modeswitch_status and usb_modem_special_status. Those two scripts have also been modified, a couple of improvements. See Woof commit:
http://bkhome.org/fossil/woof2.cgi/info/c6277794a9

USB 3G modems that do not require usb-modeswitch
My Optus 3G modem is in this category. With those that do require switching, I have set things up so that when you plug it in, a message comes up saying "USB 3G modem detected, configuring..." followed by another message of success and ready to use.
However, for a USB 3G modem that does not require a mode-switch, the messages do not pop-up. I have created special detection of my Optus modem, so the messages do popup.
If you also have such a modem, let me know, post the output of 'lsusb' (running Wary or Racy, which has the full lsusb and usb.ids file -- I don't know if any other Puppy builds do). Then I can get the id numbers and put in the special handling.


Posted on 8 Jan 2012, 20:11


Comments:

Posted on 9 Jan 2012, 3:34 by Jemimah
sierra modems
I believe all Sierra modems are in this category. Mine is

Bus 002 Device 005: ID 0f3d:68a3 Airprime, Incorporated

This is a sierra modem but it has a weird vendor id.

But any modem using the sierra module should not require switching.

For my modem, the "Configuring" message does popup and annoyingly sticks around for several minutes.




Posted on 9 Jan 2012, 6:32 by Adi
no more plug in
Finally I bought a 3G hot-spot portable router from orange with 3 giga of trafic with 10 euro by month. No more configuring table and puppy manage very well wireless networks, I think better than 3G stick. The name and the password are written on the box so no chance to forget. (Internet for up to five devices).


Posted on 9 Jan 2012, 8:06 by BarryK
re odd 3g sierra
Jemimah,
The new scripts should fix that problem of the message hanging around for so long. But, I am puzzled that you get it at all.

Regarding making a special entry to handle USB 3G modems that do not require switching (and not recognised by usb-modeswitch), see my file /etc/udev/rules.d/52-usb_modem_puppy.rules:

#BK some usb 3G modems do not mode-switch, so usb-modeswitch handling is not used.

#handle these special cases here.
#/lib/udev/rules.d/40-usb_modeswitch.rules has a rule for creating /dev/gsmmodem symlink to a working /dev/ttyUSB[n].
#120901 add rule to remove /dev/gsmmodem.

#my Optus Huawei E160-E 3G modem...
ACTION=="add", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="140c", RUN+="/usr/sbin/usb_modem_special_status 3g"
ACTION=="remove", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="140c", RUN+="/bin/rm -f /dev/gsmmodem"


...developers/testers could experiment by adding a line for their own modem.



Posted on 9 Jan 2012, 8:11 by BarryK
Re wireless wi-fi router
Adi,
Yes, I am using a Telstra wi-fi module that has it's own battery or powers via the USB cable, and wirelessly allows up to 5 computers to access Telstra's 3G network.

It is just standard DHCP server, so works with any computer, no need for a driver, but of course the computer has to have a wireless card, which laptops have built-in.

These things are becoming very popular.



Posted on 11 Jan 2012, 6:40 by Adi
Old p4 Dell pc tested
I put an emtec usb wireless card in an old
Dell pc. Wary 522 recognized it without problem and I had easy Internet access. Thanks.