Mon uname -a : Linux localhost 2.6.3-7mdk #1 Wed Mar 17 15:56:42 CET 2004 i686 unknown unknown GNU/Linux
Je n'arrive pas à configurer ma carte tv alors qu'elle est reconnue pas ma mdk10.
Voici ce que m'affiche xawtv :
This is xawtv-3.91, running on Linux/i686 (2.6.3-7mdk)
xinerama 0: 1024x768+0+0
xinerama 1: 1024x768+0+0
can't open /dev/v4l/video0: No such file or directory
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/v4l/video0: No such file or directory
v4l2: open /dev/v4l/video0: No such file or directory
v4l: open /dev/v4l/video0: No such file or directory
no video grabber device available
Voici mon fichier /etc/X11/XF86Config-4 ( je sais pas si c important...) :
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
Section "ServerFlags"
#DontZap # disable (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <KP_+>/<KP_-> (resolution switching)
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
Option "XkbOptions" ""
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "Sony CPD-300SFT5"
HorizSync 30.0-86.0
VertRefresh 48.0-150.0
# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce4 (generic)"
Driver "nvidia"
BusID "PCI:1:00:0"
Option "DPMS"
Option "TwinView"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "TwinViewOrientation" "Clone"
Option "MetaModes" "1024x768,1024x768;800x600,800x600;640x480,640x480;320x200,NULL"
Option "TVStandard" "PAL-N"
Option "ConnectedMonitor" "CRT,TV"
Option "TVOutFormat" "COMPOSITE"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 16
Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
Voici mon fichier /etc/modules.conf:
probeall usb-interface usb-uhci ehci-hcd
alias eth1 8139too
above snd-via82xx snd-pcm-oss
alias eth0 b44
alias sound-slot-0 snd-via82xx
alias tty-ldisc-13 n_hdlc
alias tty-ldisc-14 ppp_synctty
alias char-major-108 ppp_generic
alias char-major-81 bttv
Load "v4l"
Et mon fichier /etc/rc.d/rc.local :
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
modprobe bttv
[ -f /etc/sysconfig/system ] && source /etc/sysconfig/system
[ -f /etc/sysconfig/msec ] && source /etc/sysconfig/msec
[ -z "$SECURE_LEVEL" ] && SECURE_LEVEL=3
[ -f /etc/sysconfig/init ] && source /etc/sysconfig/init
if [ $SECURE_LEVEL -lt 4 ]; then
[ -z "$REWRITEISSUE" ] && REWRITEISSUE=rewrite
if [ $SECURE_LEVEL -lt 3 ]; then
[ -z "$REWRITEISSUENET" ] && REWRITEISSUENET=rewrite
fi
fi
SYSTEM=${SYSTEM=Mandrakelinux}
# Source functions
. /etc/init.d/functions
if [ "$REWRITEISSUE" = "rewrite" -a -f /etc/mandrake-release ]; then
R=$(cat /etc/mandrake-release)
arch=$(uname -m)
a="a"
case "_$arch" in
_a*) a="an";;
_i*) a="an";;
esac
NUMPROC=`egrep -c "^cpu[0-9]+" /proc/stat`
if [ "$NUMPROC" -gt "1" ]; then
SMP="$NUMPROC-processor "
[ "$NUMPROC" = "2" ] && \
SMP="Dual-processor "
if [ "$NUMPROC" = "8" -o "$NUMPROC" = "11" ]; then
a="an"
else
a="a"
fi
fi
# This will overwrite /etc/issue at every boot. So, make any changes you
# want to make to /etc/issue here or you will lose them when you reboot.
if [ -x /usr/bin/linux_logo ]; then
/usr/bin/linux_logo -c -n -f | sed -e 's|\\|\\\\|g' > /etc/issue
echo "" >> /etc/issue
else
> /etc/issue
fi
echo "$R" >> /etc/issue
echo "Kernel $(uname -r) on $a $SMP$(uname -m) / \l" >> /etc/issue
if [ "$REWRITEISSUENET" = "rewrite" ]; then
echo "Welcome to ${HOST}" > /etc/issue.net
echo "$R" >> /etc/issue.net
echo "Kernel $(uname -r) on $a $SMP$(uname -m)" >> /etc/issue.net
else
NAME="$SYSTEM"
gprintf "Welcome to %s\n" "$NAME" > /etc/issue.net
echo "-------------------------" >> /etc/issue.net
fi
else
if [ -f /etc/security/msec/issue.$SECURE_LEVEL ]; then
cat /etc/security/msec/issue.$SECURE_LEVEL > /etc/issue
elif [ -f /etc/security/msec/issue ]; then
cat /etc/security/msec/issue > /etc/issue
else
rm -f /etc/issue
fi
if [ -f /etc/security/msec/issue.net.$SECURE_LEVEL ]; then
cat /etc/security/msec/issue.net.$SECURE_LEVEL > /etc/issue.net
elif [ -f /etc/security/msec/issue.net ]; then
cat /etc/security/msec/issue.net > /etc/issue.net
else
rm -f /etc/issue.net
fi
fi
touch /var/lock/subsys/local
Voilà j'espere que j'ai fourni toutes les informations essentielles...
J'ai essayé de suivre ce tuto sans succés :http://www.trustonme.net/didactels/123.html(...)
Merci !
# Au fait :
Posté par OrangeBud . Évalué à 1.
lr-xr-xr-x 1 root root 11 nov 7 2004 /dev/video -> /dev/video0
crw------- 1 guillaume video 81, 0 nov 7 2004 /dev/video0
crw------- 1 guillaume video 81, 1 nov 7 2004 /dev/video1
crw------- 1 guillaume video 81, 2 nov 7 2004 /dev/video2
crw------- 1 guillaume video 81, 3 nov 7 2004 /dev/video3
[^] # Re: Au fait :
Posté par bades . Évalué à 1.
a mon avis le problème est la :
can't open /dev/v4l/video0: No such file or directory
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/v4l/video0: No such file or directory
v4l2: open /dev/v4l/video0: No such file or directory
v4l: open /dev/v4l/video0: No such file or directory
deux solutions , la crade :
su
cd /dev/
mkdir v4l
ln -s /dev/video0 /dev/v4l/video0
la propre : indiquer a xavtv ou est ton device
[^] # Re: Au fait :
Posté par OrangeBud . Évalué à 1.
Voici ce que çà me dit:
[root@localhost dev]# ln -s /dev/video0 /dev/v4l/video0
ln: création d'un lien symbolique `/dev/v4l/video0' vers `/dev/video0': No such file or directory
Pourtant j'ai créé le repertoir /dev/v41
J'ai créé le fichier video0 à partir du script makedev (cf: http://www.trustonme.net/didactels/123.html(...) ) et voici ce qu'il me dit :
[root@localhost Documents]# ./makedev
*** new device names ***
/dev/video0: char 81 0
/dev/video1: char 81 1
/dev/video2: char 81 2
/dev/video3: char 81 3
/dev/radio0: char 81 64
/dev/radio1: char 81 65
/dev/radio2: char 81 66
/dev/radio3: char 81 67
/dev/vtx0: char 81 192
/dev/vtx1: char 81 193
/dev/vtx2: char 81 194
/dev/vtx3: char 81 195
/dev/vbi0: char 81 224
/dev/vbi1: char 81 225
/dev/vbi2: char 81 226
/dev/vbi3: char 81 227
Voici ce que fait makedev :
[root@localhost Documents]# cat makedev
#!/bin/bash
function makedev () {
for dev in 0 1 2 3; do
echo "/dev/$1$dev: char 81 $[ $2 + $dev ]"
rm -f /dev/$1$dev
mknod /dev/$1$dev c 81 $[ $2 + $dev ]
chmod 666 /dev/$1$dev
done
# symlink for default device
rm -f /dev/$1
ln -s /dev/${1}0 /dev/$1
}
# see http://roadrunner.swansea.uk.linux.org/v4lapi.shtml(...)
echo "*** new device names ***"
makedev video 0
makedev radio 64
makedev vtx 192
makedev vbi 224
-------------------------------------------------------------------------------------------------
Voilà je sais pas trop quoi faire peut etre reprendre tout depuis le debut avec une autre methode, peut etre que je n'ai pas installé tout correctement je sais pas si tu as lus le tuto que j'ai mis en lien mais tout n'est peut etre plus d'actualité... Bref je c pas trop domage c pas encore ce soir que je verrais la tv :)
Merci de continuer à m'aider, çà fais pas longtemps que j'ai linux et j'en bave pas mal pour tout configurer....
Ne me soumettez pas à la tentation de repasser sous windows, pitié :')
[^] # Re: Au fait :
Posté par bades . Évalué à 1.
ca je comprend pas , si /dev/video0 existe et /dev/v4l existe
cest pas normal.
>Pourtant j'ai créé le repertoir /dev/v41
tu as cree /dev/v4l ou /dev/v41 <-- /dev/v4UN ???
sinon la methode MEGA crade :
mkdir /dev/v4l/
mknod /dev/v4l/video0 81 0
chmod 666 /dev/v4l/video0
Suivre le flux des commentaires
Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.