[Risolto] Webcam Philips PCVC675K

Problemi e discussioni inerenti al kernel e al supporto hardware in ambiente Linux
Rispondi
Xemertix
Arciere
Messaggi: 231
Iscritto il: 4 aprile 2008, 15:13

Messaggio da Xemertix » 6 maggio 2009, 9:38

Fino a qualche settimana fa la mia webcam philips funzionava normalmente (skype,amsn etc etc)..oggi vado a provarla,e da un output nero..non riesco a capire nemmeno dov'è il problema visto che xawtv -c mi fa diventare lo schermo tutto nero! (non lascia un log da qualche parte?)
Non è un problema di permessi,perchè ha sempre funzionato..ecco alcune informazioni utili:

Codice: Seleziona tutto

$  lsusb
Bus 005 Device 003: ID 0471:0307 Philips PCVC675K WebCam [pwc]

Codice: Seleziona tutto

dmesg|grep cam
pwc: Philips webcam module version 10.0.13 loaded.
pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
pwc: Philips PCVC675K (Vesta) USB webcam detected.
usbcore: registered new interface driver Philips webcam
pwc: Philips PCVC675K (Vesta) USB webcam detected.
pwc: Philips PCVC675K (Vesta) USB webcam detected.

Codice: Seleziona tutto

$  dmesg|grep video
pci 0000:01:00.0: Boot video device
Linux video capture interface: v2.00
pwc: Registered as /dev/video0.
em28xx #0: V4L2 device registered as /dev/video1 and /dev/vbi0
pwc: Registered as /dev/video0.
pwc: Registered as /dev/video0.
$xawtv -c /dev/video0
schermata nera! e devo riavviare X

Codice: Seleziona tutto

$lsmod |grep videodev
videodev               43360  5 tuner,saa7115,v4l2_common,pwc,em28xx
v4l1_compat            15348  1 videodev
v4l2_compat_ioctl32    10896  1 videodev

Codice: Seleziona tutto

$lsmod |grep pwc
pwc                    86944  0 
videodev               43360  5 tuner,saa7115,v4l2_common,pwc,em28xx
usbcore               161488  10 em28xx_alsa,snd_usb_audio,snd_usb_lib,pwc,em28xx,usbhid,uhci_hcd,ehci_hcd,ndiswrapper

Codice: Seleziona tutto

$  v4l-info

### v4l2 device info [/dev/video0] ###
general info
    VIDIOC_QUERYCAP
	driver                  : "pwc"
	card                    : "Philips 675 webcam"
	bus_info                : "usb-0000:00:1a.2-1"
	version                 : 10.0.12
	capabilities            : 0x5000001 [VIDEO_CAPTURE,READWRITE,STREAMING]

standards
    VIDIOC_ENUMSTD(0)
	index                   : 0
	id                      : 0x0 []
	name                    : "webcam"
	frameperiod.numerator   : 0
	frameperiod.denominator : 0
	framelines              : 0

inputs
    VIDIOC_ENUMINPUT(0)
	index                   : 0
	name                    : "usb"
	type                    : unknown
	audioset                : 0
	tuner                   : 0
	std                     : 0x0 []
	status                  : 0x0 []

video capture
    VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
	index                   : 0
	type                    : VIDEO_CAPTURE
	flags                   : 1
	description             : "Raw Philips Webcam"
	pixelformat             : 0x32435750 [PWC2]
    VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE)
	index                   : 1
	type                    : VIDEO_CAPTURE
	flags                   : 0
	description             : "4:2:0, planar, Y-Cb-Cr"
	pixelformat             : 0x32315559 [YU12]
    VIDIOC_G_FMT(VIDEO_CAPTURE)
	type                    : VIDEO_CAPTURE
	fmt.pix.width           : 176
	fmt.pix.height          : 144
	fmt.pix.pixelformat     : 0x32315559 [YU12]
	fmt.pix.field           : NONE
	fmt.pix.bytesperline    : 264
	fmt.pix.sizeimage       : 38016
	fmt.pix.colorspace      : unknown
	fmt.pix.priv            : 0

