maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Accessories (https://talk.maemo.org/forumdisplay.php?f=17)
-   -   N810 and USB CDMA1X MODEM (https://talk.maemo.org/showthread.php?t=16961)

wrc4 2008-02-21 13:50

N810 and USB CDMA1X MODEM
 
First, thanks to everyone who answered my question in my previous post.

I've got a USB CDMA1X MODEM that I can easily get it work under Ubuntu 7.10. It's recognised as "CP2102 USB to UART Bridge Controller". Now I wonder if OS2008 has the required driver? Also, since I used wvdial to initialize the connection, I wonder if there is anything I can use in OS2008.

Here is the dmesg log:
Code:

[163848.593750] menelaus 1-0072: Setting voltage 'VMMC' to 3000 mV (reg 0x0a, val 0xb8)
[163854.148437] hub 1-1:1.0: state 7 ports 7 chg 0000 evt 0002
[163854.148437] hub 1-1:1.0: port 1, status 0101, change 0001, 12 Mb/s
[163854.304687] hub 1-1:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
[163854.390625] usb 1-1.1: new full speed USB device using musb_hdrc and address 31
[163854.523437] usb 1-1.1: default language 0x0409
[163854.523437] usb 1-1.1: new device strings: Mfr=1, Product=2, SerialNumber=3
[163854.523437] usb 1-1.1: Product: CP2102 USB to UART Bridge Controller
[163854.523437] usb 1-1.1: Manufacturer: Silicon Labs
[163854.523437] usb 1-1.1: SerialNumber: 0001
[163854.523437] usb 1-1.1: device v10c4 pea60 is not supported
[163854.523437] usb 1-1.1: uevent
[163854.523437] usb 1-1.1: usb_probe_device
[163854.523437] usb 1-1.1: configuration #1 chosen from 1 choice
[163854.523437] usb 1-1.1: adding 1-1.1:1.0 (config #1, interface 0)
[163854.523437] usb 1-1.1:1.0: uevent
[163854.523437] usbtest 1-1.1:1.0: usb_probe_interface
[163854.523437] usbtest 1-1.1:1.0: usb_probe_interface - got id
[163854.531250] drivers/usb/core/inode.c: creating file '031'
[163856.531250] usb 1-1.1: usb auto-suspend


tz1 2008-02-21 14:49

Re: N810 and USB CDMA1X MODEM
 
I believe you need usbserial.ko or something similar which requires a kernel partial recompile (I have a set of modules for mine, and they are available). Doing "lsmod" as root on your ubuntu system, or "less /proc/modules" should list the modules you need.

Generally, if it consumes less than 100ma, it can work without a hub to power it.

The /etc/ppp directory has some scripts, though you would probably have to create one pointing at /dev/ttyUSB0 or /dev/ttyACM0 or whatever. I haven't seen wvdial, but there is the original chat program which works for most things.

johnkzin 2008-02-22 22:32

Re: N810 and USB CDMA1X MODEM
 
Given that the NIT USB ports are in an awkward location for being able to hold the NIT in your hand while something is plugged into the USB port (IMO), I would recommend looking at the cradlepoint devices for acting as a wifi gateway to your USB WWAN modems.

vabgeo 2008-02-23 04:29

Re: N810 and USB CDMA1X MODEM
 
As tz1 said, if the device takes more current, you would need to use a powered hub in between.
With the device in host mode, you can try these steps out

You would need to know the device vendorid and product id by doing a cat /proc/bus/usb/devices

You can get the usbserial.ko from the thread below
http://www.internettablettalk.com/fo...ad.php?t=14877

sudo modprobe usbserial vendor=0x5c6 product=0x6000;

try the link below for more details on setting up pppd for dialing out
http://www.linux.com/feature/52729?theme=print

Let us know if you can make some progress.


All times are GMT. The time now is 18:20.

vBulletin® Version 3.8.8