View Full Version : Af9015
arnebaier
November 8th, 2007, 01:57 AM
Hi, I am trying to get an AfaTech AF9015 chip (USB stick) up and running, but mythbuntu doesn't seem to recognize it as a DVB-T source. Who can help?
mvirkkil
January 14th, 2008, 08:47 AM
The chip AF9015 is not supported yet.
As you might know the linux-dvb project (http://www.linuxtv.org) develops support for different DVB-chips. One of the people working on it has created a driver to support the AF9015 chip, and you might be able to use it. The sourcecode for the driver can be found in his mercurial repository at http://linuxtv.org/hg/~anttip/af9015/ and the firmware is at http://otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_files/
Please note that getting this to work means you probably need to get the development version of the linux kernel dvb subsystem, patch it and compile it.
Eventually the support will probably get in to linux-dvb and Linux in general but at the moment getting the AF9015 to work is a bit challenging.
seanemerald
January 29th, 2008, 08:44 AM
So once I run "make install" on the downloaded files mentioned above, will the tuner automatically be recognized in mythbuntu or any other media center?
mvirkkil
January 30th, 2008, 11:08 AM
What I did to get it working was (iirc):
- download and extract sources from http://linuxtv.org/hg/~anttip/af9015/archive/ca6a41d1798b.tar.bz2
- compile, you need at least the build-essentials and kernel-headers packages, you will find the compiled kernel modules (*.ko) in the v4l directory
- remove any dvb or v4l kernel modules you currently have loaded in your kernel (lsmod and "modprobe --remove")
- insert the newly compiled modules in to your kernel "sudo insmod ./v4l2-core.ko" etc.
I don't exactly remember which modules I loaded to get it to work. If you get any error like undefined symbol, check dmesg for more information. What I remember is that I needed to modprobe i2c-core, and to insmod at least dvb-usb. the af9013 -frontend and mt2060 and maybe qt1010. Oh and of course af9015. I also added a bunch more because of dependencies revealed by "undefined symbol" messages.
You also need to place the firmware file in /lib/firmware
motumboe
January 31st, 2008, 10:13 AM
@mvirkkil
So you got a tv tuner with af9015 to work??? great!
what is the usb id of your tuner (obtain e.g. with lsusb?)
cheers
motumboe
January 31st, 2008, 10:15 AM
I'm trying to get it working on a Terratec USB T XE tuner but at the moment without success.
USB ID 0ccd 0069
mvirkkil
February 4th, 2008, 11:08 AM
Install at least the following packages
build-essential
linux-headers-generic
dvb-utils
- Download the firmware to /lib/firmware/dvb-usb-af9015.fw
- remove any loaded v4l and dvb modules from your kernel
* first check what modules are loaded by issuing 'lsmod'
* remove modules by calling modprobe --remove modulename
ex: 'sudo modprobe --remove v4l2_common'
* if you get the error message "FATAL: Module v4lsomething is in use.", check which module is using it, and remove that one first.
- Download and unpack af9015-ca6a41d1798b.tar.bz2
- go to the af9015-ca6a41d1798b directory
- run `make`
- go to the subdirectory v4l (typing ls *.ko should show a whole bunch of kernel modules)
- 'sudo modprobe i2c-core'
- 'sudo insmod ./dvb-core.ko'
- 'sudo insmod ./dvb-usb.ko'
- 'sudo insmod ./mt2060.ko'
- 'sudo insmod ./qt1010.ko'
- 'sudo insmod ./af9013.ko'
- 'sudo insmod ./dvb-usb-af9015.ko'
Note: If you get something like "symbol not found (-1)" while insmod:ing the modules, check dmesg for the details and try to figure which module you are missing.
When you input the usb stick you should see the following messages:
af9015_usb_probe:
af9015_identify_state: reply:01
dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in cold state, will try to load a firmware
dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
af9015_download_firmware:
dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick)
af9015_eeprom_dump:
00: 2c 75 9b 0b 00 00 00 00 a4 15 16 90 00 02 01 02
10: 00 80 00 fa fa 10 40 ef 01 30 31 30 31 31 30 30
20: 34 30 36 30 30 30 30 31 ff ff ff ff ff ff ff ff
30: 00 00 3a 01 00 08 02 00 1d 8d c4 04 82 ff ff ff
40: ff ff ff ff ff 08 02 00 1d 8d c4 04 82 ff ff ff
50: ff ff ff ff ff 24 00 00 04 03 09 04 10 03 41 00
60: 66 00 61 00 74 00 65 00 63 00 68 00 10 03 44 00
70: 56 00 42 00 2d 00 54 00 20 00 32 00 20 03 30 00
80: 31 00 30 00 31 00 31 00 30 00 30 00 34 00 30 00
90: 36 00 30 00 30 00 30 00 30 00 31 00 00 ff ff ff
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
af9015_read_config: xtal:2 set adc_clock:28000
af9015_read_config: tuner id1:130
af9015_read_config: spectral inversion:0
af9015_set_gpios:
af9013: firmware version:4.95.0
DVB: registering frontend 0 (Afatech AF9013 DVB-T)...
af9015_tuner_attach:
af9015_mt2060_tuner_attach:
MT2060: successfully identified (IF1 = 1220)
dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected.
af9015_init:
af9015_download_ir_table:
usbcore: registered new interface driver dvb_usb_af9015
Writing 'ls /dev/dvb/adapter0' should show
demux0 dvr0 frontend0 net0
Ok, so next you will need a channels.conf file. To generate it you should use the command (replace xx-CityName with something more suitable):
'scan /usr/share/doc/dvb-utils/examples/scan/dvb-t/xx-CityName > channels.conf'
I haven't tested it very heavily, just by using xine. I couldn't get the radio channels to work in xine so I simply removed them from the config file.
To test it with xine copy the channels.conf file to the .xine directory. Start xine and press the dvb button.
There is currently no support for the remote controller, so I have not inserted the modules that the remote would use (probably ir-common.ko and ir-kbd-i2c.ko).
'lsusb -v' shows the following info about the stick:
Bus 007 Device 002: ID 15a4:9016
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x15a4
idProduct 0x9016
bcdDevice 2.00
iManufacturer 1 Afatech
iProduct 2 DVB-T 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 71
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 1 Keyboard
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.01
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 65
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 16
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)
teetee
February 4th, 2008, 01:18 PM
When trying to install af9015-ca6a41d1798b (or v4l) I'll get:
/home/tt/asennus/AlinkUSBdigi/af9015-ca6a41d1798b/v4l/saa7134-core.c: In function 'saa7134_resume':
/home/tt/asennus/AlinkUSBdigi/af9015-ca6a41d1798b/v4l/saa7134-core.c:1348: error: size of array 'type name' is negative
/home/tt/asennus/AlinkUSBdigi/af9015-ca6a41d1798b/v4l/saa7134-core.c:1348: warning: comparison of distinct pointer types lacks a cast
/home/tt/asennus/AlinkUSBdigi/af9015-ca6a41d1798b/v4l/saa7134-core.c:1362: error: size of array 'type name' is negative
/home/tt/asennus/AlinkUSBdigi/af9015-ca6a41d1798b/v4l/saa7134-core.c:1362: warning: comparison of distinct pointer types lacks a cast
make[3]: *** [/home/tt/asennus/AlinkUSBdigi/af9015-ca6a41d1798b/v4l/saa7134-core.o] Error 1
make[2]: *** [_module_/home/tt/asennus/AlinkUSBdigi/af9015-ca6a41d1798b/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-rt'
make[1]: *** [default] Virhe 2
make[1]: Poistutaan hakemistosta "/home/tt/asennus/AlinkUSBdigi/af9015-ca6a41d1798b/v4l"
make: *** [all] Virhe 2
And that "Virhe" is Error...
teetee
February 4th, 2008, 01:32 PM
And by the way, from where can I found firmware that is needed here?
http://otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_files/
Won't open...
Edit: And should that firmware be located at /lib/firmware/dvb-usb-af9015.fw before starting to do anything else?
motumboe
February 5th, 2008, 03:27 AM
mvirkkil,
thank you very much for your really detailed explanation! This evening I'll try it!
Thank you again,
Marco
motumboe
February 5th, 2008, 03:30 AM
When trying to install af9015-ca6a41d1798b (or v4l) I'll get:
And that "Virhe" is Error...
teetee, check out if this is the problem:
http://linuxtv.org/wiki/index.php/Afatech_AF9015
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.
teetee
February 5th, 2008, 11:05 AM
OK.
Where that MT2060M.h -file can be found? I have found:
mt20xx.h, mt2060.h and mt2060_priv.h -files (in several places, actually).
So if it some one of those, then in what directory file needed to patch is located?
Thanks.
Edit:
Hmm. Maybe I have tried with wrong drivers? Now I got drivers from here:
http://af.zsolttech.com/
teetee
February 5th, 2008, 11:33 AM
Ok. Now I have installed drivers. Nice...
dmesg | grep dvb
[ 4090.537745] dvb-usb: found a 'Afatech USB2.0 DVB-T Recevier' in warm state.
[ 4090.539739] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 4090.543733] dvb-usb: Afatech USB2.0 DVB-T Recevier successfully initialized and connected.
[ 4090.543759] usbcore: registered new interface driver dvb_usb_af901x
Is anything else needed to install? Well, next I will try to use this one also. So I will try to find something to watch...
teetee
February 5th, 2008, 12:08 PM
It seems that it is now working. Badly, but working anyway...
There is lot of errors (or something) in audio and video. Also all channels cannot be found. And I have my house's antenna attached.
teetee
February 5th, 2008, 12:47 PM
If anybody know place to get firmware for AF9015 let me know... (maybe I should get correct firmware to get better quality?)
Also I am wondering if my USB-port cannot give enough power, but I will get very soon USB-hub to test, so I will find that out.
Edit: USB-hub didn't help.
motumboe
February 5th, 2008, 05:44 PM
unfortunately my tuner uses mc44s803 from freescale, I'll try a different way http://linuxtv.org/pipermail/linux-dvb/2007-September/020689.html
thanks anyway again.
mvirkkil
February 11th, 2008, 12:39 PM
Try the followin address instead:
http://www.otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_files/4.95.0/dvb-usb-af9015.fw
ceminino
February 14th, 2008, 02:47 PM
I don't speak spanish but I managed to make it work thanks to this page, it's quite easy actually! Just copy paste!
http://www.ubuntu-es.org/index.php?q=node/76680
though I didn't figure out how to make it work with vlc but mplayer /dev/dvb/adapter0/dvr0 works.
mvirkkil
February 15th, 2008, 09:45 AM
FYI: Antti added support for the remote control which comes with the af9015. I don't have the remote control so I cannot test or give additional instructions, but I figured someone might be interested in trying it out. http://linuxtv.org/hg/~anttip/af9015/
ceminino
February 19th, 2008, 07:54 AM
damn! installing the tuner somehow destroyed the webcam, The module uvcvideo.ko can't be loaded anymore!
FATAL: Error inserting uvcvideo (/lib/modules/2.6.22-14-generic/ubuntu/media/usbvideo/uvcvideo.ko): Unknown symbol in module, or unknown parameter (see dmesg)
damn!
mvirkkil
February 25th, 2008, 12:30 PM
The reason why the webcam stopped working is that you inserted your own video4linux modules, and the uvcvideo module is compiled against the ubuntu video4linux. This is not really a bug or a problem. You cannot mix and match different versions of the video4linux. To get it to work, you would need to get the uvcvideo module's sources and compile against your version of the video4linux.
Hopey
May 19th, 2008, 08:48 AM
I got some strange problem with this. I compile the modules, install them, and dmesg gives me all the usual stuff and in the end:
[ 3269.339841] d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3269.365453] e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3269.391437] f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3269.392937] af9015_read_config: xtal:2 set adc_clock:28000
[ 3269.396064] af9015_read_config: IF1:36125
[ 3269.399190] af9015_read_config: MT2060 IF1:1220
[ 3269.400683] af9015_read_config: tuner id1:130
[ 3269.402181] af9015_read_config: spectral inversion:0
[ 3269.403679] af9013: firmware version:4.95.0
[ 3269.403687] DVB: registering frontend 0 (Afatech AF9013 DVB-T)...
[ 3269.403746] af9015_tuner_attach:
[ 3269.403751] af9015_set_gpio: gpio:3 gpioval:03
[ 3269.407536] MT2060: successfully identified (IF1 = 1220)
[ 3269.882659] dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected.
[ 3269.882669] af9015_init:
[ 3269.882672] af9015_init_endpoint: USB speed:3
[ 3269.888161] af9015_download_ir_table:
[ 3269.956057] input: MSI MSI K-VOX as /devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5:1.1/input/input20
[ 3270.003593] input,hidraw1: USB HID v1.01 Keyboard [MSI MSI K-VOX] on usb-0000:00:1d.7-5
See the last lines about some MSI input keyboard. That happens every time I plug the dvb-t stick. lsusb -v doesn't show the dvb-t installed, but it shows the keyboard that I don't have. Is this some kind of conflict? How could I resolve it?
ernstkl
June 21st, 2008, 03:51 AM
the keyboard device you see is the representation of the remote control input from the dvb-t stick
dagrende
August 18th, 2008, 04:12 PM
Hi,
Thank you mvirkkil for the guide that made my af9015 work!
Now I would like a permanent working af9015 even after a reboot.
The funny thing is that is I check out af9015 and make make; sudo make install, it doesn't work.
But it works if I do as mvirkkil said:
cd v4l
sudo modprobe i2c-core
sudo insmod ./dvb-core.ko
sudo insmod ./dvb-usb.ko
sudo insmod ./mt2060.ko
sudo insmod ./qt1010.ko
sudo insmod ./af9013.ko
sudo insmod ./dvb-usb-af9015.ko
dmesg on device insert in this case (when it works):
Aug 18 22:04:51 tp kernel: [ 759.781462] usb 4-2: new high speed USB device using ehci_hcd and address 38
Aug 18 22:04:51 tp kernel: [ 759.934742] usb 4-2: configuration #1 chosen from 1 choice
Aug 18 22:04:51 tp kernel: [ 759.935218] af9015_usb_probe: interface:0
Aug 18 22:04:51 tp kernel: [ 759.960194] af9015_read_config: IR mode:1
Aug 18 22:04:51 tp kernel: [ 759.961971] af9015_read_config: TS mode:0
Aug 18 22:04:51 tp kernel: [ 759.963982] af9015_read_config: [0] xtal:2 set adc_clock:28000
Aug 18 22:04:51 tp kernel: [ 759.967843] af9015_read_config: [0] IF1:36125
Aug 18 22:04:51 tp kernel: [ 759.970998] af9015_read_config: [0] MT2060 IF1:1220
Aug 18 22:04:51 tp kernel: [ 759.972532] af9015_read_config: [0] tuner id:130
Aug 18 22:04:51 tp kernel: [ 759.973265] af9015_identify_state: reply:01
Aug 18 22:04:51 tp kernel: [ 759.973274] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in cold state, will try to load a firmware
Aug 18 22:04:51 tp kernel: [ 759.999217] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
Aug 18 22:04:51 tp kernel: [ 759.999226] af9015_download_firmware:
Aug 18 22:04:51 tp kernel: [ 760.083687] af9015_usb_probe: interface:1
Aug 18 22:04:51 tp kernel: [ 760.083749] usb 4-2: USB disconnect, address 38
Aug 18 22:04:51 tp kernel: [ 760.103630] af9015_usb_device_exit:
Aug 18 22:04:51 tp kernel: [ 760.103635] dvb-usb: generic DVB-USB module successfully deinitialized and disconnected.
Aug 18 22:04:51 tp kernel: [ 760.103697] af9015_usb_device_exit:
Aug 18 22:04:51 tp kernel: [ 760.103699] dvb-usb: generic DVB-USB module successfully deinitialized and disconnected.
Aug 18 22:04:51 tp kernel: [ 760.196143] usb 4-2: new high speed USB device using ehci_hcd and address 39
Aug 18 22:04:52 tp kernel: [ 760.350085] usb 4-2: configuration #1 chosen from 1 choice
Aug 18 22:04:52 tp kernel: [ 760.350580] af9015_usb_probe: interface:0
Aug 18 22:04:52 tp kernel: [ 760.351997] af9015_read_config: IR mode:1
Aug 18 22:04:52 tp kernel: [ 760.361579] af9015_read_config: TS mode:0
Aug 18 22:04:52 tp kernel: [ 760.363239] af9015_read_config: [0] xtal:2 set adc_clock:28000
Aug 18 22:04:52 tp kernel: [ 760.367877] af9015_read_config: [0] IF1:36125
Aug 18 22:04:52 tp kernel: [ 760.370952] af9015_read_config: [0] MT2060 IF1:1220
Aug 18 22:04:52 tp kernel: [ 760.372499] af9015_read_config: [0] tuner id:130
Aug 18 22:04:52 tp kernel: [ 760.372941] af9015_identify_state: reply:02
Aug 18 22:04:52 tp kernel: [ 760.372948] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in warm state.
Aug 18 22:04:52 tp kernel: [ 760.373024] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
Aug 18 22:04:52 tp kernel: [ 760.373848] DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick)
Aug 18 22:04:52 tp kernel: [ 760.374240] af9015_af9013_frontend_attach: init I2C
Aug 18 22:04:52 tp kernel: [ 760.374245] af9015_i2c_init:
Aug 18 22:04:52 tp kernel: [ 760.402480] 00: 2c 1a 97 0b 00 00 00 00 a4 15 16 90 00 02 01 02
Aug 18 22:04:52 tp kernel: [ 760.434136] 10: 00 80 00 fa fa 10 40 ef 01 30 31 30 31 30 34 30
Aug 18 22:04:52 tp kernel: [ 760.461589] 20: 31 30 38 30 30 30 30 31 ff ff ff ff ff ff ff ff
Aug 18 22:04:52 tp kernel: [ 760.480674] 30: 00 00 3a 01 00 08 02 00 1d 8d c4 04 82 ff ff ff
Aug 18 22:04:52 tp kernel: [ 760.494160] 40: ff ff ff ff ff 08 02 00 1d 8d c4 04 82 ff ff ff
Aug 18 22:04:52 tp kernel: [ 760.508045] 50: ff ff ff ff ff 24 00 00 04 03 09 04 10 03 41 00
Aug 18 22:04:52 tp kernel: [ 760.521327] 60: 66 00 61 00 74 00 65 00 63 00 68 00 0c 03 44 00
Aug 18 22:04:52 tp kernel: [ 760.534550] 70: 56 00 42 00 2d 00 54 00 20 03 30 00 31 00 30 00
Aug 18 22:04:52 tp kernel: [ 760.547674] 80: 31 00 30 00 31 00 30 00 31 00 30 00 36 00 30 00
Aug 18 22:04:52 tp kernel: [ 760.561136] 90: 30 00 30 00 30 00 31 00 00 ff ff ff ff ff ff ff
Aug 18 22:04:52 tp kernel: [ 760.574383] a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Aug 18 22:04:52 tp kernel: [ 760.589803] b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Aug 18 22:04:52 tp kernel: [ 760.603388] c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Aug 18 22:04:52 tp kernel: [ 760.618904] d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Aug 18 22:04:52 tp kernel: [ 760.640390] e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Aug 18 22:04:52 tp kernel: [ 760.664482] f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Aug 18 22:04:52 tp kernel: [ 760.667478] af9013: firmware version:4.95.0
Aug 18 22:04:52 tp kernel: [ 760.673472] DVB: registering frontend 0 (Afatech AF9013 DVB-T)...
Aug 18 22:04:52 tp kernel: [ 760.673522] af9015_tuner_attach:
Aug 18 22:04:52 tp kernel: [ 760.675948] MT2060: successfully identified (IF1 = 1220)
Aug 18 22:04:53 tp kernel: [ 761.246316] dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected.
Aug 18 22:04:53 tp kernel: [ 761.246328] af9015_init:
Aug 18 22:04:53 tp kernel: [ 761.246331] af9015_init_endpoint: USB speed:3
Aug 18 22:04:53 tp kernel: [ 761.257393] af9015_download_ir_table:
Aug 18 22:04:53 tp kernel: [ 761.260374] input: Afatech DVB-T as /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.1/input/input32
Aug 18 22:04:53 tp kernel: [ 761.362194] input,hidraw0: USB HID v1.01 Keyboard [Afatech DVB-T] on usb-0000:00:1d.7-2
When I did only make;sudo make install (and it does NOT work) I get dmesg on device insert:
Aug 18 22:01:53 tp kernel: [ 729.692630] usb 4-2: new high speed USB device using ehci_hcd and address 36
Aug 18 22:01:53 tp kernel: [ 729.846042] usb 4-2: configuration #1 chosen from 1 choice
Aug 18 22:01:53 tp kernel: [ 729.846471] af9015_usb_probe: interface:0
Aug 18 22:01:53 tp kernel: [ 729.847824] af9015_read_config: IR mode:1
Aug 18 22:01:53 tp kernel: [ 729.858341] af9015_read_config: TS mode:0
Aug 18 22:01:53 tp kernel: [ 729.860055] af9015_read_config: [0] xtal:2 set adc_clock:28000
Aug 18 22:01:53 tp kernel: [ 729.864829] af9015_read_config: [0] IF1:36125
Aug 18 22:01:53 tp kernel: [ 729.867861] af9015_read_config: [0] MT2060 IF1:1220
Aug 18 22:01:53 tp kernel: [ 729.869369] af9015_read_config: [0] tuner id:130
Aug 18 22:01:53 tp kernel: [ 729.869931] af9015_identify_state: reply:01
Aug 18 22:01:53 tp kernel: [ 729.869938] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in cold state, will try to load a firmware
Aug 18 22:01:53 tp kernel: [ 729.884530] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
Aug 18 22:01:53 tp kernel: [ 729.884539] af9015_download_firmware:
Aug 18 22:01:54 tp kernel: [ 729.957170] af9015_usb_probe: interface:1
Aug 18 22:01:54 tp kernel: [ 729.957305] usb 4-2: USB disconnect, address 36
Aug 18 22:01:54 tp kernel: [ 729.961905] af9015_usb_device_exit:
Aug 18 22:01:54 tp kernel: [ 729.961913] dvb-usb: generic DVB-USB module successfully deinitialized and disconnected.
Aug 18 22:01:54 tp kernel: [ 729.962053] af9015_usb_device_exit:
Aug 18 22:01:54 tp kernel: [ 729.962056] dvb-usb: generic DVB-USB module successfully deinitialized and disconnected.
Aug 18 22:01:54 tp kernel: [ 730.059946] usb 4-2: new high speed USB device using ehci_hcd and address 37
Aug 18 22:01:54 tp kernel: [ 730.214357] usb 4-2: configuration #1 chosen from 1 choice
Aug 18 22:01:54 tp kernel: [ 730.214766] af9015_usb_probe: interface:0
Aug 18 22:01:54 tp kernel: [ 730.216244] af9015_read_config: IR mode:1
Aug 18 22:01:54 tp kernel: [ 730.217866] af9015_read_config: TS mode:0
Aug 18 22:01:54 tp kernel: [ 730.220446] af9015_read_config: [0] xtal:2 set adc_clock:28000
Aug 18 22:01:54 tp kernel: [ 730.223514] af9015_read_config: [0] IF1:36125
Aug 18 22:01:54 tp kernel: [ 730.226482] af9015_read_config: [0] MT2060 IF1:1220
Aug 18 22:01:54 tp kernel: [ 730.227977] af9015_read_config: [0] tuner id:130
Aug 18 22:01:54 tp kernel: [ 730.228476] af9015_identify_state: reply:02
Aug 18 22:01:54 tp kernel: [ 730.228479] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in warm state.
Aug 18 22:01:54 tp kernel: [ 730.228510] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
Aug 18 22:01:54 tp kernel: [ 730.228832] DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick)
Aug 18 22:01:54 tp kernel: [ 730.229008] af9015_af9013_frontend_attach: init I2C
Aug 18 22:01:54 tp kernel: [ 730.229010] af9015_i2c_init:
Aug 18 22:01:54 tp kernel: [ 730.258153] 00: 2c 1a 97 0b 00 00 00 00 a4 15 16 90 00 02 01 02
Aug 18 22:01:54 tp kernel: [ 730.285104] 10: 00 80 00 fa fa 10 40 ef 01 30 31 30 31 30 34 30
Aug 18 22:01:54 tp kernel: [ 730.307676] 20: 31 30 38 30 30 30 30 31 ff ff ff ff ff ff ff ff
Aug 18 22:01:54 tp kernel: [ 730.321213] 30: 00 00 3a 01 00 08 02 00 1d 8d c4 04 82 ff ff ff
Aug 18 22:01:54 tp kernel: [ 730.334400] 40: ff ff ff ff ff 08 02 00 1d 8d c4 04 82 ff ff ff
Aug 18 22:01:54 tp kernel: [ 730.348213] 50: ff ff ff ff ff 24 00 00 04 03 09 04 10 03 41 00
Aug 18 22:01:54 tp kernel: [ 730.361773] 60: 66 00 61 00 74 00 65 00 63 00 68 00 0c 03 44 00
Aug 18 22:01:54 tp kernel: [ 730.375442] 70: 56 00 42 00 2d 00 54 00 20 03 30 00 31 00 30 00
Aug 18 22:01:54 tp kernel: [ 730.388763] 80: 31 00 30 00 31 00 30 00 31 00 30 00 36 00 30 00
Aug 18 22:01:54 tp kernel: [ 730.402649] 90: 30 00 30 00 30 00 31 00 00 ff ff ff ff ff ff ff
Aug 18 22:01:54 tp kernel: [ 730.415237] a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Aug 18 22:01:54 tp kernel: [ 730.428964] b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Aug 18 22:01:54 tp kernel: [ 730.442202] c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Aug 18 22:01:54 tp kernel: [ 730.455585] d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Aug 18 22:01:54 tp kernel: [ 730.468783] e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Aug 18 22:01:54 tp kernel: [ 730.483411] f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Aug 18 22:01:54 tp kernel: [ 730.486409] af9013: firmware version:4.95.0
Aug 18 22:01:54 tp kernel: [ 730.492407] DVB: registering frontend 0 (Afatech AF9013 DVB-T)...
Aug 18 22:01:54 tp kernel: [ 730.492483] af9015_tuner_attach:
Aug 18 22:01:54 tp kernel: [ 730.493271] mt2060 I2C read failed
Aug 18 22:01:54 tp kernel: [ 730.493350] dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected.
Aug 18 22:01:54 tp kernel: [ 730.493355] af9015_init:
Aug 18 22:01:54 tp kernel: [ 730.493358] af9015_init_endpoint: USB speed:3
Aug 18 22:01:54 tp kernel: [ 730.509864] af9015_download_ir_table:
Aug 18 22:01:54 tp kernel: [ 730.514170] input: Afatech DVB-T as /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.1/input/input31
Aug 18 22:01:55 tp kernel: [ 730.609633] input,hidraw0: USB HID v1.01 Keyboard [Afatech DVB-T] on usb-0000:00:1d.7-2
So how do I do to simply get the device working whenever I insert it?
seanemerald
January 6th, 2009, 08:07 AM
I got my card running some time ago after following the steps given in the link below:
http://cutec.wordpress.com/2008/09/04/xubuntu-hardy-8041-fujtech-dvb-t-usb-stick-and-how-to-install-drivers/
In order to watch TV with VLC, first generate a channel.conf file, based on the steps given in the link below, and then just open it with VLC player!
http://davidwinter.me.uk/articles/2008/02/08/watching-freeview-dvb-t-tv-with-vlc-player-on-ubuntu/
Works like a charm for me!
vBulletin® v3.8.0 Release Candidate 2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.