controls
    VIDIOC_QUERYCTRL(BASE+0)
	id                      : 9963776
	type                    : INTEGER
	name                    : "Brightness"
	minimum                 : 0
	maximum                 : 128
	step                    : 1
	default_value           : 64
	flags                   : 0
    VIDIOC_QUERYCTRL(BASE+1)
	id                      : 9963777
	type                    : INTEGER
	name                    : "Contrast"
	minimum                 : 0
	maximum                 : 64
	step                    : 1
	default_value           : 0
	flags                   : 0
    VIDIOC_QUERYCTRL(BASE+2)
	id                      : 9963778
	type                    : INTEGER
	name                    : "Saturation"
	minimum                 : -100
	maximum                 : 100
	step                    : 1
	default_value           : 0
	flags                   : 0
    VIDIOC_QUERYCTRL(PRIVATE_BASE+0)
	id                      : 134217728
	type                    : BUTTON
	name                    : "Save User Settings"
	minimum                 : 0
	maximum                 : 0
	step                    : 0
	default_value           : 0
	flags                   : 0
    VIDIOC_QUERYCTRL(PRIVATE_BASE+1)
	id                      : 134217729
	type                    : BUTTON
	name                    : "Restore User Settings"
	minimum                 : 0
	maximum                 : 0
	step                    : 0
	default_value           : 0
	flags                   : 0
    VIDIOC_QUERYCTRL(PRIVATE_BASE+2)
	id                      : 134217730
	type                    : BUTTON
	name                    : "Restore Factory Settings"
	minimum                 : 0
	maximum                 : 0
	step                    : 0
	default_value           : 0
	flags                   : 0
    VIDIOC_QUERYCTRL(PRIVATE_BASE+3)
	id                      : 134217731
	type                    : BOOLEAN
	name                    : "Colour mode"
	minimum                 : 0
	maximum                 : 1
	step                    : 1
	default_value           : 0
	flags                   : 0
    VIDIOC_QUERYCTRL(PRIVATE_BASE+4)
	id                      : 134217732
	type                    : BOOLEAN
	name                    : "Auto contour"
	minimum                 : 0
	maximum                 : 1
	step                    : 1
	default_value           : 0
	flags                   : 0
    VIDIOC_QUERYCTRL(PRIVATE_BASE+5)
	id                      : 134217733
	type                    : INTEGER
	name                    : "Contour"
	minimum                 : 0
	maximum                 : 63
	step                    : 1
	default_value           : 0
	flags                   : 0
    VIDIOC_QUERYCTRL(PRIVATE_BASE+6)
	id                      : 134217734
	type                    : BOOLEAN
	name                    : "Backlight compensation"
	minimum                 : 0
	maximum                 : 1
	step                    : 1
	default_value           : 0
	flags                   : 0
    VIDIOC_QUERYCTRL(PRIVATE_BASE+7)
	id                      : 134217735
	type                    : BOOLEAN
	name                    : "Flickerless"
	minimum                 : 0
	maximum                 : 1
	step                    : 1
	default_value           : 0
	flags                   : 0
    VIDIOC_QUERYCTRL(PRIVATE_BASE+8)
	id                      : 134217736
	type                    : INTEGER
	name                    : "Noise reduction"
	minimum                 : 0
	maximum                 : 3
	step                    : 1
	default_value           : 0
	flags                   : 0

### video4linux device info [/dev/video0] ###
general info
    VIDIOCGCAP
	name                    : "Philips 675 webcam"
	type                    : 0x1 [CAPTURE]
	channels                : 1
	audios                  : 1
	maxwidth                : 640
	maxheight               : 480
	minwidth                : 128
	minheight               : 96

channels
    VIDIOCGCHAN(0)
	channel                 : 0
	name                    : "Webcam"
	tuners                  : 0
	flags                   : 0x0 []
	type                    : CAMERA
	norm                    : 0

tuner
ioctl VIDIOCGTUNER: Invalid argument

audio
    VIDIOCGAUDIO
	audio                   : -1
	volume                  : 0
	bass                    : 0
	treble                  : 0

picture
    VIDIOCGPICT
	brightness              : 32256
	hue                     : 65535
	colour                  : 65535
	contrast                : 32768
	whiteness               : 32768
	depth                   : 24
	palette                 : YUV420P

buffer
    VIDIOCGFBUF
	base                    : (nil)
	height                  : 0
	width                   : 0
	depth                   : 0
	bytesperline            : 0

window
    VIDIOCGWIN
	x                       : 0
	y                       : 0
	width                   : 176
	height                  : 144
	chromakey               : 0
	flags                   : 655360

Codice: Seleziona tutto

$  glxinfo |grep rendering
direct rendering: Yes

Xemertix
Arciere
Messaggi: 231
Iscritto il: 4 aprile 2008, 15:13

Messaggio da Xemertix » 10 maggio 2009, 23:29

Con l'aggiornamento all'ultimo pacchetto del kernel 'kernel26 2.6.29.3-1' la webcam ha ricominciato a funzionare correttamente..mah..

Avatar utente
Giovanni
Developer
Messaggi: 2464
Iscritto il: 26 agosto 2007, 16:33
Località: Livorno
Contatta:

Messaggio da Giovanni » 10 maggio 2009, 23:47

Probabilmente il 2.6.29.3 fixa il precedente problema.
Arch Linux Developer

Rispondi