>> I pushed some fixes to the 'qmi-support' branch of ModemManager trying >> to cope with the 'usb'->'usbmisc' transition. Basically, I'm assuming >> that either one or the other may appear, trying to avoid the need for a >> runtime kernel version check. Could you test that in the newest kernels >> with 'usbmisc'? It seems to work ok for the older ones with 'usb'. > > > > Looks good to me. Haven't done any thorough testing, but it finds and > grabs all ports so I assume it works fine: > > ModemManager[29023]: <debug> [1345543162.785038] [mm-plugin-manager.c:299] > plugin_supports_port_ready(): (Gobi): (tty/ttyUSB1) found best plugin for port > ModemManager[29023]: <info> [1345543162.785097] [mm-device.c:427] > mm_device_create_modem(): Creating modem with plugin 'Gobi' and '7' ports > ModemManager[29023]: <debug> [1345543162.785152] [gobi/mm-plugin-gobi.c:44] > create_modem(): QMI-powered Gobi modem found... > ModemManager[29023]: <debug> [1345543162.787433] [mm-base-modem.c:247] > mm_base_modem_grab_port(): (cdc-wdm0) type 'qmi' claimed by > /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4 > ModemManager[29023]: <debug> [1345543162.787609] [mm-base-modem.c:247] > mm_base_modem_grab_port(): (cdc-wdm1) type 'qmi' claimed by > /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4 > ModemManager[29023]: <debug> [1345543162.787745] [mm-base-modem.c:247] > mm_base_modem_grab_port(): (wwan0) type 'net' claimed by > /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4 > ModemManager[29023]: <debug> [1345543162.787874] [mm-base-modem.c:247] > mm_base_modem_grab_port(): (wwan1) type 'net' claimed by > /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4 > ModemManager[29023]: <debug> [1345543162.788121] [mm-base-modem.c:247] > mm_base_modem_grab_port(): (ttyUSB2) type 'at' claimed by > /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4 > ModemManager[29023]: <warn> [1345543162.788283] [mm-plugin.c:668] > mm_plugin_create_modem(): Could not grab port (tty/ttyUSB1): 'Cannot add port > 'tty/ttyUSB1', unhandled serial type' > ModemManager[29023]: <debug> [1345543162.788444] [mm-base-modem.c:247] > mm_base_modem_grab_port(): (ttyUSB0) type 'qcdm' claimed by > /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4 > ModemManager[29023]: <debug> [1345543162.788555] [mm-base-modem.c:638] > log_port(): (/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4) tty/ttyUSB2 at > (primary) > ModemManager[29023]: <debug> [1345543162.788768] [mm-base-modem.c:638] > log_port(): (/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4) net/wwan0 data > (primary) > ModemManager[29023]: <debug> [1345543162.788869] [mm-base-modem.c:638] > log_port(): (/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4) net/wwan1 data > (secondary) > ModemManager[29023]: <debug> [1345543162.788958] [mm-base-modem.c:638] > log_port(): (/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4) tty/ttyUSB0 qcdm > ModemManager[29023]: <debug> [1345543162.789048] [mm-base-modem.c:638] > log_port(): (/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4) usb/cdc-wdm0 qmi > (primary) > ModemManager[29023]: <debug> [1345543162.789143] [mm-base-modem.c:638] > log_port(): (/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4) usb/cdc-wdm1 qmi > (secondary) > ModemManager[29023]: <info> [1345543162.789293] [mm-iface-modem.c:993] > mm_iface_modem_update_state(): Modem: state changed (unknown -> initializing) > ModemManager[29023]: <info> [1345543162.789746] [mm-manager.c:149] > find_device_support_ready(): Modem for device at > '/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4' successfully created > >
Good to know! thanks for the test. -- Aleksander _______________________________________________ networkmanager-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/networkmanager-list
