Re: nm in different linux distributions - ppp versus qmi-wwan



Am 05.11.2015 um 22:14 schrieb Dan Williams:
On Thu, 2015-11-05 at 19:15 +0100, Thomas Schäfer wrote:

So my question is: Who does decide between qmi-wwan or ppp?

ModemManager does, based on device discovery.  So it's likely that the
version of ModemManager that you typed as "mm??" isn't able to correctly
recognize the modem as a QMI one.  That is either a ModemManager
problem, a kernel driver problem, or a "modeswitch" problem (where the
device is not told to come up in the right mode by usb_modeswitch, if
the modem requires that).

If you can add "--debug" to the ModemManager service arguments (through
either systemd, dbus autostart, or whatever runs MM on your system) them
we could get more info.


All software seems "new":

NetworkManager 1.0.6
ModemManager 1.4.10
qmicli 1.12.6 libqmi-glib.so1.3.0
usb_modeswitch 2.2.5
Kernel: 4.1.8

[  354.846782] usb 1-2: new high-speed USB device number 4 using ehci-pci
[  354.974910] usb-storage 1-2:1.0: USB Mass Storage device detected
[  354.980325] scsi host5: usb-storage 1-2:1.0
[ 355.987518] scsi 5:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 0
[  356.009231] sr 5:0:0:0: [sr0] scsi-1 drive
[  356.009246] cdrom: Uniform CD-ROM driver Revision: 3.20
[  356.017145] sr 5:0:0:0: Attached scsi CD-ROM sr0
[  356.017563] sr 5:0:0:0: Attached scsi generic sg2 type 5
[  356.738135] usb 1-2: USB disconnect, device number 4
[  367.436788] usb 1-2: new high-speed USB device number 5 using ehci-pci
[  367.570607] usb-storage 1-2:1.5: USB Mass Storage device detected
[  367.570977] scsi host6: usb-storage 1-2:1.5
[  367.571771] usb-storage 1-2:1.6: USB Mass Storage device detected
[  367.572091] scsi host7: usb-storage 1-2:1.6
[ 368.575304] scsi 6:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 0 [ 368.575775] scsi 7:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
[  368.600510] sr 6:0:0:0: [sr0] scsi-1 drive
[  368.601444] sr 6:0:0:0: Attached scsi CD-ROM sr0
[  368.601951] sr 6:0:0:0: Attached scsi generic sg2 type 5
[  368.607039] sd 7:0:0:0: Attached scsi generic sg3 type 0
[  368.611116] sd 7:0:0:0: [sdc] Attached SCSI removable disk
[  369.404931] usbcore: registered new interface driver usbserial
[  369.405010] usbcore: registered new interface driver usbserial_generic
[  369.405074] usbserial: USB Serial support registered for generic
[  369.481729] usbcore: registered new interface driver option
[ 369.481805] usbserial: USB Serial support registered for GSM modem (1-port)
[  369.482170] option 1-2:1.0: GSM modem (1-port) converter detected
[  369.482562] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
[  369.482639] option 1-2:1.1: GSM modem (1-port) converter detected
[  369.483008] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1
[  369.483082] option 1-2:1.2: GSM modem (1-port) converter detected
[  369.486206] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2
[  369.507370] option 1-2:1.3: GSM modem (1-port) converter detected
[  369.507707] option 1-2:1.4: GSM modem (1-port) converter detected
[  369.508139] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB4
[  369.672117] sr 6:0:0:0: [sr0] unaligned transfer
[  369.672172] sr 6:0:0:0: [sr0] unaligned transfer
[  369.672215] sr 6:0:0:0: [sr0] unaligned transfer
[  369.672254] sr 6:0:0:0: [sr0] unaligned transfer
[  369.672294] sr 6:0:0:0: [sr0] unaligned transfer
[  369.672334] sr 6:0:0:0: [sr0] unaligned transfer
[  369.672374] sr 6:0:0:0: [sr0] unaligned transfer
[  369.672413] sr 6:0:0:0: [sr0] unaligned transfer
[  369.672452] sr 6:0:0:0: [sr0] unaligned transfer
[  371.153083] usbcore: registered new interface driver cdc_wdm
[  371.194528] usbcore: registered new interface driver qmi_wwan
[  659.338833] PPP generic driver version 2.4.2
[  659.434758] PPP BSD Compression module registered
[  659.442180] PPP Deflate Compression module registered


But there no devices wwan0 (or the udev-renamed kind)

and no /dev/cdc_wdm

the kernel module qmi_wwan is loaded.

I know the list doesn't support particular linux-distros, but could you me or the manjaro-people a further hint?

Regards,

Thomas Schäfer








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]