LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-16-2009, 09:52 PM   #1
mefizto
LQ Newbie
 
Registered: Oct 2008
Posts: 14

Rep: Reputation: 0
USB720 Modem not addressed?


Greetings all,

I am slowly, but steadily moving trhrough my Slackware 12.2 setup, the last major thing being EVDO modem because that is my only option where I live.

However, I appear to have some problems. The kernel seems to recognize the modem on /dev/ttyUSB{0,1}; dmesg output:

Code:
usb 4-2: new full speed USB device using uhci_hcd and address 3
usb 4-2: configuration #1 chosen from 1 choice
option 4-2:1.0: GSM modem (1-port) converter detected
usb 4-2: GSM modem (1-port) converter now attached to ttyUSB0
option 4-2:1.1: GSM modem (1-port) converter detected
usb 4-2: GSM modem (1-port) converter now attached to ttyUSB1
usb 4-2: New USB device found, idVendor=1410, idProduct=2110
usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 4-2: Product: Novatel Wireless CDMA
usb 4-2: Manufacturer: Novatel Wireless Inc.
However, the modem does not appear to communicate via chat; tail -f /var/log/messages output:

Code:
Apr 16 19:38:42 faust kernel: PPP generic driver version 2.4.2
Apr 16 19:38:42 faust pppd[3006]: pppd 2.4.4 started by root, uid 0
Apr 16 19:38:43 faust chat[3008]: expect (^M)
Apr 16 19:38:46 faust chat[3008]: alarm
Apr 16 19:38:46 faust chat[3008]: Failed
Apr 16 19:38:47 faust pppd[3006]: Exit.
My scripts are per this post: http://www.linuxquestions.org/questi...highlight=evdo

I tried searching, but came with nothing.

What puzzles me, though, is that there is no re-mapping of the /dev/ttyUSB* ports as it was my understanding that the hal/udev will remap the /dev/ttyUSB* on tts/USB*. But examining lshal output, this did not happen:

Code:
udi = '/org/freedesktop/Hal/devices/usb_device_1410_2110_noserial_if0_serial_usb_0'
  info.capabilities = {'serial', 'modem'} (string list)
  info.category = 'serial'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_1410_2110_noserial_if0'  (string)
  info.product = 'Ovation U720/MCD3000'  (string)
  info.subsystem = 'tty'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_1410_2110_noserial_if0_serial_usb_0'  (string)
  linux.device_file = '/dev/ttyUSB0'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'tty'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.2/usb4/4-1/4-1:1.0/ttyUSB0/tty/ttyUSB0'  (string)
  modem.command_sets = {'IS-707-A'} (string list)
  serial.device = '/dev/ttyUSB0'  (string)
  serial.originating_device = '/org/freedesktop/Hal/devices/usb_device_1410_2110_noserial_if0'  (string)
  serial.port = 0  (0x0)  (int)
  serial.type = 'usb'  (string)

Code:
bash-3.1# ls -l /dev/ttyUSB*
crw-rw---- 1 root uucp 188, 0 2009-04-16 19:28 /dev/ttyUSB0
crw-rw---- 1 root uucp 188, 1 2009-04-16 19:28 /dev/ttyUSB1
Any ideas please?

Thank you,

M
 
Old 04-17-2009, 10:18 PM   #2
hurry_hui
Member
 
Registered: Oct 2008
Location: Near Jakarta
Distribution: Slackware, Arch, Slax, Porteus, Tiny Core, Slitaz
Posts: 355
Blog Entries: 1

Rep: Reputation: 52
You need to make symbolic link to your modem: #ln -s /dev/ttyUSB0 /dev/modem.

Actually I used KPPP and the modems (yes-Modems) need to be set to /dev/modem.

I also try any configuration within KPPP option (like set it directly to /dev/ttyUSB0), but cannot query the modem.

Still wondering...

Last edited by hurry_hui; 04-17-2009 at 10:21 PM. Reason: Semantics
 
Old 04-18-2009, 12:45 AM   #3
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,065

Rep: Reputation: 146Reputation: 146
I am somewhat disappointed with TLDP at still seeing anyone with dialup modem problems. That modem HOWTO from the early - mid-90s was the best, but at some point it was removed from TLDP. Until 4 - 5 years ago I was using a dialup modem, and in the several years before that I never found another HOWTO (including for NetBSD) that helped set up a modem: it always took a lot of extra work. I recommend trying to find that old modem HOWTO; I had it in a book that published all TLDP docs printed in about 1996 - '8. If you cannot find it or continue to have problems, message me and I will look it up and try to get a copy with its scripts posted here or on my homepage.
 
Old 04-20-2009, 12:34 PM   #4
mefizto
LQ Newbie
 
Registered: Oct 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Dear hurry_hui,

do I understand you correctly, based on your quote "but cannot query the modem" that you did not make the modem work?

Dear David,

thank you for the offer, however, I am at the stage where I am considering switching to a different distribution or back to FreeBSD because I am having too many problems.

M
 
Old 04-20-2009, 09:00 PM   #5
hurry_hui
Member
 
Registered: Oct 2008
Location: Near Jakarta
Distribution: Slackware, Arch, Slax, Porteus, Tiny Core, Slitaz
Posts: 355
Blog Entries: 1

Rep: Reputation: 52
Quote:
do I understand you correctly, based on your quote "but cannot query the modem" that you did not make the modem work?
No, it is like, only when I softlinked the /dev/ttyUSB0 to /dev/modem I can query the modem. I wrote that since someone here insisted that making such softlink is not necessary. Btw, I have succeeded using several modems.
 
Old 04-21-2009, 04:51 AM   #6
ack_iix
Member
 
Registered: Jan 2009
Posts: 61

Rep: Reputation: 17
I'm using a Huawei E220 HSDPA modem and I don't need to symlink anything. All I require to make it work in KPPP is a right AT command and dial number.

And since the thread starter said it's a EVDO modem, I'm assuming it's a wireless CDMA modem. So, I guess all you need is a correct AT command for your modem.

Please correct me if I'm wrong.

Last edited by ack_iix; 04-22-2009 at 12:46 AM.
 
Old 04-21-2009, 02:02 PM   #7
mefizto
LQ Newbie
 
Registered: Oct 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Dear hurry_hui,

thank you for the reply.

Dear ack_iix,

you are correct, it is a wireless CDMA modem. I have copied a script from a resource claiming to work with the particular modem.

M
 
Old 04-22-2009, 12:44 AM   #8
ack_iix
Member
 
Registered: Jan 2009
Posts: 61

Rep: Reputation: 17
Maybe your modem needs some parameter passed to the usbserial module?

like: modprobe usbserial vendor=... product=...

Have you try using KPPP? I think it would be easier, because you can try to query the modem from the modem setup page.
 
Old 04-22-2009, 12:15 PM   #9
mefizto
LQ Newbie
 
Registered: Oct 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Dear ack_iix,

I did, indeed, passed the parameters to the modem, but on further inspection I have discovered that the parameters are already present in one of the configuration files. Regardless, this is not the problem.

No, I did not try kppp, just pppd.

I am afraid that at this point I do not see another option, but go to a more mainstream distribution.

M
 
Old 04-22-2009, 03:04 PM   #10
rg3
Member
 
Registered: Jul 2007
Distribution: Fedora
Posts: 527

Rep: Reputation: Disabled
Oh, tough luck!

Well, just in case, here are my pppd configuration files for the Huawei E220 modem. AFAIK it's the same for these modems. I have disabled the PIN on the SIM card because it gives less problems. You'd also have to change the username, password and Internet APN to the ones appropriate for your provider (Google helps):

/etc/ppp/chat-3gmodem
Code:
ABORT BUSY
ABORT ERROR
ABORT 'NO CARRIER'
REPORT CONNECT
TIMEOUT 10
"" "ATZ"
OK AT+CGDCONT=1,"ip","internet"
OK "ATE1V1&D2&C1S0=0+IFC=2,2"
OK "AT+IPR=115200"
OK "ATE1"
TIMEOUT 60
"" "ATD*99***1#"
CONNECT \c
And /etc/ppp/peers/3gmodem:
Code:
/dev/ttyUSB0
460800
crtscts
modem
noauth
#usepeerdns
defaultroute
noipdefault
debug
#noccp
#nobsdcomp
#novj
#mtu 500
user "orange"
password "orange"
connect '/usr/sbin/chat -f /etc/ppp/chat-3gmodem'
Note that you may also want to uncomment the "usepeerdns" or to configure some good DNS servers in /etc/resolv.conf. I connect, essentially, using "pppd call 3gmodem nodetach".

Good luck.

Edit: the username/password is changed in the second file, while the Internet APN is the word "internet" in the first file.

Last edited by rg3; 04-22-2009 at 03:07 PM.
 
Old 04-22-2009, 06:46 PM   #11
mefizto
LQ Newbie
 
Registered: Oct 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Dear rg3,

&^%$$#, I have just installed Debian. However, thank you for the post, perhaps it will be useful for someone else.

M
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Verizon USB720 EVDO Card Installation Azizcoos Linux - Hardware 0 11-28-2007 12:16 PM
KNentworkManager in open SUSE does not see Verizion usb720 LittleMuskie Linux - Newbie 4 10-08-2007 02:29 PM
Suse 9.3 Linux Verizon Usb720 ItsEsoteric Linux - Newbie 0 08-26-2007 03:56 PM
Novatel Wireless CDMA (Verizon USB720) replica9000 Linux - Wireless Networking 1 08-01-2007 11:13 PM
memory usage - is it all being used/addressed ? linxtc Linux - Hardware 2 09-23-2003 03:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration