Re: Support for Asus My-Cinema U3000Hybrid?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Albert Comerma escreveu:
That's something related to your distribution, so I can't help much. Just verify you have gcc and linux-headers and all the stuff needed installed.

Albert

2008/8/11 zePh7r <zeph7r@xxxxxxxxx>
Albert Comerma escreveu:
If you look around line 1082 of dib0700_devices.c you will find the table of the cards, which refers to the id's you added on dvb-usb-ids.h. So you must add an entry to that table. I send you the modified files, so you can see. I also send you a .config file you must copy on v4l-dvb/v4l/ folder. Then go into v4l-dvb and just type make, and then as root make install. That should work without problems. To try all of this you need the dibcom and xceive firmware at /lib/firmware

Albert

2008/8/11 zePh7r <zeph7r@xxxxxxxxx>
Albert Comerma escreveu:
Sorry, I didn't explained much... it also took some time to me to understand how it's working... Since xc2028 is the tunner it has no Id information on the code. The id's are on the usb bridge code. You should add your deviece id's at;
/v4l-dvb/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h and then insert your device at
/v4l-dvb/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c    first the device descriptors (at arround line 1120) and then the device itself, I would try it around line 1418. This last file, has already the include to the xc2028 code and calls the tunner funcions. Looking the code around this lines I guess you will understand how it works.

Albert

2008/8/9 zePh7r <zeph7r@xxxxxxxxx <mailto:zeph7r@xxxxxxxxx>>


   Albert Comerma escreveu:

       Just to clarify things...

       Xceive chips are just tunners, RF chips, mostly analogue with
       some digital interface, they don't do anything with usb or
       comunication with the computer, for this reason you need the
       dibcom chip, it's a usb bridge + decoder + something else...
       To start to develop something you must first be sure of what
       chips it's using.
       If not you can try blindly if modifying the code for the
       U3000-Mini works or Pinnacle 320cx (dibcom 7700 + xceive2028)
       work (you just need to add your device usb id's).

       Albert

   Thank you for replying Albert.
   I've been exploring the files downloaded through the mercurial
   repository and though I have found files which seem like they
   relate to that purpose in
   /v4l-dvb/linux/drivers/media/common/tuners (which are
   tuner-xc2028.c , tuner-xc2028.h and tuner-xc2028-types.h) I can't
   find any section in the above files with some sort of list of
   device ID's so as to resemble them. There should be something like
   an xc2028-cards.c right?
   This must seem a noob question but this whole process looks like
   something someone who's not deeply into this project couldn't do
   easily..


When I try to compile the drivers I get this:

zeph7r@zeph7r-laptop:~/v4l/v4l-dvb> make all
make -C /home/zeph7r/v4l/v4l-dvb/v4l all
make[1]: Entering directory `/home/zeph7r/v4l/v4l-dvb/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.25
File not found: /lib/modules/2.6.25.11-0.1-default/build/.config at ./scripts/make_kconfig.pl line 32, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'.  Stop.
make[1]: Leaving directory `/home/zeph7r/v4l/v4l-dvb/v4l'
make: *** [all] Error 2

any hints on what might be causing this? I went look at that dir and found a makedumpfile.config , perhaps I should edit config-compat.h and set it to go look for that file instead..



Even after I putted .config in v4l-dvb/v4l it is still not compiling:


zeph7r@zeph7r-laptop:~/v4l/v4l-dvb> make
make -C /home/zeph7r/v4l/v4l-dvb/v4l
make[1]: Entering directory `/home/zeph7r/v4l/v4l-dvb/v4l'
No version yet, using 2.6.25.11-0.1-default

make[1]: Leaving directory `/home/zeph7r/v4l/v4l-dvb/v4l'
make[1]: Entering directory `/home/zeph7r/v4l/v4l-dvb/v4l'
scripts/make_makefile.pl
Updating/Creating .config
./scripts/make_kconfig.pl /lib/modules/2.6.25.11-0.1-default/build /lib/modules/2.6.25.11-0.1-default/build

Preparing to compile for kernel version 2.6.25
File not found: /lib/modules/2.6.25.11-0.1-default/build/.config at ./scripts/make_kconfig.pl line 32, <IN> line 4.
make[1]: Leaving directory `/home/zeph7r/v4l/v4l-dvb/v4l'
make[1]: Entering directory `/home/zeph7r/v4l/v4l-dvb/v4l'
./scripts/make_kconfig.pl /lib/modules/2.6.25.11-0.1-default/build /lib/modules/2.6.25.11-0.1-default/build

Preparing to compile for kernel version 2.6.25
File not found: /lib/modules/2.6.25.11-0.1-default/build/.config at ./scripts/make_kconfig.pl line 32, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'.  Stop.
make[1]: Leaving directory `/home/zeph7r/v4l/v4l-dvb/v4l'
make: *** [all] Error 2
zeph7r@zeph7r-laptop:~/v4l/v4l-dvb>

I even tried copying .config to /lib/modules/2.6.25.11-0.1-default/build /lib/modules/2.6.25.11-0.1-default/build but some other error came up as well

After some more searching I found I only had installed kernel headers and missed kernel-source (both are needed). After installing it I was finally able to build the drivers.

I think finally we might be getting somewhere: after installing the new-built drivers, I connected the device to my laptop and in dmesg there was this info:

Aug 11 19:28:45 zeph7r-laptop kernel: usb 4-3: new high speed USB device using ehci_hcd and address 5

Aug 11 19:28:46 zeph7r-laptop kernel: usb 4-3: configuration #1 chosen from 1 choice

Aug 11 19:28:46 zeph7r-laptop kernel: dvb-usb: found a 'Asus My Cinema-U3000Hybrid' in cold state, will try to load a firmware

Aug 11 19:28:46 zeph7r-laptop kernel: dvb-usb: did not find the firmware file. (dvb-usb-dib0700-1.10.fw) Please see linux/Documentation/dvb/ for more details on firmware-problems. (-2)

Aug 11 19:28:46 zeph7r-laptop kernel: usb 4-3: New USB device found, idVendor=0b05, idProduct=1736

Aug 11 19:28:46 zeph7r-laptop kernel: usb 4-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3

Aug 11 19:28:46 zeph7r-laptop kernel: usb 4-3: Product: U3000 Hybrid

Aug 11 19:28:46 zeph7r-laptop kernel: usb 4-3: Manufacturer: ASUSTeK

Aug 11 19:28:46 zeph7r-laptop kernel: usb 4-3: SerialNumber: 8110400333

Aug 11 19:28:46 zeph7r-laptop firmware.sh[18811]: Cannot find firmware file 'dvb-usb-dib0700-1.10.fw'


I couldn't fully understand what you said earlier about firmware because I thought it was supposed to be built along with the rest of the driver but now it seems it is not... how should I do to provide the firmware?
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux