WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: (solved) usb-modeswitch (from tcl3.8.4) can be made working in 4.0.2: how?  (Read 5466 times)

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
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
(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?



« Last Edit: October 24, 2011, 12:18:35 PM by floppy »
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: usb-modeswitch (from tcl3.8.4) can be made working in 4.0.2: how?
« Reply #1 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/
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.
« Last Edit: October 23, 2011, 01:14:26 AM by netnomad »

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
Re: usb-modeswitch (from tcl3.8.4) can be made working in 4.0.2: how?
« Reply #2 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.
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11221
Re: usb-modeswitch (from tcl3.8.4) can be made working in 4.0.2: how?
« Reply #3 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.

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
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.
« Last Edit: October 24, 2011, 12:59:08 PM by floppy »
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10962
You can edit the usb_modeswitch dep file to point to the newer module extension.
The only barriers that can stop you are the ones you create yourself.

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
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?
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: (solved) usb-modeswitch (from tcl3.8.4) can be made working in 4.0.2: how?
« Reply #7 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
dCore user