Author Message

<  Device Information  ~  Mercury MW150UH

PostPosted: Thu Aug 25, 2016 5:00 pm Reply with quote
Posts: 1 Joined: Thu Aug 25, 2016 4:25 pm
I'm pretty new for USB_ModeSwitch. So I'm very happy if some person here can give me some help.

Recently I buy a new USB wireless adapter. This device can work in windows, but it can not work on Ubuntu 16.04.

I read some article in this website, so I do the following steps.



barry@barry-R458:/home/netxianren$ usb_modeswitch -e

Quote:
* usb_modeswitch: handle USB devices with multiple modes
* Version 2.2.5 (C) Josua Dietze 2015
* Based on libusb1/libusbx

! PLEASE REPORT NEW CONFIGURATIONS !



barry@barry-R458:/home/netxianren$ uname -a
Quote:
Linux barry-R458 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:15 UTC 2016 i686 i686 i686 GNU/Linux



barry@barry-R458:/home/netxianren$ lsusb
Quote:
Bus 002 Device 008: ID 148f:2878 Ralink Technology, Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 09da:000a A4Tech Co., Ltd. Optical Mouse Opto 510D / OP-620D
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub




The device 148f:2878 Ralink Technology, Corp. is my USB wireless adapter.
Then I execute the following command:
barry@barry-R458:/home/netxianren$ sudo usb_modeswitch -KW -v 148f -p 2878
Quote:
Take all parameters from the command line


* usb_modeswitch: handle USB devices with multiple modes
* Version 2.2.5 (C) Josua Dietze 2015
* Based on libusb1/libusbx

! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor= 0x148f
DefaultProduct= 0x2878

StandardEject=1
NeedResponse=0

Look for default devices ...
found USB ID 148f:2878
vendor ID matched
product ID matched
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 1d6b:0001
found USB ID 1d6b:0001
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 1d6b:0001
found USB ID 09da:000a
found USB ID 1d6b:0001
Found devices in default mode (1)
Access device 008 on bus 002
Current configuration number is 1
Use interface number 0
Use endpoints 0x08 (out) and 0x84 (in)

USB description data (for identification)
-------------------------
Manufacturer: ?
Product: ?
Serial No.: not provided
-------------------------
Sending standard EJECT sequence
Looking for active driver ...
OK, driver detached
Set up interface 0
Use endpoint 0x08 for message sending ...
Trying to send message 1 to endpoint 0x08 ...
OK, message successfully sent
Read the response to message 1 (CSW) ...
Response successfully read (13 bytes).
Trying to send message 2 to endpoint 0x08 ...
OK, message successfully sent
Read the response to message 2 (CSW) ...
Device seems to have vanished after reading. Good.
Device is gone, skip any further commands
-> Run lsusb to note any changes. Bye!



barry@barry-R458:/home/netxianren$ lsusb
Quote:
Bus 002 Device 009: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 09da:000a A4Tech Co., Ltd. Optical Mouse Opto 510D / OP-620D
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub



I'm very happy. Because the divice switched to 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter.
But the device still can not work. So I execute the following cmmand:
barry@barry-R458:/home/netxianren$ sudo usb_modeswitch -KW -v 148f -p 2878 -s 3 -V 148f -P 7601

Quote:
Take all parameters from the command line


* usb_modeswitch: handle USB devices with multiple modes
* Version 2.2.5 (C) Josua Dietze 2015
* Based on libusb1/libusbx

! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor= 0x148f
DefaultProduct= 0x2878
TargetVendor= 0x148f
TargetProduct= 0x7601

StandardEject=1
NeedResponse=0
Success check enabled, max. wait time 3 seconds

Look for target devices ...
found USB ID 148f:2878
vendor ID matched
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 1d6b:0001
found USB ID 1d6b:0001
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 1d6b:0001
found USB ID 09da:000a
found USB ID 1d6b:0001
No devices in target mode or class found
Look for default devices ...
found USB ID 148f:2878
vendor ID matched
product ID matched
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 1d6b:0001
found USB ID 1d6b:0001
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 1d6b:0001
found USB ID 09da:000a
found USB ID 1d6b:0001
Found devices in default mode (1)
Access device 014 on bus 002
Current configuration number is 1
Use interface number 0
Use endpoints 0x08 (out) and 0x84 (in)

USB description data (for identification)
-------------------------
Manufacturer: ?
Product: ?
Serial No.: not provided
-------------------------
Sending standard EJECT sequence
Looking for active driver ...
OK, driver detached
Set up interface 0
Use endpoint 0x08 for message sending ...
Trying to send message 1 to endpoint 0x08 ...
OK, message successfully sent
Read the response to message 1 (CSW) ...
Response successfully read (13 bytes).
Trying to send message 2 to endpoint 0x08 ...
Device seems to have vanished right after sending. Good.
Device is gone, skip any further commands

Check for mode switch (max. 3 times, once per second) ...
Search for target devices ...
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 1d6b:0001
found USB ID 1d6b:0001
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 1d6b:0001
found USB ID 09da:000a
found USB ID 1d6b:0001
Search for target devices ...
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 1d6b:0001
found USB ID 1d6b:0001
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 1d6b:0001
found USB ID 09da:000a
found USB ID 1d6b:0001
Search for target devices ...
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 1d6b:0001
found USB ID 1d6b:0001
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 1d6b:0001
found USB ID 09da:000a
found USB ID 1d6b:0001
No new devices in target mode or class found

Mode switch has failed. Bye!




Could somebody tell me what's the problem? And what to do next?


Offline
PostPosted: Thu Aug 25, 2016 10:46 pm Reply with quote
Site Admin Posts: 6443 Joined: Sat Nov 03, 2007 12:30 am
usb_modeswitch can likely not help you further than what you already did with the first switching command.

The device is likely ready to use, but there are often further steps required with Wifi adapters, like uploading some firmware to the device. You might have to look for specific information about that because it's outside the scope of this forum.


Offline
PostPosted: Sun Mar 05, 2017 3:30 pm Reply with quote
Posts: 1 Joined: Sun Mar 05, 2017 3:24 pm
I have same problem.Now you solved it ?


Offline

Display posts from previous:  Sort by:

All times are UTC+02:00
Page 1 of 1
3 posts
Users browsing this forum: Baidu [Spider] and 2 guests
Search for:
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum