• 那是云首页
  • 快捷导航
  • 更多
    设为首页收藏本站
  • |
花生壳

实体机有两个USB控制器,conf应该怎么写

威联通 QNAP  / 求助大神  / 倒序浏览   © 著作权归作者本人所有

#楼主# 2023-3-10 23:13

跳转到指定楼层
实体机是3U的服务器。后面四个口,前面一个口。
USB部分发现两个控制器,不知道usb设备对应哪个,下面是lspci
  1. +-1a.0  Intel Corporation C600/X79 series chipset USB2 Enhanced Host Controller #2 [8086:1d2d]
  2. +-1d.0  Intel Corporation C600/X79 series chipset USB2 Enhanced Host Controller #1 [8086:1d26]
复制代码
我看不出来对应哪个控制器,就按顺序写的,用的00:1a.0,下面是我写的。一直写到Port 8,就不重复贴了。
  1. [Usb Enclosure]
  2. VENDOR = QNAP
  3. MODEL = USB
  4. MAX_PORT_NUM = 9
  5. USB3_PORT_BITMAP = 0x3FE
  6. EXT_PORT_NUM = 2
  7. [Usb Port 1]
  8. DEV_BUS =  B00:D26:F0
  9. DEV_PORT = 1
  10. [Usb Port 2]
  11. DEV_BUS = B00:D26:F0
  12. DEV_PORT = 2
复制代码
下面是一部分bmesg信息,我插了一个鼠标,一个键盘,还有金士顿的U盘。
  1. usb 1-1: new high-speed USB device number 2 using ehci-pci
  2. squashfs: version 4.0 (2009/01/31) Phillip Lougher
  3. usb 2-1: new high-speed USB device number 2 using ehci-pci
  4. input: PC Speaker as /devices/platform/pcspkr/input/input2
  5. hub 1-1:1.0: USB hub found
  6. hub 1-1:1.0: 6 ports detected
  7. hub 2-1:1.0: USB hub found
  8. hub 2-1:1.0: 8 ports detected
  9. random: fast init done
  10. EXT4-fs (sda2): mounting ext2 file system using the ext4 subsystem
  11. EXT4-fs (sda2): mounted filesystem without journal. Opts: (null)
  12. EXT4-fs (sda7): mounting ext2 file system using the ext4 subsystem
  13. EXT4-fs (sda7): mounted filesystem without journal. Opts: (null)
  14. EXT4-fs (sda5): mounting ext2 file system using the ext4 subsystem
  15. EXT4-fs (sda5): mounted filesystem without journal. Opts: (null)
  16. usb 1-1.4: new high-speed USB device number 3 using ehci-pci
  17. usb 2-1.2: new low-speed USB device number 3 using ehci-pci
  18. EXT4-fs (sda3): mounting ext2 file system using the ext4 subsystem
  19. EXT4-fs (sda3): mounted filesystem without journal. Opts: (null)
  20. EXT4-fs (sda6): mounting ext2 file system using the ext4 subsystem
  21. EXT4-fs (sda6): mounted filesystem without journal. Opts: (null)
  22. input: PixArt USB Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/0003:093A:2510.0001/input/input3
  23. hid-generic 0003:093A:2510.0001: input,hidraw0: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:00:1d.0-1.2/input0
  24. usb-storage 1-1.4:1.0: USB Mass Storage device detected
  25. scsi host6: usb-storage 1-1.4:1.0
  26. usb 2-1.4: new full-speed USB device number 4 using ehci-pci
  27. input: American Megatrends Inc. Virtual Keyboard and Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0/0003:046B:FF10.0002/input/input4
  28. hid-generic 0003:046B:FF10.0002: input,hidraw1: USB HID v1.10 Keyboard [American Megatrends Inc. Virtual Keyboard and Mouse] on usb-0000:00:1d.0-1.4/input0
  29. input: American Megatrends Inc. Virtual Keyboard and Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.1/0003:046B:FF10.0003/input/input5
  30. hid-generic 0003:046B:FF10.0003: input,hidraw2: USB HID v1.10 Mouse [American Megatrends Inc. Virtual Keyboard and Mouse] on usb-0000:00:1d.0-1.4/input1
  31. usb 2-1.7: new low-speed USB device number 5 using ehci-pci
  32. input: Chicony HP Elite USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7:1.0/0003:03F0:034A.0004/input/input6
  33. hid-generic 0003:03F0:034A.0004: input,hidraw3: USB HID v1.10 Keyboard [Chicony HP Elite USB Keyboard] on usb-0000:00:1d.0-1.7/input0
  34. input: Chicony HP Elite USB Keyboard System Control as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7:1.1/0003:03F0:034A.0005/input/input7
  35. input: Chicony HP Elite USB Keyboard Consumer Control as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7:1.1/0003:03F0:034A.0005/input/input8
  36. hid-generic 0003:03F0:034A.0005: input,hidraw4: USB HID v1.10 Device [Chicony HP Elite USB Keyboard] on usb-0000:00:1d.0-1.7/input1
  37. scsi 6:0:0:0: Direct-Access     Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6
  38. sd 6:0:0:0: Attached scsi generic sg2 type 0
  39. sd 6:0:0:0: [sdc] 30277632 512-byte logical blocks: (15.5 GB/14.4 GiB)
  40. sd 6:0:0:0: [sdc] Write Protect is off
  41. sd 6:0:0:0: [sdc] Mode Sense: 45 00 00 00
  42. sd 6:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
复制代码


那是云论坛 - 国内知名的NAS交流平台
http://www.nasyun.com
分享淘帖
回复 印象

使用道具

成为第一个回帖的人

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回列表 搜索 官方QQ群
懒人地图| 手机版|小黑屋| 智能生活 , 上那是云 |闽ICP备2020018196号-1 |网站地图