Artec T1 USB1.1 TVBOX with AN2235 - Bulk message failed: -22

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I bought one of these Artec T1 devices yesterday, been scratching
my head trying to get it to work. I'm getting the exact same error as
reported by Iain Wallace a couple of weeks ago here:

http://www.linuxtv.org/pipermail/linux-dvb/2006-August/012066.html

Now I think I have worked out what is happening. According to dmesg:

dvb-usb: found a 'Artec T1 USB1.1 TVBOX with AN2235' in warm state.

But lsusb says:

Bus 002 Device 005: ID 05d8:8107 Ultima Electronics Corp. Artec T1 USB
TVBOX with AN2235 (cold)

So, it looks to me as if the dvb-usb module thinks that the device has
already had it's firmware loaded, when in fact it has not. I assume
this is what is meant by "warm" and "cold." This would also explain
why the device works when the firmware has already been loaded by
Windows, as others have reported.
After the firmware is loaded on Windows, the device ID changes from
8107 to 8108.

linux-2.6.15.7/drivers/media/dvb/dvb-usb/dvb-usb-ids.h confirms this:

#define USB_PID_ULTIMA_TVBOX_AN2235_COLD        0x8107
#define USB_PID_ULTIMA_TVBOX_AN2235_WARM        0x8108

After a bit mre grepping I found this in dibusb-mb.c:

static struct usb_device_id dibusb_dib3000mb_table [] = {
...
/* 21 */        { USB_DEVICE(USB_VID_ULTIMA_ELECTRONIC,
USB_PID_ULTIMA_TVBOX_AN2235_COLD) },
/* 22 */        { USB_DEVICE(USB_VID_ULTIMA_ELECTRONIC,
USB_PID_ULTIMA_TVBOX_AN2235_WARM) },
...

               {       "Artec T1 USB1.1 TVBOX with AN2235",
                       { &dibusb_dib3000mb_table[20], NULL },
                       { &dibusb_dib3000mb_table[21], NULL },
               },

So it looks like the box is being misidentified because these array
indexes should be 21,22 instead of 20,21.

So I recompiled my kernel with this change. Now when I plug the box in
I get this:

Aug 22 00:10:52 desktop kernel: [17232880.768000] usb 2-1: new full
speed USB device using uhci_hcd and address 7
Aug 22 00:10:53 desktop kernel: [17232882.036000] dvb-usb: found a
'Artec T1 USB1.1 TVBOX with AN2235' in cold state, will try to load a
firmware
Aug 22 00:10:54 desktop kernel: [17232882.316000] dvb-usb: downloading
firmware from file 'dvb-usb-dibusb-an2235-01.fw' to the 'Cypress
AN2235'
Aug 22 00:10:55 desktop kernel: [17232883.704000] dvb-usb: Artec T1
USB1.1 TVBOX with AN2235 successfully initialized and connected.
Aug 22 00:10:55 desktop kernel: [17232883.708000] usbcore: registered
new driver dvb_usb_dibusb_mb
Aug 22 00:10:55 desktop kernel: [17232883.816000] usb 2-1: USB
disconnect, address 7
Aug 22 00:10:55 desktop kernel: [17232883.816000] dvb-usb: generic
DVB-USB module successfully deinitialized and disconnected.
Aug 22 00:10:57 desktop kernel: [17232886.072000] usb 2-1: new full
speed USB device using uhci_hcd and address 8
Aug 22 00:10:58 desktop kernel: [17232886.224000] dvb-usb: found a
'DiBcom USB1.1 DVB-T reference design (MOD3000)' in warm state.
Aug 22 00:10:58 desktop kernel: [17232886.224000] dvb-usb: will use
the device's hardware PID filter (table count: 16).
Aug 22 00:10:58 desktop kernel: [17232886.244000] DVB: registering new
adapter (DiBcom USB1.1 DVB-T reference design (MOD3000)).
Aug 22 00:10:58 desktop kernel: [17232886.252000] DVB: registering
frontend 0 (DiBcom 3000M-B DVB-T)...
Aug 22 00:10:58 desktop kernel: [17232886.260000] dibusb: this device
has the Panasonic ENV77H11D5 onboard.
Aug 22 00:10:58 desktop kernel: [17232886.260000] input: IR-receiver
inside an USB DVB receiver as /class/input/input5
Aug 22 00:10:58 desktop kernel: [17232886.260000] dvb-usb: schedule
remote query interval to 150 msecs.
Aug 22 00:10:58 desktop kernel: [17232886.276000] dvb-usb: DiBcom
USB1.1 DVB-T reference design (MOD3000) successfully initialized and
connected.

Now the green light power comes on, so that's progress, I think. But
straight afterwards my computer locks up hard, without even time to
print any further error messages.

--
Alistair Buxton
a.j.buxton@xxxxxxxxx

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux