View Single Post
Posts: 961 | Thanked: 565 times | Joined on Jul 2007 @ Tyneside, North East England
#10
Originally Posted by Bernard View Post
Does anybody know how I could easily compile a new version of v4l on the N900? If I can figure out how to do that I can add support for my DVB-T stick.

I tried installing some developer tools on my n900, but I have a lot of problems compiling because of a lack of space.
I assume compiling in scratchbox doesn't have this limitation, but how do I make an installable package out of the new v4l instead of using "make install". I tried things like checkinstall, but that doesn't even work in ubuntu (probably because these are rather low-level files).

Step by step, on ubuntu I would clone a copy of the latest v4l trunk, apply a patch to add support for my PCTV Picostick, compile, install and copy the firmware.

Code:
svn checkout http://openee.googlecode.com/svn/trunk/ openee
hg clone http://linuxtv.org/hg/v4l-dvb
cp openee/recipes/v4l-dvb/files/v4l-dvb-as102.patch v4l-dvb/v4l-dvb-as102.patch
cd v4l-dvb
patch -p1 -i v4l-dvb-as102.patch
sudo make menuconfig
sudo gedit v4l/.config

CHANGE
CONFIG_DVB_FIREDTV=m
to
CONFIG_DVB_FIREDTV=n

make
sudo make install
sudo tar -v -x -f openee/recipes/v4l-dvb/files/v4l-dvb-firmwares.tar.gz -C /lib/firmware
Surely something similar can be made to work on Maemo and the N900?
anybody a suggestion on how to do that and install the result on my n900?
download and install the sdk on your cophy of ubuntu, that will setup an n900 environment in which you can compile. I had one running for maemo4 but dont have one for maemo5.

here in the uk, the stock media player will not play dvb-t recordings as it does not have the codec, even with extra codec support. haven't tried mplayer.

you will also need a powered usb hub, as the dvb.-t sticks i have are very power hungry, so it's more than just dumping the v4l stack on there.

good luck
__________________
______________________________

Nokia 770 (2gb) since Aug 2007
Nokia N800 (32gb) since Dec 2007
Nokia N810 (16gb) since Sep 2009
Nokia N900 (64gb) since Aug 2010 ______________________________