Nokia CS-18 3G USB Modem not working

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Post Reply
rsmith85
Posts: 5
Joined: Fri Feb 01, 2013 12:18 pm

Nokia CS-18 3G USB Modem not working

Post by rsmith85 »

Hi,

I have installed v1.5.9 of Gargoyle on my TP-Link 1043ND router to try & get 3g working directly off the router rather than via a separate box.

The modem seems to be picked up by the system, and assigned /dev/ttyACM0, but the web interface doesn't seem to want to allow me to configure the device.

I have attached my dmesg:

Code: Select all

[    0.000000] Linux version 3.3.8 (eric@Osiris) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #3 Thu Jan 3 08:55:36 EST 2013
[    0.000000] MyLoader: sysp=a1082a00, boardp=20aaaa22, parts=380a02f0
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9132 rev 2
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 802daf90, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8128 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=TL-WR1043ND console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 29092k/32768k available (2134k kernel code, 3676k reserved, 406k data, 212k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.090000] gpiochip_add: registered GPIOs 0 to 21 on device: ath79
[    0.100000] MIPS: machine is TP-LINK TL-WR1043ND
[    0.360000] bio: create slab <bio-0> at 0
[    0.370000] Switching to clocksource MIPS
[    0.380000] NET: Registered protocol family 2
[    0.380000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.380000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.390000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.390000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.400000] TCP reno registered
[    0.400000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.410000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.420000] NET: Registered protocol family 1
[    0.420000] PCI: CLS 0 bytes, default 32
[    0.440000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.440000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.450000] msgmni has been set to 56
[    0.460000] io scheduler noop registered
[    0.460000] io scheduler deadline registered (default)
[    0.470000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.490000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.500000] console [ttyS0] enabled, bootconsole disabled
[    0.510000] m25p80 spi0.0: found s25sl064a, expected m25p80
[    0.520000] m25p80 spi0.0: s25sl064a (8192 Kbytes)
[    0.530000] 5 tp-link partitions found on MTD device spi0.0
[    0.530000] Creating 5 MTD partitions on "spi0.0":
[    0.540000] 0x000000000000-0x000000020000 : "u-boot"
[    0.540000] 0x000000020000-0x000000105200 : "kernel"
[    0.550000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.560000] 0x000000105200-0x0000007f0000 : "rootfs"
[    0.570000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.580000] mtd: partition "rootfs" set to be root filesystem
[    0.590000] mtd: partition "rootfs_data" created automatically, ofs=6A0000, len=150000 
[    0.600000] 0x0000006a0000-0x0000007f0000 : "rootfs_data"
[    0.600000] 0x0000007f0000-0x000000800000 : "art"
[    0.610000] 0x000000020000-0x0000007f0000 : "firmware"
[    0.620000] Realtek RTL8366RB ethernet switch driver version 0.2.3
[    0.740000] rtl8366rb rtl8366rb: using GPIO pins 18 (SDA) and 19 (SCK)
[    0.740000] rtl8366rb rtl8366rb: RTL5937 ver. 3 chip found
[    0.920000] rtl8366rb: probed
[    0.930000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.230000] TCP cubic registered
[    1.240000] NET: Registered protocol family 17
[    1.240000] Bridge firewalling registered
[    1.250000] Ebtables v2.0 registered
[    1.250000] 8021q: 802.1Q VLAN Support v1.8
[    1.260000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.270000] Freeing unused kernel memory: 212k freed
[    3.620000] ar71xx: pll_reg 0xb8050014: 0x1a000000
[    3.620000] eth0: link up (1000Mbps/Full duplex)
[    3.780000] Registered led device: tp-link:green:usb
[    3.780000] Registered led device: tp-link:green:system
[    3.780000] Registered led device: tp-link:green:qss
[    3.780000] Registered led device: tp-link:green:wlan
[    7.090000] JFFS2 notice: (407) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 22 of xref (0 dead, 5 orphan) found.
[    7.310000] eth0: link down
[    8.640000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[    8.650000] Backport based on wireless-testing.git master-2012-09-07
[    8.660000] compat.git: wireless-testing.git
[    8.830000] cfg80211: Calling CRDA to update world regulatory domain
[    8.830000] cfg80211: World regulatory domain updated:
[    8.840000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    8.850000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.850000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.860000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.870000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.880000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.450000] SCSI subsystem initialized
[    9.720000] usbcore: registered new interface driver usbfs
[    9.730000] usbcore: registered new interface driver hub
[    9.730000] usbcore: registered new device driver usb
[   10.630000] ath: EEPROM regdomain: 0x0
[   10.630000] ath: EEPROM indicates default country code should be used
[   10.630000] ath: doing EEPROM country->regdmn map search
[   10.630000] ath: country maps to regdmn code: 0x3a
[   10.630000] ath: Country alpha2 being used: US
[   10.630000] ath: Regpair used: 0x3a
[   10.640000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.640000] ieee80211 phy0: Atheros AR9100 MAC/BB Rev:7 AR2133 RF Rev:a2 mem=0xb80c0000, irq=2
[   10.650000] cfg80211: Calling CRDA for country: US
[   10.650000] cfg80211: Regulatory domain changed to country: US
[   10.660000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   10.670000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   10.680000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   10.680000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.690000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.700000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.710000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   11.380000] RPC: Registered named UNIX socket transport module.
[   11.390000] RPC: Registered udp transport module.
[   11.390000] RPC: Registered tcp transport module.
[   11.400000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   11.820000] PPP generic driver version 2.4.2
[   11.920000] tun: Universal TUN/TAP device driver, 1.6
[   11.920000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   12.050000] GRE over IPv4 demultiplexor driver
[   12.170000] GRE over IPv4 tunneling driver
[   12.530000] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   12.640000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.070000] NET: Registered protocol family 24
[   13.330000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   13.340000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[   13.350000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[   13.390000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[   13.410000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[   13.410000] hub 1-0:1.0: USB hub found
[   13.420000] hub 1-0:1.0: 1 port detected
[   13.540000] nf_conntrack version 0.5.0 (457 buckets, 1828 max)
[   13.920000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   14.180000] PPTP driver version 0.8.5
[   14.940000] xt_time: kernel timezone is -0000
[   15.770000] 	Hooked IMQ after mangle on PREROUTING
[   15.780000] 	Hooked IMQ after nat on POSTROUTING
[   15.780000] IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
[   15.960000] Netfilter messages via NETLINK v0.30.
[   16.190000] ip_set: protocol 6
[   16.740000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   17.000000] cdc_acm 1-1:1.1: ttyACM0: USB ACM device
[   17.010000] cdc_acm 1-1:1.3: ttyACM1: USB ACM device
[   17.020000] usbcore: registered new interface driver cdc_acm
[   17.020000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   17.150000] usbcore: registered new interface driver usblp
[   17.190000] usbcore: registered new interface driver usbserial
[   17.190000] USB Serial support registered for generic
[   17.200000] usbcore: registered new interface driver usbserial_generic
[   17.200000] usbserial: USB Serial Driver core
[   17.300000] Initializing USB Mass Storage driver...
[   17.300000] scsi0 : usb-storage 1-1:1.5
[   17.310000] usbcore: registered new interface driver usb-storage
[   17.320000] USB Mass Storage support registered.
[   17.340000] usbcore: registered new interface driver ums-alauda
[   17.360000] usbcore: registered new interface driver ums-cypress
[   17.390000] usbcore: registered new interface driver ums-datafab
[   17.410000] usbcore: registered new interface driver ums-freecom
[   17.440000] usbcore: registered new interface driver ums-isd200
[   17.460000] usbcore: registered new interface driver ums-jumpshot
[   17.490000] usbcore: registered new interface driver ums-karma
[   17.510000] usbcore: registered new interface driver ums-sddr09
[   17.540000] usbcore: registered new interface driver ums-sddr55
[   17.560000] usbcore: registered new interface driver ums-usbat
[   17.700000] fuse init (API version 7.18)
[   18.310000] scsi 0:0:0:0: Direct-Access     Nokia    Datacard CD-ROM  0001 PQ: 0 ANSI: 0
[   18.320000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   23.470000] ar71xx: pll_reg 0xb8050014: 0x1a000000
[   23.770000] eth0: link up (1000Mbps/Full duplex)
[   23.780000] device eth0.1 entered promiscuous mode
[   23.790000] device eth0 entered promiscuous mode
[   23.800000] br-lan: port 1(eth0.1) entered forwarding state
[   23.800000] br-lan: port 1(eth0.1) entered forwarding state
[   25.800000] br-lan: port 1(eth0.1) entered forwarding state
[   26.560000] device wlan0 entered promiscuous mode
[   27.780000] br-lan: port 2(wlan0) entered forwarding state
[   27.780000] br-lan: port 2(wlan0) entered forwarding state
[   29.780000] br-lan: port 2(wlan0) entered forwarding state
And my devices (cat /proc/bus/usb/devices):

Code: Select all

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.03
S:  Manufacturer=Linux 3.3.8 ehci_hcd
S:  Product=Generic Platform EHCI Controller
S:  SerialNumber=ehci-platform
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=02(comm.) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0421 ProdID=0629 Rev= 0.01
S:  Manufacturer=Nokia
S:  Product=Nokia Datacard
S:  SerialNumber=0.0.1
C:* #Ifs= 6 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 0 Cls=02(comm.) Sub=08 Prot=00 Driver=(none)
I:  If#= 0 Alt= 1 #EPs= 0 Cls=02(comm.) Sub=08 Prot=00 Driver=(none)
I:* If#= 1 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm
E:  Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm
E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 5 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
According to a DD-WRT document (http://www.dd-wrt.com/wiki/index.php/3G_/_3.5G#NOKIA) the product ID & vendor ID:

P: Vendor=0421 ProdID=0629 Rev= 0.01

Looks like the device is being set up in modem mode (does this mean usb_modeswitch is working correctly)?

Any idea how I can get this to work & setup?

Thanks

Rob

mecay21
Posts: 1
Joined: Sat Apr 27, 2013 1:08 am
Contact:

Re: Nokia CS-18 3G USB Modem not working

Post by mecay21 »

I will also installed.. thanks for share with us!!

pode
Posts: 2
Joined: Thu Aug 01, 2013 11:51 am

Re: Nokia CS-18 3G USB Modem not working

Post by pode »

Old problem, but I got my Nokia CS-17 working using this:
http://www.gargoyle-router.com/phpbb/vi ... =11&t=2607

Post Reply