LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Sprint (Franklin/CMOtech) U301 wireless modem (http://www.linuxquestions.org/questions/linux-networking-3/sprint-franklin-cmotech-u301-wireless-modem-806226/)

malkor 05-05-2010 11:31 PM

Sprint (Franklin/CMOtech) U301 wireless modem
 
1 Attachment(s)
Trying to get a U301 (CMOtech 16d8:6008), under Fedora12, without luck. I've tried the "official" (unsupported) instructions from Sprint [sprint.com/pcsbusiness/downloads/Sprint_Mobile_Broadband_Setup_Guide.pdf] as well as many tips from the various Ubuntu and Fedora forums without success.

lsusb shows...
] Bus 002 Device 003: ID 16d8:6008 CMOTECH Co., Ltd.
] Bus 002 Device 002: ID 1a40:0101 TERMINUS TECHNOLOGY INC.
] Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
] Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

lsusb -v shows...
[lsusb_-v.txt]

I've created a UDEV rule...
] ACTION!="add", GOGO="3G_End"
]
] SUBSYSTEMS=="usb", ATTRS{idProduct}=="6008", ATTRS{idVendor}=="16d8", RUN+="/sbin/modprobe usbserial vendor=
] 0x16d8 product=0x6008"
] LABEL="3G_End"

dmesg|grep -i ttyUSB shows...
] usb 2-1.2: generic converter now attached to ttyUSB0
] usb 2-1.2: generic converter now attached to ttyUSB1
] usb 2-1.2: generic converter now attached to ttyUSB2
] usb 2-1.2: generic converter now attached to ttyUSB3
] generic ttyUSB3: generic converter now disconnected from ttyUSB3
] generic ttyUSB2: generic converter now disconnected from ttyUSB2
] generic ttyUSB1: generic converter now disconnected from ttyUSB1
] generic ttyUSB0: generic converter now disconnected from ttyUSB0
] usb 2-1.2: generic converter now attached to ttyUSB0
] usb 2-1.2: generic converter now attached to ttyUSB1
] usb 2-1.2: generic converter now attached to ttyUSB2
] usb 2-1.2: generic converter now attached to ttyUSB3
] generic ttyUSB0: generic converter now disconnected from ttyUSB0
] generic ttyUSB1: generic converter now disconnected from ttyUSB1
] generic ttyUSB2: generic converter now disconnected from ttyUSB2
] generic ttyUSB3: generic converter now disconnected from ttyUSB3
] usb 2-1.2: generic converter now attached to ttyUSB0
] usb 2-1.2: generic converter now attached to ttyUSB1
] usb 2-1.2: generic converter now attached to ttyUSB2
] usb 2-1.2: generic converter now attached to ttyUSB3
] generic ttyUSB3: generic converter now disconnected from ttyUSB3
] generic ttyUSB2: generic converter now disconnected from ttyUSB2
] generic ttyUSB1: generic converter now disconnected from ttyUSB1
] generic ttyUSB0: generic converter now disconnected from ttyUSB0
] usb 2-1.2: generic converter now attached to ttyUSB0
] usb 2-1.2: generic converter now attached to ttyUSB1
] usb 2-1.2: generic converter now attached to ttyUSB2
] usb 2-1.2: generic converter now attached to ttyUSB3
] generic ttyUSB3: generic converter now disconnected from ttyUSB3
] generic ttyUSB2: generic converter now disconnected from ttyUSB2
] generic ttyUSB1: generic converter now disconnected from ttyUSB1
] generic ttyUSB0: generic converter now disconnected from ttyUSB0
] usb 2-1.2: generic converter now attached to ttyUSB0
] usb 2-1.2: generic converter now attached to ttyUSB1
] usb 2-1.2: generic converter now attached to ttyUSB2
] usb 2-1.2: generic converter now attached to ttyUSB3

