Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: floppy on October 21, 2011, 12:54:36 PM

Title: (solved) usb-modeswitch (from tcl3.8.4) can be made working in 4.0.2: how?
Post by: floppy on October 21, 2011, 12:54:36 PM
Hello,
I am sticking to a topic with my usb modem.
I try to use the extension usb-modeswitch (from 3.8.4 because not existing as TCE in 4.0.2)  in tcl4.0.2.. without sucess.
See the thread http://forum.tinycorelinux.net/index.php/topic,11657.msg62264.html#msg62264 (http://forum.tinycorelinux.net/index.php/topic,11657.msg62264.html#msg62264)
(I transfer it to here).
Summary:
- usb-modeswitch seems to change the usb id but the modem is not recognized (no USBtty0 are created)
- usb-modeswitch (from 3.8.4) seems to act differently in 3.8.4 and 4.0.2: other udev rules..?
Can someone help?
How to see a log file when usb_modeswitch is working?



Title: Re: usb-modeswitch (from tcl3.8.4) can be made working in 4.0.2: how?
Post by: netnomad on October 23, 2011, 01:11:13 AM
again, the usb-modeswitch of 3.8.4 works perfectly in 4.0.2.
i did heavy testing and there is no doubt that it works with my hardware and my configuration.

but nevertheless your dmesg in your other thread showed me, that your recognized modem is switched to a mass storage device.
that's the first point you should solve, otherwise it can't work.

have a look at http://sourceforge.net/projects/comgt/ (http://sourceforge.net/projects/comgt/)
on the base of these configuration files i found my own way to connect.
this program is tiny and works almost on any distribution (i copied just the few files to the right places).
perhaps it gives you a good starting point.
Title: Re: usb-modeswitch (from tcl3.8.4) can be made working in 4.0.2: how?
Post by: floppy on October 23, 2011, 10:05:46 AM
When it switch from 12d1:1446 to 12d1:140c (in 3.8.4 and 4.0.2 with usb_modeswitch from 3.8.4), then it means it is switched from a mass storage (1446) to another mass storage (140c)?
I will try your program.
Title: Re: usb-modeswitch (from tcl3.8.4) can be made working in 4.0.2: how?
Post by: Rich on October 23, 2011, 12:19:59 PM
Hi floppy
If you Google on   12d1:1446   or   12d1:140c   you will get quite a few hits on people who had
problems with this device and how they got it to work.
I also noticed there is a   usb-modeswitch-data.tcz   extension available which may or may not
help you.
Title: Re: (solved) usb-modeswitch (from tcl3.8.4) can be made working in 4.0.2: how?
Post by: floppy on October 24, 2011, 12:31:52 PM
Thanks for your infinite patience and your re-iteration of where I should search.
After googling and re-checking..
- usb_modeswitch works definitively for my stick (@netnomad).. but did not turn it automatically as a modem (like in tcl3.8.4)
- the usb was not switched as a modem; so it was probably a question of the loaded usb_serial_2.3.33 in relation with the new kernel (which is not totally stupid.. a usb_serial_2.3.33 with a kernel 3.0.3..)
- I loaded the usb_serial_3.0.3 at boot (and kept usb_serial_2.3.33 in the TCE; because if it is thrown away, usb_modeswitch dont work anymore).
I am writing from my usb stick.
Title: Re: (solved) usb-modeswitch (from tcl3.8.4) can be made working in 4.0.2: how?
Post by: curaga on October 25, 2011, 08:12:01 AM
You can edit the usb_modeswitch dep file to point to the newer module extension.
Title: Re: (solved) usb-modeswitch (from tcl3.8.4) can be made working in 4.0.2: how?
Post by: floppy on October 25, 2011, 11:20:51 AM
You are right curaga.
So, now, can somebody put the usb_modeswitch from tcl3.8.4 into the tcl4.0.2 download directory, change the .dep file pointing from 2.3.33.3 to 3.0.3 and put this .dep file in the tcl4.0.2 extension directory, too?
Title: Re: (solved) usb-modeswitch (from tcl3.8.4) can be made working in 4.0.2: how?
Post by: jls on November 06, 2011, 09:21:51 AM
usb-modeswitch is now in the 4.x repo, I've sent the latest version but I haven't tested cause I don't have the usb stick anymore