public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [linux-dvb] USB 1.1 support for AF9015 DVB-T tuner
       [not found] <7dd90a210804070554t6d8b972xa85eb6a75b0663cd@mail.gmail.com>
@ 2008-04-07 15:15 ` Antti Palosaari
  2008-04-08  5:08   ` Antti Palosaari
  0 siblings, 1 reply; 10+ messages in thread
From: Antti Palosaari @ 2008-04-07 15:15 UTC (permalink / raw)
  To: Benoit Paquin; +Cc: linux-dvb

Benoit Paquin wrote:
> Antti,
>  
> When I tried the Sandberg stick with the AF9015 on an old PC, it 
> reported that the device could not be supported by the USB 1.1 ports. 
> However, according to the AF9015 web page of AFA, it can support USB 1.1:
> 
> AF9015 DVB-T Solution Summary
>   - Afatech's second-generation ETSI ETS 300 744 COFDM terrestrial 
> demodulator. 
>   - Exceeds all performance requirements of Nordig Unified 1.0.2, 
> D-Book, E-Book,  
>   - EN55020 (CE/S1), IEC62002 (MBRAI) and BSMI 
>   - Embedded USB 2.0 PHY, *backward compatible with USB 1.1* 
>   - Integrated TS PID filter (32-entry) 
>   - Support USB suspend mode, capable of entering C3 mode for N/B 
> built-in App. 
>   - Support second MPEG2-TS input/output for PIP, PVR and Dual-Display 
> applications.  
>   - BDA driver supported with WHQL, USB-IF, MCE2005 certified 
>   - Special function support for silicon tuners, e.g. Dynamic 
> Take-Over-Point (TOP) 
>   - Robust mobile performance (Up to 150km/h - single antenna)
> 
> Found at: 
> http://www.usbest.com.tw/EN/products_more.aspx?CategoryID=7&ID=18 
> <http://www.usbest.com.tw/EN/products_more.aspx?CategoryID=7&ID=18>
> 
> Can you explain this? It would be neat if it worked with USB 1.1. There 
> are several old laptops around that could be used as digital video 
> recorder. The main stream vendors (Pinnacle, Hauppauge and ASUS) do not 
> support USB 1.1.

AF9015 chipset does support USB1.1 but driver not. I haven't see this 
important enough to implement yet... It is rather easy to implement, 
lets see if I get inspirations soon ;)

> 
> Thanks and regards,
> 
> Benoit

regards
Antti
-- 
http://palosaari.fi/

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [linux-dvb] USB 1.1 support for AF9015 DVB-T tuner
  2008-04-07 15:15 ` [linux-dvb] USB 1.1 support for AF9015 DVB-T tuner Antti Palosaari
@ 2008-04-08  5:08   ` Antti Palosaari
  2008-04-08  6:52     ` Benoit Paquin
  2008-04-08 23:27     ` Zdenek Kabelac
  0 siblings, 2 replies; 10+ messages in thread
From: Antti Palosaari @ 2008-04-08  5:08 UTC (permalink / raw)
  To: Benoit Paquin; +Cc: linux-dvb

Antti Palosaari wrote:
> Benoit Paquin wrote:
>> Antti,
>> Can you explain this? It would be neat if it worked with USB 1.1. There 
>> are several old laptops around that could be used as digital video 
>> recorder. The main stream vendors (Pinnacle, Hauppauge and ASUS) do not 
>> support USB 1.1.
> 
> AF9015 chipset does support USB1.1 but driver not. I haven't see this 
> important enough to implement yet... It is rather easy to implement, 
> lets see if I get inspirations soon ;)

Implemented now.

regards
Antti
-- 
http://palosaari.fi/

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [linux-dvb] USB 1.1 support for AF9015 DVB-T tuner
  2008-04-08  5:08   ` Antti Palosaari
@ 2008-04-08  6:52     ` Benoit Paquin
  2008-04-08 23:27     ` Zdenek Kabelac
  1 sibling, 0 replies; 10+ messages in thread
From: Benoit Paquin @ 2008-04-08  6:52 UTC (permalink / raw)
  To: Antti Palosaari; +Cc: linux-dvb

Amazing! I mentioned it yesterday, got it today.

I recorded using a USB1.1 port on a mind blowing 133 MHz Via C3
computer! Tuner locks frequency very fast compared to my Hauppauge
HVH-900.

I included dmesg. The only odd message is: af9013: i2c write failed
reg:ae00 val:02

Thanks a lot!
/benoit

[  203.284000] usb 1-1: new full speed USB device using uhci_hcd and address 2
[  203.468000] usb 1-1: configuration #1 chosen from 1 choice
[  203.468000] af9015_usb_probe: interface:0
[  203.472000] af9015_identify_state: reply:01
[  203.472000] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in
cold state, will try to load a firmware
[  204.060000] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
[  204.060000] af9015_download_firmware:
[  204.356000] af9015_usb_probe: interface:1
[  204.356000] usb 1-1: USB disconnect, address 2
[  204.356000] dvb-usb: generic DVB-USB module successfully
deinitialized and disconnected.
[  204.356000] dvb-usb: generic DVB-USB module successfully
deinitialized and disconnected.
[  204.628000] usb 1-1: new full speed USB device using uhci_hcd and address 3
[  204.812000] usb 1-1: configuration #1 chosen from 1 choice
[  204.812000] af9015_usb_probe: interface:0
[  204.816000] af9015_identify_state: reply:02
[  204.816000] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in
warm state.
[  204.816000] dvb-usb: will use the device's hardware PID filter
(table count: 32).
[  204.816000] DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick)
[  204.816000] af9015_eeprom_dump:
[  204.848000] 00: 2c 34 97 0b 00 00 00 00 a4 15 16 90 00 02 01 02
[  204.880000] 10: 03 80 00 fa fa 10 40 ef 01 30 31 30 31 30 38 31
[  204.912000] 20: 37 30 37 30 30 33 38 33 ff ff ff ff ff ff ff ff
[  204.944000] 30: 00 00 3a 01 00 08 02 00 1d 8d c4 04 82 ff ff ff
[  204.976000] 40: ff ff ff ff ff 08 02 00 1d 8d c4 04 82 ff ff ff
[  205.024000] 50: ff ff ff ff ff 24 00 00 04 03 09 04 10 03 41 00
[  205.056000] 60: 66 00 61 00 74 00 65 00 63 00 68 00 0c 03 44 00
[  205.088000] 70: 56 00 42 00 2d 00 54 00 20 03 30 00 31 00 30 00
[  205.120000] 80: 31 00 30 00 31 00 30 00 31 00 30 00 36 00 30 00
[  205.152000] 90: 30 00 30 00 30 00 31 00 00 ff ff ff ff ff ff ff
[  205.184000] a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  205.216000] b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  205.248000] c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  205.280000] d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  205.312000] e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  205.344000] f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  205.348000] af9015_read_config: xtal:2 set adc_clock:28000
[  205.352000] af9015_read_config: IF1:36125
[  205.356000] af9015_read_config: MT2060 IF1:1220
[  205.356000] af9015_read_config: tuner id1:130
[  205.360000] af9015_read_config: spectral inversion:0
[  205.572000] af9013: firmware version:4.95.0
[  205.572000] DVB: registering frontend 0 (Afatech AF9013 DVB-T)...
[  205.572000] af9015_tuner_attach:
[  205.572000] af9015_set_gpio: gpio:3 gpioval:03
[  205.772000] MT2060: successfully identified (IF1 = 1220)
[  206.244000] dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully
initialized and connected.
[  206.244000] af9015_init:
[  206.244000] af9015_init_endpoint: USB speed:2
[  206.264000] af9015_download_ir_table:
[  206.516000] af9015_usb_probe: interface:1
[  206.524000] usbcore: registered new interface driver hiddev
[  206.532000] usbcore: registered new interface driver usbhid
[  206.532000] /build/buildd/linux-source-2.6.22-2.6.22/drivers/hid/usbhid/hid-core.c:
v2.6:USB HID core driver
[  328.552000] af9015_pid_filter: set pid filter, index 0, pid fa1, onoff 1
[  328.556000] af9015_pid_filter_ctrl: onoff:1
[  328.560000] af9015_pid_filter: set pid filter, index 1, pid fa2, onoff 1
[  329.568000] af9015: af9015_rw_udev: receiving failed: -110
[  329.568000] af9013: i2c write failed reg:ae00 val:02
[  339.252000] af9015_pid_filter: set pid filter, index 0, pid fa1, onoff 0
[  339.268000] af9015_pid_filter: set pid filter, index 1, pid fa2, onoff 0


2008/4/8, Antti Palosaari <crope@iki.fi>:
> Antti Palosaari wrote:
>
> >  Benoit Paquin wrote:
> >
> > >  Antti,
> > >  Can you explain this? It would be neat if it worked with USB 1.1. There are several old laptops around that could be used as digital video recorder. The main stream vendors (Pinnacle, Hauppauge and ASUS) do not support USB 1.1.
> > >
> >
> >  AF9015 chipset does support USB1.1 but driver not. I haven't see this important enough to implement yet... It is rather easy to implement, lets see if I get inspirations soon ;)
> >
>
>  Implemented now.
>
>
>  regards
>  Antti
>  --
>  http://palosaari.fi/
>

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [linux-dvb] USB 1.1 support for AF9015 DVB-T tuner
  2008-04-08  5:08   ` Antti Palosaari
  2008-04-08  6:52     ` Benoit Paquin
@ 2008-04-08 23:27     ` Zdenek Kabelac
  2008-04-09  3:25       ` Antti Palosaari
  1 sibling, 1 reply; 10+ messages in thread
From: Zdenek Kabelac @ 2008-04-08 23:27 UTC (permalink / raw)
  To: Antti Palosaari; +Cc: linux-dvb, Benoit Paquin

[-- Attachment #1: Type: text/plain, Size: 3053 bytes --]

Hello Antti

2008/4/8, Antti Palosaari <crope@iki.fi>:
> Antti Palosaari wrote:
>  > Benoit Paquin wrote:
>  >> Antti,
>
> >> Can you explain this? It would be neat if it worked with USB 1.1. There
>  >> are several old laptops around that could be used as digital video
>  >> recorder. The main stream vendors (Pinnacle, Hauppauge and ASUS) do not
>  >> support USB 1.1.
>  >
>  > AF9015 chipset does support USB1.1 but driver not. I haven't see this
>  > important enough to implement yet... It is rather easy to implement,
>  > lets see if I get inspirations soon ;)
>
>
> Implemented now.
>


As it looks like my AverTV Hybrid Volar HX is a little bit of no use
for quite some time -
and your afatech driver seems to helpfull to many other users - maybe you could
try to make it help for me as well ??

What do I need to do ?

I've got somewhere some old   dvb-usb-af9015.fw size:15913  md5:
dccbc92c9168cc629a88b34ee67ede7b
(Unsure where do I get the latest one ?))

Then I have added patch (see attachment) to enable usage of your
af9015 driver with my USB stick.

And then I get this dmesg error (with debug=63)

[40667.159908] af9015_usb_probe: interface:0
[40667.159915] >>> 10 00 38 00 00 00 00 01
[40667.159924] af9015: af9015_rw_udev: sending failed: -22 (8/-32512)
[40668.152369] af9015: af9015_rw_udev: receiving failed: -110
[40668.152382] dvb-usb: found a 'AverMedia AverTV Hybrid Volar HX' in
cold state, will try to load a firmware
[40668.166309] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
[40668.166323] af9015_download_firmware:
[40668.166328] >>> 11 01 38 51 00 00 00 37 02 52 00 04 5f 00 00 02 89
52 02 89 56 02 89 5a 02 89 5e 02 89 62 02 89 66 02 89 6a 02 8a 44 02
8a 48 02 8a 4c 02 8a 50 02 8a 54 02 8a 58 02 86 aa 02 68 2d 02 8d 50
[40668.166516] af9015: af9015_rw_udev: sending failed: -22 (63/-1)
[40668.166521] >>> 11 02 38 51 37 00 00 37 02 8e 48 02 8e 4c 02 8e 75
02 7d 2e 02 7d 5c 02 7d 8a 02 7d a7 02 8e 79 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[40668.166710] af9015: af9015_rw_udev: sending failed: -22 (63/-1)
... skip ...
[40668.206928] >>> 11 21 38 8e e0 00 00 37 03 04 05 06 07 06 03 0a 01
00 01 01 02 01 03 03 06 01 01 01 01 3e 80 06 40 7d 00 12 c0 0c 80 0c
80 fa 00 12 c0 0c 80 bb 80 64 00 00 a0 00 00 01 02 01 02 02 02 01 02
[40668.207027] af9015: af9015_rw_udev: sending failed: -22 (63/-1)
[40668.207031] >>> 11 22 38 8f 17 00 00 12 01 01 02 39 18 fe 04 ee 0e
aa 10 d5 14 c9 13 0d 08 fb
[40668.207076] af9015: af9015_rw_udev: sending failed: -22 (26/-1)
[40668.207080] >>> 13 23 38 8f 17 00 00 12
[40668.207097] af9015: af9015_rw_udev: sending failed: -22 (8/-1)
[40834.069145] af9015: af9015_rw_udev: receiving failed: -110
[40834.069161] af9015: af9015_download_firmware: boot failed: -110
[40834.069231] dvb_usb_af9015: probe of 2-2:1.0 failed with error -110
[40834.069367] usbcore: registered new interface driver dvb_usb_af9015


So this doesn't look like a usable for now - is there any chance this
will ever work ?

Thanks

Zdenek

[-- Attachment #2: patch1 --]
[-- Type: application/octet-stream, Size: 1020 bytes --]

diff -ruN af9015-orig/linux/drivers/media/dvb/dvb-usb/af9015.c af9015-6d5e5a6c5281/linux/drivers/media/dvb/dvb-usb/af9015.c
--- af9015-orig/linux/drivers/media/dvb/dvb-usb/af9015.c	2008-04-08 04:22:28.000000000 +0200
+++ af9015-6d5e5a6c5281/linux/drivers/media/dvb/dvb-usb/af9015.c	2008-04-09 01:15:07.000000000 +0200
@@ -862,6 +862,8 @@
 	{USB_DEVICE(USB_VID_VISIONPLUS, 0x3237)},
 	/* TerraTec Cinergy T USB XE (Rev. 2) */
 	{USB_DEVICE(USB_VID_TERRATEC,   0x0069)},
+	/* AverMedia Volar HX */
+	{USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_VOLAR | 0x20)},
 	{0},
 };
 MODULE_DEVICE_TABLE(usb, af9015_usb_table);
@@ -907,7 +909,7 @@
 			},
 		}
 	},
-	.num_device_descs = 7,
+	.num_device_descs = 8,
 	.devices = {
 		{
 			.name = "Afatech AF9015 DVB-T USB2.0 stick",
@@ -945,6 +947,11 @@
 			.cold_ids = {&af9015_usb_table[7], NULL},
 			.warm_ids = {NULL},
 		},
+		{
+			.name = "AverMedia AVerTV Hybrid Volar HX",
+			.cold_ids = {&af9015_usb_table[8], NULL},
+			.warm_ids = {NULL},
+		},
 		{NULL},
 	}
 };

[-- Attachment #3: Type: text/plain, Size: 150 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [linux-dvb] USB 1.1 support for AF9015 DVB-T tuner
  2008-04-08 23:27     ` Zdenek Kabelac
