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


Make, gcc, kernel headers and debug, all of that is installed... can't I just add these device Id's to already-compiled files in my kernel tree instead of having to compile it from source?
_______________________________________________
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