mini howto build saa7127.ko - kernel module for
FC6/PVR-350 TV-out:

download kernel source:
~wget -c
ftp://ftp.heanet.ie/pub/fedora/linux/core/updates/6/SRPMS/kernel-2.6.19-1.2911.6.4.fc6.src.rpm

install kernel source:
~rpm -ivh kernel-2.6.19-1.2911.6.4.fc6.src.rpm

prepare kernel source:
~rpmbuild -bp --target=i686
/usr/src/redhat/SPECS/kernel-2.6.spec

move to built kernel source:
~cd
/usr/src/redhat/BUILD/kernel-2.6.19/linux-2.6.19.i686

update current config:
~make oldconfig

edit current config with menu based program:
~make menuconfig
enter:
 Device Drivers
enter:
 Multimedia devices
enter:
 Video Capture Adapters
select:
 [*] Autoselect pertinent encoders/decoders and other
helper chips
remove astrix, hit <SPACE>
 [ ] Autoselect pertinent encoders/decoders and other
helper chips
enter:
 Encoders/decoders and other helper chips
select:
< > Philips SAA7127/9 digital video encoders (NEW)
set 'M', hit <SPACE>
<M> Philips SAA7127/9 digital video encoders
Exit and Save

~grep -i saa7127 .config
CONFIG_VIDEO_SAA7127=m

build saa7127.ko kernel module:
make drivers/media/video/ && make
M=drivers/media/video

copy saa7127.ko module into kernel module tree:
~cp drivers/media/video/saa7127.ko
/lib/modules/2.6.19-1.2911.6.4.fc6/kernel/drivers/media/video/

re/create a list of module  dependencies:
~depmod

only one module option in /etc/modprobe.conf:
options ivtv_fb osd_compat=1

engage modules script;
/etc/sysconfig/modules/udev-ivtv_lirc.modules:
#!/bin/sh
for i in i2c_dev ivtv lirc_dev lirc_i2c ivtv-fb;do
        modprobe $i >/dev/null 2>&1
done
#EOF

make script executable:
chmod a+x
/etc/sysconfig/modules/udev-ivtv_lirc.modules




 
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news

_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to