Bug 90676

Summary: Samsung GT-B3730 : Couldn't create modem for device at '/sys/devices/...': Failed to find primary AT port
Product: ModemManager Reporter: Germano Massullo <germano.massullo>
Component: generalAssignee: ModemManager bug user <modemmanager>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: medium CC: akshumali107
Version: 1.4   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Germano Massullo 2015-05-27 11:15:34 UTC
Upstream bugreport of https://bugzilla.redhat.com/show_bug.cgi?id=1225429


Description of problem:
I am trying to use a Samsung GT-B3730 USB Mobile broadband device, but I think it is not supported by ModemManager, since it is a quite new device.
I also tried to set (on runtime) SELinux in permissive mode, but nothing changed.

Version-Release number of selected component (if applicable):
ModemManager-1.4.6-1.fc22.x86_64

Additional info:

====== lsusb -v ======
Bus 001 Device 015: ID 04e8:6889 Samsung Electronics Co., Ltd GT-B3730 Composite LTE device (Commercial)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x04e8 Samsung Electronics Co., Ltd
  idProduct          0x6889 GT-B3730 Composite LTE device (Commercial)
  bcdDevice            0.01
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           55
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0002
  (Bus Powered)
  Remote Wakeup Enabled



====== systemctl status ModemManager ======



mag 27 12:53:48 localhost.localdomain systemd[1]: Starting Modem Manager...
mag 27 12:53:48 localhost.localdomain ModemManager[3551]: <info>  ModemManager (version 1.4.6-1.fc22) starting in system bus...
mag 27 12:53:48 localhost.localdomain systemd[1]: Started Modem Manager.
mag 27 12:53:48 localhost.localdomain ModemManager[3551]: <warn>  (ttyUSB0): port attributes not fully set
mag 27 12:53:50 localhost.localdomain ModemManager[3551]: <warn>  Couldn't find support for device at '/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0': not supported by any plugin
mag 27 12:53:50 localhost.localdomain ModemManager[3551]: <warn>  Couldn't find support for device at '/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0': not supported by any plugin
mag 27 12:54:03 localhost.localdomain ModemManager[3551]: <info>  Creating modem with plugin 'Generic' and '2' ports
mag 27 12:54:03 localhost.localdomain ModemManager[3551]: <warn>  Could not grab port (tty/ttyUSB0): 'Cannot add port 'tty/ttyUSB0', unhandled serial type'
mag 27 12:54:03 localhost.localdomain ModemManager[3551]: <warn>  Couldn't create modem for device at '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2': Failed to find primary AT port
Comment 1 Germano Massullo 2015-06-10 16:41:54 UTC
dmesg messages


[33208.554401] usb 3-2: new high-speed USB device number 5 using ehci-pci
[33208.704873] usb 3-2: New USB device found, idVendor=04e8, idProduct=689a
[33208.704886] usb 3-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[33208.715278] usb-storage 3-2:1.0: USB Mass Storage device detected
[33208.724612] scsi host16: usb-storage 3-2:1.0
[33208.874282] usbcore: registered new interface driver kalmia
[33209.436026] usb 3-2: USB disconnect, device number 5
[33209.677268] usb 3-2: new high-speed USB device number 6 using ehci-pci
[33209.830360] usb 3-2: New USB device found, idVendor=04e8, idProduct=6889
[33209.830373] usb 3-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[33209.841147] kalmia 3-2:1.0 wwan0: register 'kalmia' at usb-0000:00:12.2-2, Samsung Kalmia LTE USB dongle
[33209.841239] kalmia: probe of 3-2:1.1 failed with error -22
[33209.903244] usbcore: registered new interface driver option
[33209.903259] usbserial: USB Serial support registered for GSM modem (1-port)
[33209.903396] option 3-2:1.1: GSM modem (1-port) converter detected
[33209.903986] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB0
[33210.898768] kalmia 3-2:1.0 wwp0s18f2u2: renamed from wwan0
Comment 2 Germano Massullo 2015-07-19 11:34:25 UTC
Closing as "works for me" because I am no longer experiencing this problem, instead the device is giving me troubles on other sides, and I am going to open a new bugreport about that.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.