on my slackware11 the huawei e220 device is detected as mass storage device.. i found a way to prevent the kernel from this by adding it to the unusual_devs.h
the diff to 2.6.18.1: 1274,1284d1273 < /* This prevents the kernel from detecting the Huawei-E220 USB-UMTS-Modem as mass storage device. < The storage-device is nothing else than a virtual cd-drive with the windows drivers. < modprobe usbserial usbserial vendor=0x12d1 product=0x1003 will bringup the modem-device < <johann.wilhelm(at)student.tugraz.at> < */ < UNUSUAL_DEV( 0x12d1, 0x1003, 0x0000, 0xffff, < "HUAWEI", < "E220 USB-UMTS Install", < US_SC_DEVICE, US_PR_DEVICE, NULL, < US_FL_IGNORE_DEVICE), < interesting part of cat /proc/bus/usb/devices: T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 5 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=12d1 ProdID=1003 Rev= 0.00 S: Manufacturer=HUAWEI Technologies S: Product=HUAWEI Mobile C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usbserial E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms i'm not deep enought into hotplug :( but because i use this device in a router coldplugging is ok for me.... followind in my rc.modules should do: # Huawei E220 support /sbin/modprobe usbserial vendor=0x12d1 product=0x1003 /usr/bin/mknod /dev/ttyUSB0 c 188 0 /usr/bin/mknod /dev/ttyUSB1 c 188 1 /usr/bin/mknod /dev/ttyUSB2 c 188 2 /usr/bin/ln -sf /dev/ttyUSB0 /dev/modem this should work (at least a my machine) on slackware 11 with kernel 2.6.18.1 73 de oe6jwf / Hans ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel