site  contact  subhomenews

usb-modeswitch 1.2.1

January 08, 2012 — BarryK
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):

The data is in the 'noarch' repo (15KB):

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:

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.


sierra modems
Username: Jemimah
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.

re odd 3g sierra
Username: BarryK
"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: [code]#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" [/code] ...developers/testers could experiment by adding a line for their own modem.

Re wireless wi-fi router
Username: BarryK
"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.

Old p4 Dell pc tested
Username: Adi
"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.

Tags: woof