Re: [Linux-uvc-devel] Acer HD Crystal webcam detected but cheese doesn't work

2008-12-23 Thread abhishek dastidar
Hi All,

I was able to fix the webcam issue by upgrading the kernel and installing
the libv4l 0.5.7 package from this ppa :
https://launchpad.net/~lool/+archive

Thanks everyone.
Regards,
Abhishek

On Tue, Dec 23, 2008 at 2:37 PM, Filippo Argiolas wrote:

> On Tue, Dec 23, 2008 at 5:39 AM, abhishek dastidar 
> wrote:
> >> > libv4l2: error converting / decoding frame data: v4l-convert: error
> >> > destination buffer too small
> >>
> >> Sounds like a libv4l2 issue. Have you tried contacting its author ?
> >>
> >> > I observed that once I start cheese, even luvcview doesn't work and
> >> > hangs
> >> > untill I rmmod uvcvideo and load it again. Please let me know if you
> >> > need
> >> > more info.
> >>
> >> This looks like a known bug. Please try the following
> >>
> >> luvcview -f yuv
> >> luvcview -f mjpeg
> >> luvcview -f yuv
> >>
> >> The third one will probably fail. If it does, please upgrade to the
> latest
> >> driver version and retry the above test.
>
> I believe it's the old bug that made cheese freeze some time ago.
> The kernel package with the fix finally entered intrepid-proposed some
> days ago (after about two months? still I can't believe how ubuntu
> folks can be so slow applying serious bugfixes...).
> Abhishek, you should be able to fix it enabling "proposed"
> repositories and upgrading the kernel. Anyway you will probably still
> encounter some issue after the upgrade because the libv4l package
> included in intrepid has a "nasty" bug (as Hans said) with uvcvideo
> webcams. It has been fixed in libv4l 0.5.7 and it's already going
> through a SRU process to get the intrepid package upgraded
> (http://launchpad.net/bugs/308890). It should enter the proposed
> repository as soon as someone from the SRU team acknowledges it. If
> you still have the issue after the kernel upgrade consider installing
> libv4l 0.5.7 from source because the package might take some time to
> actually be installable in intrepid.
>
> Best Regards,
>
> Filippo Argiolas
>
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Acer HD Crystal webcam detected but cheese doesn't work

2008-12-23 Thread abhishek dastidar
On Tue, Dec 23, 2008 at 2:37 PM, Filippo Argiolas wrote:

> On Tue, Dec 23, 2008 at 5:39 AM, abhishek dastidar 
> wrote:
> >> > libv4l2: error converting / decoding frame data: v4l-convert: error
> >> > destination buffer too small
> >>
> >> Sounds like a libv4l2 issue. Have you tried contacting its author ?
> >>
> >> > I observed that once I start cheese, even luvcview doesn't work and
> >> > hangs
> >> > untill I rmmod uvcvideo and load it again. Please let me know if you
> >> > need
> >> > more info.
> >>
> >> This looks like a known bug. Please try the following
> >>
> >> luvcview -f yuv
> >> luvcview -f mjpeg
> >> luvcview -f yuv
> >>
> >> The third one will probably fail. If it does, please upgrade to the
> latest
> >> driver version and retry the above test.
>
> I believe it's the old bug that made cheese freeze some time ago.
> The kernel package with the fix finally entered intrepid-proposed some
> days ago (after about two months? still I can't believe how ubuntu
> folks can be so slow applying serious bugfixes...).
> Abhishek, you should be able to fix it enabling "proposed"
> repositories and upgrading the kernel.

I also have a problem with my headphone for which a patch to alsa base was
commited but is still in the svn. So I guess I have to compile ALSA
separately apart from libv4l.


> Anyway you will probably still
> encounter some issue after the upgrade because the libv4l package
> included in intrepid has a "nasty" bug (as Hans said) with uvcvideo
> webcams. It has been fixed in libv4l 0.5.7 and it's already going
> through a SRU process to get the intrepid package upgraded
> (http://launchpad.net/bugs/308890). It should enter the proposed
> repository as soon as someone from the SRU team acknowledges it. If
> you still have the issue after the kernel upgrade consider installing
> libv4l 0.5.7 from source because the package might take some time to
> actually be installable in intrepid.
>
Thank you so much Filip, I will try that out now!

>
> Best Regards,
>
> Filippo Argiolas
>
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Acer HD Crystal webcam detected but cheese doesn't work

2008-12-23 Thread Filippo Argiolas
On Tue, Dec 23, 2008 at 5:39 AM, abhishek dastidar  wrote:
>> > libv4l2: error converting / decoding frame data: v4l-convert: error
>> > destination buffer too small
>>
>> Sounds like a libv4l2 issue. Have you tried contacting its author ?
>>
>> > I observed that once I start cheese, even luvcview doesn't work and
>> > hangs
>> > untill I rmmod uvcvideo and load it again. Please let me know if you
>> > need
>> > more info.
>>
>> This looks like a known bug. Please try the following
>>
>> luvcview -f yuv
>> luvcview -f mjpeg
>> luvcview -f yuv
>>
>> The third one will probably fail. If it does, please upgrade to the latest
>> driver version and retry the above test.

I believe it's the old bug that made cheese freeze some time ago.
The kernel package with the fix finally entered intrepid-proposed some
days ago (after about two months? still I can't believe how ubuntu
folks can be so slow applying serious bugfixes...).
Abhishek, you should be able to fix it enabling "proposed"
repositories and upgrading the kernel. Anyway you will probably still
encounter some issue after the upgrade because the libv4l package
included in intrepid has a "nasty" bug (as Hans said) with uvcvideo
webcams. It has been fixed in libv4l 0.5.7 and it's already going
through a SRU process to get the intrepid package upgraded
(http://launchpad.net/bugs/308890). It should enter the proposed
repository as soon as someone from the SRU team acknowledges it. If
you still have the issue after the kernel upgrade consider installing
libv4l 0.5.7 from source because the package might take some time to
actually be installable in intrepid.

Best Regards,

Filippo Argiolas
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Acer HD Crystal webcam detected but cheese doesn't work

2008-12-22 Thread abhishek dastidar
On Mon, Dec 22, 2008 at 6:50 PM, Laurent Pinchart <
laurent.pinch...@skynet.be> wrote:

> On Monday 22 December 2008, abhishek dastidar wrote:
> > On Mon, Dec 22, 2008 at 2:30 PM, Laurent Pinchart <
> >
> > laurent.pinch...@skynet.be> wrote:
> > > Hi Abhi,
> > >
> > > [...]
> > > Regarding your original problem, camorama will not work as it doesn't
> > > support
> > > the V4L2 API. Cheese should work, could you please describe the problem
> > > in more details ? Make sure you include application and kernel log
> > > messages in your report.
> >
> > I have attached the cheese log  and var/log/messages in the attachment.
>
> [excerpt from cheese log]
>
> > libv4l2: error converting / decoding frame data: v4l-convert: error
> > destination buffer too small
>
> Sounds like a libv4l2 issue. Have you tried contacting its author ?
>
> > I observed that once I start cheese, even luvcview doesn't work and hangs
> > untill I rmmod uvcvideo and load it again. Please let me know if you need
> > more info.
>
> This looks like a known bug. Please try the following
>
> luvcview -f yuv
> luvcview -f mjpeg
> luvcview -f yuv
>
> The third one will probably fail. If it does, please upgrade to the latest
> driver version and retry the above test.


The first and third worked, the second:
 luvcview -f mjpeg
luvcview 0.2.4

Unknown format specified. Aborting.

I compiled uvcview, gspca and cheese from source but still no good. What I
did notice is that after recompiling, gstreamer or luvciew doesn't hang
anymore like it did before. Any suggestions?

>
>
> Best regards,
>
> Laurent Pinchart
>
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Acer HD Crystal webcam detected but cheese doesn't work

2008-12-22 Thread Laurent Pinchart
On Monday 22 December 2008, abhishek dastidar wrote:
> On Mon, Dec 22, 2008 at 2:30 PM, Laurent Pinchart <
>
> laurent.pinch...@skynet.be> wrote:
> > Hi Abhi,
> >
> > [...]
> > Regarding your original problem, camorama will not work as it doesn't
> > support
> > the V4L2 API. Cheese should work, could you please describe the problem
> > in more details ? Make sure you include application and kernel log
> > messages in your report.
>
> I have attached the cheese log  and var/log/messages in the attachment.

[excerpt from cheese log]

> libv4l2: error converting / decoding frame data: v4l-convert: error
> destination buffer too small 

Sounds like a libv4l2 issue. Have you tried contacting its author ?

> I observed that once I start cheese, even luvcview doesn't work and hangs
> untill I rmmod uvcvideo and load it again. Please let me know if you need
> more info.

This looks like a known bug. Please try the following

luvcview -f yuv
luvcview -f mjpeg
luvcview -f yuv

The third one will probably fail. If it does, please upgrade to the latest 
driver version and retry the above test.

Best regards,

Laurent Pinchart
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Acer HD Crystal webcam detected but cheese doesn't work

2008-12-22 Thread Laurent Pinchart
Hi Abhi,

On Monday 22 December 2008, abhishek dastidar wrote:
> On Mon, Dec 22, 2008 at 6:28 AM, Laurent Pinchart wrote:
> > On Sunday 21 December 2008, abhishek dastidar wrote:
> > > Hi All,
> > > I just got an Acer 4930. The integrated webcam doesn't quite work out
> > > of the box for me with ubuntu 8.10. Cheese and camorama don't work with
> > > the cam but vlc, xawtv and luvcview work fine. gstreamer-properties
> > > tests sporadically but mostly hangs.
> > >
> > > I have attached the output from lsmod, lsusb, lshal and dmesg and
> > > cheese. The USB ID for the cam is 064e:a117. Can someone help me get
> > > cheese to work with my cam? I have also tried this:
> > > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/196811 and
> > > http://bugzilla.gnome.org/show_bug.cgi?id=531835 but they didn't help
> > > me!
> >
> > Could you please send me the output of
> >
> > lsusb -v -d 064e:a117
> >
> > using usbutils 0.72 or newer (0.73+ preferred) ?
>
> I compiled usbutils from source and attached it as mentioned. It also gave
> the following at console:
>
> lsusb -v -d 064e:a117 > lsusb-064e:a117.txt
> can't get device qualifier: Operation not permitted
> can't get debug descriptor: Operation not permitted
> cannot read device status, Operation not permitted (1)

Thanks.

> > I also noticed in the kernel log that you set the quirks parameter to 2.
> > Is that required ?
>
> I was trying various workarounds on the net from forums and bug reports. I
> don't think it is reqd as I can view it from luvcview and guvcview.
> What do we need that quirks param for anyway?

Quirks are used to work around buggy devices. They are hardcoded in the driver 
for known devices, and the module quirks parameter is used to test various 
quirks for still unsupported devices without requiring the user to patch and 
recompile the driver.

Regarding your original problem, camorama will not work as it doesn't support 
the V4L2 API. Cheese should work, could you please describe the problem in 
more details ? Make sure you include application and kernel log messages in 
your report.

Best regards,

Laurent Pinchart
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Acer HD Crystal webcam detected but cheese doesn't work

2008-12-21 Thread abhishek dastidar
On Mon, Dec 22, 2008 at 6:28 AM, Laurent Pinchart <
laurent.pinch...@skynet.be> wrote:

> Hi Abhi,
>
> On Sunday 21 December 2008, abhishek dastidar wrote:
> > Hi All,
> > I just got an Acer 4930. The integrated webcam doesn't quite work out of
> > the box for me with ubuntu 8.10. Cheese and camorama don't work with the
> > cam but vlc, xawtv and luvcview work fine. gstreamer-properties tests
> > sporadically but mostly hangs.
> >
> > I have attached the output from lsmod, lsusb, lshal and dmesg and cheese.
> > The USB ID for the cam is 064e:a117. Can someone help me get cheese to
> work
> > with my cam? I have also tried this:
> > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/196811 and
> > http://bugzilla.gnome.org/show_bug.cgi?id=531835 but they didn't help
> me!
>
> Could you please send me the output of
>
> lsusb -v -d 064e:a117
>
> using usbutils 0.72 or newer (0.73+ preferred) ?

I compiled usbutils from source and attached it as mentioned. It also gave
the following at console:

lsusb -v -d 064e:a117 > lsusb-064e:a117.txt
can't get device qualifier: Operation not permitted
can't get debug descriptor: Operation not permitted
cannot read device status, Operation not permitted (1)


>
> I also noticed in the kernel log that you set the quirks parameter to 2. Is
> that required ?
>
I was trying various workarounds on the net from forums and bug reports. I
don't think it is reqd as I can view it from luvcview and guvcview.
What do we need that quirks param for anyway?

Also, I read
Regards,
Abhi

>
> Best regards,
>
> Laurent Pinchart
>

Bus 003 Device 002: ID 064e:a117 Suyin Corp. 
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass  239 Miscellaneous Device
  bDeviceSubClass 2 ?
  bDeviceProtocol 1 Interface Association
  bMaxPacketSize064
  idVendor   0x064e Suyin Corp.
  idProduct  0xa117 
  bcdDevice2.00
  iManufacturer   2 
  iProduct1 
  iSerial 3 
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength  978
bNumInterfaces  2
bConfigurationValue 1
iConfiguration  0 
bmAttributes 0x80
  (Bus Powered)
MaxPower  168mA
Interface Association:
  bLength 8
  bDescriptorType11
  bFirstInterface 0
  bInterfaceCount 2
  bFunctionClass 14 Video
  bFunctionSubClass   3 Video Interface Collection
  bFunctionProtocol   0 
  iFunction   5 
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass14 Video
  bInterfaceSubClass  1 Video Control
  bInterfaceProtocol  0 
  iInterface  5 
  VideoControl Interface Descriptor:
bLength13
bDescriptorType36
bDescriptorSubtype  1 (HEADER)
bcdUVC   1.00
wTotalLength  103
dwClockFrequency   15.00MHz
bInCollection   1
baInterfaceNr( 0)   1
  VideoControl Interface Descriptor:
bLength 9
bDescriptorType36
bDescriptorSubtype  3 (OUTPUT_TERMINAL)
bTerminalID 2
wTerminalType  0x0101 USB Streaming
bAssocTerminal  0
bSourceID   5
iTerminal   0 
  VideoControl Interface Descriptor:
bLength26
bDescriptorType36
bDescriptorSubtype  6 (EXTENSION_UNIT)
bUnitID 4
guidExtensionCode {7033f028-1163-2e4a-ba2c-6890eb334016}
bNumControl 8
bNrPins 1
baSourceID( 0)  3
bControlSize1
bmControls( 0)   0x0f
iExtension  0 
  VideoControl Interface Descriptor:
bLength26
bDescriptorType36
bDescriptorSubtype  6 (EXTENSION_UNIT)
bUnitID 5
guidExtensionCode {3fae1228-d7bc-114e-a357-6f1edef7d61d}
bNumControl 8
bNrPins 1
baSourceID( 0)  4
bControlSize1
bmControls( 0)   0xff
iExtension  0 
  VideoControl Interface Descriptor:
bLength18
bDescriptorType36
bDescriptorSubtype  2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType  0x0201 Camera Sensor
bAssocTerminal  0
iTerminal   0 
wObjectiveFocalLength

Re: [Linux-uvc-devel] Acer HD Crystal webcam detected but cheese doesn't work

2008-12-21 Thread Laurent Pinchart
Hi Abhi,

On Sunday 21 December 2008, abhishek dastidar wrote:
> Hi All,
> I just got an Acer 4930. The integrated webcam doesn't quite work out of
> the box for me with ubuntu 8.10. Cheese and camorama don't work with the
> cam but vlc, xawtv and luvcview work fine. gstreamer-properties tests
> sporadically but mostly hangs.
>
> I have attached the output from lsmod, lsusb, lshal and dmesg and cheese.
> The USB ID for the cam is 064e:a117. Can someone help me get cheese to work
> with my cam? I have also tried this:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/196811 and
> http://bugzilla.gnome.org/show_bug.cgi?id=531835 but they didn't help me!

Could you please send me the output of

lsusb -v -d 064e:a117

using usbutils 0.72 or newer (0.73+ preferred) ?

I also noticed in the kernel log that you set the quirks parameter to 2. Is 
that required ?

Best regards,

Laurent Pinchart
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel