Emxx
Résolu/Fermé
mickmick
Messages postés
255
Date d'inscription
samedi 11 juin 2005
Statut
Membre
Dernière intervention
18 novembre 2006
-
5 déc. 2005 à 16:38
mickmick Messages postés 255 Date d'inscription samedi 11 juin 2005 Statut Membre Dernière intervention 18 novembre 2006 - 18 déc. 2005 à 13:00
mickmick Messages postés 255 Date d'inscription samedi 11 juin 2005 Statut Membre Dernière intervention 18 novembre 2006 - 18 déc. 2005 à 13:00
15 réponses
mamiemando
Messages postés
33079
Date d'inscription
jeudi 12 mai 2005
Statut
Modérateur
Dernière intervention
23 avril 2024
7 749
6 déc. 2005 à 02:13
6 déc. 2005 à 02:13
Il faut sans doute simplement rajouter ton utiisateur dans le groupe video. Un petit :
pour en avoir le coeur net ;-) Si c'est bien ça, il suffit d'éditer le fichier /etc/groups.
Bonne chance
ls -l /dev/video
pour en avoir le coeur net ;-) Si c'est bien ça, il suffit d'éditer le fichier /etc/groups.
Bonne chance
mickmick
Messages postés
255
Date d'inscription
samedi 11 juin 2005
Statut
Membre
Dernière intervention
18 novembre 2006
18 déc. 2005 à 13:00
18 déc. 2005 à 13:00
du nouveau :
quand je fait v4l-info, il me dit
can't open /dev/video0: No space left on device
et quand je retappe la meme ligne, il me dit :
/dev/video0 [v4l2]: no overlay support
si la carte ne supporte pas l'overlay, n'y a t-il pas un moyen de mettre grabdisplay (qui est un autre mode je crois)?
@+
quand je fait v4l-info, il me dit
can't open /dev/video0: No space left on device
et quand je retappe la meme ligne, il me dit :
/dev/video0 [v4l2]: no overlay support
si la carte ne supporte pas l'overlay, n'y a t-il pas un moyen de mettre grabdisplay (qui est un autre mode je crois)?
@+
mickmick
Messages postés
255
Date d'inscription
samedi 11 juin 2005
Statut
Membre
Dernière intervention
18 novembre 2006
7 déc. 2005 à 13:40
7 déc. 2005 à 13:40
>ls -l dmesg
lrwxrwxrwx 1 root root 6 déc 6 20:19 /dev/video -> video0
et je ne vois pas ce que je dois changer dans /etc/group
il y a une ligne mick avec un numéro 500, c'est celle la ?? que dois-je mettre?
lrwxrwxrwx 1 root root 6 déc 6 20:19 /dev/video -> video0
et je ne vois pas ce que je dois changer dans /etc/group
il y a une ligne mick avec un numéro 500, c'est celle la ?? que dois-je mettre?
mamiemando
Messages postés
33079
Date d'inscription
jeudi 12 mai 2005
Statut
Modérateur
Dernière intervention
23 avril 2024
7 749
7 déc. 2005 à 19:37
7 déc. 2005 à 19:37
Il faut que tu rajoutes mick à la fin de la ligne correspondant au groupe video. Donne-moi le résultat de :
comme ça je pourrais t'expliciter la ligne ;-)
cat /etc/groups | grep video
comme ça je pourrais t'expliciter la ligne ;-)
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
mickmick
Messages postés
255
Date d'inscription
samedi 11 juin 2005
Statut
Membre
Dernière intervention
18 novembre 2006
8 déc. 2005 à 16:52
8 déc. 2005 à 16:52
/home/mick> /etc/group| grep video
bash: /etc/group: Permission non accordée
sinon voila le fichier /etc/group
root:x:0:root
bin:x:1:root,bin,daemon
daemon:x:2:root,bin,daemon
sys:x:3:root,bin,adm
adm:x:4:root,adm,daemon
tty:x:5:
disk:x:6:root
lp:x:7:daemon,lp
mem:x:8:
kmem:x:9:
wheel:x:10:root
mail:x:12:mail
news:x:13:news
uucp:x:14:uucp
man:x:15:
games:x:20:
gopher:x:30:
dip:x:40:
ftp:x:50:
lock:x:54:
nobody:x:99:
users:x:100:
dbus:x:81:
floppy:x:19:
vcsa:x:69:
rpm:x:37:
utmp:x:22:
haldaemon:x:68:
slocate:x:21:
pcap:x:77:
nscd:x:28:
named:x:25:
netdump:x:34:
sshd:x:74:
rpc:x:32:
mailnull:x:47:
smmsp:x:51:
rpcuser:x:29:
nfsnobody:x:65534:
xfs:x:43:
ntp:x:38:
gdm:x:42:
mick:x:500:
clamav:x:101:
bash: /etc/group: Permission non accordée
sinon voila le fichier /etc/group
root:x:0:root
bin:x:1:root,bin,daemon
daemon:x:2:root,bin,daemon
sys:x:3:root,bin,adm
adm:x:4:root,adm,daemon
tty:x:5:
disk:x:6:root
lp:x:7:daemon,lp
mem:x:8:
kmem:x:9:
wheel:x:10:root
mail:x:12:mail
news:x:13:news
uucp:x:14:uucp
man:x:15:
games:x:20:
gopher:x:30:
dip:x:40:
ftp:x:50:
lock:x:54:
nobody:x:99:
users:x:100:
dbus:x:81:
floppy:x:19:
vcsa:x:69:
rpm:x:37:
utmp:x:22:
haldaemon:x:68:
slocate:x:21:
pcap:x:77:
nscd:x:28:
named:x:25:
netdump:x:34:
sshd:x:74:
rpc:x:32:
mailnull:x:47:
smmsp:x:51:
rpcuser:x:29:
nfsnobody:x:65534:
xfs:x:43:
ntp:x:38:
gdm:x:42:
mick:x:500:
clamav:x:101:
mickmick
Messages postés
255
Date d'inscription
samedi 11 juin 2005
Statut
Membre
Dernière intervention
18 novembre 2006
12 déc. 2005 à 13:43
12 déc. 2005 à 13:43
je relance...
il n'y a rien qui parle de video dans /etc/group
help...
il n'y a rien qui parle de video dans /etc/group
help...
mamiemando
Messages postés
33079
Date d'inscription
jeudi 12 mai 2005
Statut
Modérateur
Dernière intervention
23 avril 2024
7 749
12 déc. 2005 à 20:11
12 déc. 2005 à 20:11
Ok alors c'est pas grave, passe en root.
1) soit tu crées un groupe vidéo et tu mets /dev/video pour ce groupe :
Rajoute dans /etc/groups la ligne :
(le numero est arbitraire mais doit être distinct de ceux déjà utilisé (groupe identifiant, appelé aussi gid). En général plus le gid est élevé moins le groupe a de droit (ainsi nobody à le gid le plus élevé tandis que root à le gid le plus faible).
Ensuite tape :
2) soit on met/dev/video dans un autre groupe, par exemple users :
Comme ce groupe existe déjà, il suffit juste de changer le groupe de /dev/video (soit avec un chown comme ci-dessus, soit avec un chgrp)
Bonne chance
1) soit tu crées un groupe vidéo et tu mets /dev/video pour ce groupe :
Rajoute dans /etc/groups la ligne :
video:x:6969:
(le numero est arbitraire mais doit être distinct de ceux déjà utilisé (groupe identifiant, appelé aussi gid). En général plus le gid est élevé moins le groupe a de droit (ainsi nobody à le gid le plus élevé tandis que root à le gid le plus faible).
Ensuite tape :
chown root:video /dev/video
2) soit on met/dev/video dans un autre groupe, par exemple users :
Comme ce groupe existe déjà, il suffit juste de changer le groupe de /dev/video (soit avec un chown comme ci-dessus, soit avec un chgrp)
chgrp users /dev/video
Bonne chance
mickmick
Messages postés
255
Date d'inscription
samedi 11 juin 2005
Statut
Membre
Dernière intervention
18 novembre 2006
14 déc. 2005 à 16:28
14 déc. 2005 à 16:28
je pense que c'est tout autre chose, car ca ne fonctionne toujours pas :
>v4l-conf
v4l-conf: using X11 display :0.0
dga: version 2.0
mode: 1024x768, depth=24, bpp=32, bpl=4096, base=0xd0000000
can't open /dev/video0: No space left on device
~/v4l-kernel/v4l> v4l-conf
v4l-conf: using X11 display :0.0
dga: version 2.0
WARNING: No DGA support available for this display.
mode: 1280x800, depth=24, bpp=32, bpl=5120, base=unknown
/dev/video0 [v4l2]: no overlay support
voila ce que j'obtient avec v4l-conf...
>v4l-conf
v4l-conf: using X11 display :0.0
dga: version 2.0
mode: 1024x768, depth=24, bpp=32, bpl=4096, base=0xd0000000
can't open /dev/video0: No space left on device
~/v4l-kernel/v4l> v4l-conf
v4l-conf: using X11 display :0.0
dga: version 2.0
WARNING: No DGA support available for this display.
mode: 1280x800, depth=24, bpp=32, bpl=5120, base=unknown
/dev/video0 [v4l2]: no overlay support
voila ce que j'obtient avec v4l-conf...
mamiemando
Messages postés
33079
Date d'inscription
jeudi 12 mai 2005
Statut
Modérateur
Dernière intervention
23 avril 2024
7 749
14 déc. 2005 à 19:37
14 déc. 2005 à 19:37
Plus exactement tu as un deuxième problème :
Donc fais de la place :-) Pour t'aider :
can't open /dev/video0: No space left on device
Donc fais de la place :-) Pour t'aider :
df -h
mickmick
Messages postés
255
Date d'inscription
samedi 11 juin 2005
Statut
Membre
Dernière intervention
18 novembre 2006
15 déc. 2005 à 11:15
15 déc. 2005 à 11:15
quand tu veux dire fait de la place tu entand koi?
j'essaye ca pour voir...
j'essaye ca pour voir...
mamiemando
Messages postés
33079
Date d'inscription
jeudi 12 mai 2005
Statut
Modérateur
Dernière intervention
23 avril 2024
7 749
16 déc. 2005 à 00:00
16 déc. 2005 à 00:00
Ben supprime des fichiers de ton disque dur il est plein !!
mickmick
Messages postés
255
Date d'inscription
samedi 11 juin 2005
Statut
Membre
Dernière intervention
18 novembre 2006
16 déc. 2005 à 11:49
16 déc. 2005 à 11:49
ba non, j'ai 4go libres sur la partition linux
et 10 sur une autre partition...
et 10 sur une autre partition...
mamiemando
Messages postés
33079
Date d'inscription
jeudi 12 mai 2005
Statut
Modérateur
Dernière intervention
23 avril 2024
7 749
16 déc. 2005 à 19:22
16 déc. 2005 à 19:22
Donne moi le résultat de :
df -h quota
mickmick
Messages postés
255
Date d'inscription
samedi 11 juin 2005
Statut
Membre
Dernière intervention
18 novembre 2006
16 déc. 2005 à 23:11
16 déc. 2005 à 23:11
Sys. de fich. Tail. Occ. Disp. %Occ. Monté sur
/dev/mapper/VolGroup00-LogVol00
8,7G 3,4G 4,9G 41% /
/dev/hda6 99M 9,8M 84M 11% /boot
/dev/shm 220M 0 220M 0% /dev/shm
/dev/hda1 7,9G 4,5G 3,4G 57% /mnt/windows
/dev/hda5 20G 11G 8,7G 56% /mnt/partage
quota ne donne rien
/dev/mapper/VolGroup00-LogVol00
8,7G 3,4G 4,9G 41% /
/dev/hda6 99M 9,8M 84M 11% /boot
/dev/shm 220M 0 220M 0% /dev/shm
/dev/hda1 7,9G 4,5G 3,4G 57% /mnt/windows
/dev/hda5 20G 11G 8,7G 56% /mnt/partage
quota ne donne rien
mickmick
Messages postés
255
Date d'inscription
samedi 11 juin 2005
Statut
Membre
Dernière intervention
18 novembre 2006
17 déc. 2005 à 20:51
17 déc. 2005 à 20:51
~> v4l-info
### v4l2 device info [/dev/video0] ###
general info
VIDIOC_QUERYCAP
driver : "em28xx"
card : "MSI VOX USB 2.0"
bus_info : "2-1"
version : 0.0.1
capabilities : 0x5030001 [VIDEO_CAPTURE,TUNER,AUDIO,READWRITE,STREAMING]
standards
VIDIOC_ENUMSTD(0)
index : 0
id : 0xff [PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K]
name : "PAL"
frameperiod.numerator : 1
frameperiod.denominator : 25
framelines : 625
VIDIOC_ENUMSTD(1)
index : 1
id : 0x3000 [NTSC_M,NTSC_M_JP]
name : "NTSC"
frameperiod.numerator : 1001
frameperiod.denominator : 30000
framelines : 525
VIDIOC_ENUMSTD(2)
index : 2
id : 0xff0000 [SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L,?ATSC_8_VSB]
name : "SECAM"
frameperiod.numerator : 1
frameperiod.denominator : 25
framelines : 625
VIDIOC_ENUMSTD(3)
index : 3
id : 0x100 [PAL_M]
name : "PAL-M"
frameperiod.numerator : 1001
frameperiod.denominator : 30000
framelines : 525
inputs
VIDIOC_ENUMINPUT(0)
index : 0
name : "Television"
type : TUNER
audioset : 0
tuner : 0
std : 0xff31ff [PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,NTSC_M,NTSC_M_JP,SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L,?ATSC_8_VSB]
status : 0x0 []
VIDIOC_ENUMINPUT(1)
index : 1
name : "Composite1"
type : CAMERA
audioset : 0
tuner : 0
std : 0xff31ff [PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,NTSC_M,NTSC_M_JP,SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L,?ATSC_8_VSB]
status : 0x0 []
VIDIOC_ENUMINPUT(2)
index : 2
name : "S-Video"
type : CAMERA
audioset : 0
tuner : 0
std : 0xff31ff [PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,NTSC_M,NTSC_M_JP,SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L,?ATSC_8_VSB]
status : 0x0 []
tuners
VIDIOC_G_TUNER(0)
index : 0
name : "Tuner"
type : ANALOG_TV
capability : 0x2 [NORM]
rangelow : 0
rangehigh : 4294967295
rxsubchans : 0x0 []
audmode : MONO
signal : 0
afc : 0
video capture
VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
index : 0
type : VIDEO_CAPTURE
flags : 0
description : "Packed YUY2"
pixelformat : 0x56595559 [YUYV]
VIDIOC_G_FMT(VIDEO_CAPTURE)
type : VIDEO_CAPTURE
fmt.pix.width : 640
fmt.pix.height : 480
fmt.pix.pixelformat : 0x56595559 [YUYV]
fmt.pix.field : INTERLACED
fmt.pix.bytesperline : 1280
fmt.pix.sizeimage : 614400
fmt.pix.colorspace : SMPTE170M
fmt.pix.priv : 0
controls
VIDIOC_QUERYCTRL(BASE+0)
id : 9963776
type : INTEGER
name : "Brightness"
minimum : -128
maximum : 127
step : 1
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(BASE+1)
id : 9963777
type : INTEGER
name : "Contrast"
minimum : 0
maximum : 31
step : 1
default_value : 16
flags : 0
VIDIOC_QUERYCTRL(BASE+2)
id : 9963778
type : INTEGER
name : "Saturation"
minimum : 0
maximum : 31
step : 1
default_value : 16
flags : 0
### video4linux device info [/dev/video0] ###
general info
VIDIOCGCAP
name : "MSI VOX USB 2.0"
type : 0x3 [CAPTURE,TUNER]
channels : 3
audios : 0
maxwidth : 640
maxheight : 480
minwidth : 48
minheight : 32
channels
VIDIOCGCHAN(0)
channel : 0
name : "Television"
tuners : 1
flags : 0x1 [TUNER]
type : TV
norm : 0
VIDIOCGCHAN(1)
channel : 1
name : "Composite1"
tuners : 0
flags : 0x0 []
type : CAMERA
norm : 0
VIDIOCGCHAN(2)
channel : 2
name : "S-Video"
tuners : 0
flags : 0x0 []
type : CAMERA
norm : 0
tuner
VIDIOCGTUNER
tuner : 0
name : "Tuner"
rangelow : 0
rangehigh : 4294967295
flags : 0x7 [PAL,NTSC,SECAM]
mode : PAL
signal : 0
audio
ioctl VIDIOCGAUDIO: Invalid argument
picture
VIDIOCGPICT
brightness : 32896
hue : 0
colour : 33825
contrast : 33825
whiteness : 33288
depth : 52733
palette : YUYV
buffer
ioctl VIDIOCGFBUF: Invalid argument
window
VIDIOCGWIN
x : 0
y : 0
width : 640
height : 480
chromakey : 0
flags : 0
voila ce que j'obtiens kan je fais v4l-info, on voit que il y a des erreurs dans la section v4l et pas V4L2... il ne faudrait il pas "prévenir linux" d'utiliser V4L2 ???
### v4l2 device info [/dev/video0] ###
general info
VIDIOC_QUERYCAP
driver : "em28xx"
card : "MSI VOX USB 2.0"
bus_info : "2-1"
version : 0.0.1
capabilities : 0x5030001 [VIDEO_CAPTURE,TUNER,AUDIO,READWRITE,STREAMING]
standards
VIDIOC_ENUMSTD(0)
index : 0
id : 0xff [PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K]
name : "PAL"
frameperiod.numerator : 1
frameperiod.denominator : 25
framelines : 625
VIDIOC_ENUMSTD(1)
index : 1
id : 0x3000 [NTSC_M,NTSC_M_JP]
name : "NTSC"
frameperiod.numerator : 1001
frameperiod.denominator : 30000
framelines : 525
VIDIOC_ENUMSTD(2)
index : 2
id : 0xff0000 [SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L,?ATSC_8_VSB]
name : "SECAM"
frameperiod.numerator : 1
frameperiod.denominator : 25
framelines : 625
VIDIOC_ENUMSTD(3)
index : 3
id : 0x100 [PAL_M]
name : "PAL-M"
frameperiod.numerator : 1001
frameperiod.denominator : 30000
framelines : 525
inputs
VIDIOC_ENUMINPUT(0)
index : 0
name : "Television"
type : TUNER
audioset : 0
tuner : 0
std : 0xff31ff [PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,NTSC_M,NTSC_M_JP,SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L,?ATSC_8_VSB]
status : 0x0 []
VIDIOC_ENUMINPUT(1)
index : 1
name : "Composite1"
type : CAMERA
audioset : 0
tuner : 0
std : 0xff31ff [PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,NTSC_M,NTSC_M_JP,SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L,?ATSC_8_VSB]
status : 0x0 []
VIDIOC_ENUMINPUT(2)
index : 2
name : "S-Video"
type : CAMERA
audioset : 0
tuner : 0
std : 0xff31ff [PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,NTSC_M,NTSC_M_JP,SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L,?ATSC_8_VSB]
status : 0x0 []
tuners
VIDIOC_G_TUNER(0)
index : 0
name : "Tuner"
type : ANALOG_TV
capability : 0x2 [NORM]
rangelow : 0
rangehigh : 4294967295
rxsubchans : 0x0 []
audmode : MONO
signal : 0
afc : 0
video capture
VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
index : 0
type : VIDEO_CAPTURE
flags : 0
description : "Packed YUY2"
pixelformat : 0x56595559 [YUYV]
VIDIOC_G_FMT(VIDEO_CAPTURE)
type : VIDEO_CAPTURE
fmt.pix.width : 640
fmt.pix.height : 480
fmt.pix.pixelformat : 0x56595559 [YUYV]
fmt.pix.field : INTERLACED
fmt.pix.bytesperline : 1280
fmt.pix.sizeimage : 614400
fmt.pix.colorspace : SMPTE170M
fmt.pix.priv : 0
controls
VIDIOC_QUERYCTRL(BASE+0)
id : 9963776
type : INTEGER
name : "Brightness"
minimum : -128
maximum : 127
step : 1
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(BASE+1)
id : 9963777
type : INTEGER
name : "Contrast"
minimum : 0
maximum : 31
step : 1
default_value : 16
flags : 0
VIDIOC_QUERYCTRL(BASE+2)
id : 9963778
type : INTEGER
name : "Saturation"
minimum : 0
maximum : 31
step : 1
default_value : 16
flags : 0
### video4linux device info [/dev/video0] ###
general info
VIDIOCGCAP
name : "MSI VOX USB 2.0"
type : 0x3 [CAPTURE,TUNER]
channels : 3
audios : 0
maxwidth : 640
maxheight : 480
minwidth : 48
minheight : 32
channels
VIDIOCGCHAN(0)
channel : 0
name : "Television"
tuners : 1
flags : 0x1 [TUNER]
type : TV
norm : 0
VIDIOCGCHAN(1)
channel : 1
name : "Composite1"
tuners : 0
flags : 0x0 []
type : CAMERA
norm : 0
VIDIOCGCHAN(2)
channel : 2
name : "S-Video"
tuners : 0
flags : 0x0 []
type : CAMERA
norm : 0
tuner
VIDIOCGTUNER
tuner : 0
name : "Tuner"
rangelow : 0
rangehigh : 4294967295
flags : 0x7 [PAL,NTSC,SECAM]
mode : PAL
signal : 0
audio
ioctl VIDIOCGAUDIO: Invalid argument
picture
VIDIOCGPICT
brightness : 32896
hue : 0
colour : 33825
contrast : 33825
whiteness : 33288
depth : 52733
palette : YUYV
buffer
ioctl VIDIOCGFBUF: Invalid argument
window
VIDIOCGWIN
x : 0
y : 0
width : 640
height : 480
chromakey : 0
flags : 0
voila ce que j'obtiens kan je fais v4l-info, on voit que il y a des erreurs dans la section v4l et pas V4L2... il ne faudrait il pas "prévenir linux" d'utiliser V4L2 ???