Ubuntu16.04LTS 所有USB口无法识别

CPU/显卡/打印机/USB设备等硬件问题
回复
MaskHao
帖子: 4
注册时间: 2017-07-20 8:54
系统: ubuntu16.04LTS

Ubuntu16.04LTS 所有USB口无法识别

#1

帖子 MaskHao » 2017-07-20 8:57

Ubuntu16.04LTS鼠标键盘用着用着突然失灵,不知道什么原因,只能强制关机,请问如何解决。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu16.04LTS 所有USB口无法识别

#2

帖子 poloshiao » 2017-07-20 12:22

把下面指令 複製 貼進終端機 執行
1. xinput list
2. sudo lsusb
把結果全部 直接 選取/複製/貼上來
MaskHao
帖子: 4
注册时间: 2017-07-20 8:54
系统: ubuntu16.04LTS

Re: Ubuntu16.04LTS 所有USB口无法识别

#3

帖子 MaskHao » 2017-07-20 13:11

⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ PixArt Dell MS116 USB Optical Mouse id=10 [slave pointer (2)]
⎜ ↳ Dell KB216 Wired Keyboard id=12 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ Dell KB216 Wired Keyboard id=11 [slave keyboard (3)]
↳ Dell AIO WMI hotkeys id=13 [slave keyboard (3)]
↳ Dell WMI hotkeys id=14 [slave keyboard (3)]


Bus 002 Device 003: ID 0424:5744 Standard Microsystems Corp.
Bus 002 Device 002: ID 0424:5744 Standard Microsystems Corp.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 413c:2113 Dell Computer Corp.
Bus 001 Device 005: ID 0424:2744 Standard Microsystems Corp.
Bus 001 Device 004: ID 0424:2744 Standard Microsystems Corp.
Bus 001 Device 003: ID 413c:301a Dell Computer Corp.
Bus 001 Device 002: ID 18d1:4ee7 Google Inc.
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu16.04LTS 所有USB口无法识别

#4

帖子 poloshiao » 2017-07-21 8:58

1. xinput list
⎜ ↳ PixArt Dell MS116 USB Optical Mouse id=10 [slave pointer (2)]
1. 是不是 這個 滑鼠 ?
2. sudo lsusb
Bus 002 Device 003: ID 0424:5744 Standard Microsystems Corp.
Bus 002 Device 002: ID 0424:5744 Standard Microsystems Corp.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 413c:2113 Dell Computer Corp.
Bus 001 Device 005: ID 0424:2744 Standard Microsystems Corp.
Bus 001 Device 004: ID 0424:2744 Standard Microsystems Corp.
Bus 001 Device 003: ID 413c:301a Dell Computer Corp.
Bus 001 Device 002: ID 18d1:4ee7 Google Inc.
2. http://www.linux-usb.org/usb.ids
在這個 usb.id 網頁 找不到 上述
PixArt Dell MS116 USB Optical Mouse

3. 建議
可以登入 Windows 嗎
3-1. 到 windows 裝置管理員 usb 驅動 找找看 你的 USB PixArt Dell MS116 USB Optical Mouse id=10
的 vendor id 及 product id
MaskHao
帖子: 4
注册时间: 2017-07-20 8:54
系统: ubuntu16.04LTS

Re: Ubuntu16.04LTS 所有USB口无法识别

#5

帖子 MaskHao » 2017-07-21 14:10

1
键盘:
Bus 001 Device 006: ID 413c:2113 Dell Computer Corp.
鼠标
Bus 001 Device 008: ID 413c:301a Dell Computer Corp.
2.
没有window,就一个Ubuntu16.04LTS,鼠标键盘,U盘等,都无法识别。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu16.04LTS 所有USB口无法识别

#6

帖子 poloshiao » 2017-07-21 19:30

键盘:
Bus 001 Device 006: ID 413c:2113 Dell Computer Corp.
鼠标
Bus 001 Device 008: ID 413c:301a Dell Computer Corp.
1. http://www.linux-usb.org/usb.ids
Vendor ID :
413c Dell Computer Corp.
Product ID :
沒有
2113
301a
可能太新 還沒登錄
鼠标键盘,U盘等,都无法识别。
2. 把下面指令 複製 貼進終端機 執行
2-1. dmesg | grep usb
2-2. lsmod | grep "hid"
2-3. lsmod | grep "usb"
把結果全部 直接 選取/複製/貼上來

