Debian

warning: Creating default object from empty value in /home/ivan/vc/git/elvil-drupal/drupal/sites/all/modules/i18n/i18ntaxonomy/i18ntaxonomy.pages.inc on line 34.

usb-modeswitch for Debian Lenny

Some 3G USB modems (e.g. the Huawei E1550) identify themselves as disks which contain the drivers needed for them to work (under Windows and Mac OS X, usually). Once installed, those drivers send a request to the USB pen which makes it identify itself as an external USB modem.

Under Linux, USB modem drivers use to be included in the system, but one still needs to change the mode of the pen from disk to modem. The tool USB_ModeSwitch does exactly that, but unfortunately the Debian package usb-modeswitch-data depends on a version of udev newer than the one in Lenny.

So I've taken version 20100418-1 of the package and from that I've created a newer 20100418-1+lenny1 version which changes the location of a configuration file and the minimum version of udev so that it can be installed under Lenny. You can install the attached .deb package (architecture independent) and then you'll be able to install the usb-modeswitch package from Sid which matches your architecture. When they're both installed, the system will automatically change the mode of the pen whenever it is plugged.

(Of course, I decline all responsibility on the package. The source is available for any check you may want to perform.)

usb-modeswitch per a Debian Lenny

Alguns mòdems 3G USB (com el Huawei E1550) s’identifiquen al sistema com a discos que contenen els controladors necessaris per a fer‐los funcionar (a Windows i Mac OS X, normalment). Una volta instaŀlats, aquests envien una ordre al llapis USB que fa que passe a identificar‐se com a un mòdem USB extern.

A Linux, els controladors de mòdem USB solen anar inclosos al sistema, però encara és necessari canviar el mode del llapis de disc a mòdem. L’eina USB_ModeSwitch s’encarrega d’açò, però desafortunadament el paquet Debian usb-modeswitch-data depén d’una versió d’udev més nova que la que es troba en Lenny.

He agafat la versió 20100418-1 del paquet i he creat a partir d’ella la nova versió 20100418-1+lenny1, que canvia la ubicació d’un fitxer de configuració i la versió mínima d’udev per a poder ser instaŀlada en Lenny. Instaŀleu el paquet .deb adjunt (que és independent de l’arquitectura) i a continuació instaŀleu el paquet usb-modeswitch de Sid corresponent a la vostra arquitectura. Quan estiguen instaŀlats tots dos paquets, el sistema canviarà automàticament el mode del llapis en connectar‐lo.

(Per descomptat, decline tota responsabilitat sobre el paquet. Teniu el codi per a fer totes les comprovacions que vulgueu.)