@ 2008-04-09  3:25       ` Antti Palosaari
  2008-04-09  8:30         ` Zdenek Kabelac
  0 siblings, 1 reply; 10+ messages in thread
From: Antti Palosaari @ 2008-04-09  3:25 UTC (permalink / raw)
  To: Zdenek Kabelac; +Cc: linux-dvb, Benoit Paquin

Zdenek Kabelac wrote:
> As it looks like my AverTV Hybrid Volar HX is a little bit of no use
> for quite some time -
> and your afatech driver seems to helpfull to many other users - maybe you could
> try to make it help for me as well ??

I can try :)

> What do I need to do ?
> 
> I've got somewhere some old   dvb-usb-af9015.fw size:15913  md5:
> dccbc92c9168cc629a88b34ee67ede7b
> (Unsure where do I get the latest one ?))

version 4.95 is the latest one.
http://www.otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_files/

> Then I have added patch (see attachment) to enable usage of your
> af9015 driver with my USB stick.

Patch worked, but...

> And then I get this dmesg error (with debug=63)
> 
> [40667.159908] af9015_usb_probe: interface:0
> [40667.159915] >>> 10 00 38 00 00 00 00 01
> [40667.159924] af9015: af9015_rw_udev: sending failed: -22 (8/-32512)
> [40668.152369] af9015: af9015_rw_udev: receiving failed: -110

