]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/form/USBSelector.js
ui: usbselector: refactor USB Speed rendering, add USB 3.1
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 26 Sep 2019 16:00:54 +0000 (18:00 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 26 Sep 2019 16:04:32 +0000 (18:04 +0200)
commitff49fd4623215f40b53ab85046aa89b49fb7bb6c
tree20b7bdd47d575935107661fd8ffa87e0659cdaf2
parent2278a74bc2c6a33385feae19e56b08cfec0243aa
ui: usbselector: refactor USB Speed rendering, add USB 3.1

Fixes also an issue where unregonized (often faster) devices would
get recognized as "USB 1.x" due to the else fallback.

Now, if we do not recognize the speed value, just print the speed
with the MBps unit (it's not exactly megabit per second, but mega
baud (= symbols) per second - the effective rate is dependent on the
used signal encoding)

adapt widths a bit further

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/form/USBSelector.js