Re: Communicating with USB Modem
On Oct 9, 2010, at 7:24 AM, Camaleón wrote:
> On Sat, 09 Oct 2010 03:21:36 -0400, Hal Vaughan wrote:
>
>> I have a Debian Lenny system and I've plugged in a USB 56K modem. (I
>> know that's as outdated as a Model T, but I need it for business.) When
>> I type "cat /proc/bus/usb/devices" I get this:
>
> (...)
>
> As Ron suggested, better look at dmesg messages.
>
> - If the device is not detected, it will (not) be there.
>
> - If the device is detected but has problems for being setup, it will be
> there.
>
> - If the device is properly detected and configured, it will also be
> there.
>
>> From what I can find, that means the actual device file for this modem
>> should be at /dev/bus/usb/001/002, but I know I could be wrong on that.
>
> USB modems should fall under "/dev/ttyUSB0"
There's no /dev/ttyUSB0. Just the usual /dev/tty and the same with 0-63 on the end and /dev/ttyS0 through S3. I tried all of them and all the possible USB devices in that directory.
>> I'm trying to communicate with this modem. I've used Minicom, with the
>> device I mentioned above. There are no /dev/ttyACM0 devices, as
>> sometimes happens with a modem. I've tried all /dev/ttySx, where x is
>> from 0 to 4, with no results. The problem with Minicom is that it can
>> take time and a lot of frustrating keypresses to try one device after
>> another. Also, I'm not sure the serial port speed settings are at all
>> appropriate in Minicom for USB modems.
>
> Don't go nuts with this. Just plug the modem, open a console, type "dmesg
> | grep -i usb" and put the result here (for very long logs, upload the
> result to "www.pastebin.com" or any service like that) :-)
As you and Ron suggested. It's the last device. No errors, and remember it showed up in /proc/bus/usb/devices and looked okay (I numbered the lines in the output from grep):
235:[ 1.849802] usbcore: registered new interface driver usbfs
236:[ 1.849824] usbcore: registered new interface driver hub
237:[ 1.849848] usbcore: registered new device driver usb
238:[ 1.853655] USB Universal Host Controller Interface driver v3.0
243:[ 1.854354] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
245:[ 1.854438] usb usb1: configuration #1 chosen from 1 choice
246:[ 1.854455] hub 1-0:1.0: USB hub found
251:[ 1.956563] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
252:[ 1.956566] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
253:[ 1.956567] usb usb1: Product: UHCI Host Controller
254:[ 1.956569] usb usb1: Manufacturer: Linux 2.6.26-2-686 uhci_hcd
255:[ 1.956570] usb usb1: SerialNumber: 0000:00:1d.0
260:[ 1.956976] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
263:[ 1.968481] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
264:[ 1.968538] usb usb2: configuration #1 chosen from 1 choice
265:[ 1.968555] hub 2-0:1.0: USB hub found
269:[ 2.072362] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
270:[ 2.072364] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
271:[ 2.072366] usb usb2: Product: EHCI Host Controller
272:[ 2.072367] usb usb2: Manufacturer: Linux 2.6.26-2-686 ehci_hcd
273:[ 2.072369] usb usb2: SerialNumber: 0000:00:1d.7
281:[ 2.196626] usb 1-1: new full speed USB device using uhci_hcd and address 2
282:[ 2.347904] usb 1-1: not running at top speed; connect to a high speed hub
283:[ 2.352211] usb 1-1: configuration #1 chosen from 1 choice
285:[ 2.485485] usb 1-1: New USB device found, idVendor=047e, idProduct=2892
286:[ 2.485488] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
287:[ 2.485490] usb 1-1: Product: Agere USB2.0 V.92 SoftModem
288:[ 2.485491] usb 1-1: Manufacturer: Agere Systems
Thanks!
Hal
Reply to: