I am playing with usbip to export an afatech dvb usb stick to a VM.  It
appears to work up until it tries to load the firmware (from the vm) and
fails.  Google i'snt helping except very old messages saying there are
problems with resetting and firmware loading.

Can someone confirm that it is possible to load firmware onto a usb
device using usbip?  The device does work locally on its host.


>From dmesg in the VM.

> [23985.513903] usbcore: registered new interface driver dvb_usb_af9015
> [24016.332475] vhci_hcd vhci_hcd: rhport(0) sockfd(3) devid(262151) speed(3)
> [24016.332774] vhci_hcd: changed 1
> [24016.610146] usb 1-1: new high-speed USB device number 23 using vhci_hcd
> [24016.850160] usb 1-1: new high-speed USB device number 24 using vhci_hcd
> [24017.090149] usb 1-1: new high-speed USB device number 25 using vhci_hcd
> [24017.090153] usb 1-1: SetAddress Request (25) to port 0
> [24017.118944] usb 1-1: New USB device found, idVendor=15a4, idProduct=9016
> [24017.118948] usb 1-1: New USB device strings: Mfr=1, Product=2, 
> SerialNumber=3
> [24017.118949] usb 1-1: Product: DVB-T 2
> [24017.118951] usb 1-1: Manufacturer: Afatech
> [24017.118952] usb 1-1: SerialNumber: 010101010600001
> [24017.121842] usb 1-1: dvb_usb_v2: found a 'Afatech AF9015 reference design' 
> in warm state
> [24017.123844] Afatech DVB-T 2: Fixing fullspeed to highspeed interval: 10 -> 
> 7
> [24017.124097] usb 1-1: dvb_usb_af9015: command failed=2
> [24017.124375] input: Afatech DVB-T 2 as 
> /devices/platform/vhci_hcd/usb1/1-1/1-1:1.1/input/input10
> [24017.124461] hid-generic 0003:15A4:9016.0008: input,hidraw0: USB HID v1.01 
> Keyboard [Afatech DVB-T 2] on usb-vhci_hcd-1/input1
> [24017.125164] usb 1-1: dvb_usb_af9015: command failed=2
> [24017.126392] usb 1-1: dvb_usb_af9015: command failed=2
> [24017.127185] usb 1-1: dvb_usb_af9015: command failed=2
> [24017.127188] usb 1-1: dvb_usb_af9015: eeprom read failed=-5
> [24017.127190] usb 1-1: dvb_usb_v2: 'Afatech AF9015 reference design' error 
> while loading driver (-5)
> [24017.127203] usb 1-1: dvb_usb_v2: 'Afatech AF9015 reference design' 
> successfully deinitialized and disconnected
> myth 



Reply via email to