Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I am trying to do usb_mode-switch in my almond 3 router but it is not working.Its seems it is not finding the device ,the router is embed with linux kernel-3.10.14.x .I could not find any entry in /proc/bus/usb/devices for the respective dongle .Previously it was working with linux-2.6.36 .The usb_switchmode module is not able to find the default device as you can see below :
* usb_modeswitch: tool for controlling "flip flop" mode USB devices
* Version 0.9.5 (C) Josua Dietze 2008
* Works with libusb 0.1.12 and probably other versions
Looking for target devices
No target device found
Looking for default devices
No default device found. Is it connected? Bye
Could please tell me the reason why it is not switching ? Do I have to enable any driver in Linux kernel ?
Here is the complete log:
# usb 1-2: new high-speed USB device number 2 using xhci-hcd
usb 1-2: New USB device found, idVendor=2020, idProduct=0002
usb 1-2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
usb 1-2: Product: MT6225
usb 1-2: Manufacturer: Network Connect
usb 1-2: SerialNumber: 686910104253330
add_ep parameters, dev_speed 3, is_in 1, isTT 0, ep_type 2, maxp 512, interval 1, burst 0, mult 0, ep 0x8de3f980, ep_ctx 0xadeaa080, sch_ep 0x8e149e00
add_ep parameters, dev_speed 3, is_in 0, isTT 0, ep_type 2, maxp 512, interval 1, burst 0, mult 0, ep 0x8de3f9ac, ep_ctx 0xadeaa060, sch_ep 0x8e149b80
usb-storage 1-2:1.0: USB Mass Storage device detected
scsi0 : usb-storage 1-2:1.0
scsi 0:0:0:0: CD-ROM UsbModem Storage Disk 6225 PQ: 0 ANSI: 0 CCS
scsi 0:0:0:1: Direct-Access UsbModem Storage Disk 6225 PQ: 0 ANSI: 0 CCS
sd 0:0:0:1: [sda] Test WP failed, assume Write Enabled
sd 0:0:0:1: [sda] Asking for cache data failed
sd 0:0:0:1: [sda] Assuming drive cache: write through
sd 0:0:0:1: [sda] Attached SCSI removable disk
usb_modeswitch -c /etc_ro/usb/usb_modeswitch_MEDIATEK-2020.conf
* usb_modeswitch: tool for controlling "flip flop" mode USB devices
* Version 0.9.5 (C) Josua Dietze 2008
* Works with libusb 0.1.12 and probably other versions
Hi,
I am trying to do usb_mode-switch in my almond 3 router but it is not working.Its seems it is not finding the device ,the router is embed with linux kernel-3.10.14.x .I could not find any entry in /proc/bus/usb/devices for the respective dongle .Previously it was working with linux-2.6.36 .The usb_switchmode module is not able to find the default device as you can see below :
* usb_modeswitch: tool for controlling "flip flop" mode USB devices
* Version 0.9.5 (C) Josua Dietze 2008
* Works with libusb 0.1.12 and probably other versions
Looking for target devices
No target device found
Looking for default devices
No default device found. Is it connected? Bye
Could please tell me the reason why it is not switching ? Do I have to enable any driver in Linux kernel ?
Here is the complete log:
# usb 1-2: new high-speed USB device number 2 using xhci-hcd
usb 1-2: New USB device found, idVendor=2020, idProduct=0002
usb 1-2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
usb 1-2: Product: MT6225
usb 1-2: Manufacturer: Network Connect
usb 1-2: SerialNumber: 686910104253330
add_ep parameters, dev_speed 3, is_in 1, isTT 0, ep_type 2, maxp 512, interval 1, burst 0, mult 0, ep 0x8de3f980, ep_ctx 0xadeaa080, sch_ep 0x8e149e00
add_ep parameters, dev_speed 3, is_in 0, isTT 0, ep_type 2, maxp 512, interval 1, burst 0, mult 0, ep 0x8de3f9ac, ep_ctx 0xadeaa060, sch_ep 0x8e149b80
usb-storage 1-2:1.0: USB Mass Storage device detected
scsi0 : usb-storage 1-2:1.0
scsi 0:0:0:0: CD-ROM UsbModem Storage Disk 6225 PQ: 0 ANSI: 0 CCS
scsi 0:0:0:1: Direct-Access UsbModem Storage Disk 6225 PQ: 0 ANSI: 0 CCS
sd 0:0:0:1: [sda] Test WP failed, assume Write Enabled
sd 0:0:0:1: [sda] Asking for cache data failed
sd 0:0:0:1: [sda] Assuming drive cache: write through
sd 0:0:0:1: [sda] Attached SCSI removable disk
usb_modeswitch -c /etc_ro/usb/usb_modeswitch_MEDIATEK-2020.conf
* usb_modeswitch: tool for controlling "flip flop" mode USB devices
* Version 0.9.5 (C) Josua Dietze 2008
* Works with libusb 0.1.12 and probably other versions
a step-by-step guide, with links and instructions...but we can only guess as if it'll work or not, since you don't tell us what version/distro of Linux you're using. You tell us a Linux kernel version that's ANCIENT (2.6.36), but that doesn't tell us much of anything.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.