#19
帖子
由 whylop » 2017-05-16 14:53
hylop@linux:~$ dpkg -l usb-modeswitch
期望状态=未知(u)/安装(i)/删除(r)/清除(p)/保持(h)
| 状态=未安装(n)/已安装(i)/仅存配置(c)/仅解压缩(U)/配置失败(F)/不完全安装(H)/触发器等待(W)/触发器未决(T)
|/ 错误?=(无)/须重装(R) (状态,错误:大写=故障)
||/ 名称 版本 体系结构: 描述
+++-=============================================-===========================-===========================-===============================================================================================
ii usb-modeswitch
whylop@linux:~$ sudo usb_modeswitch -KW -v 0e8d -p 2870
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= 0x0e8d
DefaultProduct= 0x2870
StandardEject=1
NeedResponse=0
Look for default devices ...
found USB ID 1d6b:0003
found USB ID 04f2:b5c0
found USB ID 046d:c534
found USB ID 0bda:b023
found USB ID 0e8d:2870
vendor ID matched
product ID matched
found USB ID 1d6b:0002
Found devices in default mode (1)
Access device 009 on bus 001
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 reading failed (error -7)
Device is gone, skip any further commands
-> Run lsusb to note any changes. Bye!
whylop@linux:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 04f2:b5c0 Chicony Electronics Co., Ltd
Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 004: ID 0bda:b023 Realtek Semiconductor Corp.
Bus 001 Device 009: ID 0e8d:2870 MediaTek Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
whylop@linux:~$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/8p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
|__ Port 1: Dev 9, If 0, Class=Mass Storage, Driver=, 480M
|__ Port 5: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 5: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 8: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
|__ Port 8: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 14: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 14: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
whylop@linux:~$
ps: 有没有支持linux16.04 内核4.8.0版本比较好的无线网卡,能否推荐一款 最好有个型号或者购物链接,(淘宝和京东都行)
谢谢!