Bug 13555
Summary: | Mobidata EDGE modem issue with Linux Kernel (cp2101.c) | ||
---|---|---|---|
Product: | Drivers | Reporter: | Shehab (shehab) |
Component: | USB | Assignee: | Greg Kroah-Hartman (greg) |
Status: | RESOLVED CODE_FIX | ||
Severity: | high | CC: | mike, sameeul, shehab, shiplu.net, smibrahim |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.29 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Shehab
2009-06-17 07:01:43 UTC
This will be resolved in the 2.6.31 kernel release, can you test the 2.6.31-rc1 kernel when it comes out? It was more than just a device id change, this is a new device type that needed to be supported. So, you need to write a good number of code, right? Thanks Greg. I will test it when you are done. The code is already finished and submitted to Linus, it will show up in 2.6.31-rc1 when it is released in a few days. Have you tested with the original device? It is Mobidata EDGE Modem 100EU. We are testing this device now on 2.6.31-rc4 and ubuntu 9.04. The device is detecting correctly on ttyUSB0 but when attempting to communicate with it using minicom it comes up with a gibberish character repeated. Nothing Intelligible, no error response or anything. Does that device work properly in Windows system? Yes i have just connected it in windows now What is the status of this bug? Is it really resolved?? I dont know when my Ubuntu will upgrade its kernel to 2.6.31. Currently I am using 2.6.28 kernel in Ubuntu 9.04. I think I have to upgrade the kernel manually to 2.6.31-rc4. Do you think I can connect this device and it will be recognized in Ubuntu 9.04 after upgrading kernel manually ? Thanks in advance. -- A K M Mokaddim http://talk.cmyweb.net http://twitter.com/shiplu ========================= Explorer and Learner It should. Contact your distro about fixing their kernel if you have issues with it, nothing we can do there, sorry. I manually upgraded to 2.6.31-rc4, everything works well except that modem! So i would say i dont think so, try it anyway it could just be me. Please try 2.6.31-rc5, usb-serial devices were broken in -rc4. I upgraded my kernel to 2.6.31-rc5, but it still cannot detect the modem. Though I am not a geek, still i would like to share some facts that I have observed. The model number of my device is same as Shehab's one, but device id is different. this is the output for me of lsusb command Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 002: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 002: ID 04fc:2140 Sunplus Technology Co., Ltd Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub here sunplus technology is my modem...because when I unplug my modem and try lsusb every other item remains the same, only sunplus does not appear in the list. But, there is another interesting thing when I plug it in windows look for vendor ID and product id I found the vendor id is same but product id is 1240 not 2140 (what I found on linux) !!! I guess the "Zero CD Rom" thing is the root of all problem. I don't know whether you discovered this fact or not, when you plug mobidata to your usb, it first act as a CD rom...i guess the modem has a autorun emulator for CD-rom. and after u install all the driver from that emulated cd-rom, there is a file called runafterinsert.exe which stops the emulator working. In linux, I found similar thing happen...lf yo check the syslog entry, you will find that it detects the usb device as a scsi cd-rom, bt as we don't have any runafterinsert.exe like thing for linux, we can not stop the emulator and use it a modem. for last 6 month i am using sentara (not sure the name right now), here i use a simple hack, after insert the modem i wait for few second, after the drive appears in nautilus i second click on the icon and click eject , and make sure the drive fully vanish. then i can use this as normal modem using wvdial :) you can try this way. Yes, the 'eject' command (same as pressing eject in nautilus) is the recommended way to resolve this issue. I havnt tried the latest kernel, but the eject command is pretty standard with all of these modems. There is a tool called USB Modeswitch that i use in linux to make them just appear as modems. Other than that, after ejecting it will then detect as the real device and install the driver provided linux supports the modem. The old linux kernel versions did not. RC4 was bugged in the serial so that didnt work so my guess is if rc5 works then it's all go when you eject. Sameeul, My Mobidata modem has no "Zero CD Rom" thing. Its the older one. It only contains modem. No driver in it that will be installed in Autorun in windows. They gave me driver cd when I bought it. Your modem is quite recent I guess. I bought my modem 2 years ago. And this does not work. And Greg I have no way to 'eject' to resolve it. Mobidata company just forwarded this document. Please check. http://omarshehab.googlepages.com/Edge_sunUSBmodemonLinux.pdf I did what is stated in the provided pdf file. It doesn't work. May be it works on new devices. Not 100EU, I guess. And this specification is written after then have manufactured a number of new devices. If I follow the instructions, It just creates a new device (/dev/ttyUSB0). But the device is not a modem device. So can't communicate with it. I heard some people made it working in linux following those procedures. But all of them owns new devices. I assume 2.6.31 is yet to have a fix regarding this modem. |