Re: LTE vodafone K5150 (hilink) 12d1 1f16 ; 12d1 1575 cdc_ether mbim?

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

 



> OK, so it didn't switch at all.  Then we are back to usb_modeswitch
> failure (or more likely: missing config for this device).
> 
> You could test switching it manually:
> 
>   echo 2 >  /sys/bus/usb/devices/1-2/bConfigurationValue

This was the point!

[ 4007.213187] usb 1-2: new high-speed USB device number 3 using ehci-pci
[ 4007.431431] usb 1-2: New USB device found, idVendor=12d1, idProduct=1f16
[ 4007.431447] usb 1-2: New USB device strings: Mfr=5, Product=4, 
SerialNumber=7
[ 4007.431457] usb 1-2: Product: K5150
[ 4007.431466] usb 1-2: Manufacturer: Vodafone (Huawei)
[ 4007.431475] usb 1-2: SerialNumber: FFFFFFFFFFFFFFFF
[ 4007.514427] usb-storage 1-2:1.0: USB Mass Storage device detected
[ 4007.514702] scsi4 : usb-storage 1-2:1.0
[ 4007.516481] usbcore: registered new interface driver usb-storage
[ 4008.540895] scsi 4:0:0:0: CD-ROM            Vodafone Storage(Huawei)  2.31 
PQ: 0 ANSI: 2
[ 4008.542441] scsi 4:0:0:0: Attached scsi generic sg1 type 5
[ 4008.581734] sr0: scsi-1 drive
[ 4008.581745] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 4008.583499] sr 4:0:0:0: Attached scsi CD-ROM sr0
[ 4034.699431] usb-storage 1-2:2.2: USB Mass Storage device detected
[ 4034.706610] scsi5 : usb-storage 1-2:2.2
[ 4034.743924] usbcore: registered new interface driver cdc_wdm
[ 4034.765370] usbcore: registered new interface driver cdc_ncm
[ 4034.777380] cdc_mbim 1-2:2.0: cdc-wdm0: USB WDM device
[ 4034.778563] cdc_mbim 1-2:2.0 wwan0: register 'cdc_mbim' at 
usb-0000:00:1d.7-2, CDC MBIM, e2:01:59:02:07:b3
[ 4034.782301] usbcore: registered new interface driver cdc_mbim
[ 4035.708322] scsi 5:0:0:0: Direct-Access     Vodafone Storage(Huawei)  2.31 
PQ: 0 ANSI: 2
[ 4035.709395] sd 5:0:0:0: Attached scsi generic sg1 type 0
[ 4035.711547] sd 5:0:0:0: [sdb] Attached SCSI removable disk



Here are some of my first steps with mbimcli:

hpmini:~ # sudo mbimcli     -d /dev/cdc-wdm0 --help-basic-connect
Aufruf:
  mbimcli [OPTION …] - Control MBIM devices

Basic Connect options
  --basic-connect-query-device-caps                 Query device capabilities
  --basic-connect-query-subscriber-ready-status     Query subscriber ready 
status
  --basic-connect-query-radio-state                 Query radio state
  --basic-connect-query-device-services             Query device services
  --basic-connect-query-pin                         Query PIN state

hpmini:~ # sudo mbimcli -d /dev/cdc-wdm0 --basic-connect-query-device-caps
[/dev/cdc-wdm0] Device capabilities retrieved:
              Device type: 'removable'
           Cellular class: 'gsm'
              Voice class: 'embedded'
                Sim class: 'removable'
               Data class: 'gprs, edge, umts, hsdpa, hsupa, custom'
                 SMS caps: 'pdu-receive, pdu-send'
                Ctrl caps: 'reg-manual'
             Max sessions: '1'
        Custom data class: 'HSPA+'
                Device ID: '860112020053833'
            Firmware info: 'V3.0'
            Hardware info: 'CH1K5150M'
hpmini:~ # sudo mbimcli -d /dev/cdc-wdm0 --basic-connect-query-subscriber-
ready-status
[/dev/cdc-wdm0] Subscriber ready status retrieved:
              Ready state: 'initialized'
            Subscriber ID: '262020429000213'
                SIM ICCID: '89492004115002516990'
               Ready info: 'unknown'
        Telephone numbers: (0) 'unknown'
hpmini:~ # sudo mbimcli -d /dev/cdc-wdm0 --basic-connect-query-radio-state
[/dev/cdc-wdm0] Radio state retrieved:
             Hardware Radio State: 'on'
             Software Radio State: 'on'
hpmini:~ # sudo mbimcli -d /dev/cdc-wdm0 --basic-connect-query-device-services
[/dev/cdc-wdm0] Device services retrieved:
        Max DSS sessions: '5'
                Services: (8)

                          Service: 'basic-connect'
                             UUID: [a289cc33-bcbb-8b4f-b6b0-133ec2aae6df]:
                      DSS payload: 0
                Max DSS instances: 0
                             CIDs: device-caps (1),
                                   subscriber-ready-status (2),
                                   radio-state (3),
                                   pin (4),
                                   pin-list (5),
                                   home-provider (6),
                                   visible-providers (8),
                                   register-state (9),
                                   packet-service (10),
                                   signal-state (11),
                                   connect (12),
                                   provisioned-contexts (13),
                                   ip-configuration (15),
                                   device-services (16),
                                   device-service-subscriber-list (19),
                                   packet-statistics (20),
                                   network-idle-hint (21),
                                   emergency-mode (22)

                          Service: 'sms'
                             UUID: [533fbeeb-14fe-4467-9f90-33a223e56c3f]:
                      DSS payload: 0
                Max DSS instances: 0
                             CIDs: configuration (1),
                                   read (2),
                                   send (3),
                                   delete (4),
                                   message-store-status (5)

                          Service: 'phonebook'
                             UUID: [4bf38476-1e6a-41db-b1d8-bed289c25bdb]:
                      DSS payload: 0
                Max DSS instances: 0
                             CIDs: configuration (1),
                                   read (2),
                                   delete (3),
                                   write (4)

                          Service: 'ussd'
                             UUID: [e550a0c8-5e82-479e-82f7-10abf4c3351f]:
                      DSS payload: 0
                Max DSS instances: 0
                             CIDs: ussd (1)

                          Service: 'auth'
                             UUID: [1d2b5ff7-0aa1-48b2-aa52-50f15767174e]:
                      DSS payload: 0
                Max DSS instances: 0
                             CIDs: aka (1),
                                   akap (2),
                                   sim (3)

                          Service: 'unknown'
                             UUID: [3c83a6ed-801e-4340-98f0-f8dc33baa7cc]:
                      DSS payload: 0
                Max DSS instances: 0
                             CIDs: 1, 2

                          Service: 'stk'
                             UUID: [d8f20131-fcb5-4e17-8602-d6ed3816164c]:
                      DSS payload: 0
                Max DSS instances: 0
                             CIDs: pac (1),
                                   terminal-response (2),
                                   envelope (3)

                          Service: 'unknown'
                             UUID: [5ec9600d-39d2-4d42-a235-458d49626191]:
                      DSS payload: 0
                Max DSS instances: 0
                             CIDs: 1, 2, 3, 4, 5
hpmini:~ # 


Thomas



--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux