Results 1 to 10 of 23

Thread: AF9035 USB DVB-T Karmic 64bit install problem

Hybrid View

  1. #1
    Join Date
    Dec 2009
    Beans
    7

    Thumbs down AF9035 USB DVB-T Karmic 64bit install problem

    I am hoping some one is able to help me to get a AF9035 USB DVB-T working in Karmic 64bit on a Asrock Ion330

    I have spent a month attempting this following the instructions provided in the files sent to me by the device manuf and then the chip manuf , and then many instructions scattered around , but none of them have produced any joy.

    files I have recieved are available here - including I think source from the chip manuf

    http://www.linux-cam.com/downloads/MiniTV_For_Linux.rar

    http://www.linux-cam.com/downloads/9...V9.07.10.1.zip

    a photo of the internals is here showing the 9035B chip and the FC011

    http://www.linux-cam.com/downloads/E...rnals_3243.jpg


    I have followed tutorials instructing me to install and compile mecurial , v4l , gcc , linux-headers dvb-apps , but still do not get any success.

    I have seen some mention saying that the problem is the device being recognised as a USB HID v1.01 Keyboard and that the loading of the module for this in modprobe needs to be disabled via a quirk command , but I have not tried this yet as I am not sure I understand exactly what is required to be done.

    lsusb output

    mumarae@mumarae-desktop:~$ lsusb
    Bus 002 Device 010: ID 0a5c:2100 Broadcom Corp. Bluetooth 2.0+eDR dongle
    Bus 002 Device 009: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 Webcam
    Bus 002 Device 004: ID 0a5c:4500 Broadcom Corp.
    Bus 002 Device 003: ID 045e:00cb Microsoft Corp.
    Bus 002 Device 002: ID 045e:0750 Microsoft Corp.
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 007: ID 15a4:1001
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    mumarae@mumarae-desktop:~$
    dmesg

    [ 1040.200042] usb 1-4: new high speed USB device using ehci_hcd and address 7
    [ 1040.357187] usb 1-4: configuration #1 chosen from 1 choice
    [ 1040.362195] input: Afa Technologies Inc. AF9035A USB Device as /devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.1/input/input6
    [ 1040.362393] generic-usb 0003:15A4:1001.0004: input,hidraw3: USB HID v1.01 Keyboard [Afa Technologies Inc. AF9035A USB Device] on usb-0000:00:04.1-4/input1
    when following the instructions from the readme/user guide in the MiniTV_For_linux.rar the output is as follows

    mumarae@mumarae-desktop:~$ cd v9.08.14.1/
    mumarae@mumarae-desktop:~/v9.08.14.1$ ls
    EZTV Linux TV User Guide.doc ITE-Linux-AF903x-v9.08.14.1.sh ReadMe.txt
    mumarae@mumarae-desktop:~/v9.08.14.1$ sudo sh ITE-Linux-AF903x-v9.08.14.1.sh
    [sudo] password for mumarae:
    ITE-Linux-AF903x-v9.08.14.1.sh: 21: [[: not found
    ITE-Linux-AF903x-v9.08.14.1.sh: 30: [[: not found
    ITE-Linux-AF903x-v9.08.14.1.sh: 38: [[: not found
    1. Install ITEtech AF9035 Driver
    2. Remove ITEtech AF9035 Driver
    Please Input Your Choise:
    1
    Please wait a minute
    cp: cannot stat `api/.*.o.cmd': No such file or directory
    make -C /lib/modules/2.6.31-17-generic/build SUBDIRS=/tmp/ite-install/installer/AF903x_SRC modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.31-17-generic'
    CC [M] /tmp/ite-install/installer/AF903x_SRC/af903x-core.o
    In file included from /tmp/ite-install/installer/AF903x_SRC/af903x-core.c:1:
    /tmp/ite-install/installer/AF903x_SRC/af903x.h:15:21: error: dvb-usb.h: No such file or directory
    In file included from /tmp/ite-install/installer/AF903x_SRC/type.h:4,
    from /tmp/ite-install/installer/AF903x_SRC/demodulator.h:5,
    from /tmp/ite-install/installer/AF903x_SRC/af903x.h:17,
    from /tmp/ite-install/installer/AF903x_SRC/af903x-core.c:1:
    /tmp/ite-install/installer/AF903x_SRC/userdef.h:11:1: warning: "NULL" redefined
    In file included from include/linux/kernel.h:12,
    from /tmp/ite-install/installer/AF903x_SRC/af903x.h:6,
    from /tmp/ite-install/installer/AF903x_SRC/af903x-core.c:1:
    include/linux/stddef.h:10:1: warning: this is the location of the previous definition
    In file included from /tmp/ite-install/installer/AF903x_SRC/demodulator.h:5,
    from /tmp/ite-install/installer/AF903x_SRC/af903x.h:17,
    from /tmp/ite-install/installer/AF903x_SRC/af903x-core.c:1:
    /tmp/ite-install/installer/AF903x_SRC/type.h:6:1: warning: "IN" redefined
    In file included from /tmp/ite-install/installer/AF903x_SRC/type.h:4,
    from /tmp/ite-install/installer/AF903x_SRC/demodulator.h:5,
    from /tmp/ite-install/installer/AF903x_SRC/af903x.h:17,
    from /tmp/ite-install/installer/AF903x_SRC/af903x-core.c:1:
    /tmp/ite-install/installer/AF903x_SRC/userdef.h:21:1: warning: this is the location of the previous definition
    In file included from /tmp/ite-install/installer/AF903x_SRC/demodulator.h:5,
    from /tmp/ite-install/installer/AF903x_SRC/af903x.h:17,
    from /tmp/ite-install/installer/AF903x_SRC/af903x-core.c:1:
    /tmp/ite-install/installer/AF903x_SRC/type.h:7:1: warning: "OUT" redefined
    In file included from /tmp/ite-install/installer/AF903x_SRC/type.h:4,
    from /tmp/ite-install/installer/AF903x_SRC/demodulator.h:5,
    from /tmp/ite-install/installer/AF903x_SRC/af903x.h:17,
    from /tmp/ite-install/installer/AF903x_SRC/af903x-core.c:1:
    /tmp/ite-install/installer/AF903x_SRC/userdef.h:22:1: warning: this is the location of the previous definition
    In file included from /tmp/ite-install/installer/AF903x_SRC/af903x-core.c:1:
    /tmp/ite-install/installer/AF903x_SRC/af903x.h:201: error: array type has incomplete element type
    /tmp/ite-install/installer/AF903x_SRC/af903x-core.c:5: warning: data definition has no type or storage class
    /tmp/ite-install/installer/AF903x_SRC/af903x-core.c:5: warning: type defaults to âintâ in declaration of âDVB_DEFINE_MOD_OPT_ADAPTER_NRâ
    /tmp/ite-install/installer/AF903x_SRC/af903x-core.c:5: warning: parameter names (without types) in function declaration
    /tmp/ite-install/installer/AF903x_SRC/af903x-core.c: In function âaf903x_probeâ:
    /tmp/ite-install/installer/AF903x_SRC/af903x-core.c:34: error: implicit declaration of function âdvb_usb_device_initâ
    /tmp/ite-install/installer/AF903x_SRC/af903x-core.c:34: error: âadapter_nrâ undeclared (first use in this function)
    /tmp/ite-install/installer/AF903x_SRC/af903x-core.c:34: error: (Each undeclared identifier is reported only once
    /tmp/ite-install/installer/AF903x_SRC/af903x-core.c:34: error: for each function it appears in.)
    /tmp/ite-install/installer/AF903x_SRC/af903x-core.c: In function âaf903x_suspendâ:
    /tmp/ite-install/installer/AF903x_SRC/af903x-core.c:51: warning: passing argument 2 of âDL_CheckTunerInitedâ from incompatible pointer type
    /tmp/ite-install/installer/AF903x_SRC/af903x.h:218: note: expected âenum Bool *â but argument is of type âbool *â
    /tmp/ite-install/installer/AF903x_SRC/af903x-core.c:52: warning: passing argument 2 of âDL_CheckTunerInitedâ from incompatible pointer type
    /tmp/ite-install/installer/AF903x_SRC/af903x.h:218: note: expected âenum Bool *â but argument is of type âbool *â
    /tmp/ite-install/installer/AF903x_SRC/af903x-core.c: At top level:
    /tmp/ite-install/installer/AF903x_SRC/af903x-core.c:94: error: âdvb_usb_device_exitâ undeclared here (not in a function)
    /tmp/ite-install/installer/AF903x_SRC/af903x-core.c: In function âaf903x_module_initâ:
    /tmp/ite-install/installer/AF903x_SRC/af903x-core.c:104: error: implicit declaration of function âinfoâ
    make[2]: *** [/tmp/ite-install/installer/AF903x_SRC/af903x-core.o] Error 1
    make[1]: *** [_module_/tmp/ite-install/installer/AF903x_SRC] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-17-generic'
    make: *** [default] Error 2
    make error
    mumarae@mumarae-desktop:~/v9.08.14.1$
    the result of following the directions in the 9035.linux.PC.dvb-tV9.07.10.1.zip files


    mumarae@mumarae-desktop:~/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC$ sudo make clean
    mumarae@mumarae-desktop:~/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC$ sudo make
    cp: cannot stat `api/.*.o.cmd': No such file or directory
    make -C /lib/modules/2.6.31-17-generic/build SUBDIRS=/home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.31-17-generic'
    CC [M] /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.o
    In file included from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c:1:
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x.h:15:21: error: dvb-usb.h: No such file or directory
    In file included from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/type.h:4,
    from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/demodulator.h:5,
    from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x.h:17,
    from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c:1:
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/userdef.h:11:1: warning: "NULL" redefined
    In file included from include/linux/kernel.h:12,
    from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x.h:6,
    from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c:1:
    include/linux/stddef.h:10:1: warning: this is the location of the previous definition
    In file included from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/demodulator.h:5,
    from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x.h:17,
    from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c:1:
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/type.h:6:1: warning: "IN" redefined
    In file included from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/type.h:4,
    from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/demodulator.h:5,
    from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x.h:17,
    from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c:1:
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/userdef.h:21:1: warning: this is the location of the previous definition
    In file included from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/demodulator.h:5,
    from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x.h:17,
    from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c:1:
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/type.h:7:1: warning: "OUT" redefined
    In file included from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/type.h:4,
    from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/demodulator.h:5,
    from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x.h:17,
    from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c:1:
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/userdef.h:22:1: warning: this is the location of the previous definition
    In file included from /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c:1:
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x.h:201: error: array type has incomplete element type
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c:5: warning: data definition has no type or storage class
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c:5: warning: type defaults to âintâ in declaration of âDVB_DEFINE_MOD_OPT_ADAPTER_NRâ
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c:5: warning: parameter names (without types) in function declaration
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c: In function âaf903x_probeâ:
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c:34: error: implicit declaration of function âdvb_usb_device_initâ
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c:34: error: âadapter_nrâ undeclared (first use in this function)
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c:34: error: (Each undeclared identifier is reported only once
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c:34: error: for each function it appears in.)
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c: In function âaf903x_suspendâ:
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c:51: warning: passing argument 2 of âDL_CheckTunerInitedâ from incompatible pointer type
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x.h:218: note: expected âenum Bool *â but argument is of type âbool *â
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c:52: warning: passing argument 2 of âDL_CheckTunerInitedâ from incompatible pointer type
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x.h:218: note: expected âenum Bool *â but argument is of type âbool *â
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c: At top level:
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c:94: error: âdvb_usb_device_exitâ undeclared here (not in a function)
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c: In function âaf903x_module_initâ:
    /home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.c:104: error: implicit declaration of function âinfoâ
    make[2]: *** [/home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC/af903x-core.o] Error 1
    make[1]: *** [_module_/home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-17-generic'
    make: *** [default] Error 2
    mumarae@mumarae-desktop:~/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC$ sudo make install
    make[1]: Entering directory `/home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC'
    echo -e "\nRemoving old /lib/modules/2.6.31-17-generic/kernel/drivers/media/dvb/dvb-usb/ files:"
    -e
    Removing old /lib/modules/2.6.31-17-generic/kernel/drivers/media/dvb/dvb-usb/ files:


    make[1]: Leaving directory `/home/mumarae/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC'

    /sbin/depmod -a
    af35irtbl.bin
    mumarae@mumarae-desktop:~/9035.linux.PC.dvb-tV9.07.10.1/64bit/AF903x_SRC$
    any assistance would be appreciated - thanks

  2. #2
    Join Date
    Aug 2009
    Location
    UK
    Beans
    204
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: AF9035 USB DVB-T Karmic 64bit install problem


    Greetings
    I had problems running a usb dvb t on Jaunty, it is an AVerTv Digi Volar X, after searching many forums,, I found the following, so I opened a Terminal and typed:

    sudo apt-get install dvbscan
    sudo apt-get install w-scan

    I then opened Kaffeine selected channels - scan, and it got me 40 TV Stations and 26 radio.
    It may not work for you, but its worth a try at least.

    jimmers

  3. #3
    Join Date
    Oct 2006
    Location
    UK
    Beans
    98
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: AF9035 USB DVB-T Karmic 64bit install problem

    baldrick222, I too have the same device as you. Well, at least it is from the same manufacturer and has the same driver as the one you posted. I bought it a couple of days ago. Mine in an ezcap USB 2.0 DVB-T Stick model number EZTV860, manufactured November 2009. The manufacturer is a Chinese company named Forward Video Co. Ltd. Their Web site is http://www.szforwardvideo.com/ and the e-mail for support is support at szforwardvideo dot com.

    The CD that came with the device has the same folder as the one that you attached to you post, namely v9.08.14.1, which contains a Bash script to install the driver. Interestingly, the Bash script has a binary tarball incorporated into it (non-ASCII in a section following the ASCII Bash commands): when you run the script it parses itself, strips out the binary part to create a temporary tarball, extracts the contents and issues a make command to compile the driver. I suppose the manufacturer has done it this way to make it difficult for the user to get his hands on the source code. The installation script failed when I ran it.

    To investigate what was happening I hacked the installation script. I worked out how to extract from it the binary part and convert it to a tarball, from which I could then extract the driver source code and makefiles. From these I discovered that the latest version of the driver (written in August 2009) is only written for Linux kernels up to 2.6.29. I hacked the make scripts and added instructions for the 2.6.30 and 2.6.31 kernels, but it still will not build. I have therefore sent an e-mail to the Forward Video support team. I'm not holding my breath, though.

    Regarding the problem of the usbhid driver recognising the DVB-T stick as a keyboard, you need to stop the usbhid driver from doing this as follows:

    If the usbhid driver is a kernel module (CONFIG_USB_HID=m in the kernel config) then the way to tell the usbhid driver to ignore this specific device, as it has its own driver, would be to pass an option to the usbhid driver by putting the following line in the file /etc/modprobe.d/usbhid.conf (create the file if it does not already exist):

    Code:
    options usbhid quirks=0x15a4:0x1001:0x0004

    where 0x15a4 is the Vendor ID and 0x1001 is the Product ID, both obtained by looking at the output of either the dmesg or lsusb commands, and the 0x0004 flag is HID_QUIRK_IGNORE, which tells the usbhid driver to ignore the device.

    However, if the usbhid driver is not a module but is instead built into the kernel (CONFIG_USB_HID=y in the kernel config), the way to tell the usbhid driver to ignore this specific device, as it has its own driver, would be to pass the option to the usbhid as a boot parameter, by editing /boot/grub/menu.lst (grub.conf) and adding the following boot parameter to the end of the kernel boot line:

    Code:
    usbhid.quirks=0x15a4:0x1001:0x0004

    Then when I reboot I see the following for the DVB-T stick in the dmesg output:

    Code:
    [  196.322403] usb 1-1.4: new high speed USB device using ehci_hcd and address 13
        [  196.414896] usb 1-1.4: New USB device found, idVendor=15a4, idProduct=1001
        [  196.414903] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
        [  196.414909] usb 1-1.4: Product: AF9035A USB Device
        [  196.414913] usb 1-1.4: Manufacturer: Afa Technologies Inc.
        [  196.414917] usb 1-1.4: SerialNumber: AF0102020700001
        [  196.415183] usb 1-1.4: configuration #1 chosen from 1 choice

    Compare the new dmesg output above with the old dmesg output below. You can see that the usbhid driver now ignores the DVB-T stick and it is no longer listed as a keyboard.

    Code:
    [  824.424054] usb 1-4: new high speed USB device using ehci_hcd and address 4
    [  824.544491] usb 1-4: New USB device found, idVendor=15a4, idProduct=1001
    [  824.544494] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [  824.544496] usb 1-4: Product: AF9035A USB Device
    [  824.544498] usb 1-4: Manufacturer: Afa Technologies Inc.
    [  824.544500] usb 1-4: SerialNumber: AF0102020700001
    [  824.544644] usb 1-4: configuration #1 chosen from 1 choice
    [  824.548975] input: Afa Technologies Inc. AF9035A USB Device as /devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4:1.1/input/input9
    [  824.549123] generic-usb 0003:15A4:1001.0001: input,hidraw0: USB HID v1.01 Keyboard [Afa Technologies Inc. AF9035A USB Device] on usb-0000:00:1d.7-4/input1
    Now, if only we could compile the driver!

  4. #4
    Join Date
    Oct 2006
    Location
    UK
    Beans
    98
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: AF9035 USB DVB-T Karmic 64bit install problem

    OK, I did some more hacking and got the driver to install in Sabayon Linux, but it still does not work.

    Here's what I did:

    1. Edited v9.08.14.1/installer/AF903x_SRC/Makefile and changed "lib" to "lib64" in the path of the environment variables KDIR, KDIR26 and DEST.

    2. Edited v9.08.14.1/installer/AF903x_SRC/Makefile and added:

    Code:
    ifneq (,$(findstring 2.6.30,$(CURRENT)))
            @cp -f v4l/kernel-2.6.30/* ./   
    endif                                   
    ifneq (,$(findstring 2.6.31,$(CURRENT)))
            @cp -f v4l/kernel-2.6.31/* ./   
    endif                                   
    ifneq (,$(findstring 2.6.32,$(CURRENT)))
            @cp -f v4l/kernel-2.6.32/* ./   
    endif
    after
    Code:
    ifneq (,$(findstring 2.6.29,$(CURRENT)))
            @cp -f v4l/kernel-2.6.29/* ./   
    endif
    3. Repeated Steps 1 and 2 on v9.08.14.1/installer/AF903x_SRC/Makefile.release

    4. Copied v9.08.14.1/installer/AF903x_SRC/v4l/kernel-2.6.29/ and its contents to create new directories v9.08.14.1/installer/AF903x_SRC/v4l/kernel-2.6.30/, v9.08.14.1/installer/AF903x_SRC/v4l/kernel-2.6.31/ and v9.08.14.1/installer/AF903x_SRC/v4l/kernel-2.6.32/

    5. Edited /usr/src/linux/include/linux/firmware.h and added the line:

    Code:
    #define FIRMWARE_NAME_MAX 30
    before the line:
    Code:
    #define FW_ACTION_NOHOTPLUG 0
    6. Edited v9.08.14.1/installer/AF903x_SRC/api/driver_tua9001.c and commented out (added "//" in front of) the lines:

    Code:
    //#elif defined(CRYSTAL_19.2_MHZ)   /*  Frequency 19.2 MHz */
    //  i2cseq[0] = 0x01;
    //  i2cseq[1] = 0xA0;
    //  i2cBusWrite (TUNERs_TUA9001_DEVADDR, 0x1d, i2cseq, 2);
    //  /* Note: Insert optimised register values for 0x40 / 0x41 for used crystal */
    //  /* contact application support for further information */
    //#elif defined(CRYSTAL_20.48_MHZ)   /*  Frequency 20,48 MHz */
    //  i2cseq[0] = 0x01;
    //  i2cseq[1] = 0xA8;
    //  i2cBusWrite (TUNERs_TUA9001_DEVADDR, 0x1d, i2cseq, 2);
    //  /* Note: Insert optimised register values for 0x40 / 0x41 for used crystal */
    //  /* contact application support for further information */
    7. Ran the installer script as root user:
    Code:
    cd /home/fitzcarraldo/Desktop/v9.08.14.1/installer
    sh installer.sh
    It runs to completion.

    The module is now loaded if I plug the device in:

    Code:
    lsmod | grep dvb
    dvb_usb_af903x       1088768  0
    dvb_usb                14096  1 dvb_usb_af903x
    dvb_core               88246  1 dvb_usb
    i2c_core               21012  6 dvb_usb,radeon,drm,i2c_algo_bit,videodev,i2c_i801
    but dmesg shows a problem of some kind with the loading of the module:
    Code:
    [  156.413401] usb 1-1.4: new high speed USB device using ehci_hcd and address 12
    [  156.505885] usb 1-1.4: New USB device found, idVendor=15a4, idProduct=1001
    [  156.505892] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [  156.505898] usb 1-1.4: Product: AF9035A USB Device
    [  156.505902] usb 1-1.4: Manufacturer: Afa Technologies Inc.
    [  156.505906] usb 1-1.4: SerialNumber: AF0102020700001
    [  156.506812] usb 1-1.4: configuration #1 chosen from 1 choice
    [  156.507416]         DRIVER_RELEASE_VERSION : v9.08.14.1
    [  156.507421]         FW_RELEASE_VERSION     : v8_8_63_0
    [  156.507425]         API_RELEASE_VERSION    : 200.20090402.0
    [  156.920879] [Device_init] Error 1
    [  156.920914] dvb_usb_af903x: probe of 1-1.4:1.0 failed with error -12

  5. #5
    Join Date
    Dec 2009
    Beans
    7

    Thumbs down Re: AF9035 USB DVB-T Karmic 64bit install problem

    thanks for sharing your effort Fitzcarraldo

    I created the usbhid.conf file but I am not seeing a change in dmesg yet - do I have to chmod the file ?

    Code:
    grep USB_HID /boot/config-2.6.31-17-generic
    gave me

    Code:
    CONFIG_USB_HID=m
    CONFIG_USB_HIDDEV=y
    hopefully this device can be made to work with karmic
    Last edited by baldrick222; December 27th, 2009 at 12:18 PM. Reason: add info

  6. #6
    Join Date
    Oct 2006
    Location
    UK
    Beans
    98
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: AF9035 USB DVB-T Karmic 64bit install problem

    The dmesg output became different in the case of Sabayon Linux simply by rebooting, but perhaps you have to do something extra in Ubuntu. I googled and found the following post: Windows mode solution, which states that you also need to do the following as root user:

    Code:
    update-initramfs -u
    so give that a try.

    By the way, if you want to look at the make files and the source code for the driver, and perform the changes that I described in my previous post, I extracted the directory /home/fitzcarraldo/Desktop/v9.08.14.1/installer/ from the composite ASCII-binary script /home/fitzcarraldo/Desktop/v9.08.14.1/ITE-Linux-AF903x-v9.08.14.1.sh by entering the following command:

    Code:
    tail -n +52 /home/fitzcarraldo/Desktop/v9.08.14.1/ITE-Linux-AF903x-v9.08.14.1.sh | tar zxf - >/dev/null 2>.err
    Last edited by Fitzcarraldo; December 27th, 2009 at 10:41 PM. Reason: Improved clarity of first sentence.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •