Afatech AF9015: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
m (some re-org'ing)
Line 6: Line 6:
* The [http://www.unisupport.net/lang/au/index.html Elements High Definition DVB-T Receiver Model no DK-5203].
* The [http://www.unisupport.net/lang/au/index.html Elements High Definition DVB-T Receiver Model no DK-5203].
* Dongles with USB ID 15a4:9016 (or 15a4:9015 ?), such as the [http://support.a-link.com/dtu/upd_idm.htm A-Link DTU (m) ]
* Dongles with USB ID 15a4:9016 (or 15a4:9015 ?), such as the [http://support.a-link.com/dtu/upd_idm.htm A-Link DTU (m) ]
* Geniatech T328B


==Mercurial==
==Drivers==


===Opensource Mercurial Repositories===
http://jusst.de/hg/af901x
* http://jusst.de/hg/af901x
* http://linuxtv.org/hg/~anttip/af9015/ (Supported tuners are: MT2060, MT2061 and QT1010.)


===Vendor Released Driver===
http://linuxtv.org/hg/~anttip/af9015/ (Supported tuners are: MT2060, MT2061 and QT1010.)
A vendor-written driver is available from http://af.zsolttech.com/ . Users have reported that it is indeed working, including for x64_64 (for some further information see the threads [http://forum.ubuntuusers.de/topic/127976/#1029411 here] and [http://marc.info/?l=linux-dvb&m=119437137719022&w=2 here].


For devices based on the MT2060 tuner (such as the Geniatech T328B) you may need to patch the file MT2060M.h in the following way:
==Vendor driver==


replace
There's a reportedly working vendor-written driver available from http://af.zsolttech.com/ (See also http://forum.ubuntuusers.de/topic/127976/#1029411 and http://marc.info/?l=linux-dvb&m=119437953031536&w=2 and http://marc.info/?l=linux-dvb&m=119437137719022&w=2 )

==x64_64==
I confirm that the driver from http://af.zsolttech.com/ works fine for Geniatech T328B in x86_64 linux (I use 2.6.23.1 SMP) when you patch the file MT2060M.h in the following way: replace


typedef unsigned long UData_t;
typedef unsigned long UData_t;
Line 26: Line 27:
typedef unsigned int UData_t;
typedef unsigned int UData_t;


Then compile, install, modprobe dvb_usb_af9015 and you are finished. Remote control does not work for me. Anybody knows how to do this?
Then compile, install, modprobe dvb_usb_af9015 and you are finished.


==Driver Development Log==
==Driver Development Log==

Revision as of 04:03, 24 December 2007

A DVB-T demodulator from Afatech. This is the company's second generation COFDM demodulator, and is the successor to the AF9005.

This chip is the main USB control/demux in some cheap DVB-T USB devices currently available, such as:

Drivers

Opensource Mercurial Repositories

Vendor Released Driver

A vendor-written driver is available from http://af.zsolttech.com/ . Users have reported that it is indeed working, including for x64_64 (for some further information see the threads here and here.

For devices based on the MT2060 tuner (such as the Geniatech T328B) you may need to patch the file MT2060M.h in the following way:

replace

typedef unsigned long   UData_t;

with

typedef unsigned int   UData_t;

Then compile, install, modprobe dvb_usb_af9015 and you are finished.

Driver Development Log

I'm currently writing a driver for this chip, and as there's not much around in terms of a howto on this subject, I thought it might be worth documenting the process.

I've got a head start in that there is an earlier chip from Afatech, the AF9005, for which drivers were recently written/developed. I've got the driver source code for that chip along with the documentation for that and my chip, so I'm going to be working on modifying the AF9005 drivers to work with the AF9015. I'm not sure if I'm allowed to post the documentations here, I'll find out and if so a link will be posted.

To start with, there are some great Linux USB tutorials on Linux Journal:

Also get the source for V4L-DVB:

You will find the usb drivers are in ./v4l-dvb/linux/drivers/media/dvb/dvb-usb. Have a bit of a browse through them while you're reading through the first article above, get a feel for how the driver is put together. (There is a procedure described in http://www.ubuntuforums.org/showthread.php?p=1067326).

External Links