Gentoo Archives: gentoo-user

From: William Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: [gentoo-user] usbip
Date: Mon, 03 Jun 2013 10:40:03
Message-Id: 51AC725C.4070007@iinet.net.au
1 I am playing with usbip to export an afatech dvb usb stick to a VM. It
2 appears to work up until it tries to load the firmware (from the vm) and
3 fails. Google i'snt helping except very old messages saying there are
4 problems with resetting and firmware loading.
5
6 Can someone confirm that it is possible to load firmware onto a usb
7 device using usbip? The device does work locally on its host.
8
9
10 From dmesg in the VM.
11
12 > [23985.513903] usbcore: registered new interface driver dvb_usb_af9015
13 > [24016.332475] vhci_hcd vhci_hcd: rhport(0) sockfd(3) devid(262151) speed(3)
14 > [24016.332774] vhci_hcd: changed 1
15 > [24016.610146] usb 1-1: new high-speed USB device number 23 using vhci_hcd
16 > [24016.850160] usb 1-1: new high-speed USB device number 24 using vhci_hcd
17 > [24017.090149] usb 1-1: new high-speed USB device number 25 using vhci_hcd
18 > [24017.090153] usb 1-1: SetAddress Request (25) to port 0
19 > [24017.118944] usb 1-1: New USB device found, idVendor=15a4, idProduct=9016
20 > [24017.118948] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
21 > [24017.118949] usb 1-1: Product: DVB-T 2
22 > [24017.118951] usb 1-1: Manufacturer: Afatech
23 > [24017.118952] usb 1-1: SerialNumber: 010101010600001
24 > [24017.121842] usb 1-1: dvb_usb_v2: found a 'Afatech AF9015 reference design' in warm state
25 > [24017.123844] Afatech DVB-T 2: Fixing fullspeed to highspeed interval: 10 -> 7
26 > [24017.124097] usb 1-1: dvb_usb_af9015: command failed=2
27 > [24017.124375] input: Afatech DVB-T 2 as /devices/platform/vhci_hcd/usb1/1-1/1-1:1.1/input/input10
28 > [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
29 > [24017.125164] usb 1-1: dvb_usb_af9015: command failed=2
30 > [24017.126392] usb 1-1: dvb_usb_af9015: command failed=2
31 > [24017.127185] usb 1-1: dvb_usb_af9015: command failed=2
32 > [24017.127188] usb 1-1: dvb_usb_af9015: eeprom read failed=-5
33 > [24017.127190] usb 1-1: dvb_usb_v2: 'Afatech AF9015 reference design' error while loading driver (-5)
34 > [24017.127203] usb 1-1: dvb_usb_v2: 'Afatech AF9015 reference design' successfully deinitialized and disconnected
35 > myth