Are you really sure it is Afatech AF9015? Looks like all USB-messages 
are failing. The only thing this could happen is that device is not 
AF9015 or it is badly broken.

> So this doesn't look like a usable for now - is there any chance this
> will ever work ?

Open stick and see chips used. Taking good resolution photo or two from 
PCB (stick motherboard) would be also nice.

> Thanks
> 
> Zdenek

regards
Antti
-- 
http://palosaari.fi/

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [linux-dvb] USB 1.1 support for AF9015 DVB-T tuner
  2008-04-09  3:25       ` Antti Palosaari
@ 2008-04-09  8:30         ` Zdenek Kabelac
  2008-04-09 15:51           ` Antti Palosaari
  0 siblings, 1 reply; 10+ messages in thread
From: Zdenek Kabelac @ 2008-04-09  8:30 UTC (permalink / raw)
  To: Antti Palosaari; +Cc: linux-dvb, Benoit Paquin

2008/4/9, Antti Palosaari <crope@iki.fi>:
> Zdenek Kabelac wrote:
>
> > As it looks like my AverTV Hybrid Volar HX is a little bit of no use
> > for quite some time -
> > and your afatech driver seems to helpfull to many other users - maybe you
> could
> > try to make it help for me as well ??
> >
>
>  I can try :)

Great ;)

>
>  version 4.95 is the latest one.
> http://www.otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_files/

Yep that should be the one I'm using I guess

>  Are you really sure it is Afatech AF9015? Looks like all USB-messages are
> failing. The only thing this could happen is that device is not AF9015 or it
> is badly broken.

Well it's AF9013 - but as could be seen in the source - the code looks like
it should support both chips  AF9015 & AF9013 - do I had to set manually
some bits somewhere ?


>  Open stick and see chips used. Taking good resolution photo or two from PCB
> (stick motherboard) would be also nice.

Yep - I've already described chips in this device in my December post.

Now there are even some articles about this AvetTV Hybrid Volar HX device
- this one is in Czech - but the chip names should be understandable I guess :)

Here is article:

http://www.tvfreak.cz/art_doc-706394B9D247B386C12573F9003B14B5.html


And here is detailed photo of the AF9013 chip in there:

http://www.tvfreak.cz/tvf/media.nsf/v/B0DE86EDCE9E9972C12573F900407CF3/$file/dsc_0145_large.jpg


Regards

Zdenek

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [linux-dvb] USB 1.1 support for AF9015 DVB-T tuner
  2008-04-09  8:30         ` Zdenek Kabelac
@ 2008-04-09 15:51           ` Antti Palosaari
  2008-04-09 16:05             ` Zdenek Kabelac
  0 siblings, 1 reply; 10+ messages in thread
From: Antti Palosaari @ 2008-04-09 15:51 UTC (permalink / raw)
  To: Zdenek Kabelac; +Cc: linux-dvb, Benoit Paquin

Zdenek Kabelac wrote:
> 2008/4/9, Antti Palosaari <crope@iki.fi>:
>> Zdenek Kabelac wrote:
>>
>>> As it looks like my AverTV Hybrid Volar HX is a little bit of no use

> Well it's AF9013 - but as could be seen in the source - the code looks like
> it should support both chips  AF9015 & AF9013 - do I had to set manually
> some bits somewhere ?

AF9013 is DVB-T demodulator and AF9015 is integrated USB-bridge + AF9013 
demodulator. Your device does not have AF9015 at all. DVB-T USB-device 
needs logically three "chips". USB-bridge, demodulator and tuner. As I 
can understand there is CY7C68013 USB-bridge, AF9013 demodulator and 
TDA18271 tuner. First you should try to find driver for demodulator. 
After thats is OK we can try to connect AF9013 demodulator to USB-bridge 
and TDA18271 tuner to AF9013 demodulator.

regards
Antti
-- 
http://palosaari.fi/

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [linux-dvb] USB 1.1 support for AF9015 DVB-T tuner
  2008-04-09 15:51           ` Antti Palosaari
@ 2008-04-09 16:05             ` Zdenek Kabelac
  2008-04-20  0:24               ` Zdenek Kabelac
  0 siblings, 1 reply; 10+ messages in thread
From: Zdenek Kabelac @ 2008-04-09 16:05 UTC (permalink / raw)
  To: Antti Palosaari; +Cc: linux-dvb

2008/4/9, Antti Palosaari <crope@iki.fi>:
> Zdenek Kabelac wrote:
>
> > 2008/4/9, Antti Palosaari <crope@iki.fi>:
> >
> > > Zdenek Kabelac wrote:
> > >
> > >
> > > > As it looks like my AverTV Hybrid Volar HX is a little bit of no use
> > > >
> > >
> >
>
>
> > Well it's AF9013 - but as could be seen in the source - the code looks
> like
> > it should support both chips  AF9015 & AF9013 - do I had to set manually
> > some bits somewhere ?
> >
>
>  AF9013 is DVB-T demodulator and AF9015 is integrated USB-bridge + AF9013
> demodulator. Your device does not have AF9015 at all. DVB-T USB-device needs
> logically three "chips". USB-bridge, demodulator and tuner. As I can
> understand there is CY7C68013 USB-bridge, AF9013 demodulator and TDA18271
> tuner. First you should try to find driver for demodulator. After thats is
> OK we can try to connect AF9013 demodulator to USB-bridge and TDA18271 tuner
> to AF9013 demodulator.

Yep - that's what I needed to know - I have no idea how these things
are connected so I'll try to find something for CY7C USB-bridge first.

Thanks for hint

Zdenek

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [linux-dvb] USB 1.1 support for AF9015 DVB-T tuner
  2008-04-09 16:05             ` Zdenek Kabelac
@ 2008-04-20  0:24               ` Zdenek Kabelac
  2008-04-20  9:58                 ` Antti Palosaari
  0 siblings, 1 reply; 10+ messages in thread
From: Zdenek Kabelac @ 2008-04-20  0:24 UTC (permalink / raw)
  To: Antti Palosaari; +Cc: linux-dvb

2008/4/9, Zdenek Kabelac <zdenek.kabelac@gmail.com>:
> 2008/4/9, Antti Palosaari <crope@iki.fi>:
>  > Zdenek Kabelac wrote:
>  >
>  >  AF9013 is DVB-T demodulator and AF9015 is integrated USB-bridge + AF9013
>  > demodulator. Your device does not have AF9015 at all. DVB-T USB-device needs
>  > logically three "chips". USB-bridge, demodulator and tuner. As I can
>  > understand there is CY7C68013 USB-bridge, AF9013 demodulator and TDA18271
>  > tuner. First you should try to find driver for demodulator. After thats is
>  > OK we can try to connect AF9013 demodulator to USB-bridge and TDA18271 tuner
>  > to AF9013 demodulator.
>
>
> Yep - that's what I needed to know - I have no idea how these things
>  are connected so I'll try to find something for CY7C USB-bridge first.

Hi

I've tried to replace .usb_ctrl wth CYPRESS_FX2
But didn't get much futher:

[63013.534810] usb 2-2: new high speed USB device using ehci_hcd and address 5
[63014.232871] usb 2-2: configuration #1 chosen from 1 choice
[63014.234708] usb 2-2: New USB device found, idVendor=07ca, idProduct=a827
[63014.234796] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[63014.234802] usb 2-2: Product: AVerTV
[63014.234807] usb 2-2: Manufacturer: AVerMedia
[63014.234812] usb 2-2: SerialNumber: 300426401445
[63014.334662] af9015_usb_probe: interface:0
[63014.334669] >>> 10 00 38 00 00 00 00 01
[63014.334677] af9015: af9015_rw_udev: sending failed: -22 (8/-32512)
[63015.333846] af9015: af9015_rw_udev: receiving failed: -110
[63015.333859] dvb-usb: found a 'AverMedia AVerTV Hybrid Volar HX' in
cold state, will try to load a firmware
[63015.354959] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
[62539.045310] dvb-usb: firmware download failed at 15904 with -22
[62539.045384] dvb_usb_af9015: probe of 2-2:1.0 failed with error -22
[62539.045468] usbcore: registered new interface driver dvb_usb_af9015


Will I need to do any additional modification - any different firmware
for download ?

Is there any guide how to trace the driver in Windows - does anyone
have any experience to use qemu-kvm for this - will this even work ?

Technilly it looks similar to Leadtek Winfast Gold from this discussion:
http://www.mail-archive.com/linux-dvb@linuxtv.org/msg30055.html

But I'm so far lost how the thing should be initialized.

Zdenek

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [linux-dvb] USB 1.1 support for AF9015 DVB-T tuner
  2008-04-20  0:24               ` Zdenek Kabelac
@ 2008-04-20  9:58                 ` Antti Palosaari
  0 siblings, 0 replies; 10+ messages in thread
From: Antti Palosaari @ 2008-04-20  9:58 UTC (permalink / raw)
  To: Zdenek Kabelac; +Cc: linux-dvb

Zdenek Kabelac wrote:
> I've tried to replace .usb_ctrl wth CYPRESS_FX2
> But didn't get much futher:

To AF9015 module? (seen logs)

Looks like you are trying to do it totally wrong way.
You should not use AF9015 at all because your device has CY7C68013 
(AF9015 is "replaced" by CY7C68013).

- CY7C68013 USB-bridge - driver unknown (USB-protocol used depends 
firmware used by this chip. If we have luck there is used protocol that 
has already driver)
- AF9013 demodulator - driver exists
- TDA18271 tuner - driver exists

> Will I need to do any additional modification - any different firmware
> for download ?

Most likely.

> Is there any guide how to trace the driver in Windows - does anyone
> have any experience to use qemu-kvm for this - will this even work ?

There is some help in linuxtv.org wiki.

But here is list of tools I and many other use generally when debugging 
Windows drivers:

USB Snoop
For sniffing USB-data in Windows
http://benoit.papillault.free.fr/usbsnoop/

Usbreplay
For parsing usbsnoop logs and replaying data to device
http://mcentral.de/wiki/index.php5/Usbreplay

VMware Workstation & Player
For running Windows in virtual machine. Supports USB2.0.
http://vmware.com/

Transedit MMC
For tuning to frequency & showing stream information
http://www.dvbviewer.com/en/index.php?page=downloads

> Technilly it looks similar to Leadtek Winfast Gold from this discussion:
> http://www.mail-archive.com/linux-dvb@linuxtv.org/msg30055.html

No. This was only changing to new tuner. You have totally different 
device and situation.

> But I'm so far lost how the thing should be initialized.
> 
> Zdenek

If you can take some Windows sniffs, for example one when plug stick and 
other when tuning successfully to channel, I can try to look what kind 
of USB-protocol is used.

regards
Antti
-- 
http://palosaari.fi/

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-04-20  9:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <7dd90a210804070554t6d8b972xa85eb6a75b0663cd@mail.gmail.com>
2008-04-07 15:15 ` [linux-dvb] USB 1.1 support for AF9015 DVB-T tuner Antti Palosaari
2008-04-08  5:08   ` Antti Palosaari
2008-04-08  6:52     ` Benoit Paquin
2008-04-08 23:27     ` Zdenek Kabelac
2008-04-09  3:25       ` Antti Palosaari
2008-04-09  8:30         ` Zdenek Kabelac
2008-04-09 15:51           ` Antti Palosaari
2008-04-09 16:05             ` Zdenek Kabelac
2008-04-20  0:24               ` Zdenek Kabelac
2008-04-20  9:58                 ` Antti Palosaari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox