4G USB dongle (YONIS)

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: 4G USB dongle (YONIS)

Post by pdc_2 »

in this thread from 2yrs ago, http://www.draisberghof.de/usb_modeswit ... f=3&t=2565 the person said
I've just got a generic QualComm modem which reports as the infamous 05c6:1000
but reported that the device switched (successfully) with the command

Code: Select all

/usr/sbin/usb_modeswitch -W -v 05c6 -p 1000 -K
LOM, speaking for the usbmodeswitch team made two points

1)
Please tell what the usb id is after the device has switched mode, the config file depends on that. Do also include the output of the cmd: sudo lsusb -vd 05c6:1000
and
2)
There are a lot of entries for 05c6:1000 in the usb_modeswitch data package but they are not only matched by the initial usb id, they are also matched by the mfgr name string.

Reason for that is that they switch into a different VID (TargetVendor) than 05c6 so we need a unique file for each of them.

Reason for not having a generic 05c6:1000 is that we would then hit all other devices with that id, devices which we don't want to handle ..
................. because they are handled by other software and sometimes also using a different switch method than a standard eject.
so you could

1) get tell us what the usb id is after the device has switched mode and I understand that to mean

Code: Select all

lsusb
2) and more details from your device with

Code: Select all

sudo lsusb -vd 05c6:1000
the end result was that LOM said
I don't think it is possible to add the generic 05c6:1000 to a distributed usb_modeswitch data package, the vendor, product, or manufacturer strings are unfortunately not unique.
but
There is however nothing preventing you from using a proprietary config file on your own computer, it should contain:

TargetVendor=0x05c6
TargetProduct=0x6000

StandardEject=1

The file should be named 05c6:1000 and placed in the /etc/usb_modeswitch.d directory
(I take him to mean the file should be called 05c6:1000.conf and I would use gedit if I were doing this; I would open gedit with

Code: Select all

gksudo gedit 05c6:1000.conf 
and there would be an empty file: I would paste the above into it; save; close

would't it be wonderful if Cinnamon was less buggy after that?
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: 4G USB dongle (YONIS)

Post by JeremyB »

pdc_2, caetano doesn't have the dongle report as 05c6:1000, it shows as 05c5:f000

It might help to plug the device in with modeswitch enabled, wait 4 minutes and post results from

Code: Select all

dmesg | tail -50
And see what is going on
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: 4G USB dongle (YONIS)

Post by pdc_2 »

my apologies; I must have got it wrong; in post #3 and post #7 it shows
ID 05c6:f000 Qualcomm, Inc
; that was what must have misled me
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: 4G USB dongle (YONIS)

Post by JeremyB »

It was probably because searching for 05c6:f000 shows a lot of results for 05c6:1000 also
caetano
Level 2
Level 2
Posts: 81
Joined: Tue May 24, 2016 5:23 am

Re: 4G USB dongle (YONIS)

Post by caetano »

JeremyB wrote: Sat Jun 02, 2018 2:22 pm pdc_2, caetano doesn't have the dongle report as 05c6:1000, it shows as 05c5:f000
Nope, neither of those. This is what I have:
caetano wrote: Sun May 27, 2018 12:27 pm the device now shows a different name and ID in lsusb:

Code: Select all

Bus 002 Device 006: ID 05c6:6000 Qualcomm, Inc. Siemens SG75
↳ to my understanding that's the ID after the switch, which means the switching was successful, right?
JeremyB wrote: Sat Jun 02, 2018 1:44 pm Is there something in Network Manager, create new mobile broadband connection?
↳ yes and I did that a while ago:
caetano wrote: Thu May 31, 2018 9:30 am
  • setting up a new Mobile Broadband by following these steps (didn't find a more recent tutorial).
JeremyB wrote: Sat Jun 02, 2018 1:44 pm there is a memory card on the USB with Windows drivers and that gets mounted.
↳ Can I verify this ?
JeremyB wrote: Sat Jun 02, 2018 1:44 pm As long as you see ID 05c6:6000 Qualcomm, Inc. Siemens SG75 in lsusb results you should be able to use it
↳ Yes that's what I have now. But I'm still not able to connect.
pdc_2 wrote: Sat Jun 02, 2018 2:08 pm 2) and more details from your device with

Code: Select all

sudo lsusb -vd 05c6:1000
↳ Here is the output of sudo lsusb -vd 05c6:1000: https://pastebin.com/yv66JJPW
pdc_2 wrote: Sat Jun 02, 2018 2:08 pm in this thread from 2yrs ago, http://www.draisberghof.de/usb_modeswit ... f=3&t=2565
I already went through this thread and tried this command:

Code: Select all

/usr/sbin/usb_modeswitch -W -v 05c6 -p 6000 -K
and I got this output which to my understanding just means that the device has already switched mode. The rest of the thread is, as far as I can tell, only trying to automate the process and that's not where I'm at yet. I just want to get the connection to work at least once.
However I still added the file /etc/usb_modeswitch.d/05c6:6000 containing:

Code: Select all

TargetVendor=0x05c6
TargetProduct=0x6000

StandardEject=1
then rebooted and unsurprisingly it didn't make a difference.

But really, if the connection appears and prompts me to enter a password, doesn't it mean that the switching worked properly and that the problem comes from something else than usb-modeswitch ?

Mostly, there must be someone who knows what this password prompt is referring to (at least the person who developed it lol). Any way I could find someone who has that information ?
Last edited by caetano on Mon Jun 04, 2018 11:07 am, edited 2 times in total.
caetano
Level 2
Level 2
Posts: 81
Joined: Tue May 24, 2016 5:23 am

Re: 4G USB dongle (YONIS)

Post by caetano »

I'm sure the problem lies in missing informations in the connection I added manually. This is what I have :

Image

Should I put something in Network ID ?
Should I change some default values ?
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: 4G USB dongle (YONIS)

Post by JeremyB »

You likely need to contact your provider for that info
caetano
Level 2
Level 2
Posts: 81
Joined: Tue May 24, 2016 5:23 am

Re: 4G USB dongle (YONIS)

Post by caetano »

I contacted them and they told me they don't do tech support for 4G USB dongles. I guess few enough people use this kind of device for it to be poorly supported.
So I'm stuck here. Any help is still welcome.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: 4G USB dongle (YONIS)

Post by JeremyB »

You might need to search for your provider and data card to see if you find anything. I did find one thing and if you are using Free Mobile in France, you don't use a username or password
http://wiki.apnchanger.org/France#Free
caetano
Level 2
Level 2
Posts: 81
Joined: Tue May 24, 2016 5:23 am

Re: 4G USB dongle (YONIS)

Post by caetano »

I removed the username and password.
Still not connecting.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: 4G USB dongle (YONIS)

Post by JeremyB »

Code: Select all

tail -f /var/log/syslog
Then try to connect and see if terminal results show a problem, use ctrl + c to quit the command in terminal
caetano
Level 2
Level 2
Posts: 81
Joined: Tue May 24, 2016 5:23 am

Re: 4G USB dongle (YONIS)

Post by caetano »

I have changed ISP to one that has better coverage of the 4G network and upgraded Linux Mint to 19 and the dongle is just as buggy as before, disconnecting and re-connecting a random number of times and once settled, showing the Mobile Booradband as unavailable. I'm giving up on this dongle for good.
Now I'm looking for recommendations on dongles that are known to work well under Linux Mint.
caetano
Level 2
Level 2
Posts: 81
Joined: Tue May 24, 2016 5:23 am

Re: 4G USB dongle (YONIS)

Post by caetano »

I ended up buying this hotspot to ensure it would work. I wonder if it's as efficient as a direct mobile broadband connection but at least I have some internet now :)
Thanks everyone for trying to help me solve this problem and sorry I didn't fight it 'til the end.
mintjelly
Level 1
Level 1
Posts: 8
Joined: Fri Dec 18, 2015 6:01 am

Re: 4G USB dongle (YONIS)

Post by mintjelly »

So here we in 2021 and that very same issue with the very same dongle is still a problem.

I just bought the china dongle because it advertised Linux compatibility.
I can't get it to work. Yes it switches, Yes it says 05c6 6000 after switching and 05c6 f000 before the switch.

It either recycles over and over only when the sim in installed or it just sits there in the USB displaying "network unavailable" when sim is not installed. It does not recycle when sim in not installed as mentioned above.

Has anyone found a solution for this problem?
Locked

Return to “Hardware Support”