Activation Codes and Methods, Hardware Details, Sniffing
devdevdev
Posts: 5
Joined: 13 Jul 2021, 12:15

Re: Setting up a 05c6:6000 Qualcomm, Inc. Siemens SG75 Help please!

Post by devdevdev » 18 Jul 2021, 05:04

LOM wrote: 14 Jul 2021, 02:57
devdevdev wrote: 13 Jul 2021, 12:31
Error: can't use storage command in MessageContent with interface 0; interface class is 255, expected 8. Abort
This tells us that the dongle is not in initial mode, it has already been switched and is ready to be used.
For some reason the modem device keeps "rebooting" now - if i set disableswitching=1 the devices stays as 05c6:f000

And everytime i run "sudo usb_modeswitch -W -v 05c6 -p f000 -K" the dongle reboots.

What am i doing wrong?

devdevdev
Posts: 5
Joined: 13 Jul 2021, 12:15

Re: Setting up a 05c6:6000 Qualcomm, Inc. Siemens SG75 Help please!

Post by devdevdev » 18 Jul 2021, 20:00

LOM wrote: 14 Jul 2021, 02:57
devdevdev wrote: 13 Jul 2021, 12:31
Error: can't use storage command in MessageContent with interface 0; interface class is 255, expected 8. Abort
This tells us that the dongle is not in initial mode, it has already been switched and is ready to be used.
Is there a reason why the usb dongle keeps rebooting when connecting it to ubuntu? It seems like usb-modeswitch is in a loop when on ubuntu. When running on openwrt it also happens but not like on ubuntu.

Also - i have read thas Ndiswrapper can be used to convert windows drivers to linux drivers. Is this also possible with 4g modem drivers or is it only for wifi drivers?

LOM
Posts: 1373
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: Setting up a 05c6:6000 Qualcomm, Inc. Siemens SG75 Help please!

Post by LOM » 19 Jul 2021, 10:15

devdevdev wrote: 18 Jul 2021, 05:04
For some reason the modem device keeps "rebooting" now - if i set disableswitching=1 the devices stays as 05c6:f000

And everytime i run "sudo usb_modeswitch -W -v 05c6 -p f000 -K" the dongle reboots.

What am i doing wrong?
Automatic invoke of usb_modeswitch is disabled, the cmd you run manually will switch the device and usb_modeswitch will then exit, wWhatever happens afterwards has nothing to do with usb_modeswitch.
I guess that your usb port can not supply enough current to the modem so it resets itself.

LOM
Posts: 1373
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: Setting up a 05c6:6000 Qualcomm, Inc. Siemens SG75 Help please!

Post by LOM » 19 Jul 2021, 10:19

devdevdev wrote: 18 Jul 2021, 20:00 Is there a reason why the usb dongle keeps rebooting when connecting it to ubuntu? It seems like usb-modeswitch is in a loop when on ubuntu. When running on openwrt it also happens but not like on ubuntu.
If the modem resets itself then it will return in initial mode and be detected by the kernel as new device arriving, it will then be switched again by usb_modreswitch. Exactly same effect as if you unplug and replug the modem.
devdevdev wrote: 18 Jul 2021, 20:00 Also - i have read thas Ndiswrapper can be used to convert windows drivers to linux drivers. Is this also possible with 4g modem drivers or is it only for wifi drivers?
I have no idea but why would you do that? linux has all the native drivers you need for this modem.

devdevdev
Posts: 5
Joined: 13 Jul 2021, 12:15

Re: Setting up a 05c6:6000 Qualcomm, Inc. Siemens SG75 Help please!

Post by devdevdev » 21 Jul 2021, 18:10

LOM wrote: 19 Jul 2021, 10:15
devdevdev wrote: 18 Jul 2021, 05:04
For some reason the modem device keeps "rebooting" now - if i set disableswitching=1 the devices stays as 05c6:f000

And everytime i run "sudo usb_modeswitch -W -v 05c6 -p f000 -K" the dongle reboots.

What am i doing wrong?
Automatic invoke of usb_modeswitch is disabled, the cmd you run manually will switch the device and usb_modeswitch will then exit, wWhatever happens afterwards has nothing to do with usb_modeswitch.
I guess that your usb port can not supply enough current to the modem so it resets itself.
Turns out Modemmanager was at fault. When uninstalling modemmanager the rebooting / resetting of the usb device stops.

I'm trying different software to find the best solution for this modem. But i'm starting to think i have to replaces the usb modem since i cannot get it to connect with LTE. I have only succeeded with 3g connection and it is very unstable since i often just stops transmitting data through the usb even thoug the LED indicates it i stil connected.

devdevdev
Posts: 5
Joined: 13 Jul 2021, 12:15

Re: Setting up a 05c6:6000 Qualcomm, Inc. Siemens SG75 Help please!

Post by devdevdev » 21 Jul 2021, 18:15

LOM wrote: 19 Jul 2021, 10:19
devdevdev wrote: 18 Jul 2021, 20:00 Is there a reason why the usb dongle keeps rebooting when connecting it to ubuntu? It seems like usb-modeswitch is in a loop when on ubuntu. When running on openwrt it also happens but not like on ubuntu.
If the modem resets itself then it will return in initial mode and be detected by the kernel as new device arriving, it will then be switched again by usb_modreswitch. Exactly same effect as if you unplug and replug the modem.
Like i wrote just before this reply it turned out that modemmanager was making the device loop reset/restart.
LOM wrote: 19 Jul 2021, 10:19
devdevdev wrote: 18 Jul 2021, 20:00 Also - i have read thas Ndiswrapper can be used to convert windows drivers to linux drivers. Is this also possible with 4g modem drivers or is it only for wifi drivers?
I have no idea but why would you do that? linux has all the native drivers you need for this modem.
Does it? Could you point me in the right direction of getting it to connect with LTE and stay connected?
I thought Ndiswrapper could help produce the correct drivers - guess that was a bad idea...

LOM
Posts: 1373
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: Setting up a 05c6:6000 Qualcomm, Inc. Siemens SG75 Help please!

Post by LOM » 23 Jul 2021, 04:09

devdevdev wrote: 21 Jul 2021, 18:15 Could you point me in the right direction of getting it to connect with LTE and stay connected?
The type of connection is not driver dependent, the modem negotiates the best connection with the tower.
There are AT cmds for restricting connection type to 3G, GPRS, GSM but the default is to use the best available type.

If you've read this thread then you know that 05c6:6000 is USB Id used by many different modems so the USB interface composition and usage is not unique, the interface list I have for this USB Id is quite old and will most likely not match your modem.

I need the Windows .inf files from your card in order to tell you which linux drivers the card needs, those .inf files are available in the software you can find on the virtual cd-rom the modem presents (05c6:f000) before getting switched by usb_modeswitch.
You can also find them in the Windows system directory for drivers after installing the modem on a Windows computer, if unsure then look at the date column in the directory which shows the install date.
It would also be interesting to know what the USB Id of the modem is under Windows.

Post Reply