Le Jeudi 19 Mai 2005 14:18, poeml_at_cmdline.net a écrit : > On Thu, May 19, 2005 at 02:00:23PM +0200, Peter Poeml wrote: > > May 19 13:23:52 cube kernel: hub.c: connect-debounce failed, port 2 > > disabled May 19 13:23:55 cube kernel: hub.c: new USB device > > 10:18.0-2.1.2, assigned address 6 May 19 13:23:55 cube kernel: > > drivers/usb/spca5xx.c: USB SPCA5XX camera found. Agfa ephoto CL20 > > spca500a May 19 13:23:55 cube kernel: drivers/usb/spca5xx.c: > > [spca5xx_probe:8175] Camera type JPEG > > > > Promising as this is, :-) I'll build the viewer program next, and see > > what happens. > > Wild flickering on the display, but only for a short time. (It does look > more like initialising the screen than an actual video stream.) In fact, > the spcaview terminates quite soon: > > (I tried it on the console and on X, > on X I was at least able to capture the output from the xterm, on the > console it set the virtual terminal to the requested solution 320x240 > but didn't restore it. I am using framebuffer device) > > > # ./spcaview -f jpg -s 320x240 > Spcaview version:1.0.4 date: 01:05:2005 (C) mxhaard_at_magic.fr > size width: 320 height: 240 > Initializing SDL. > SDL initialized. > bpp 3 format 21 > Using video device /dev/video0. > Initializing v4l. > > > > ^[[A^[[A^[[A^[[B^[[B^[[B**************** PROBING CAMERA > ********************* Camera found: Agfa ephoto CL20 > > Bridge found: SPCA500 > > StreamId: JPEG Camera > Available Resolutions width 640 heigth 480 native > Available Resolutions width 352 heigth 288 native > Available Resolutions width 320 heigth 240 native * > Available Resolutions width 176 heigth 144 native > ***************************************************** > grabbing method default MMAP asked > VIDIOCGMBUF size 4915232 frames 4 offets[0]=0 offsets[1]=1228808 > VIDIOCGPICT > brightnes=0 hue=0 color=0 contrast=0 whiteness=0 > depth=8 palette=21 > VIDIOCSPICT > brightness=0 hue=0 color=0 contrast=0 whiteness=0 > depth=24 palette=21 > Couldn't set 320*240x24 video mode: Couldn't set console screen info > zsh: 12100 exit 1 ./spcaview -f jpg -s 320x240 > > > The corresponding kernel log was: > > May 19 14:06:08 cube kernel: drivers/usb/spca5xx.c: > [spca500_initialise:5921] Spca500 Sensor Address 0x00 May 19 14:06:08 cube > kernel: klogd 1.4.1, ---------- state change ---------- May 19 14:06:08 > cube kernel: Inspecting /boot/System.map-2.4.30-1-default May 19 14:06:08 > cube kernel: Loaded 16557 symbols from /boot/System.map-2.4.30-1-default. > May 19 14:06:08 cube kernel: Symbols match kernel version 2.4.30. > May 19 14:06:08 cube kernel: Loaded 1291 symbols from 29 modules. > May 19 14:06:13 cube kernel: drivers/usb/spca5xx.c: > [spca500_initialise:5921] Spca500 Sensor Address 0x00 May 19 14:06:18 cube > kernel: drivers/usb/spca5xx.c: [spca500_initialise:5921] Spca500 Sensor > Address 0x00 > > Any idea what I can do? > > Peter Peter, Can you load the driver in debug like this modprobe spca5xx debug=5 then run spcaview -f jpg -s 320x240 stop or kill spcaview and mail me the relevant line of your /var/log/messages don't forget to remove the module , debug=5 is very verbose :) regards -- Michel XhaardReceived on Thu May 19 2005 - 21:31:10 CEST
This archive was generated by hypermail 2.2.0 : Tue Oct 20 2009 - 17:33:21 CEST