Bug 106234 - ZTE modem doesn't recognized when strict filter policy enabled
Summary: ZTE modem doesn't recognized when strict filter policy enabled
Status: RESOLVED FIXED
Alias: None
Product: ModemManager
Classification: Unclassified
Component: plugins (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: ModemManager bug user
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-25 09:28 UTC by Balló György
Modified: 2018-05-07 19:50 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Relevant part of the output of "ModemManager --filter-policy=STRICT --debug" (2.88 KB, text/plain)
2018-04-25 09:28 UTC, Balló György
Details
Relevant part of the output of "ModemManager --filter-policy=DEFAULT --debug" (21.26 KB, text/plain)
2018-04-25 09:30 UTC, Balló György
Details
Device information (25.38 KB, text/x-log)
2018-04-26 08:15 UTC, Balló György
Details

Description Balló György 2018-04-25 09:28:32 UTC
Created attachment 139095 [details]
Relevant part of the output of "ModemManager --filter-policy=STRICT --debug"

ModemManaged doesn't recognize my USB modem in strict filter mode.

Hardware:
Bus 002 Device 015: ID 19d2:0117 ZTE WCDMA Technologies MSM

Package version:
modemmanager 1.8rc2
Comment 1 Balló György 2018-04-25 09:30:33 UTC
Created attachment 139096 [details]
Relevant part of the output of "ModemManager --filter-policy=DEFAULT --debug"

The modem is recognized successfully in default filter mode.
Comment 2 Aleksander Morgado 2018-04-26 05:53:30 UTC
Looks like we need to improve our strict filter somehow to catch this one. The current logic doesn't catch it because this device has only 3 TTYs, so just looking at the ports it exposes it could really be some other thing instead of a modem, so the strict filter ignores the device.

Could you get us more info from the device, e.g.:
  $ sudo udevadm info -p /sys/class/tty/ttyUSB0
  $ sudo udevadm info -p /sys/class/tty/ttyUSB1
  $ sudo udevadm info -p /sys/class/tty/ttyUSB2

  $ sudo udevadm info -p /sys/class/tty/ttyUSB0 --attribute-walk
  $ sudo udevadm info -p /sys/class/tty/ttyUSB1 --attribute-walk
  $ sudo udevadm info -p /sys/class/tty/ttyUSB2 --attribute-walk

  $ sudo lsusb -v -d 19d2:0117

This kind of modem is a good example of a modem we expected to lose when using the strict mode.
Comment 3 Balló György 2018-04-26 08:15:35 UTC
Created attachment 139122 [details]
Device information

The attachment contains the output of these commands.
Comment 4 Aleksander Morgado 2018-05-07 19:50:07 UTC
We actually had a bug in the way kernel drivers are matched. It's now fixed in MM git master and will be released with 1.8.


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.