3. 參閱
http://www.linux-usb.org/USB-guide/x194.html
USB Human Interface Device (HID) Configuration
看看 你的滑鼠跟鍵盤 是不是 HID 界面裝置
MaskHao
帖子: 4
注册时间: 2017-07-20 8:54
系统: ubuntu16.04LTS

Re: Ubuntu16.04LTS 所有USB口无法识别

#7

帖子 MaskHao » 2017-07-24 8:58

2. 把下面指令 複製 貼進終端機 執行
2-1. dmesg | grep usb

[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-83-generic.efi.signed root=UUID=d1ed5a84-aeec-4913-9323-359904b385c7 ro locale=zh_CN acpi_rev_override quiet splash usbcore.autosuspend=-1 vt.handoff=7
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-83-generic.efi.signed root=UUID=d1ed5a84-aeec-4913-9323-359904b385c7 ro locale=zh_CN acpi_rev_override quiet splash usbcore.autosuspend=-1 vt.handoff=7
[ 0.207722] usbcore: registered new interface driver usbfs
[ 0.207726] usbcore: registered new interface driver hub
[ 0.207737] usbcore: registered new device driver usb
[ 0.738540] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.738541] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.738541] usb usb1: Product: xHCI Host Controller
[ 0.738542] usb usb1: Manufacturer: Linux 4.4.0-83-generic xhci-hcd
[ 0.738543] usb usb1: SerialNumber: 0000:00:14.0
[ 0.746691] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[ 0.746692] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.746693] usb usb2: Product: xHCI Host Controller
[ 0.746694] usb usb2: Manufacturer: Linux 4.4.0-83-generic xhci-hcd
[ 0.746694] usb usb2: SerialNumber: 0000:00:14.0
[ 0.750783] usb: port power management may be unreliable
[ 1.056811] usb 1-3: new low-speed USB device number 2 using xhci_hcd
[ 1.189610] usb 1-3: New USB device found, idVendor=413c, idProduct=301a
[ 1.189612] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.189613] usb 1-3: Product: Dell MS116 USB Optical Mouse
[ 1.189614] usb 1-3: Manufacturer: PixArt
[ 1.189776] usb 1-3: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 1.193599] usbcore: registered new interface driver usbhid
[ 1.193600] usbhid: USB HID core driver
[ 1.195268] input: PixArt Dell MS116 USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:413C:301A.0001/input/input7
[ 1.195540] hid-generic 0003:413C:301A.0001: input,hidraw0: USB HID v1.11 Mouse [PixArt Dell MS116 USB Optical Mouse] on usb-0000:00:14.0-3/input0
[ 1.297180] usb 2-3: new SuperSpeed USB device number 2 using xhci_hcd
[ 1.314123] usb 2-3: New USB device found, idVendor=0424, idProduct=5744
[ 1.314125] usb 2-3: New USB device strings: Mfr=2, Product=3, SerialNumber=0
[ 1.314126] usb 2-3: Product: USB5744
[ 1.314126] usb 2-3: Manufacturer: Microchip Tech
[ 1.424964] usb 1-4: new high-speed USB device number 3 using xhci_hcd
[ 1.554443] usb 1-4: New USB device found, idVendor=0424, idProduct=2744
[ 1.554444] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.554445] usb 1-4: Product: USB2744
[ 1.554446] usb 1-4: Manufacturer: Microchip Tech
[ 1.664942] usb 2-4: new SuperSpeed USB device number 3 using xhci_hcd
[ 1.681518] usb 2-4: New USB device found, idVendor=0424, idProduct=5744
[ 1.681520] usb 2-4: New USB device strings: Mfr=2, Product=3, SerialNumber=0
[ 1.681521] usb 2-4: Product: USB5744
[ 1.681522] usb 2-4: Manufacturer: Microchip Tech
[ 1.792987] usb 1-5: new high-speed USB device number 4 using xhci_hcd
[ 1.922425] usb 1-5: New USB device found, idVendor=0424, idProduct=2744
[ 1.922427] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.922428] usb 1-5: Product: USB2744
[ 1.922429] usb 1-5: Manufacturer: Microchip Tech
[ 2.088941] usb 1-7: new low-speed USB device number 5 using xhci_hcd
[ 2.280363] usb 1-7: New USB device found, idVendor=413c, idProduct=2113
[ 2.280365] usb 1-7: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 2.280366] usb 1-7: Product: Dell KB216 Wired Keyboard
[ 2.280480] usb 1-7: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 2.280482] usb 1-7: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 2.284755] input: Dell KB216 Wired Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/0003:413C:2113.0002/input/input8
[ 2.337177] hid-generic 0003:413C:2113.0002: input,hidraw1: USB HID v1.11 Keyboard [Dell KB216 Wired Keyboard] on usb-0000:00:14.0-7/input0
[ 2.340732] input: Dell KB216 Wired Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.1/0003:413C:2113.0003/input/input9
[ 2.393145] hid-generic 0003:413C:2113.0003: input,hidraw2: USB HID v1.11 Device [Dell KB216 Wired Keyboard] on usb-0000:00:14.0-7/input1
[ 11.638987] audit: type=1400 audit(1500856941.360:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/ippusbxd" pid=754 comm="apparmor_parser"


2-2. lsmod | grep "hid"
mac_hid 16384 0
hid_generic 16384 0
usbhid 49152 0
i2c_hid 20480 0
hid 118784 3 i2c_hid,hid_generic,usbhid


2-3. lsmod | grep "usb"
usbhid 49152 0
hid 118784 3 i2c_hid,hid_generic,usbhid
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu16.04LTS 所有USB口无法识别

#8

帖子 poloshiao » 2017-07-24 17:30

1. xinput list
⎜ ↳ PixArt Dell MS116 USB Optical Mouse id=10 [slave pointer (2)]
dmesg | grep usb
[ 1.189613] usb 1-3: Product: Dell MS116 USB Optical Mouse
[ 1.195268] input: PixArt Dell MS116 USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:413C:301A.0001/input/input7
[ 1.195540] hid-generic 0003:413C:301A.0001: input,hidraw0: USB HID v1.11 Mouse [PixArt Dell MS116 USB Optical Mouse] on usb-0000:00:14.0-3/input0
1. 表示 MS116 開機偵測/驅動 沒問題
sudo lsusb
Bus 001 Device 003: ID 413c:301a Dell Computer Corp.
鼠标
Bus 001 Device 008: ID 413c:301a Dell Computer Corp.
dmesg | grep usb
[ 1.189610] usb 1-3: New USB device found, idVendor=413c, idProduct=301a
[ 1.195268] input: PixArt Dell MS116 USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:413C:301A.0001/input/input7
[ 1.195540] hid-generic 0003:413C:301A.0001: input,hidraw0: USB HID v1.11 Mouse [PixArt Dell MS116 USB Optical Mouse] on usb-0000:00:14.0-3/input0
2. 表示 MS116 就是 413c:301a
dmesg | grep usb
[ 1.193599] usbcore: registered new interface driver usbhid
[ 1.193600] usbhid: USB HID core driver
lsmod | grep "hid"
hid 118784 3 i2c_hid,hid_generic,usbhid
hid_generic 16384 0
lsmod | grep "usb"
usbhid 49152 0
hid 118784 3 i2c_hid,hid_generic,usbhid
3. 猜測 你的驅動模組 應該是 hid_generic 或 usbhid (見 5-1)
3-1. 開機已經自動載入 (可能是由 Linux Kernel 提供)
Ubuntu16.04LTS鼠标键盘用着用着突然失灵,不知道什么原因
viewtopic.php?p=3193803#p3193803
1. http://www.linux-usb.org/usb.ids
Vendor ID :
413c Dell Computer Corp.
Product ID :
沒有
2113
301a
可能太新 還沒登錄
4. http://manpages.ubuntu.com/manpages/xen ... usb.8.html
lsusb is a utility for displaying information about USB buses in the system and the devices connected to them.
/var/lib/usbutils/usb.ids
A list of all known USB ID's (vendors, products, classes, subclasses and protocols).
4-1. 看看 /var/lib/usbutils/usb.ids 裡面的 有沒有
2113
301a
4-1-1. sudo cat /var/lib/usbutils/usb.ids | grep 2113
4-1-2. sudo cat /var/lib/usbutils/usb.ids | grep 301a

5. 參閱
5-1. https://stackoverflow.com/questions/251 ... nux-kernel
Which drivers are used by usb mouse in linux kernel?
回复