Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have SuSE Linux Professional 9.2, and I'm trying to set it up with the Novatel Merlin V620 CDMA EV-DO PC Card (Verizon Wireless). I've used USBView, and it does seem to identify the card as a Novatel Merlin, but Linux doesn't seem to know what to do with it.
Looks like it's some sort of USB bridge (NEC USB) to the modem, so Linux is getting past that. So if I can somehow tell Linux how to treat it as a USB modem, I should be OK.
Anybody familiar with this device and/or got it working? Looking for any assistance (or follow-up questions about what I should post). Thanks.
For Linux 2.6 Kernels it is really quite simple to get it to work. The first thing you do is simply cat /proc/bus/usb/devices and grab the verndorID and the product code form the device ( which I can see you have done already ).
As per your post:
vendor=1416
product=1110
( I recommend that you another terminal open with tail -f /var/log/messages while you do this for debuging)
Now, with the info we just need to tell usbserial kernel module to use this device:
modprobe usbserial vendor=0x1416 product=0x1110
( You should see a message flash through your tail saying something like blah blah /class/dev/usb/ttyUSB0 and /class/dev/usb/ttyUSB1 )
Holy crap, your in.... now you just have to set pppd to allow the paramets to connect and then call it and your on the net:
/etc/ppp is were we are going to go, you need two files one under /etc/ppp/peers/<your ppp> and one under /etc/ppp/<your chat script>
Depending on any mucking around with the card that is done, and or the Laptop PCMCIA controller onboard, you may at times need to remore the card form the slot .. give it a few seconds, and reinsert it into the the PCMCIA slot; do this while tail -f /var/log/messages you should see the device appear and load two (2) usb devices one is a built in hub on the card, and the other is the modem itself. Once you see these messages, it is on to configuring the pppd to dial using this modem.
I would post the output of my /var/log/messages with this card, but I left that lapi at work, sorry, maybe monday if you have no luck I will post the outputs.
No luck. Have tried various combinations of power on with/without the card, inserting the card before/after bootup, inserting before/after modprobe, etc. The modprobe usbserial (...) line doesn't generate anything whatsoever -- nothing in /var/log/messages, nothing in the console where it's run.
By the way, I have read that it works quite easily with Mac OS 10 without explicit driver support, so it would appear to be a "generic enough" piece of hardware.
Yep it does, that is what I am using right now to respond, PowerBook and 10.3.9, like I said the other lapi is my Suse 9.1 AMD64 and is at work. To get the card to work with OSx it is much the same, you simply tell the drive the Product and Vendor codes, except in OSx they are in decimal not hex, and then set the card up with pppd and it just works. That is much the same thing that I have done in Suse 9.1, NetBSD 2.0.1, and FreeBSD 5.3 to get this card working.
By the way unless you have the module loading at boot, pwr cycling the machine with or without the card will make no difference, you have to have the module loaded first, then insert the card, or have it already inserted. Also are you getting any beeps when the card is inserted into the machine, like high-low, or high-high? If not the the card is not ever initializing and sounds like it could be an IRQ conflict.
The only thing that I can think of is that you may have a conflicting module loaded like ACM module or that you may have an IRQ overlap that is cause problems. I have had this card working this way in everything form E-Machines->Compaq->Toshiba->Sony->Apples. Try giving looking at your modules and see what you have loaded using lsmod; you can by the way try using the ACM module for Suse, this is the winmodem kernel module, the first time I used this card in linux, that is the module I used but the module seemed very unstable.
I am sorry your having so much trouble, but we can get this working.
Originally posted by scutt By the way unless you have the module loading at boot, pwr cycling the machine with or without the card will make no difference, you have to have the module loaded first, then insert the card, or have it already inserted. Also are you getting any beeps when the card is inserted into the machine, like high-low, or high-high? If not the the card is not ever initializing and sounds like it could be an IRQ conflict.
No beeps on this model (IBM ThinkPad T40). When I insert the card it does get power -- green flashing light soon appears indicating reception. USBView also sees the card. And that "other" operating system sees and uses the card.
Quote:
The only thing that I can think of is that you may have a conflicting module loaded like ACM module or that you may have an IRQ overlap that is cause problems. I have had this card working this way in everything form E-Machines->Compaq->Toshiba->Sony->Apples. Try giving looking at your modules and see what you have loaded using lsmod; you can by the way try using the ACM module for Suse, this is the winmodem kernel module, the first time I used this card in linux, that is the module I used but the module seemed very unstable.
I am sorry your having so much trouble, but we can get this working.
I think so -- this one should be doable. By the way, here's what appears in /var/log/messages (after typing modprobe usbserial vendor=0x1410 product=0x1110 -- or before, doesn't matter) when I insert the card after bootup:
Apr 24 12:23:16 t40linux kernel: ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
Apr 24 12:23:16 t40linux kernel: PCI: Enabling device 0000:07:00.0 (0000 -> 0002)
Apr 24 12:23:16 t40linux kernel: ACPI: PCI interrupt 0000:07:00.0[A] -> GSI 11 (level, low) -> IRQ 11
Apr 24 12:23:16 t40linux kernel: ohci_hcd 0000:07:00.0: OHCI Host Controller
Apr 24 12:23:17 t40linux kernel: PCI: Setting latency timer of device 0000:07:00.0 to 64
Apr 24 12:23:17 t40linux kernel: ohci_hcd 0000:07:00.0: irq 11, pci mem f96ec000
Apr 24 12:23:17 t40linux kernel: ohci_hcd 0000:07:00.0: new USB bus registered,assigned bus number 5
Apr 24 12:23:17 t40linux kernel: usb usb5: Product: OHCI Host Controller
Apr 24 12:23:17 t40linux kernel: usb usb5: Manufacturer: Linux 2.6.8-24.14-default ohci_hcd
Apr 24 12:23:17 t40linux kernel: usb usb5: SerialNumber: 0000:07:00.0
Apr 24 12:23:17 t40linux kernel: hub 5-0:1.0: USB hub found
Apr 24 12:23:17 t40linux kernel: hub 5-0:1.0: 3 ports detected
Apr 24 12:23:17 t40linux kernel: PCI: Enabling device 0000:07:00.1 (0000 -> 0002)
Apr 24 12:23:17 t40linux kernel: ACPI: PCI interrupt 0000:07:00.1[B] -> GSI 11 (level, low) -> IRQ 11
Apr 24 12:23:17 t40linux kernel: ohci_hcd 0000:07:00.1: OHCI Host Controller
Apr 24 12:23:17 t40linux kernel: PCI: Setting latency timer of device 0000:07:00.1 to 64
Apr 24 12:23:17 t40linux kernel: ohci_hcd 0000:07:00.1: irq 11, pci mem f97a4000
Apr 24 12:23:17 t40linux kernel: ohci_hcd 0000:07:00.1: new USB bus registered,assigned bus number 6
Apr 24 12:23:17 t40linux kernel: usb usb6: Product: OHCI Host Controller
Apr 24 12:23:17 t40linux kernel: usb usb6: Manufacturer: Linux 2.6.8-24.14-default ohci_hcd
Apr 24 12:23:17 t40linux kernel: usb usb6: SerialNumber: 0000:07:00.1
Apr 24 12:23:17 t40linux kernel: hub 6-0:1.0: USB hub found
Apr 24 12:23:17 t40linux kernel: hub 6-0:1.0: 2 ports detected
Apr 24 12:23:17 t40linux kernel: usb 5-1: new full speed USB device using address 2
Apr 24 12:23:17 t40linux kernel: usb 5-1: Product: Novatel Wireless Merlin CDMA
Apr 24 12:23:17 t40linux kernel: usb 5-1: Manufacturer: Novatel Wireless Inc.
Note the kernel is 2.6.8-24.14 (SuSE 9.2 updated). Note also there's no magic "/dev/ttyUSB0" sorts of line(s) that appear after the Novatel lines.
Here are some other things I tried without success:
1. "Dumbed down" the ThinkPad by shutting off other devices (infrared, serial, parallel) and by shutting off PCI power management.
2. Kernel boot parameter noapic.
3. modprobe cdc_acm
4. Installing SuSE's ltmodem (Lucent Winmodem) package.
I should probably also list the hardware characteristics for this thing, from VZAccess Manager, for comparison:
I too am using a Thinkpad T40. I've managed to get a bit further than you, but still can't connect. The T40 has a uhci usb controller, but the card also has an ohci controller, so make sure you have them both loaded.
sopwith% sudo pon verizon
Serial connection established.
using channel 4
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1dbf7fcb> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1dbf7fcb> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1dbf7fcb> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1dbf7fcb> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1dbf7fcb> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1dbf7fcb> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1dbf7fcb> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1dbf7fcb> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1dbf7fcb> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1dbf7fcb> <pcomp> <accomp>]
LCP: timeout sending Config-Requests
Connection terminated.
Receive serial link is not 8-bit clean:
Problem: all had bit 7 set to 0
Serial connection established.
using channel 5
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
tcflush failed: Bad file descriptor
tcsetattr: Invalid argument (line 1003)
sopwith%
I "activated" the card by setting it up on a different windows laptop and going through the setup program and verifying that the card and my account worked. Does anyone know if this needs to be done on the Linux machine as well? What does "activating" do?
I'm going to try messing around with it in minicom next.
Comment out all the lines in /etc/ppp/options that deal with LCP. It will always timeout, and cause your system to hangup.
Also, I don't see where your getting connect at all, just trying, make sure that your chat scripts clears the modem before dialing; Also, make sure your ppp script has a reference to your chat script:
I banged on this thing for two weeks with no success, trying many sets of directions I found on google. I finally got it working today. I don't seen anything significantly different with my final setup, so maybe I just had something odd out of place. The directions that worked in the end were here:
Good to hear it, yeah I have seen that post before, that post is for a card using a true FIFO, like the Aircard 580. So with your V620, you can increase that serial connection to 23400, this is the line rate of your USB 1.0 card. What this will do is when your area goes full 3G, you will be able to transer the full 2.3Mb/sec down (depending on reception), were as the serial cards will be limited to 1.5Mb/sec down. Don't sell your little V620 short, open up the throttle.
I used the tail -f /var/log/messages command in another window, to keep an eye on these commands and make sure that the V620 actually registered correctly. I'm not sure why unloading (-r) the drivers is needed, but in my case it was very important. I might try playing with the boot order for OHCI and EHCI/UHCI drivers to see if that fixes the problem. Perhaps the usbserial driver stops hunting after it searches the first USB ports?
2. I'm using wvdial as the PPP dialer. It just required a few simple changes to /etc/wvdial.conf as follows:
Note that 1235551212 is my Verizon Wireless phone number for this data line. (Well, obviously THAT's not my number. Replace with whatever yours is.) The "(...)" parts above indicate there are some lines in between that don't need to be changed.
3. I also changed some things in /etc/ppp/options -- specifically I had to commend out any configuration line that started with "lcp" by putting a # symbol in front. In my case it was these lines:
Originally posted by scutt To get the card to work with OSx it is much the same, you simply tell the drive the Product and Vendor codes, except in OSx they are in decimal not hex, and then set the card up with pppd and it just works. That is much the same thing that I have done in Suse 9.1, NetBSD 2.0.1, and FreeBSD 5.3 to get this card working.
Scutt,
I know this is a Linux list, but I happened to google over here -- I'm trying to get this card (Novatel V620) to work with FreeBSD 5.3, which it sounds like you were able to do. For me, it just comes up as a ugen (generic USB) device, not as a serial device, so I can't do much with it.
Can you give me a pointer to how you were able to get it working on FreeBSD 5.3? Feel free to pm or email me if you think it's too off-topic for this forum.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.