[Sugar-devel] Making Record support external cameras

Gonzalo Odiard godiard at sugarlabs.org
Tue Jun 9 23:03:11 EDT 2015


There are more drivers for different cameras? Any way to know what are the
camera drivers?
(or the usb camera drivers)

Gonzalo

On Tue, Jun 9, 2015 at 8:55 PM, James Cameron <quozl at laptop.org> wrote:

> On Tue, Jun 09, 2015 at 12:00:46PM -0300, Gonzalo Odiard wrote:
> > In particular in the XO, with the camera I have for testing,
> > no device is created, then I can't  test it.
> >
> > When I connect the camera, in /var/log/message I see:
> >
> >     kernel: usb 1-2: new full-speed USB device number 10 using xhci_hcd
> >     kernel: usb 1-2: New USB device found, idVendor=04fc, idProduct=0561
> >     kernel: usb 1-2: New USB device strings: Mfr=1, Product=2,
> SerialNumber=0
> >     kernel: usb 1-2: Product: Generic Digital camera
> >     kernel: usb 1-2: Manufacturer: Sunplus Technology Co., Ltd.
> >     kernel: gspca_main: spca561-2.14.0 probing 04fc:0561
>
> gspca_main kernel module is needed, and is in the kernel.
>
> gspca_spca561 kernel module is needed, but is not in the kernel.
>
> Edit defconfig, search for CONFIG_USB_GSPCA_SPCA561, set =m, and
> rebuild kernel.
>
> http://wiki.laptop.org/go/Kernel_Building#Building_a_kernel_RPM
>
> > If we can solve the device creation, we can make Record smarter
> > monitoring the directory /sys/class/video4linux and adding the
> > switch camera button if a new camera appear.
>
> Also, I think system D-Bus message can appear on insert event.
>
> --
> James Cameron
> http://quozl.linux.org.au/
>



-- 
Gonzalo Odiard

SugarLabs - Software for children learning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20150610/e19f3374/attachment.html>


More information about the Sugar-devel mailing list