Hola a todos!!
Soy nuevo en el foro pero no en el mundillo GNU/Linux en el que llevo 3 años aprendiendo y trabajando. Sin embargo, durante este tiempo no he sido capaz de resolver algunos problemas y por eso creo que es hora de solicitar vuestra ayuda. Uno de ellos es el siguiente:
Los programas (motion, xawtv, webcam-server) no son capaces de abrir la webcam (Trust Spycam 100), a pesar de que Linux la reconoce, carga los módulos y crea el enlace al dispositivo en /dev.
He probado a instalar los paquetes libv4l-0 y xserver-xorg-video-v4l como indica la Debian Wiki. Curiosamente, con Debian Squeeze y el kernel de serie (2.6.26) el único programa que funciona es webcam-server. Parece ser que el problema va de "palettes" pero desconozco que es eso.
Trabajo con Debian Squeeze y con el kernel 2.6.37. A continuación os posteo los logs y errores que me dan el kernel y los programas, así como adjunto el config del kernel:
Dmesg
Código:
[ 248.059105] uhci_hcd 0000:00:1d.0: port 1 portsc 0093,00
[ 248.059120] hub 1-0:1.0: port 1: status 0101 change 0001
[ 248.160124] hub 1-0:1.0: state 7 ports 2 chg 0002 evt 0000
[ 248.160155] hub 1-0:1.0: port 1, status 0101, change 0000, 12 Mb/s
[ 248.262084] usb 1-1: new full speed USB device using uhci_hcd and address 2
[ 248.385073] usb 1-1: ep0 maxpacket = 8
[ 248.517182] usb 1-1: default language 0x0409
[ 248.546174] usb 1-1: udev 2, busnum 1, minor = 1
[ 248.546184] usb 1-1: New USB device found, idVendor=0553, idProduct=0202
[ 248.546195] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 248.546204] usb 1-1: Product: USB Dual-mode Camera
[ 248.546212] usb 1-1: Manufacturer: STMicroelectronics
[ 248.547696] usb 1-1: usb_probe_device
[ 248.547712] usb 1-1: configuration #1 chosen from 1 choice
[ 248.550177] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
[ 248.550342] drivers/usb/core/inode.c: creating file '002'
[ 248.763916] Linux video capture interface: v2.00
[ 248.819167] gspca: v2.10.0 registered
[ 248.830351] stv0680 1-1:1.0: usb_probe_interface
[ 248.830367] stv0680 1-1:1.0: usb_probe_interface - got id
[ 248.830380] gspca: probing 0553:0202
[ 249.865009] stv0680: Camera supports CIF mode
[ 249.865049] stv0680: Camera supports QCIF mode
[ 249.865057] stv0680: Firmware rev is 3.0
[ 249.865063] stv0680: ASIC rev is 7.6
[ 249.865068] stv0680: Sensor ID is 410
[ 249.881263] gspca: video0 created
[ 249.881329] usbcore: registered new interface driver stv0680
Xawtv
Código:
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.37)
xinerama 0: 1024x768+0+0
/dev/video0 [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl: VIDIOC_G_STD(std=0xbfed3a64 [PAL_G,PAL_D,PAL_D1,PAL_N,PAL_60,NTSC_M,NTSC_M_JP,SECAM_B,SECAM_G,SECAM_H,SECAM_K1,SECAM_L,?ATSC_8_VSB,ATSC_16_VSB,(null),(null),(null),(null),(null),(null)]): Argumento inválido
ioctl: VIDIOC_S_STD(std=0x0 []): Argumento inválido
no way to get: 384x288 32 bit TrueColor (LE: bgr-)
Motion
Código:
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Motion 3.2.9 Started
[0] ffmpeg LIBAVCODEC_BUILD 3355136 LIBAVFORMAT_BUILD 3409664
[0] Thread 1 is from /etc/motion/motion.conf
[0] motion-httpd/3.2.9 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[1] Thread 1 started
[1] cap.driver: "stv0680"
[1] cap.card: "USB Dual-mode Camera"
[1] cap.bus_info: "usb-0000:00:1d.0-1"
[1] cap.capabilities=0x05000001
[1] - VIDEO_CAPTURE
[1] - READWRITE
[1] - STREAMING
[1] Supported palettes:
[1] 0: S680 (S680)
[1] Unable to find a compatible palette format.
[1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
[1] V4L capturing using read is deprecated!
[1] Motion only supports mmap.
[1] Capture error calling vid_start
[1] Thread finishing...
Webcam-server
Código:
No supported colour palette found.
Gracias anticipadas!!