I have an Anydata USB CDMA modem which basically works for me. However, something strange is going on. The first time I plugged in the modem, the anydata module was automatically loaded - I didn't have to do any configuration. Unfortunately, I wasn't able to talk to the modem. Here's what appeared in the log:
Jun 24 14:49:56 localhost kernel: usb 2-1: new full speed USB device using uhci_hcd and address 24 Jun 24 14:49:56 localhost kernel: usb 2-1: configuration #1 chosen from 1 choice Jun 24 14:49:58 localhost kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for anydata Jun 24 14:49:58 localhost kernel: anydata 2-1:1.0: anydata converter detected Jun 24 14:49:58 localhost kernel: usb 2-1: anydata converter now attached to ttyUSB0 Jun 24 14:49:58 localhost kernel: anydata 2-1:1.1: anydata converter detected Jun 24 14:49:58 localhost kernel: usb 2-1: anydata converter now attached to ttyUSB1 Jun 24 14:49:58 localhost kernel: usbcore: registered new driver anydata Google told me I had to give the command modprobe usbserial vendor=0x16d5 product=0x6501 before plugging in the modem, and this solved my problem. Here's what appeared in the log: Jul 7 08:29:54 localhost kernel: usb 2-1: new full speed USB device using uhci_hcd and address 13 Jul 7 08:29:54 localhost kernel: usb 2-1: configuration #1 chosen from 1 choice Jul 7 08:29:55 localhost kernel: usbcore: registered new driver usbserial Jul 7 08:29:55 localhost kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic Jul 7 08:29:55 localhost kernel: usbserial_generic 2-1:1.0: generic converter detected Jul 7 08:29:55 localhost kernel: usb 2-1: generic converter now attached to ttyUSB0 Jul 7 08:29:55 localhost kernel: usbserial_generic 2-1:1.1: generic converter detected Jul 7 08:29:55 localhost kernel: usb 2-1: generic converter now attached to ttyUSB1 Jul 7 08:29:55 localhost kernel: usbcore: registered new driver usbserial_generic Jul 7 08:29:55 localhost kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core Jul 7 08:29:56 localhost kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for anydata Jul 7 08:29:56 localhost kernel: usbcore: registered new driver anydata Hmm. The generic converter is attached to ttyUSB0 and 1. Doesn't this mean that the anydata module isn't involved in communication at all in this case. Am I interpreting the log correctly? If I cycle power on the modem, the log tells me that anydata converter is now attached to ttyUSB0 and 1. I can't talk to the modem. If I power off the modem, rmmod anydata and then power up the modem, the usbserial_generic converter is attached to ttyUSB0 and 1, and I can talk to the modem again. The anydata module is supposed to be like the generic driver but with a bigger transmit buffer to get decent speeds. Something seems to be wrong with it. The driver is tiny, so it could be something simple. I have no experience devoloping for USB, but I can test patches. This is linux 2.6.16 from Debian sid. Regards Jon -- Jon Kåre Hellan, Trondheim, Norway ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel