Activation Codes and Methods, Hardware Details, Sniffing
Post Reply
DRbuntu91
Posts: 2
Joined: Sat Apr 07, 2018 6:18 pm

Unable to switch my QualComm 05c6:1000 HSPA modem to 3G

Post by DRbuntu91 » Sat Apr 07, 2018 6:37 pm

Hello
Initially I wanted to use this USBModem (which is supposed to support 3G and WiFi) on my Raspberry Pi but since it did not work I tried it on my Ubuntu 16.04-LTS
On my Ubuntu I thought the switching would be automatic and straight forward, but that seems not the case.
After some searching in this forum I enabled logging of USB_ModeSwitch witch generates the log below.
Is there anyone who could explain me what’s wrong?
PS: when using the LSUSB command the dongle appears as follow: Bus 003 Device 011: ID 05c6:1000 Qualcomm, Inc. Mass Storage Device
Thanks a lot

Code: Select all

USB_ModeSwitch log from Sat Apr  7 18:11:39 2018

Use global config file: /etc/usb_modeswitch.conf

Started via systemd
Raw args from udev: 3-2

Bus ID for device not given by udev.
 Trying to determine it from kernel name (3-2) ...
Use top device dir /sys/bus/usb/devices/3-2

USB dir exists: /sys/bus/usb/devices/3-2

SCSI dir exists: /sys/bus/usb/devices/3-2
Warning: SCSI attribute "vendor" not readable.
Warning: SCSI attribute "model" not readable.
Warning: SCSI attribute "rev" not readable.
Use interface /sys/bus/usb/devices/3-2/3-2:1.0
----------------
USB values from sysfs:
  idVendor	05c6
  idProduct	1000
  manufacturer	USBModem
  product	HSPA Data Card
  serial	1234567890ABCDEF
  bNumConfigurations	1
  bConfigurationValue	1
  devnum	11
  busnum	3
----------------
bNumConfigurations is 1 - don't check for active configuration
Found packed config collection /usr/share/usb_modeswitch/configPack.tar.gz
Searching entries named: /usr/share/usb_modeswitch/05c6:1000*
Searching overriding entries named: /etc/usb_modeswitch.d/05c6:1000*
SCSI attributes not needed, move on.

match sVe
  match string: GT
 device string: (null)
match sVe
  match string: Option
 device string: (null)
match uMa
  match string: AnyDATA
 device string: USBModem
match uMa
  match string: CELOT
 device string: USBModem
match uMa
  match string: Co.,Ltd
 device string: USBModem
match uMa
  match string: DGT
 device string: USBModem
match uMa
  match string: Option
 device string: USBModem
match uMa
  match string: SAMSUNG
 device string: USBModem
match uMa
  match string: SSE
 device string: USBModem
match uMa
  match string: StrongRising
 device string: USBModem
match uMa
  match string: Vertex
 device string: USBModem
Extract config 05c6:1000:sVe=Option from collection /usr/share/usb_modeswitch/configPack.tar.gz
config: TargetVendor set to 0af0
config: TargetProduct set to 6901,6701,6600
Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1
! matched, now switching
Unbinding driver
Command to be run:
/usr/sbin/usb_modeswitch -W -D -s 20 -c /run/usb_modeswitch/current_cfg -u -1 -b 3 -g 11 -v 05c6 -p 1000 2>&1

Verbose debug output of usb_modeswitch and libusb follows
(Note that some USB errors are expected in the process)
--------------------------------

Read config file: /run/usb_modeswitch/current_cfg

 * usb_modeswitch: handle USB devices with multiple modes
 * Version 2.2.5 (C) Josua Dietze 2015
 * Based on libusb1/libusbx

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x05c6
DefaultProduct= 0x1000
TargetVendor=   0x0af0
TargetProductList="6901,6701,6600"
MessageContent="55534243123456780000000000000601000000000000000000000000000000"
NeedResponse=1
Success check enabled, max. wait time 20 seconds
System integration mode enabled

Use given bus/device number: 003/011 ...
Look for default devices ...
 bus/device number matched
  found USB ID 05c6:1000
   vendor ID matched
   product ID matched
 Found devices in default mode (1)
Use interface number 0
Use endpoints 0x01 (out) and 0x81 (in)

USB description data (for identification)
-------------------------
Manufacturer: USBModem
     Product: HSPA Data Card
  Serial No.: 1234567890ABCDEF
-------------------------
Looking for active driver ...
 OK, driver detached
Set up interface 0
Use endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
 OK, message successfully sent
Read the response to message 1 (CSW) ...
 Response successfully read (13 bytes).
Reset response endpoint 0x81
Reset message endpoint 0x01
ok:busdev
--------------------------------
(end of usb_modeswitch output)
Check success of mode switch for max. 20 seconds ... Read attributes ...
USB dir exists: /sys/bus/usb/devices/3-2
 idVendor doesn't match the expected value. ('0af0' != '05c6')
 idProduct doesn't match the expected value. ('6901,6701,6600' != '1000')
 Attributes are different but target values are unexpected:	idVendor: 05c6
	idProduct: 1000
	manufacturer: USBModem
	product: HSPA Data Card
	serial: 1234567890ABCDEF
	bNumConfigurations: 1
	bConfigurationValue: 1
	devnum: 11
	busnum: 3
Mode switching was successful, found 05c6:1000 (USBModem: HSPA Data Card)Now check for bound driver ...
 no driver has bound to interface 0 yet
Device not in "bind_list" yet, bind it now
Module loader is /sbin/modprobe
Module is active already
Try to add ID to driver "option"
 ID added to driver; check for new devices in /dev
 driver binding failed
Check for AVOID_RESET_QUIRK kernel attribute
 AVOID_RESET_QUIRK activated

All done, exit

LOM
Posts: 1286
Joined: Wed Jul 11, 2012 3:14 pm
Location: Koh Samui, TH

Re: Unable to switch my QualComm 05c6:1000 HSPA modem to 3G

Post by LOM » Mon Apr 09, 2018 1:28 pm


DRbuntu91
Posts: 2
Joined: Sat Apr 07, 2018 6:18 pm

Re: Unable to switch my QualComm 05c6:1000 HSPA modem to 3G

Post by DRbuntu91 » Mon Apr 09, 2018 5:50 pm

Thanks for the reply
I found the reason of my issue: the SIM card was not correctly inserted in the slot!

Now I can switch the dongle from "default" mode to "3G" mode with the command provided is the provided topic.

However I'm still not able to make a broadband connection with this dongle using the Ubuntu 16.04 Network Manager.

I have reported the issue on the Ubuntu-fr forum because this seems more an Ubuntu related issue and I will keep this updated later.

Thanks.

Post Reply