OpenMoko Webcam

Neil Benn neil.benn at ziath.com
Tue Jan 20 00:52:14 CET 2009


Hello,

          Okay, dealing with the low resolution I thought that it could be
something to do with the odl pcw/pcwx issue for philips webcam drivers.  So
I tried to install that, however the install instructions don;t work - the
patch file bombs out and I'm not _totally_ sure how to correct the flaw
manually.  Basically the patch file seems to not reflect the directory
structuire of the 2.6.24 kernel.

  After that I tried to compile the latest version of the pwc (philips
webcam) driver which apparently doesn't need separate pwcx files to get a
higher resolution.  So I tried to install pwc-10.0.12-rc1 but the
compilation of that fails with the follwoing errors:

make -C /lib/modules/2.6.24-20081103.git7172ec57/source
SUBDIRS=/root/pwc/pwc-10.0.12-rc1 modules
make[1]: Entering directory
`/usr/src/linux-2.6-openmoko-20081103.git7172ec57'
  CC [M]  /root/pwc/pwc-10.0.12-rc1/pwc-if.o
/root/pwc/pwc-10.0.12-rc1/pwc-if.c:171: error: unknown field 'hardware'
specified in initializer
/root/pwc/pwc-10.0.12-rc1/pwc-if.c:171: error: 'VID_HARDWARE_PWC' undeclared
here (not in a function)
/root/pwc/pwc-10.0.12-rc1/pwc-if.c: In function 'cd_to_pwc':
/root/pwc/pwc-10.0.12-rc1/pwc-if.c:1020: warning: initialization from
incompatible pointer type
/root/pwc/pwc-10.0.12-rc1/pwc-if.c: In function 'pwc_create_sysfs_files':
/root/pwc/pwc-10.0.12-rc1/pwc-if.c:1065: warning: passing argument 2 of
'video_device_create_file' from incompatible pointer type
/root/pwc/pwc-10.0.12-rc1/pwc-if.c:1066: warning: passing argument 2 of
'video_device_create_file' from incompatible pointer type
/root/pwc/pwc-10.0.12-rc1/pwc-if.c:1065: warning: ignoring return value of
'video_device_create_file', declared with attribute warn_unused_result
/root/pwc/pwc-10.0.12-rc1/pwc-if.c:1066: warning: ignoring return value of
'video_device_create_file', declared with attribute warn_unused_result
/root/pwc/pwc-10.0.12-rc1/pwc-if.c: In function 'pwc_remove_sysfs_files':
/root/pwc/pwc-10.0.12-rc1/pwc-if.c:1073: warning: passing argument 2 of
'video_device_remove_file' from incompatible pointer type
/root/pwc/pwc-10.0.12-rc1/pwc-if.c:1074: warning: passing argument 2 of
'video_device_remove_file' from incompatible pointer type
make[2]: *** [/root/pwc/pwc-10.0.12-rc1/pwc-if.o] Error 1
make[1]: *** [_module_/root/pwc/pwc-10.0.12-rc1] Error 2
make[1]: Leaving directory
`/usr/src/linux-2.6-openmoko-20081103.git7172ec57'

I'm guessing that I'm either not linking in a file I need or (more likely)
the latest version of pwc won;t compile against the kernel I am using.  It
looks like I only have one error in a struct decleration but I now swimming
in deep water as I have little idea where to go next.

  Anyone have an idea (I tried asking on the pwc mailing list but to no
avail).

Cheers,

Neil

2009/1/18 Neil Benn <neil.benn at ziath.com>

