libqmi and MDM9615 on Galaxy S3 4G: modem boot

Wolfgang Wiedmeyer wreg at wiedmeyer.de
Sun Feb 5 21:53:18 UTC 2017


Hi,

I'm trying to port the LTE variant of the Galaxy S3 (i9305) to
Replicant[1]. The non-LTE variant (i9300) is already supported. After
backporting cdc-wdm and qmi_wwan drivers to the 3.0 kernel[2] and
cross-compiling libqmi and its dependencies for Android, I was able to
talk to the modem with qmicli. 

But I'm facing the problem that I don't know how to load the firmware
files to the modem and reboot the modem. For now, I use the proprietary
tool qcks which normally runs as a daemon on the device. It relies on
another binary called ks (kickstart) to upload the firmware and later
spawns another tool called efsks. I'm not sure what efsks actually
does. If I abort qcks at the right moment, the modem is correctly
booted and the cdc-wdmX nodes are accessible. If I let it run, it's not
really usable as the device reboots at a sudden moment. I attached the
relevant parts from logcat and kernel log below.

It looks like the protocol is SAHARA. I didn't find any documentation on
this protocol. Would qmi-firmware-update be usable in this case? I also
found two other tools[3][4] that claim to be compatible with this
protocol. I went through Harald Welte's and Holger Hans Peter Freyther's
talk "Dissecting modern (3G/4G) cellular modems" and other osmocom
resources, but I couldn't figure out if a tool already exists that can
do this.

Thanks and best regards,
Wolfgang

[1]  http://www.replicant.us/

[2]  https://code.fossencdi.org/kernel_samsung_smdk4412.git/log/?h=qmi

[3]  https://github.com/openpst/libopenpst

[4]  https://github.com/posixninja/DBLTool

From the logcat:

02-04 21:04:41.880  2049  2049 I kickstart-qcks: COMPORT_DLOAD=/dev/ttyUSB0
02-04 21:04:41.880  2049  2049 I kickstart-qcks: COMPORT_SAHARA=/dev/ttyUSB0
02-04 21:04:41.880  2049  2049 I kickstart-qcks: PATHTOIMAGES=/firmware/image/
02-04 21:04:41.880  2049  2049 I kickstart-qcks: PATHFORRAMDUMP=/data/cp_log/
02-04 21:04:41.880  2049  2049 I kickstart-qcks: EFSRAW1=/dev/block/modem/m9kefs1
02-04 21:04:41.880  2049  2049 I kickstart-qcks: EFSRAW2=/dev/block/modem/m9kefs2
02-04 21:04:41.880  2049  2049 I kickstart-qcks: EFSRAW3=/dev/block/modem/m9kefs3
02-04 21:04:41.880  2049  2049 I kickstart-qcks: Header1=efs1.mbn
02-04 21:04:41.880  2049  2049 I kickstart-qcks: Header2=efs2.mbn
02-04 21:04:41.880  2049  2049 I kickstart-qcks: Header3=efs3.mbn
02-04 21:04:41.880  2049  2049 I kickstart-qcks: Testing if port "/dev/mdm" exists
02-04 21:04:41.880  2049  2049 I kickstart-qcks: Trying to bring MDM9K out of reset
02-04 21:04:41.880  2049  2049 I kickstart-qcks: Testing if port "/dev/ttyUSB0" exists
02-04 21:04:41.880  2049  2049 E kickstart-qcks: MDM9x15 Boot protocol is SAHARA
02-04 21:04:41.880  2049  2049 I kickstart-qcks: EFS Prepend
02-04 21:04:41.880  2049  2049 I kickstart-qcks: File:'/firmware/image/efs1.mbn' is available for reading
02-04 21:04:41.880  2049  2049 I kickstart-qcks: File:'/firmware/image/efs2.mbn' is available for reading
02-04 21:04:41.880  2049  2049 I kickstart-qcks: File:'/dev/block/modem/m9kefs1' is available for reading
02-04 21:04:41.880  2049  2049 I kickstart-qcks: File:'/dev/block/modem/m9kefs2' is available for reading
02-04 21:04:41.880  2049  2049 I kickstart-qcks: File:'/firmware/image/acdb.mbn' is available for reading
02-04 21:04:41.880  2049  2049 I kickstart-qcks: File:'/firmware/image/mdm_acdb.img' is available for reading
02-04 21:04:41.880  2049  2049 I kickstart-qcks: Reading RAW EFS1 partition
02-04 21:04:41.880  2049  2049 I kickstart-qcks: Running dd if=/dev/block/modem/m9kefs1 of=/tombstones/qcks/temp.dump bs=1024 count=3072
02-04 21:04:42.245  2049  2049 I kickstart-qcks: Combining Header1 with RAW EFS1 partition
02-04 21:04:42.245  2049  2049 I kickstart-qcks: Running cat /firmware/image/efs1.mbn /tombstones/qcks/temp.dump > /tombstones/qcks/efs1.bin
02-04 21:04:42.360  2049  2049 I kickstart-qcks: Reading RAW EFS2 partition
02-04 21:04:42.360  2049  2049 I kickstart-qcks: Running dd if=/dev/block/modem/m9kefs2 of=/tombstones/qcks/temp.dump bs=1024 count=3072
02-04 21:04:42.970  2049  2049 I kickstart-qcks: Combining Header2 with RAW EFS2 partition
02-04 21:04:42.970  2049  2049 I kickstart-qcks: Running cat /firmware/image/efs2.mbn /tombstones/qcks/temp.dump > /tombstones/qcks/efs2.bin
02-04 21:04:43.135  2049  2049 I kickstart-qcks: Reading RAW EFS3 partition
02-04 21:04:43.135  2049  2049 I kickstart-qcks: Running dd if=/dev/block/modem/m9kefs3 of=/tombstones/qcks/temp.dump bs=1024 count=3072
02-04 21:04:43.465  2049  2049 I kickstart-qcks: Combining Header3 with RAW EFS3 partition
02-04 21:04:43.465  2049  2049 I kickstart-qcks: Running cat /firmware/image/efs3.mbn /tombstones/qcks/temp.dump > /tombstones/qcks/efs3.bin
02-04 21:04:43.555  2049  2049 I kickstart-qcks: Combining ACDB Header with ACDB binary
02-04 21:04:43.555  2049  2049 I kickstart-qcks: Running cat /firmware/image/acdb.mbn /firmware/image/mdm_acdb.img > /tombstones/qcks/acdb.bin
02-04 21:04:43.840  2049  2049 I kickstart-qcks: Loading Sahara images
02-04 21:04:43.840  2049  2049 I kickstart-qcks: Testing if port "/dev/ttyUSB0" exists
02-04 21:04:43.840  2049  2049 E kickstart-qcks: RUNNING:	/system/bin/ks -v  -w /data/cp_log/ -p /dev/ttyUSB0 -f 0 -r 21 -s 2:/firmware/image/amss.mbn -s 6:/firmware/image/apps.mbn -s 8:/firmware/image/dsp1.mbn -s 11:/firmware/image/osbl.mbn -s 12:/firmware/image/dsp2.mbn -s 21:/firmware/image/sbl1.mbn -s 22:/firmware/image/sbl2.mbn -s 23:/firmware/image/rpm.mbn -s 28:/firmware/image/dsp3.mbn -s 16:/tombstones/qcks/efs1.bin -s 17:/tombstones/qcks/efs2.bin -s 20:/tombstones/qcks/efs3.bin -s 29:/tombstones/qcks/acdb.bin
02-04 21:04:43.940  2425  2425 I kickstart: STATUS: Setting timeout to 2s
02-04 21:04:43.940  2425  2425 I kickstart: STATUS: Requested ID 21, file: "/firmware/image/sbl1.mbn"
02-04 21:04:44.125  2425  2425 I kickstart: STATUS: 124916 bytes transferred in 0.185316 seconds
02-04 21:04:44.555  2425  2425 I kickstart: STATUS: Requested ID 23, file: "/firmware/image/rpm.mbn"
02-04 21:04:44.580  2425  2425 I kickstart: STATUS: 130364 bytes transferred in 0.026581 seconds
02-04 21:04:44.635  2425  2425 I kickstart: STATUS: Requested ID 22, file: "/firmware/image/sbl2.mbn"
02-04 21:04:44.690  2425  2425 I kickstart: STATUS: 249456 bytes transferred in 0.056193 seconds
02-04 21:04:44.755  2425  2425 I kickstart: STATUS: Requested ID 12, file: "/firmware/image/dsp2.mbn"
02-04 21:04:46.855  2425  2425 I kickstart: STATUS: 30561402 bytes transferred in 2.098849 seconds
02-04 21:04:46.875  2425  2425 I kickstart: STATUS: Requested ID 28, file: "/firmware/image/dsp3.mbn"
02-04 21:04:47.290  2425  2425 I kickstart: STATUS: 6314882 bytes transferred in 0.413201 seconds
02-04 21:04:47.290  2425  2425 I kickstart: STATUS: Requested ID 8, file: "/firmware/image/dsp1.mbn"
02-04 21:04:47.530  2425  2425 I kickstart: STATUS: 2698111 bytes transferred in 0.240215 seconds
02-04 21:04:47.535  2425  2425 I kickstart: STATUS: Requested ID 16, file: "/tombstones/qcks/efs1.bin"
02-04 21:04:47.565  2425  2425 I kickstart: STATUS: 786472 bytes transferred in 0.030774 seconds
02-04 21:04:47.565  2425  2425 I kickstart: STATUS: Requested ID 17, file: "/tombstones/qcks/efs2.bin"
02-04 21:04:47.590  2425  2425 I kickstart: STATUS: 786472 bytes transferred in 0.027800 seconds
02-04 21:04:47.595  2425  2425 I kickstart: STATUS: Requested ID 20, file: "/tombstones/qcks/efs3.bin"
02-04 21:04:47.620  2425  2425 I kickstart: STATUS: 786472 bytes transferred in 0.028268 seconds
02-04 21:04:47.625  2425  2425 I kickstart: STATUS: Requested ID 29, file: "/tombstones/qcks/acdb.bin"
02-04 21:04:47.705  2425  2425 I kickstart: STATUS: 2097192 bytes transferred in 0.083048 seconds
02-04 21:04:47.710  2425  2425 I kickstart: STATUS: Requested ID 6, file: "/firmware/image/apps.mbn"
02-04 21:04:48.025  2425  2425 I kickstart: STATUS: 2504920 bytes transferred in 0.315256 seconds
02-04 21:04:48.025  2425  2425 I kickstart: STATUS: Sahara protocol completed
02-04 21:04:48.025  2049  2049 I kickstart-qcks: RetCode = 0
02-04 21:04:48.025  2049  2049 E kickstart-qcks: Sahara transfer completed successfully
02-04 21:04:48.120  2049  2049 E kickstart-qcks: Spawning efsks
02-04 21:04:48.155  2974  2974 I kickstart-efsks: EFS_TTY='/dev/ttyUSB0'
02-04 21:04:48.155  2974  2974 I kickstart-efsks: Parsing 'where to save memorydump' options
02-04 21:04:48.155  2974  2974 I kickstart-efsks: PathToSaveFiles='/dev/block/modem/dump_path/'
02-04 21:04:48.155  2974  2974 I kickstart-efsks: EFSKS parameters
02-04 21:04:48.155  2974  2974 I kickstart-efsks: EFS_TTY='/dev/ttyUSB0'
02-04 21:04:48.155  2974  2974 I kickstart-efsks: ks_path='/system/bin/ks'
02-04 21:04:48.155  2974  2974 I kickstart-efsks: PathToSaveFiles='/dev/block/modem/dump_path/'
02-04 21:04:48.155  2974  2974 I kickstart-efsks: RX_Timeout=-1
02-04 21:04:48.155  2974  2974 E kickstart-efsks: File '/dev/ttyUSB0' was not found
02-04 21:04:48.155  2974  2974 E kickstart-efsks: /dev/ttyUSB0 does not exist.
02-04 21:04:50.155  2974  2974 E kickstart-efsks: RUNNING: '/system/bin/ks -m -v -w /dev/block/modem/dump_path/ -p /dev/ttyUSB0 -t -1 -l'
02-04 21:04:50.190  3046  3046 I kickstart: STATUS: Setting timeout to 500ms


dmesg:

[  105.547529] c0 usb 1-2: New USB device found, idVendor=05c6, idProduct=9008
[  105.547694] c0 usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  105.547862] c0 usb 1-2: Product: QHSUSB__BULK
[  105.547975] c0 usb 1-2: Manufacturer: Qualcomm CDMA Technologies MSM
[  105.548123] c0 call_battery_notify : VID : 0x5c6, PID : 0x9008 skipped.
[  105.565375] c0 usb 1-2: usb_probe_device
[  105.565508] c0 usb 1-2: configuration #1 chosen from 1 choice
[  105.566040] c0 usb 1-2: adding 1-2:1.0 (config #1, interface 0)
[  105.570614] c0 qcserial 1-2:1.0: usb_probe_interface
[  105.570757] c0 qcserial 1-2:1.0: usb_probe_interface - got id
[  105.570938] c0 check_chip_configuration: usb product name = QHSUSB__BULK
[  105.571091] c0 mdm9x15 boot protocol = SAHARA
[  105.571211] c0 qcserial 1-2:1.0: Qualcomm USB modem converter detected
[  105.582477] c0 usb 1-2: Qualcomm USB modem converter now attached to ttyUSB0
[  105.890809] c0 mdm_modem_ioctl: mdm get boot protocol 0
[  106.270120] c0 s5p-ohci s5p-ohci: auto-stop root hub
[  107.525186] c0 hub 2-0:1.0: hub_suspend
[  107.525334] c0 usb usb2: bus auto-suspend
[  107.525440] c0 s5p-ohci s5p-ohci: suspend root hub
[  110.701341] c0 mdm_modem_ioctl: check if mdm is booted up
[  110.701443] c0 mdm_modem_ioctl: normal boot done
[  110.701529] c0 normal_boot_done
[  110.701589] c0 mdm_peripheral_disconnect
[  110.701962] c0 s5p-ohci s5p-ohci: remove, state 4
[  110.702087] c0 s5p-ohci s5p-ohci: roothub graceful disconnect
[  110.702242] c0 usb usb2: USB disconnect, device number 1 by usb_remove_hcd+0xc8/0x168
[  110.702378] c0 call_battery_notify : VID : 0x1d6b, PID : 0x1 skipped.
[  110.702490] c0 usb usb2: unregistering device
[  110.702573] c0 usb usb2: unregistering interface 2-0:1.0
[  110.704414] c0 usb usb2: usb_disable_device nuking all URBs
[  110.718730] c0 s5p-ohci s5p-ohci: OHCI controller state
[  110.718836] c0 s5p-ohci s5p-ohci: OHCI 1.0, NO legacy support registers
[  110.718958] c0 s5p-ohci s5p-ohci: control 0x4c3 RWE HCFS=suspend CBSR=3
[  110.719076] c0 s5p-ohci s5p-ohci: cmdstatus 0x00000 SOC=0
[  110.719178] c0 s5p-ohci s5p-ohci: intrstatus 0x00000004 SF
[  110.719278] c0 s5p-ohci s5p-ohci: intrenable 0x0000005a RHSC UE RD WDH
[  110.719396] c0 s5p-ohci s5p-ohci: hcca frame #044d
[  110.719493] c0 s5p-ohci s5p-ohci: roothub.a 02000203 POTPGT=2 NPS NDP=3(3)
[  110.719613] c0 s5p-ohci s5p-ohci: roothub.b 00000000 PPCM=0000 DR=0000
[  110.719727] c0 s5p-ohci s5p-ohci: roothub.status 00008000 DRWE
[  110.719835] c0 s5p-ohci s5p-ohci: roothub.portstatus [0] 0x00000100 PPS
[  110.719953] c0 s5p-ohci s5p-ohci: roothub.portstatus [1] 0x00000100 PPS
[  110.720202] c0 s5p-ohci s5p-ohci: roothub.portstatus [2] 0x00000100 PPS
[  110.720508] c0 s5p-ohci s5p-ohci: USB bus 2 deregistered
[  110.724454] c0 s5p-ohci s5p-ohci: still being used(18)
[  110.725876] c0 s5p-ehci s5p-ehci: remove, state 1
[  110.725992] c0 s5p-ehci s5p-ehci: roothub graceful disconnect
[  110.726145] c0 usb usb1: USB disconnect, device number 1 by usb_remove_hcd+0xc8/0x168
[  110.726280] c0 call_battery_notify : VID : 0x1d6b, PID : 0x2 skipped.
[  110.726404] c0 usb 1-2: USB disconnect, device number 2 by usb_disconnect+0xa0/0x18c
[  110.726535] c0 call_battery_notify : VID : 0x5c6, PID : 0x9008 skipped.
[  110.726648] c0 usb 1-2: unregistering device
[  110.726728] c0 usb 1-2: unregistering interface 1-2:1.0
[  110.728960] c0 qcserial ttyUSB0: Qualcomm USB modem converter now disconnected from ttyUSB0
[  110.729898] c0 qcserial 1-2:1.0: device disconnected
[  110.731062] c0 usb 1-2: usb_disable_device nuking all URBs
[  110.735016] c0 usb usb1: unregistering device
[  110.735286] c0 usb usb1: unregistering interface 1-0:1.0
[  110.735645] c0 s5p-ehci s5p-ehci: shutdown urb e88f5d00 ep1in-intr
[  110.736783] c0 usb usb1: usb_disable_device nuking all URBs
[  110.748031] c0 s5p-ehci s5p-ehci: stop
[  110.748296] c0 s5p-ehci s5p-ehci: reset command 0010006 (park)=0 ithresh=1 period=512 Reset HALT
[  110.750497] c0 s5p-ehci s5p-ehci: irq normal 961 err 11 reclaim 202 (lost 0)
[  110.750620] c0 s5p-ehci s5p-ehci: complete 992 unlink 1
[  110.750722] c0 s5p-ehci s5p-ehci: ehci_stop completed status 1000 Halt
[  110.750877] c0 s5p-ehci s5p-ehci: USB bus 1 deregistered
[  110.753227] c0 s5p-ehci s5p-ehci: still being used(16)
[  110.755806] c0 mdm_modem_ioctl: wait for mdm to need images reloaded
[  111.379250] c0 mdm_status_change: status = 1: mdm is now ready
[  111.379476] c0 mdm_peripheral_disconnect
[  111.379585] c0 mdm_peripheral_connect
[  111.386542] c0 set hsic lpa phy init
[  111.386669] c0 s5p-ehci s5p-ehci: usb phy usage(18)
[  111.386791] c0 s5p-ehci s5p-ehci: Already power on PHY
[  111.386920] c0 usb: set_exynos_usb_phy_tune old phy1 tune=0x2831b3 t=1
[  111.387082] c0 usb: set_exynos_usb_phy_tune new phy1 tune=0x2831b3
[  111.387238] c0 s5p-ehci s5p-ehci: s5p_ehci_phy_init : 0x3c00000
[  111.387398] c0 s5p-ehci s5p-ehci: reset hcs_params 0x1313 dbg=0 cc=1 pcc=3 ordered ports=3
[  111.387597] c0 s5p-ehci s5p-ehci: reset hcc_params 2a016 thresh 1 uframes 256/512/1024 park LPM
[  111.387788] c0 s5p-ehci s5p-ehci: S5P EHCI Host Controller
[  111.392245] c0 s5p-ehci s5p-ehci: new USB bus registered, assigned bus number 1
[  111.392750] c0 s5p-ehci s5p-ehci: park 0
[  111.392857] c0 s5p-ehci s5p-ehci: support lpm
[  111.393054] c0 s5p-ehci s5p-ehci: irq 134, io mem 0x12580000
[  111.393227] c0 s5p-ehci s5p-ehci: reset command 0080b02  park=3 ithresh=8 period=1024 Reset HALT
[  111.393454] c0 s5p-ehci s5p-ehci: init command 0010005 (park)=0 ithresh=1 period=512 RUN
[  111.400267] c0 s5p-ehci s5p-ehci: USB 0.0 started, EHCI 1.00
[  111.400850] c0 usb usb1: default language 0x0409
[  111.401059] c0 usb usb1: udev 1, busnum 1, minor = 0
[  111.401189] c0 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[  111.401354] c0 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  111.401520] c0 usb usb1: Product: S5P EHCI Host Controller
[  111.401649] c0 usb usb1: Manufacturer: Linux 3.0.101-replicant ehci_hcd
[  111.401798] c0 usb usb1: SerialNumber: s5p-ehci
[  111.401915] c0 call_battery_notify : VID : 0x1d6b, PID : 0x2 skipped.
[  111.415217] c0 usb usb1: usb_probe_device
[  111.415351] c0 usb usb1: configuration #1 chosen from 1 choice
[  111.415592] c0 usb usb1: adding 1-0:1.0 (config #1, interface 0)
[  111.419411] c0 hub 1-0:1.0: usb_probe_interface
[  111.419536] c0 hub 1-0:1.0: usb_probe_interface - got id
[  111.419680] c0 hub 1-0:1.0: USB hub found
[  111.419840] c0 hub 1-0:1.0: 3 ports detected
[  111.419951] c0 hub 1-0:1.0: standalone hub
[  111.420260] c0 hub 1-0:1.0: individual port power switching
[  111.420398] c0 hub 1-0:1.0: individual port over-current protection
[  111.420546] c0 hub 1-0:1.0: power on to power good time: 20ms
[  111.420739] c0 hub 1-0:1.0: local power source is good
[  111.420867] c0 hub 1-0:1.0: enabling power on all ports
[  111.425481] c0 dev rdy val = 0
[  111.425575] c0 set_host_stat:set host port power status to [1]
[  111.429716] c0 s5p-ohci s5p-ohci: usb phy usage(22)
[  111.429846] c0 s5p-ohci s5p-ohci: Already power on PHY
[  111.429975] c0 usb: set_exynos_usb_phy_tune old phy1 tune=0x2831b3 t=1
[  111.430322] c0 usb: set_exynos_usb_phy_tune new phy1 tune=0x2831b3
[  111.430474] c0 s5p-ohci s5p-ohci: s5p OHCI
[  111.434445] c0 s5p-ohci s5p-ohci: new USB bus registered, assigned bus number 2
[  111.434665] c0 s5p-ohci s5p-ohci: ohci_s5p_init, ohci:e708e908
[  111.435348] c0 s5p-ohci s5p-ohci: created debug files
[  111.435553] c0 s5p-ohci s5p-ohci: irq 134, io mem 0x12590000
[  111.435692] c0 s5p-ohci s5p-ohci: ohci_s5p_start, ohci:e708e908
[  111.494159] c0 s5p-ohci s5p-ohci: OHCI controller state
[  111.494307] c0 s5p-ohci s5p-ohci: OHCI 1.0, NO legacy support registers
[  111.494478] c0 s5p-ohci s5p-ohci: control 0x083 HCFS=operational CBSR=3
[  111.494638] c0 s5p-ohci s5p-ohci: cmdstatus 0x00000 SOC=0
[  111.494779] c0 s5p-ohci s5p-ohci: intrstatus 0x00000004 SF
[  111.494922] c0 s5p-ohci s5p-ohci: intrenable 0x8000005a MIE RHSC UE RD WDH
[  111.495190] c0 s5p-ohci s5p-ohci: hcca frame #0006
[  111.495330] c0 s5p-ohci s5p-ohci: roothub.a 02000203 POTPGT=2 NPS NDP=3(3)
[  111.495493] c0 s5p-ohci s5p-ohci: roothub.b 00000000 PPCM=0000 DR=0000
[  111.495649] c0 s5p-ohci s5p-ohci: roothub.status 00008000 DRWE
[  111.495799] c0 s5p-ohci s5p-ohci: roothub.portstatus [0] 0x00000100 PPS
[  111.495961] c0 s5p-ohci s5p-ohci: roothub.portstatus [1] 0x00000100 PPS
[  111.496121] c0 s5p-ohci s5p-ohci: roothub.portstatus [2] 0x00000100 PPS
[  111.496432] c0 usb usb2: default language 0x0409
[  111.496634] c0 usb usb2: udev 1, busnum 2, minor = 128
[  111.496764] c0 usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[  111.496929] c0 usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  111.497095] c0 usb usb2: Product: s5p OHCI
[  111.497200] c0 usb usb2: Manufacturer: Linux 3.0.101-replicant ohci_hcd
[  111.497350] c0 usb usb2: SerialNumber: s5p-ohci
[  111.497467] c0 call_battery_notify : VID : 0x1d6b, PID : 0x1 skipped.
[  111.507573] c0 usb usb2: usb_probe_device
[  111.507700] c0 usb usb2: configuration #1 chosen from 1 choice
[  111.507937] c0 usb usb2: adding 2-0:1.0 (config #1, interface 0)
[  111.511851] c0 hub 2-0:1.0: usb_probe_interface
[  111.511974] c0 hub 2-0:1.0: usb_probe_interface - got id
[  111.512117] c0 hub 2-0:1.0: USB hub found
[  111.512269] c0 hub 2-0:1.0: 3 ports detected
[  111.512379] c0 hub 2-0:1.0: standalone hub
[  111.512482] c0 hub 2-0:1.0: no power switching (usb 1.0)
[  111.512605] c0 hub 2-0:1.0: global over-current protection
[  111.512737] c0 hub 2-0:1.0: power on to power good time: 4ms
[  111.512919] c0 hub 2-0:1.0: local power source is good
[  111.513043] c0 hub 2-0:1.0: no over-current condition exists
[  111.513178] c0 hub 2-0:1.0: trying to enable port power on non-switchable hub
[  111.520394] c0 s5p-ehci s5p-ehci: GetStatus port:2 status 001803 0  ACK POWER sig=j CSC CONNECT
[  111.520615] c0 hub 1-0:1.0: port 2: status 0501 change 0001
[  111.523617] c0 request_boot_lock_release
[  111.523735] c0 request_active_lock_set
[  111.610199] c0 hub 2-0:1.0: state 7 ports 3 chg 0000 evt 0000
[  111.620171] c0 hub 1-0:1.0: state 7 ports 3 chg 0004 evt 0000
[  111.620304] c0 hub 1-0:1.0: port 2, status 0501, change 0000, 480 Mb/s
[  111.675182] c0 s5p-ehci s5p-ehci: port 2 high speed
[  111.675289] c0 s5p-ehci s5p-ehci: GetStatus port:2 status 001005 0  ACK POWER sig=se0 PE CONNECT
[  111.730121] c0 usb 1-2: new high speed USB device number 2 using s5p-ehci
[  111.785320] c0 s5p-ehci s5p-ehci: port 2 high speed
[  111.785480] c0 s5p-ehci s5p-ehci: GetStatus port:2 status 001005 0  ACK POWER sig=se0 PE CONNECT
[  111.860890] c0 usb 1-2: USB quirks for this device: 600
[  111.863155] c0 usb 1-2: default language 0x0409
[  111.864299] c0 usb 1-2: udev 2, busnum 1, minor = 1
[  111.864456] c0 usb 1-2: New USB device found, idVendor=05c6, idProduct=904c
[  111.864623] c0 usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[  111.864792] c0 usb 1-2: Product: Qualcomm CDMA Technologies MSM
[  111.864935] c0 usb 1-2: Manufacturer: Qualcomm, Incorporated
[  111.865176] c0 call_battery_notify : VID : 0x5c6, PID : 0x904c skipped.
[  111.874881] c0 usb 1-2: usb_probe_device
[  111.875013] c0 usb 1-2: configuration #1 chosen from 1 choice
[  111.881176] c0 usb 1-2: adding 1-2:1.0 (config #1, interface 0)
[  111.885011] c0 qmi_wwan 1-2:1.0: usb_probe_interface
[  111.885354] c0 qmi_wwan 1-2:1.0: usb_probe_interface - got id
[  111.885509] c0 qmi_wwan 1-2:1.0: not blacklisted
[  111.887265] c0 qmi_wwan 1-2:1.0: bind didnt work
[  111.887508] c0 qmi_wwan: probe of 1-2:1.0 failed with error -22
[  111.887717] c0 rmnet_usb 1-2:1.0: usb_probe_interface
[  111.887848] c0 rmnet_usb 1-2:1.0: usb_probe_interface - got id
[  111.887993] c0 usb 1-2: rmnet usb probe
[  111.888096] c0 usb 1-2: testbit failed 
[  111.888316] c0 cdc_wdm 1-2:1.0: usb_probe_interface
[  111.888442] c0 cdc_wdm 1-2:1.0: usb_probe_interface - got id
[  111.888624] c0 cdc_wdm: probe of 1-2:1.0 failed with error -22
[  111.888931] c0 qcserial 1-2:1.0: usb_probe_interface
[  111.889075] c0 qcserial 1-2:1.0: usb_probe_interface - got id
[  111.889384] c0 diag_bridge 1-2:1.0: usb_probe_interface
[  111.889516] c0 diag_bridge 1-2:1.0: usb_probe_interface - got id
[  111.889666] c0 /home/wolfi/replicant/6.0-romsrc/kernel/samsung/smdk4412/drivers/usb/misc/diag_bridge.c: diag_bridge_probe: id:0
[  111.893977] c0 usb 1-2: diag_bridge_probe: complete
[  111.894157] c0 usb 1-2: adding 1-2:1.1 (config #1, interface 1)
[  111.898143] c0 qmi_wwan 1-2:1.1: usb_probe_interface
[  111.898286] c0 qmi_wwan 1-2:1.1: usb_probe_interface - got id
[  111.898434] c0 qmi_wwan 1-2:1.1: not blacklisted
[  111.900475] c0 qmi_wwan 1-2:1.1: bind didnt work
[  111.900700] c0 qmi_wwan: probe of 1-2:1.1 failed with error -22
[  111.900909] c0 rmnet_usb 1-2:1.1: usb_probe_interface
[  111.901037] c0 rmnet_usb 1-2:1.1: usb_probe_interface - got id
[  111.901184] c0 usb 1-2: rmnet usb probe
[  111.901283] c0 usb 1-2: testbit failed 
[  111.901497] c0 cdc_wdm 1-2:1.1: usb_probe_interface
[  111.901625] c0 cdc_wdm 1-2:1.1: usb_probe_interface - got id
[  111.901803] c0 cdc_wdm: probe of 1-2:1.1 failed with error -22
[  111.902109] c0 qcserial 1-2:1.1: usb_probe_interface
[  111.902251] c0 qcserial 1-2:1.1: usb_probe_interface - got id
[  111.902548] c0 diag_bridge 1-2:1.1: usb_probe_interface
[  111.902680] c0 diag_bridge 1-2:1.1: usb_probe_interface - got id
[  111.902830] c0 /home/wolfi/replicant/6.0-romsrc/kernel/samsung/smdk4412/drivers/usb/misc/diag_bridge.c: diag_bridge_probe: id:0
[  111.903166] c0 mdm_bridge 1-2:1.1: usb_probe_interface
[  111.903296] c0 mdm_bridge 1-2:1.1: usb_probe_interface - got id
[  111.903564] c0 usb 1-2: adding 1-2:1.2 (config #1, interface 2)
[  111.910601] c0 qmi_wwan 1-2:1.2: usb_probe_interface
[  111.910746] c0 qmi_wwan 1-2:1.2: usb_probe_interface - got id
[  111.910893] c0 qmi_wwan 1-2:1.2: not blacklisted
[  111.912666] c0 qmi_wwan 1-2:1.2: bind didnt work
[  111.912883] c0 qmi_wwan: probe of 1-2:1.2 failed with error -22
[  111.913094] c0 rmnet_usb 1-2:1.2: usb_probe_interface
[  111.913227] c0 rmnet_usb 1-2:1.2: usb_probe_interface - got id
[  111.913371] c0 usb 1-2: rmnet usb probe
[  111.913470] c0 usb 1-2: testbit failed 
[  111.913686] c0 cdc_wdm 1-2:1.2: usb_probe_interface
[  111.913813] c0 cdc_wdm 1-2:1.2: usb_probe_interface - got id
[  111.913994] c0 cdc_wdm: probe of 1-2:1.2 failed with error -22
[  111.914295] c0 qcserial 1-2:1.2: usb_probe_interface
[  111.914439] c0 qcserial 1-2:1.2: usb_probe_interface - got id
[  111.914632] c0 qcserial 1-2:1.2: Qualcomm USB modem converter detected
[  111.927835] c0 usb 1-2: Qualcomm USB modem converter now attached to ttyUSB0
[  111.928083] c0 usb 1-2: adding 1-2:1.3 (config #1, interface 3)
[  111.932900] c0 qmi_wwan 1-2:1.3: usb_probe_interface
[  111.933004] c0 qmi_wwan 1-2:1.3: usb_probe_interface - got id
[  111.933113] c0 qmi_wwan 1-2:1.3: not blacklisted
[  111.940371] c0 qmi_wwan 1-2:1.3: looking for a minor, starting at 176
[  111.944233] c0 qmi_wwan 1-2:1.3: cdc-wdm0: USB WDM device
[  111.960427] c0 qmi_wwan 1-2:1.3: wwan0: register 'qmi_wwan' at usb-s5p-ehci-2, Qualcomm Gobi wwan/QMI device, 8a:67:66:e0:20:77
[  111.960676] c0 usb 1-2: adding 1-2:1.4 (config #1, interface 4)
[  111.963043] c0 qmi_wwan 1-2:1.4: usb_probe_interface
[  111.963151] c0 qmi_wwan 1-2:1.4: usb_probe_interface - got id
[  111.963261] c0 qmi_wwan 1-2:1.4: not blacklisted
[  111.965553] c0 qmi_wwan 1-2:1.4: looking for a minor, starting at 176
[  111.970392] c0 qmi_wwan 1-2:1.4: cdc-wdm1: USB WDM device
[  111.986045] c0 qmi_wwan 1-2:1.4: wwan1: register 'qmi_wwan' at usb-s5p-ehci-2, Qualcomm Gobi wwan/QMI device, 8a:67:66:e0:20:77
[  111.986296] c0 usb 1-2: adding 1-2:1.5 (config #1, interface 5)
[  111.990489] c0 qmi_wwan 1-2:1.5: usb_probe_interface
[  111.990595] c0 qmi_wwan 1-2:1.5: usb_probe_interface - got id
[  111.990704] c0 qmi_wwan 1-2:1.5: not blacklisted
[  111.992212] c0 qmi_wwan 1-2:1.5: looking for a minor, starting at 176
[  111.998524] c0 qmi_wwan 1-2:1.5: cdc-wdm2: USB WDM device
[  112.015019] c0 qmi_wwan 1-2:1.5: wwan2: register 'qmi_wwan' at usb-s5p-ehci-2, Qualcomm Gobi wwan/QMI device, 8a:67:66:e0:20:77
[  112.015426] c0 usb 1-2: adding 1-2:1.6 (config #1, interface 6)
[  112.017656] c0 qmi_wwan 1-2:1.6: usb_probe_interface
[  112.017759] c0 qmi_wwan 1-2:1.6: usb_probe_interface - got id
[  112.017868] c0 qmi_wwan 1-2:1.6: not blacklisted
[  112.019348] c0 qmi_wwan 1-2:1.6: looking for a minor, starting at 176
[  112.024117] c0 qmi_wwan 1-2:1.6: cdc-wdm3: USB WDM device
[  112.040239] c0 qmi_wwan 1-2:1.6: wwan3: register 'qmi_wwan' at usb-s5p-ehci-2, Qualcomm Gobi wwan/QMI device, 8a:67:66:e0:20:77
[  112.040367] c0 usb 1-2: adding 1-2:1.7 (config #1, interface 7)
[  112.042019] c0 qmi_wwan 1-2:1.7: usb_probe_interface
[  112.042078] c0 qmi_wwan 1-2:1.7: usb_probe_interface - got id
[  112.042136] c0 qmi_wwan 1-2:1.7: not blacklisted
[  112.043452] c0 qmi_wwan 1-2:1.7: looking for a minor, starting at 176
[  112.047586] c0 qmi_wwan 1-2:1.7: cdc-wdm4: USB WDM device
[  112.061555] c0 qmi_wwan 1-2:1.7: wwan4: register 'qmi_wwan' at usb-s5p-ehci-2, Qualcomm Gobi wwan/QMI device, 8a:67:66:e0:20:77
[  112.061682] c0 usb 1-2: adding 1-2:1.8 (config #1, interface 8)
[  112.064017] c0 qmi_wwan 1-2:1.8: usb_probe_interface
[  112.064076] c0 qmi_wwan 1-2:1.8: usb_probe_interface - got id
[  112.064135] c0 qmi_wwan 1-2:1.8: not blacklisted
[  112.065718] c0 qmi_wwan 1-2:1.8: looking for a minor, starting at 176
[  112.069625] c0 qmi_wwan 1-2:1.8: cdc-wdm5: USB WDM device
[  112.083847] c0 qmi_wwan 1-2:1.8: wwan5: register 'qmi_wwan' at usb-s5p-ehci-2, Qualcomm Gobi wwan/QMI device, 8a:67:66:e0:20:77
[  112.520147] c0 s5p-ohci s5p-ohci: auto-stop root hub
[  112.957850] c0 usb_wwan_indat_callback: read urb received : 48
[  112.959126] c0 usb_wwan_write: write (48 chars)
[  112.961716] c0 usb_wwan_indat_callback: read urb received : 48
[  113.610213] c0 hub 2-0:1.0: hub_suspend
[  113.610382] c0 usb usb2: bus auto-suspend
[  113.610506] c0 s5p-ohci s5p-ohci: suspend root hub
[  114.530153] c0 mdm: check 2nd enumeration
[  114.530294] c0 pm device
[  114.530357] c0 	name = mdm_hsic_pm0
[  114.530439] c0 	udev = 0x  (null)
[  114.530518] c0 	intf_cnt = 0
[  114.530585] c0 	block_request = false
[  114.530686] c0 mdm: silent reset!!
[  114.530792] c0 mdm_silent_reset: mdm modem has been restarted

-- 
Website: https://fossencdi.org
OpenPGP: 0F30 D1A0 2F73 F70A 6FEE  048E 5816 A24C 1075 7FC4
Key download: https://wiedmeyer.de/keys/ww.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20170205/fa983344/attachment-0001.sig>


More information about the libqmi-devel mailing list