Hello,
I working on connecting a philips usb webcam to an OpenMoko
FreeRunner with Debian. I have the camera working using the uvc dreiver but
I'm getting a rather poor resolution at 160*120. The device only runs in
host mode as USB1.1 - even though, I would have thought that 160 * 120 is
pretty poor even for a 1.1 connection (or am I wrong). However I've been
looking around for a new version of the pwc driver as it seems that the
drier I have is the old pwc/pwcx driver. I downloaded the latest verswion
of the driver from Luc Saillaard but that does not compile. I suspect that
it is due to my old 2.6.24 kernel?
The output from the make is here:
---
r...@debian-gta02:~/pwc/pwc-10.0.12-rc1# make
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'
make: *** [all] Error 2
---
I'm looking for some pointers here to help me determine if I am going the
right way as I'm not getting very far!! Any help would be greatly
appreciated.
Cheers,
Neil
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel