Web lists-archives.com

Re: [Spca50x-devs] kernel 2.6.18, driver compilation




Le Dimanche 5 Août 2007 12:33, Dusan Bruncko a écrit :
> Dear Michale,
>
> here is basic information:
Please don't Topost it is difficult to follow a thread that way !!
>
> - if you look on /var/log/message  you can  see:
>
> Aug  5 12:24:48 helena kernel: usbcore: deregistering driver zc0301
> Aug  5 12:24:53 helena kernel: usbcore: deregistering driver gspca
> Aug  5 12:24:53 helena kernel:
> /var/tmp/bach-build/BUILD/gspcav1-20070508/gspca_core.c: driver gspca dereg
> istered
> Aug  5 12:27:07 helena ntpd[2576]: synchronized to LOCAL(0), stratum 10
> Aug  5 12:27:07 helena ntpd[2576]: kernel time sync enabled 0001
> Aug  5 12:27:42 helena kernel: usb 1-1: new full speed USB device using
> uhci_hcd and address 5
> Aug  5 12:27:42 helena kernel: usb 1-1: configuration #1 chosen from 1
> choice
> Aug  5 12:27:43 helena kernel: Linux video capture interface: v2.00
> Aug  5 12:27:43 helena kernel: zc0301: V4L2 driver for ZC0301[P] Image
> Processor and Control Chip v1:1.10
> Aug  5 12:27:43 helena kernel: usb 1-1: ZC0301[P] Image Processor and
> Control Chip detected (vid/pid 0x0AC
> 8:0x303B)
> Aug  5 12:27:43 helena kernel: usb 1-1: PB-0330 image sensor detected
> Aug  5 12:27:43 helena kernel: usb 1-1: Initialization succeeded
> Aug  5 12:27:43 helena kernel: usb 1-1: V4L2 device registered as
> /dev/video0
Now /dev/video0 is set to the zc301 v4l2 driver from the kernel !! it is 
impossible for gspca to work properlly, you should read the readme and black 
list the zc301 driver, if you want to used gspca .
> Aug  5 12:27:43 helena kernel: usbcore: registered new driver zc0301
> Aug  5 12:27:43 helena kernel: usbcore: registered new driver gspca
> Aug  5 12:27:43 helena kernel:
> /var/tmp/bach-build/BUILD/gspcav1-20070508/gspca_core.c: gspca driver 01.00
> .18 registered
> Aug  5 12:28:09 helena ntpd[2576]: synchronized to 63.247.80.26, stratum 3
> ===========================================================================
>===============
>
>
> but if I try spcaview, I see immediatly flash an f nothing more. The
> message is following:
spcaview only work with v4l1 ;) maybe try luvcview :)
>
>  Spcaview version: 1.1.7 date: 06:11:2006 (C) mxhaard@xxxxxxxx
> Initializing SDL.
> SDL initialized.
> bpp 3 format 15
> Using video device /dev/video0.
> Initializing v4l.
> **************** PROBING CAMERA *********************
> wrong device
>
> ===========================================================================
>============
>
> So it is basically all.
>
> Cheers,  Dusan
>
> Michel Xhaard wrote:
> > Le Dimanche 5 Août 2007 11:10, Bruncko a écrit :
> > Dusan,
> >
> >> Hi all,
> >>
> >> My problem is following:
> >>
> >> uname -r
> >> 2.6.18-8.1.8.el5
> >>
> >> my camera is:
> >>
> >> lsusb
> >> Bus 001 Device 005: ID 0ac8:303b Z-Star Microelectronics Corp. ZC0303
> >> WebCam - this message I see from
> >> my PC with 2.6.18-8.1.8.el5 kernel.
> >>
> >> from PC, where is kernel 2.6.9-55.0.2.EL.cern I see thi same camera as
> >> Vimicro Zc301P 0x303b. Here I using
> >> spca5xx-2006051 driver and all is o.k.
> >>
> >> But on PC 2.6.18-8.1.8.el5 I cannot use spca5xx driver due to compiler
> >> error:
> >> spca5xx-20060501# make
> >> Building SPCA5XX driver for 2.5/2.6 kernel.
> >> Remember: you must have read/write access to your kernel source tree.
> >> make -C /lib/modules/`uname -r`/build
> >> SUBDIRS=/root/video/spca5xx-20060501 CC=cc modules
> >> make[1]: Entering directory `/usr/src/kernels/2.6.18-8.1.8.el5-i686'
> >> CC [M] /root/video/spca5xx-20060501/drivers/usb/spca5xx.o
> >> In file included from
> >> /root/video/spca5xx-20060501/drivers/usb/spca5xx.c:39:
> >> include/linux/config.h:6:2: warning: #warning Including config.h is
> >> deprecated.
> >> /root/video/spca5xx-20060501/drivers/usb/spca5xx.c: In function
> >> ‘spca5xx_open’:
> >> /root/video/spca5xx-20060501/drivers/usb/spca5xx.c:2392: error: implicit
> >> declaration of function ‘video_devdata’
> >>
> >> ======================================================================
> >>
> >> Unfortunately driver gspcav1-20070508 does not see my camera...
> >
> > It should !! have you look your /var/log/messages to see what the kernel
> > say ?
> >
> >> Can you dvice which driver can be able for kernel 2.6.18-8.1.8.el5-i686?
> >>
> >> Thank you very much in advance.
> >>
> >> Best regards,
> >> Dusan
> >
> > best regards

-- 
Michel Xhaard
http://mxhaard.free.fr

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs