Hi Thomas,

On Tuesday 15 January 2008, Thomas Netter wrote:
> Hi Laurent,
>
> Many thanks for attempting a patch. I patched it against uvc-r166.
> Didn't solve the problem.

I can't say I'm surprised, but I was still hoping it would work :-)

> Here's the output: 
>
> --> Connect camera to USB port. Put camera into PC CAMERA mode.
>
> Syslog:
>

Please get the kernel log messages using dmesg instead. The networkmanager and 
hal messages just cripple the output.

> Jan 15 15:28:25 zadig kernel: [20530.696000] usb 7-1: new high speed USB
> device using ehci_hcd and address 6
> Jan 15 15:28:26 zadig kernel: [20530.828000] usb 7-1: configuration #1
> chosen from 1 choice
> Jan 15 15:28:26 zadig kernel: [20530.828000] uvcvideo: Found UVC 1.00
> device SANYO Digital Camera (0474:0241)
> Jan 15 15:28:26 zadig NetworkManager: <debug> [1200407306.016313]
> nm_hal_device_added(): New device added (hal udi is
> '/org/freedesktop/Hal/devices/usb_device_474_241_000095970948').
> Jan 15 15:28:26 zadig NetworkManager: <debug> [1200407306.102361]
> nm_hal_device_added(): New device added (hal udi is
> '/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial').
> Jan 15 15:28:26 zadig NetworkManager: <debug> [1200407306.193626]
> nm_hal_device_added(): New device added (hal udi is
> '/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial_video4l
>inux').
>
> Jan 15 15:28:26 zadig NetworkManager: <debug> [1200407306.654525]
> nm_hal_device_added(): New device added (hal udi is
> '/org/freedesktop/Hal/devices/usb_device_474_241_000095970948_if1').
> Jan 15 15:28:26 zadig NetworkManager: <debug> [1200407306.684166]
> nm_hal_device_added(): New device added (hal udi is
> '/org/freedesktop/Hal/devices/usb_device_474_241_000095970948_usbraw').
>
>
> --> Start luvcview:
>
> sudo ./luvcview
> luvcview version 0.2.1
> Video driver: x11
> A window manager is available
> video /dev/video0
> G_FMT -1 0 0  0 0 0 134612088
> prepare S_FMT 1 320  240 1196444237 0 0
>
> --> Image from camera is visible
> ---> Press Q
>
> Closing vd->fd
>  Clean Up done Quit
>
> --> Start luvcview again:
>
>  sudo ./luvcview
> luvcview version 0.2.1
> Video driver: x11
> A window manager is available
> video /dev/video0
> G_FMT -1 0 0  0 0 0 134612088
> prepare S_FMT 1 320  240 1196444237 0 0
> Unable to set format: 5.
>  Init v4L2 failed !! exit fatal
>
> Nothing more is printed in /var/log/syslog or messages.

Get the messages from the kernel log directly, as syslog might need a small 
delay to flush the messages to the log. If the driver returns -EIO to 
luvcview there must be a corresponding message in the kernel log.

Cheers,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to