hi, 
i have got all working remote and the tuner, the sound... 
thanx to this maillist for helps :) 

but i need to use a trick to get all working... 
-----------------------------------------------------------------------------------
 
cat /etc/modules.d/ivtv 
-----------------------------------------------------------------------------------
 
alias char-major-81 videodev 
alias char-major-81-0 ivtv 
alias char-major-61 lirc_i2c 
options ivtv tuner=38 ivtv_std=3 tda9887=0 mpg_buffers=30 
add above ivtv lirc_dev lirc_i2c 
#this line to run the script 
post-install ivtv /root/ivtvstart 

-----------------------------------------------------------------------------------
 
cat /root/ivtvstart 
-----------------------------------------------------------------------------------
 
#!/bin/bash 

echo "Removing the modules" 
rmmod -f ivtv 
rmmod wm8775 cx25840 tuner videodev tda9887 tveeprom saa7127 saa7115 msp3400 
tda988 lirc_i2c lirc_dev 

echo "Making the changes in modprobe.conf" 
echo alias char-major-81 videodev > /etc/modules.d/ivtv 
echo alias char-major-81-0 ivtv >> /etc/modules.d/ivtv 
echo alias char-major-61 lirc_i2c >> /etc/modules.d/ivtv 
echo options ivtv tuner=38 ivtv_std=3 tda9887=0 mpg_buffers=30 >> 
/etc/modules.d/ivtv 
echo options tuner type=38 >> /etc/modules.d/ivtv 
echo add below ivtv saa7127 tuner cx25840 wm8775 >> /etc/modules.d/ivtv 
echo add above ivtv lirc_dev lirc_i2c >> /etc/modules.d/ivtv 

modules-update 

echo "Loading IVTV again..." 
modprobe ivtv 
sleep 2 

echo "Changing modprobe.conf back to default so it works after boot" 
echo alias char-major-81 videodev > /etc/modules.d/ivtv 
echo alias char-major-81-0 ivtv >> /etc/modules.d/ivtv 
echo alias char-major-61 lirc_i2c >> /etc/modules.d/ivtv 
echo options ivtv tuner=38 ivtv_std=3 tda9887=0 mpg_buffers=30 >> 
/etc/modules.d/ivtv 
echo add above ivtv lirc_dev lirc_i2c >> /etc/modules.d/ivtv 
echo post-install ivtv /root/ivtvstart >> /etc/modules.d/ivtv 
modules-update 
-----------------------------------------------------------------------------------

i must load twice things... 
i think : 
loading just ivtv and the tuner module permit to the card to be initialized 
correctly internally... 
and the second time we can load another modules cause the card is ready to 
answer to their request... 
it's certainly that cause i think that the eeprom are only the first time after 
the cold boot...
maybe it would be needed to add checks to wait the loading of eeprom files 
before continuing... 

is anyone have an idea ? 

++
keats.


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to