Hi
I'm trying to connect a USB CDMA modem (z010) to a CentOS 4.1 (kernel 2.6.9-11.EL) and I can't talk to the modem. I tried the same modem under Fedora Core 1 (2.4.22-1.2199.nptl) and it works like a charm.
The only difference is /dev/ttyACM0 for CentOS and /dev/input/ttyACM0 for the Fedora.
Any help would be appreciated.
Tank's.
Fernando Lança
Some debug info:
CentOS:
/var/log/messages -->
Aug 11 17:47:34 c4 kernel: usb 3-3: new full speed USB device using address 4 Aug 11 17:47:35 c4 kernel: drivers/usb/class/cdc-acm.c: Ignoring extra header Aug 11 17:47:35 c4 kernel: cdc_acm 3-3:1.0: ttyACM0: USB ACM device Aug 11 17:47:35 c4 kernel: usbcore: registered new driver cdc_acm Aug 11 17:47:35 c4 kernel: drivers/usb/class/cdc-acm.c: v0.23:USB Abstract Control Model driver for USB modems and ISDN adapters ............. Aug 11 17:50:04 c4 ifup-ppp: pppd started for mymodem on /dev/ttyACM0 at 57600 Aug 11 17:50:04 c4 pppd[3019]: pppd 2.4.2 started by root, uid 0 Aug 11 17:50:05 c4 wvdial[3034]: WvDial: Internet dialer version 1.54.0 Aug 11 17:50:05 c4 wvdial[3034]: Initializing modem. Aug 11 17:50:05 c4 wvdial[3034]: Sending: ATZ Aug 11 17:50:10 c4 wvdial[3034]: Sending: ATQ0 Aug 11 17:50:11 c4 wvdial[3034]: Re-Sending: ATZ Aug 11 17:50:16 c4 wvdial[3034]: Modem not responding. Aug 11 17:50:16 c4 pppd[3019]: Connect script failed Aug 11 17:50:17 c4 pppd[3019]: Exit.
/etc/wvdial.conf
[Modem0] Modem = /dev/ttyACM0 Baud = 57600 SetVolume = 0 Dial Command = ATDT Init1 = ATZ Init3 = ATM0 FlowControl = Hardware (CRTSCTS) [Dialer mymodem] Username = XXXXXXXXX Password = xxxx Phone = XXXXX Stupid Mode = 1 Inherits = Modem0
----------------------------------------- Fedora Core 1:
/var/log/messages -->
Aug 11 09:54:58 c1 kernel: usb.c: USB device not accepting new address=9 (error=-110) Aug 11 09:54:59 c1 kernel: hub.c: new USB device 00:1d.0-1, assigned address 10 Aug 11 09:54:59 c1 kernel: ttyACM0: USB ACM device Aug 11 09:55:03 c1 kernel: usb-uhci.c: ENXIO 80000a80, flags 0, urb eaa4fa00, burb eaa4f480 Aug 11 09:55:03 c1 usb.agent[11124]: missing kernel or user mode driver acm Aug 11 09:55:03 c1 usb.agent[11125]: missing kernel or user mode driver acm .......... Aug 11 09:55:51 c1 ifup-ppp: pppd started for mymodem on /dev/input/ttyACM0 at 57600 Aug 11 09:55:52 c1 pppd[12546]: pppd 2.4.1 started by root, uid 0 Aug 11 09:55:53 c1 wvdial[12567]: WvDial: Internet dialer version 1.53 Aug 11 09:55:53 c1 wvdial[12567]: Initializing modem. Aug 11 09:55:53 c1 wvdial[12567]: Sending: ATZ Aug 11 09:55:53 c1 wvdial[12567]: ATZ Aug 11 09:55:53 c1 wvdial[12567]: OK Aug 11 09:55:53 c1 wvdial[12567]: Sending: ATM0 Aug 11 09:55:53 c1 wvdial[12567]: ATM0 Aug 11 09:55:53 c1 wvdial[12567]: OK Aug 11 09:55:53 c1 wvdial[12567]: Modem initialized.
/etc/wvdial.conf
[Modem0] Modem = /dev/input/ttyACM0 Baud = 57600 SetVolume = 0 Dial Command = ATDT Init1 = ATZ Init3 = ATM0 FlowControl = Hardware (CRTSCTS) [Dialer mymodem] Username = XXXXXXXX Password = xxxxx Phone = xxxx Stupid Mode = 1 Inherits = Modem0
On 8/11/05, Fernando Lança fernando.lanca@inov.pt wrote:
I'm trying to connect a USB CDMA modem (z010) to a CentOS 4.1 (kernel 2.6.9-11.EL) and I can't talk to the modem. I tried the same modem under Fedora Core 1 (2.4.22-1.2199.nptl) and it works like a charm.
The only difference is /dev/ttyACM0 for CentOS and /dev/input/ttyACM0 for the Fedora.
Correct. Altough your message log does not show this to be a problem, my CDMA device was being recognised as HandspringVisor and it worked only when I added visor to /etc/hotplug/blacklist. Check listing of USB devices to see if any conflict is happening.
HTH
Hi,
Here is the list of usb devices:
[root@localhost ~]# lsusb Bus 001 Device 007: ID 05c6:3196 Qualcomm, Inc. CDMA Wireless Modem Bus 001 Device 001: ID 0000:0000
And a list of the kernel modules:
[root@localhost ~]# lsmod Module Size Used by ppp_generic 35157 0 slhc 7233 1 ppp_generic cdc_acm 12641 0 nls_utf8 2113 1 autofs4 23237 0 i2c_dev 11329 0 i2c_core 22081 1 i2c_dev ds 17349 4 dm_mod 56405 0 md5 4033 1 ipv6 232833 12 yenta_socket 18881 1 pcmcia_core 60041 2 ds,yenta_socket uhci_hcd 31065 0 snd_es1968 34717 2 snd_ac97_codec 63889 1 snd_es1968 snd_pcm_oss 49017 0 snd_mixer_oss 17985 2 snd_pcm_oss snd_pcm 96841 2 snd_es1968,snd_pcm_oss snd_timer 29893 1 snd_pcm snd_page_alloc 9673 2 snd_es1968,snd_pcm snd_mpu401_uart 8769 1 snd_es1968 snd_rawmidi 26597 1 snd_mpu401_uart snd_seq_device 8137 1 snd_rawmidi snd 55461 11 snd_es1968,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device soundcore 9889 2 snd tulip 45025 0 floppy 58481 0 ext3 116937 1 jbd 71257 1 ext3
I just can't talk with the modem i even tried minicom with no success.
Thanks!
Fernando Lança
Sudev Barar wrote:
On 8/11/05, Fernando Lança fernando.lanca@inov.pt wrote:
I'm trying to connect a USB CDMA modem (z010) to a CentOS 4.1 (kernel 2.6.9-11.EL) and I can't talk to the modem. I tried the same modem under Fedora Core 1 (2.4.22-1.2199.nptl) and it works like a charm.
The only difference is /dev/ttyACM0 for CentOS and /dev/input/ttyACM0 for the Fedora.
Correct. Altough your message log does not show this to be a problem, my CDMA device was being recognised as HandspringVisor and it worked only when I added visor to /etc/hotplug/blacklist. Check listing of USB devices to see if any conflict is happening.
HTH
On 8/12/05, Fernando Lança fernando.lanca@inov.pt wrote:
Here is the list of usb devices:
[root@localhost ~]# lsusb Bus 001 Device 007: ID 05c6:3196 Qualcomm, Inc. CDMA Wireless Modem Bus 001 Device 001: ID 0000:0000
Where is cdc_acm??
And a list of the kernel modules: [root@localhost ~]# lsmod Module Size Used by ppp_generic 35157 0 slhc 7233 1 ppp_generic cdc_acm 12641 0
[SNIP]
Does "0" above means it is absent for the moment???
Hi,
Sudev Barar wrote:
On 8/12/05, Fernando Lança fernando.lanca@inov.pt wrote:
Here is the list of usb devices:
[root@localhost ~]# lsusb Bus 001 Device 007: ID 05c6:3196 Qualcomm, Inc. CDMA Wireless Modem Bus 001 Device 001: ID 0000:0000
Where is cdc_acm??
Is the Device 007.
And a list of the kernel modules: [root@localhost ~]# lsmod Module Size Used by ppp_generic 35157 0 slhc 7233 1 ppp_generic cdc_acm 12641 0
[SNIP]
Does "0" above means it is absent for the moment???
Yes, i believe that it means that nothing is using it at the moment.
Best regards, Fernando Lança