[P] problem usb pass through lxc container - usb device id changed every several hours

superingole

Member
Aug 10, 2017
2
0
21
61
Hello

i have running proxmox ve with following versions:

proxmox-ve: 5.3-1 (running kernel: 4.15.18-10-pve)
pve-manager: 5.3-8 (running version: 5.3-8/2929af8e)
pve-kernel-4.15: 5.3-1
pve-kernel-4.15.18-10-pve: 4.15.18-32
pve-kernel-4.15.17-1-pve: 4.15.17-9

i have configured an lxc container for usb pass through for an rtl_sdr stick.

lsusb:
Bus 001 Device 065: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T

lxc.conf

lxc.cgroup.devices.allow: c 189:* rwm
lxc.mount.entry: /dev/bus/usb/001 dev/bus/usb/001 none bind,optional,create=dir

It works as designed, but every several hours the usb device id (red marked) will be changed.
The misterious effect, that the change will be done at (XX:02:01) (hour:min:sec), means the
reassignment will be done exactly 2 min after the full hour.

Is there a cronjob or rescan for usb checks running ?

Everybody any idea ?
 
it seems there is a reset / disconnection of the internal hub - nothing were unplugged !!!

[Fri Feb 15 13:01:48 2019] usb 1-1.5: USB disconnect, device number 81
[Fri Feb 15 13:01:48 2019] usb 1-1.5.1: USB disconnect, device number 82

[Fri Feb 15 13:01:52 2019] usb 1-1.5: new high-speed USB device number 86 using ehci-pci
[Fri Feb 15 13:01:52 2019] usb 1-1.5: New USB device found, idVendor=0424, idProduct=2514
[Fri Feb 15 13:01:52 2019] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Fri Feb 15 13:01:52 2019] hub 1-1.5:1.0: USB hub found
[Fri Feb 15 13:01:52 2019] hub 1-1.5:1.0: 4 ports detected
[Fri Feb 15 13:01:52 2019] usb 1-1.5.1: new high-speed USB device number 87 using ehci-pci
[Fri Feb 15 13:01:53 2019] usb 1-1.5.1: New USB device found, idVendor=0bda, idProduct=2838
[Fri Feb 15 13:01:53 2019] usb 1-1.5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Fri Feb 15 13:01:53 2019] usb 1-1.5.1: Product: RTL2838UHIDIR
[Fri Feb 15 13:01:53 2019] usb 1-1.5.1: Manufacturer: Realtek
[Fri Feb 15 13:01:53 2019] usb 1-1.5.1: SerialNumber: 00004

i have not found any cronjob on system