I'm experimenting with USBIP as a server for USB audio interfaces for virtual machines running on XenServer.
As a proof of concept I loaded up a laptop with Ubuntu Server 16.04 and created a XenServer VM running Ubuntu 16.04 desktop. Both systems are running USBIP-tools 2.0 (Kernel version 4.4.0-21). On the "server" I plugged a cheap USB sound card (Bus 003 Device 002: ID 1b3f:2007 Generalplus Technology Inc.) which I was able to export and connect to from the XenServer VM. This technically works which is promising. Unfortunately the guest VM is spewing an obscene amount of logs:
rw-r----- 1 syslog adm 207259334 Jul 12 08:46 syslog
That's less than an hour and the log file contains the same line over and over.
Jul 12 07:53:13 streambox kernel: [219069.566757] vhci_hcd: Not yet implemented
Jul 12 07:53:13 streambox kernel: [219069.571845] vhci_hcd: Not yet implemented
Jul 12 07:53:13 streambox kernel: [219069.571850] vhci_hcd: Not yet implemented
Jul 12 07:53:13 streambox kernel: [219069.576857] vhci_hcd: Not yet implemented
Jul 12 07:53:13 streambox kernel: [219069.576864] vhci_hcd: Not yet implemented
Jul 12 07:53:13 streambox kernel: [219069.581840] vhci_hcd: Not yet implemented
Jul 12 07:53:13 streambox kernel: [219069.581843] vhci_hcd: Not yet implemented
Jul 12 07:53:13 streambox kernel: [219069.581844] vhci_hcd: Not yet implemented
This is obviously not a good thing.
On the server side, I need the USBIPD server to start on boot and always export the same group of devices. To do so should be something like a script in /etc/init.d but it seems that USBIPD needs to be run as root?
Any ideas on what's going on with the logging or how I can properly startup USBIPD?
Thanks,
James
|