Cent OS 6.2 - Unable to form ttyUSB*

Posted by yunghee on 2012/2/22 7:47:01
Dear Sir/Madam,

I was a fedora user and managed to switch to CentOS.
Trouble I faced is that CentOS unable to form my Huawei 3G Broadband stick into 'ttyUSBX' format.
I need the ttyUSB format for my GSM modem purpose.
I tried in fedora 16 and I can read the ttyUSBX without any extra installation.

The output of dmesg after I insert my Huawei 3G Broadband modem:
usb 1-1.1: new high speed USB device using ehci_hcd and address 6
usb 1-1.1: New USB device found, idVendor=12d1, idProduct=1446
usb 1-1.1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
usb 1-1.1: Product: HUAWEI Mobile
usb 1-1.1: Manufacturer: HUAWEI Technology
usb 1-1.1: configuration #1 chosen from 1 choice
scsi10 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
scsi11 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 11:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
sd 11:0:0:0: Attached scsi generic sg4 type 0
sd 11:0:0:0: [sdc] Attached SCSI removable disk



Then I tried inserted the normal GSM MOdem I could read the ttyUSB0.
usb 1-1.1: new full speed USB device using ehci_hcd and address 9
usb 1-1.1: New USB device found, idVendor=067b, idProduct=2303
usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 1-1.1: configuration #1 chosen from 1 choice
pl2303 1-1.1:1.0: pl2303 converter detected
usb 1-1.1: pl2303 converter now attached to ttyUSB0


What are the configurations I have to do in order to allow Cent OS create the ttyUSBX for my 3G broadband stick?
Your help is very appreciated!

Re: Cent OS 6.2 - Unable to form ttyUSB*

Posted by TrevorH on 2012/2/22 8:43:35
Chances are that you need to run a utility called usb_modeswitch or modem-modeswitch. Many USB modems come with Windows drivers built into a flash memory device on the modem that emulates a CD - the idea is that when plugged into a Windows system the drivers for the modem are available and can be installed and as part of the install, it runs the modeswitch so the user never needs to intervene.

Re: Cent OS 6.2 - Unable to form ttyUSB*

Posted by pschaff on 2012/2/22 19:07:42
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

The udev package provides /lib/udev/modem-modeswitch and a usb_modeswitch package is available from RPMforge repo.

This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=55&topic_id=35942