Bug 879033 - ttyUSB? not created when connecting phone modem
Summary: ttyUSB? not created when connecting phone modem
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 18
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-21 21:22 UTC by cornel panceac
Modified: 2014-07-02 14:06 UTC (History)
15 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-07-02 12:06:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
udevd crash log (8.97 KB, text/plain)
2012-11-26 14:18 UTC, cornel panceac
no flags Details

Description cornel panceac 2012-11-21 21:22:58 UTC
Description of problem:
When i connect my mobile phone, /dev/ttyUSB? were not created, thus making it impossible to connect to the phone through it's serial modem.


Version-Release number of selected component (if applicable):
i believe udev is now part of systemd:


# rpm -q systemd
systemd-195-7.fc18.i686

in f17:

# rpm -q udev
udev-182-3.fc17.i686


How reproducible:
always

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

from /var/log/messages:

Nov 21 22:56:46 localhost kernel: [  302.921060] usb 3-2: new full-speed USB device number 3 using uhci_hcd
Nov 21 22:56:46 localhost kernel: [  303.067753] usb 3-2: New USB device found, idVendor=22b8, idProduct=4081
Nov 21 22:56:46 localhost kernel: [  303.067766] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Nov 21 22:56:46 localhost kernel: [  303.067776] usb 3-2: Product: EM325 Mobile
Nov 21 22:56:46 localhost kernel: [  303.067784] usb 3-2: Manufacturer: Motorola
Nov 21 22:56:46 localhost kernel: [  303.075847] cdc_acm 3-2:1.0: Zero length descriptor references
Nov 21 22:56:46 localhost kernel: [  303.075871] cdc_acm: probe of 3-2:1.0 failed with error -22
Nov 21 22:56:46 localhost mtp-probe: checking bus 3, device 3: "/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-2"
Nov 21 22:56:46 localhost mtp-probe: bus: 3, device: 3 was not an MTP device


i've got similar output in f17 x86

# lsusb
Bus 003 Device 003: ID 22b8:4081 Motorola PCS

Comment 1 Michal Schmidt 2012-11-22 22:39:40 UTC
(In reply to comment #0)
> Nov 21 22:56:46 localhost kernel: [  303.075847] cdc_acm 3-2:1.0: Zero
> length descriptor references
> Nov 21 22:56:46 localhost kernel: [  303.075871] cdc_acm: probe of 3-2:1.0
> failed with error -22

This indicates a problem in the kernel driver. Reassigning.

Are you capable of testing a kernel from the upstream git tree and of applying a patch to it?
It would be useful to test if it can be fixed by adding an entry like this for your device into the acm_ids[] array in drivers/usb/class/cdc-acm.c:

        { USB_DEVICE(0x22b8, 0x4081),
        .driver_info = NO_UNION_NORMAL,
        },

Comment 2 cornel panceac 2012-11-23 14:46:16 UTC
gonna try these instructions:

http://fedoraproject.org/wiki/BuildingUpstreamKernel

thank you very much. i'll report back in a few hours, hopefully.

Comment 3 cornel panceac 2012-11-26 14:09:46 UTC
eventually i was able to build a patched 3.6.7 kernel. then, when i've connected the mobile phone, kernel crashed, apparently because of udevd. unfortunately no logs were saved in /var/log/messages .

Comment 4 Michal Schmidt 2012-11-26 14:17:32 UTC
Did you perhaps accidentally delete the empty last entry of the acm_ids[] array?:
I mean this line:
        { }
It must not be deleted and must remain as the last entry of the array.

Comment 5 cornel panceac 2012-11-26 14:18:37 UTC
Created attachment 651975 [details]
udevd crash log

wait, i've just found something. i'll attach it.

Comment 6 Josh Boyer 2013-04-01 19:46:06 UTC
Is this still an issue with 3.8.x?

Comment 7 cornel panceac 2013-04-02 19:46:41 UTC
yes

# uname -r
3.8.4-102.fc17.i686.PAE

...
Apr  2 22:42:50 guzu kernel: [ 3078.823047] usb 2-7: new full-speed USB device number 5 using ohci_hcd
Apr  2 22:42:50 guzu kernel: [ 3079.013003] usb 2-7: New USB device found, idVendor=22b8, idProduct=4081
Apr  2 22:42:50 guzu kernel: [ 3079.013049] usb 2-7: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Apr  2 22:42:50 guzu kernel: [ 3079.013060] usb 2-7: Product: EM325 Mobile
Apr  2 22:42:50 guzu kernel: [ 3079.013066] usb 2-7: Manufacturer: Motorola
Apr  2 22:42:50 guzu mtp-probe: checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:02.0/usb2/2-7"
Apr  2 22:42:50 guzu mtp-probe: bus: 2, device: 5 was not an MTP device
Apr  2 22:42:50 guzu kernel: [ 3079.140825] cdc_acm 2-7:1.0: Zero length descriptor references
Apr  2 22:42:50 guzu kernel: [ 3079.140850] cdc_acm: probe of 2-7:1.0 failed with error -22
Apr  2 22:42:50 guzu kernel: [ 3079.141759] usbcore: registered new interface driver cdc_acm
Apr  2 22:42:50 guzu kernel: [ 3079.141769] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
...

Comment 8 Justin M. Forbes 2013-10-18 21:14:29 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 18 kernel bugs.

Fedora 18 has now been rebased to 3.11.4-101.fc18.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 19, and are still experiencing this issue, please change the version to Fedora 19.

If you experience different issues, please open a new bug report for those.

Comment 9 Justin M. Forbes 2013-11-27 16:05:04 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  

It has been over a month since we asked you to test the 3.11 kernel updates and let us know if your issue has been resolved or is still a problem. When this happened, the bug was set to needinfo.  Because the needinfo is still set, we assume either this is no longer a problem, or you cannot provide additional information to help us resolve the issue.  As a result we are closing with insufficient data. If this is still a problem, we apologize, feel free to reopen the bug and provide more information so that we can work towards a resolution

If you experience different issues, please open a new bug report for those.

Comment 10 cornel panceac 2014-07-02 11:38:55 UTC
why was this closed?

Comment 11 Josh Boyer 2014-07-02 12:06:22 UTC
F18 is EOL.  Please open a new bug if you're seeing this with the latest kernel update in a supported release.

Comment 12 cornel panceac 2014-07-02 14:06:55 UTC
thank you.


Note You need to log in before you can comment on or make changes to this bug.