> Hello,
>
>          Okay I have java to video4linux running (
> http://code.google.com/p/v4l4j/) and it is working well (I'll write this
> up for people in the future.  The next thing I need to do is to look at the
> resolution issue.  My camera is working with pwc and there was a problem
> with pwc sometime ago so I suspect that this may be the problem.  I tried to
> download the latest version of pwc (10.0.11) but it won;t compile on th
> emachine I'm on.  I am investigsating that to see if I can get it to compile
> on my machine.
>
>
> Cheers,
>
> Neil
>
> 2009/1/16 Neil Benn <neil.benn at ziath.com>
>
>> Hello,
>>
>>           On the lines of gstreamer - I'm looking at trying to get
>> gstreamer-java working on openmoko.  From what I can see I'll need to build
>> the java jna library myself for this as the library has not been built on
>> the freerunner debian before.  I'll try that out to see what happens - sow
>> many seeds!
>>
>> Cheers,
>>
>> Neil
>>
>> 2009/1/16 Neil Benn <neil.benn at ziath.com>
>>
>>  Hello,
>>>
>>>          The key is p and the consoel says 'avi recording' but no file is
>>> written.  However I have tried xawtv and 'J' will capture an image which is
>>> a start.
>>>
>>> Cheers,
>>>
>>> Neil
>>>
>>> 2009/1/15 Ian Darwin <ian at darwinsys.com>
>>>
>>> Neil Benn wrote:
>>>> > Hello,
>>>> >
>>>> >           I see what you mean about programs to control the webcam.  I
>>>> > have used luvcview and xawtv to successfully view the webcam but I
>>>> > cannot get either of them to stream to a file.  I tried luvcview with
>>>> > '/luvcview -o text.avi/' but it did not write anything (also failed on
>>>> > my desktop ubuntu as well).  I'm digging around to try more - cheese
>>>> > just fails and I Cannot install guvcview :(.
>>>> >
>>>> luvcview requires a key sequence to start recording - this is a feature.
>>>> If you get a picture
>>>> from it, you are almost there! (I forget the key sequence, maybe p or s
>>>> or something).
>>>>
>>>> _______________________________________________
>>>> support mailing list
>>>> support at lists.openmoko.org
>>>> https://lists.openmoko.org/mailman/listinfo/support
>>>>
>>>
>>>
>>>
>>> --
>>> --
>>>
>>> Neil Benn Msc
>>> CEO
>>> Ziath Ltd
>>> Website - http://www.ziath.com
>>> Blog - http://www.labauto-lounge.com
>>>
>>>
>>> IMPORTANT NOTICE:  This message, including any attached documents, is
>>> intended only for the use of the individual or entity to which it is
>>> addressed, and may contain information that is privileged, confidential and
>>> exempt from disclosure under applicable law.  If the reader of this message
>>> is not the intended recipient, or the employee or agent responsible for
>>> delivering the message to the intended recipient, you are hereby notified
>>> that any dissemination, distribution or copying of this communication is
>>> strictly prohibited. If you have received this communication in error,
>>> please notify Ziath Ltd immediately by email at info at ziath.com. Thank
>>> you.
>>>
>>
>>
>>
>> --
>> --
>>
>> Neil Benn Msc
>> CEO
>> Ziath Ltd
>> Website - http://www.ziath.com
>> Blog - http://www.labauto-lounge.com
>>
>>
>> IMPORTANT NOTICE:  This message, including any attached documents, is
>> intended only for the use of the individual or entity to which it is
>> addressed, and may contain information that is privileged, confidential and
>> exempt from disclosure under applicable law.  If the reader of this message
>> is not the intended recipient, or the employee or agent responsible for
>> delivering the message to the intended recipient, you are hereby notified
>> that any dissemination, distribution or copying of this communication is
>> strictly prohibited. If you have received this communication in error,
>> please notify Ziath Ltd immediately by email at info at ziath.com. Thank
>> you.
>>
>
>
>
> --
> --
>
> Neil Benn Msc
> CEO
> Ziath Ltd
> Website - http://www.ziath.com
> Blog - http://www.labauto-lounge.com
>
>
> IMPORTANT NOTICE:  This message, including any attached documents, is
> intended only for the use of the individual or entity to which it is
> addressed, and may contain information that is privileged, confidential and
> exempt from disclosure under applicable law.  If the reader of this message
> is not the intended recipient, or the employee or agent responsible for
> delivering the message to the intended recipient, you are hereby notified
> that any dissemination, distribution or copying of this communication is
> strictly prohibited. If you have received this communication in error,
> please notify Ziath Ltd immediately by email at info at ziath.com. Thank you.
>



-- 
-- 

Neil Benn Msc
CEO
Ziath Ltd
Website - http://www.ziath.com
Blog - http://www.labauto-lounge.com


IMPORTANT NOTICE:  This message, including any attached documents, is
intended only for the use of the individual or entity to which it is
addressed, and may contain information that is privileged, confidential and
exempt from disclosure under applicable law.  If the reader of this message
is not the intended recipient, or the employee or agent responsible for
delivering the message to the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error,
please notify Ziath Ltd immediately by email at info at ziath.com. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/support/attachments/20090120/0298f4b0/attachment-0001.htm 


More information about the support mailing list