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've opened a discussion on the Linux USB serial driver developer list. We'll see what the collective wisdom suggests for an "official" patch. Ultimately this will probably mean that the Linux USB serial driver will get a fix to handle this situation.
Question: anyone know what the Kyocera's vendor and product IDs are? Are they also 1410 and 1110, like the Novatel?
Originally posted by georgecmu
Look for line
buffer_size = endpoint->wMaxPacketSize;
[/B]
I got it working with 2.6. I couldn't find the exact place you referenced, but I hacked the change in. I'll wait for a real fix after the kernel developers have a look at this problem. For now I'm working.
Thanks everyone.
Does anyone know how to speed up the connection? Someone mentioned that they were getting ~ 1.5 Mbps in Windows but only 200-400 Kbps in Linux. I'm seeing the same problem. Anyone have any suggestions?
Originally posted by gpetme I got it working with 2.6. I couldn't find the exact place you referenced, but I hacked the change in. I'll wait for a real fix after the kernel developers have a look at this problem. For now I'm working.
Thanks everyone.
Does anyone know how to speed up the connection? Someone mentioned that they were getting ~ 1.5 Mbps in Windows but only 200-400 Kbps in Linux. I'm seeing the same problem. Anyone have any suggestions?
Thanks,
Greg
Any luck with the speed issue Greg?
I seem to be having the same issue.
I used tcpdump and there appears to be no issues with the communication. I am stumped on this one.
Originally posted by jpriddis Using the above information, I have mine connecting, and using Ethereal, I can see an IP address for PPP0. (Running under Fedora Core 2, with the Ricoh PCI-to-PCMCIA adapter, and Kernel version 2.6.58 on a Shuttle X mini-desktop) However, it does not seem to be pulling the DNS information. When in a Winders environment with the Verizon software, it does fine. Is there an additional line that needs to be in the verizon file under /etc/ppp/peers ? At first, it was trying to pull DNS from the onboard NIC settings as ETH0. Once I removed those, I tried hard coding the DNS server info into the Lan config information, but it still isn't resolving DNS. Any suggestions on what I may be missing? Thanks in advance for everyone's posts.
Hi ,
I'm trying to get the ricoh adapter to work with verizon. Everything seems ok but when I try to connect, I get the following:
pppd call 1xevdo
Failed to open /dev/ttyUSB0: No such device
... the /dev/ttyUSB0 device exist and I have been following the instruction from phil karn at http://www.ka9q.net/5220.html .
The internet access has been tested on a notebook without the PCI2PCMCIA adapter and everything worked fine. Any idea?
Originally posted by sipples Here's a slightly modified version of the patch suggested by Junxion. Call this Version 0.2, I suppose. :-) I've made the following changes:
On edit: Why is this code in an #ifdef, by the way? It would seem to be harmless enough for setting buffer_size generally since the driver is going to pick the higher of the device-reported max packet size or the user-specified size. Is there any harm to having a "too large" packet size?
On 2nd edit: Should pktsize default to 1? Are there any devices that would report 0 -- and which should use 0? Or is there some real-world minimum that this code should set?
I think the best way to handle this would be to look for the product/vendor IDs for the Novatel and Kyocera cards and then set the packet size correctly specifically for those devices, PLUS this user-specified parameter for generic devices. But I've got to dig into the code for that, and I'm not near the usbserial.c source at the moment. Anyone know what the Kyocera product/vendor IDs are?
The modifications are in #ifdef in case there are any other specific usb serial drivers that are not implementing this function and defaulting to the generically provided function.
You could create custom drivers for each PC card modem and then hard set what wMaxPacketSize should be. It's much easier for us to use a single driver for all cards of this class. We just wanted more flexibility.
This way there's no need for an extra module parameter and an extra usbserial module, since the buffer_size is only hardcoded for the specific device Novatel V620.
The patch is intended to work with as many usb serial devices as possible. The above code change works but only for the Novatel V620. There are a variety of EVDO capable cards in the market today.
Sierra/Audiovox PC5220 (0xf3d/0x112)
Novatel V620/S620 (0x1410/0x1110)
Sierra AC 580 (0x1199/0x112)
Kyocera KPC650 (0xc88/0x17da)
Thanks to Ren Roderick and an un-named friend for sending me the patch for 2.6.x kernel series for this issue. It is consistent with the 2.4.x patch I previously posted.
Some good news: the latest SuSE Linux 9.3 kernel (2.6.11.4-21.8), which was issued to fix some security-related issues, appears to work fine as-is with the Novatel V620. I left a download going overnight with this new kernel version (unpatched), and there were no lockups or other oddities, so it all seems stable.
I did run a speed test that suggested a somewhat slower speed than what should be available (versus the result I got when I hacked the previous kernel's usbserial driver). That's similar to what others are reporting here. However, I'm not 100% sure this speed test reflects reality. (Still investigating.) And at least the modem card works without kernel driver hacking now.
Bear in mind that there's still one mandatory configuration change: commenting (#) out the "lcp" options in the /etc/ppp/options file. There are four lcp-related lines. If you don't do this the connection will terminate after a minute or two. Also, just use "stupid mode" in your favorite PPP dialer. (I use KInternet.) That works fine.
If you want the modem automatically recognized when you insert it into a slot (or when you boot up with it installed), then add this line to the end of the /etc/modprobe.conf.local file:
options usbserial vendor=0x1410 product=0x1110
Works like a charm.
By the way, I believe that you can update the PRL (roaming list) by dialing *22899, even under Linux. Just use a terminal program (like Minicom) and type ATDT*22899 as a command string to the modem. Wait a bit until the modem downloads the PRL, updates, then resets. This way you don't need a Windows machine to update the roaming list as your carrier adds 1xEV-DO towers to their network. I'm not sure yet how to check the PRL version -- possibly an ATI command of some sort -- but perhaps it's possible.
Spoke too soon: the latest SuSE kernel still needs the patch to usb-serial.c. But then it works fine, and adding the "options" line (as described above) makes everything automatic.
It seems the topic has moved more towards getting higher speeds, but I am stuck on getting the v620 to work. I have tried every combination previously suggested, but I continue to get the following message:
usb.c: USB device 2 (vend/prod 0x1410/0x1110) is not claimed by any active driver.
I am currently using the stompbox flash image, based on pebble linux, which I believe is based on debian.
The full usb detection messages are below:
Starting hotplug subsystem: usbusb-ohci.c: USB OHCI at membase 0xc4898000, IRQ 11
usb-ohci.c: usb-02:00.0, PCI device 1033:0035
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
usb-ohci.c: USB OHCI at membase 0xc489a000, IRQ 11
usb-ohci.c: usb-02:00.1, PCI device 1033:0035
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: new USB device 02:00.0-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x1410/0x1110) is not claimed by any active driver.
usb-uhci.c: $Revision: 1.275 $ time 23:23:37 Mar 21 2005
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
uhci.c: USB Universal Host Controller Interface driver v1.1
Not quite sure where to go @ this point, ideas are appreciated.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.