Afatech AF9015: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
Line 11: Line 11:
http://jusst.de/hg/af901x
http://jusst.de/hg/af901x


http://linuxtv.org/hg/~anttip/af9015/ (Supports only AF9015 with MT2060 and MT2061 tuners.)
http://linuxtv.org/hg/~anttip/af9015/ (Supported tuners are: MT2060, MT2061 and QT1010.)


==Vendor driver==
==Vendor driver==

Revision as of 20:27, 23 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:

Mercurial

http://jusst.de/hg/af901x

http://linuxtv.org/hg/~anttip/af9015/ (Supported tuners are: MT2060, MT2061 and QT1010.)

Vendor driver

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;

with

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?

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