Also der USB Hub taucht auch als USB Device unter dem Namen
Bus 001 Device 099: ID 0bda:5411 Realtek Semiconductor Corp.
auf. Wenn ich dieses Device an die VM weiterreiche, so werden die dort angesteckten USB Geräte leider nicht weitergereicht, diese muss ich explizit auswählen.
Wenn ich es richtig verstanden habe, hat QNAP eine eigene VM Software, diese heißt "Virtualization Station" (
https://www.qnap.com/solution/virtualization-station/de-de/)
Was mir aufgefallen ist, wenn ich den USB Hub abziehe vom NAS und ihn erneut anstecke, zählt er augenscheinlich die Device-Nr hoch.
lsusb vor dem abziehen des USB Hub:
[~] # lsusb
Bus 001 Device 112: ID 0403:6001 Future Technology Devices International, Ltd FT 232 USB-Serial (UART) IC
Bus 001 Device 100: ID 0403:6001 Future Technology Devices International, Ltd FT 232 USB-Serial (UART) IC
Bus 001 Device 111: ID 0658:0200 Sigma Designs, Inc.
Bus 001 Device 008: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle ( HCI mode)
Bus 001 Device 006: ID 0403:6001 Future Technology Devices International, Ltd FT 232 USB-Serial (UART) IC
Bus 001 Device 005: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 007: ID 1005:b155 Apacer Technology, Inc.
Bus 001 Device 099: ID 0bda:5411 Realtek Semiconductor Corp.
Bus 001 Device 004: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 001 Device 003: ID 0bda:5411 Realtek Semiconductor Corp.
Bus 001 Device 098: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Größte Device-Nr = 112
Nach dem ich den Hub abgezogen habe:
Bus 001 Device 111: ID 0658:0200 Sigma Designs, Inc.
Bus 001 Device 008: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 006: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 005: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 007: ID 1005:b155 Apacer Technology, Inc.
Bus 001 Device 004: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 001 Device 003: ID 0bda:5411 Realtek Semiconductor Corp.
Bus 001 Device 113: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Aus Device 098 wurde nun auf einmal 113.
Damit ist die größte Device-Nr = 113
Nun schließe ich den USB Hub wieder an:
[~] # lsusb
Bus 001 Device 116: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 115: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 111: ID 0658:0200 Sigma Designs, Inc.
Bus 001 Device 008: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 006: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 005: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 007: ID 1005:b155 Apacer Technology, Inc.
Bus 001 Device 114: ID 0bda:5411 Realtek Semiconductor Corp.
Bus 001 Device 004: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 001 Device 003: ID 0bda:5411 Realtek Semiconductor Corp.
Bus 001 Device 113: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Mein USB Hub ist augenscheinlich Device 114 und die zwei USB Geräte, die daran hängen sind Device-Nr 115 und 116.
Er zählt also augenscheinlich stupide die Device Nummern hoch.
Die Frage ist, was passiert mit den Nummern dazwischen?
Werden die irgendwann wieder freigegeben?
Gruß
Mathze