After doing "modprobe usbserial vendor=16d8 product=6008", dmesg gets...
] usbcore: deregistering interface driver usbserial_generic
] generic ttyUSB3: generic converter now disconnected from ttyUSB3
] usbserial_generic 2-1.2:1.3: device disconnected
] generic ttyUSB2: generic converter now disconnected from ttyUSB2
] usbserial_generic 2-1.2:1.2: device disconnected
] generic ttyUSB1: generic converter now disconnected from ttyUSB1
] usbserial_generic 2-1.2:1.1: device disconnected
] generic ttyUSB0: generic converter now disconnected from ttyUSB0
] usbserial_generic 2-1.2:1.0: device disconnected
] USB Serial deregistering driver generic
] usbcore: deregistering interface driver usbserial
] usbcore: registered new interface driver usbserial
] USB Serial support registered for generic
] usbserial_generic 2-1.2:1.0: generic converter detected
] usb 2-1.2: generic converter now attached to ttyUSB0
] usbserial_generic 2-1.2:1.1: generic converter detected
] usb 2-1.2: generic converter now attached to ttyUSB1
] usbserial_generic 2-1.2:1.2: generic converter detected
] usb 2-1.2: generic converter now attached to ttyUSB2
] usbserial_generic 2-1.2:1.3: generic converter detected
] usb 2-1.2: generic converter now attached to ttyUSB3
] usbcore: registered new interface driver usbserial_generic
] usbserial: USB Serial Driver core

Also tried the "modprobe -v option" with "echo "16d8 6008" > /sys/bus/usb-serial/drivers/option1/new_id" and still can't get kPPP to recognise it.

I followed the kPPP setup instructions in the PDF and, when I query the mdm, I get "Unable to open modem"


Any ideas? Thanks much.

micxz 03-22-2011 01:47 AM

Did you happen to find a fix for this one?

rerek 08-02-2011 02:02 PM

Based on the input from your post, and after trying a few things, I got it to work with these instructions:

This is certainly not the most eloquent or the best solution, but it worked for me..

As root, issue lsusb after plugging on the device. Note the “CMOTECH” and the vendor/product numbers to the left. These instructions are for 16d8/6008...

Bus 001 Device 022: ID 046d:c062 Logitech, Inc.
Bus 001 Device 018: ID 0a5c:217f Broadcom Corp. Bluetooth Controller
Bus 001 Device 012: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 013: ID 17ef:480f Lenovo Integrated Webcam [R5U877]
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 008: ID 16d8:6008 CMOTECH Co., Ltd.
Bus 002 Device 006: ID 1a40:0101 TERMINUS TECHNOLOGY INC. USB-2.0 4-Port HUB
Bus 002 Device 004: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 0000:0000

uname -a results
Linux xxx.xxx.xxx 2.6.18-238.el5PAE #1 SMP Sun Dec 19 14:42:44 EST 2010 i686 i686 i386 GNU/Linux

Unplug the USB device, then add these lines to /etc/udev/rules.d/50-udev.rules

ACTION!="add", GOTO="3G_End"
SUBSYSTEM=="usb", SYSFS{idProduct}=="6008", SYSFS{idVendor}=="16d8", \
RUN+="/sbin/modprobe usbserial vendor=0x16d8 product=0x6008"
LABEL="3G_End"

Reboot

Issue “sudo wvdialconf”

Use your favorite editor and edit wvdial.conf like this one:

[Dialer Defaults]
Modem = /dev/ttyUSB1
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = #777
Username = ''
Password = ''
Carrier Check = no
Stupid Mode = yes

Plug in the USB Modem. The dmesg command should show something like:
usb 2-1.2: new high speed USB device using ehci_hcd and address 6
usb 2-1.2: configuration #1 chosen from 1 choice
hub 2-1.2:1.0: USB hub found
hub 2-1.2:1.0: 4 ports detected
usb 2-1.2.2: new full speed USB device using ehci_hcd and address 8
usb 2-1.2.2: configuration #1 chosen from 1 choice
usbserial_generic 2-1.2.2:1.0: generic converter detected
usb 2-1.2.2: generic converter now attached to ttyUSB0
usbserial_generic 2-1.2.2:1.1: generic converter detected
usb 2-1.2.2: generic converter now attached to ttyUSB1
usbserial_generic 2-1.2.2:1.2: generic converter detected
usb 2-1.2.2: generic converter now attached to ttyUSB2
usbserial_generic 2-1.2.2:1.3: generic converter detected
usb 2-1.2.2: generic converter now attached to ttyUSB3
usbserial_generic 2-1.2.2:1.4: generic converter detected
usb 2-1.2.2: generic converter now attached to ttyUSB4

Issue the wvdial command.. the following should appear
--> WvDial: Internet dialer version 1.54.0
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Tue Aug 2 09:33:10 2011
--> pid of pppd: 30088
--> Using interface ppp0
--> local IP address 184.244.20.23
--> remote IP address 68.28.153.71
--> primary DNS address 68.28.154.91
--> secondary DNS address 68.28.146.91

You should now be connected at 3G.


All times are GMT -5. The time now is 05:30 AM.