QUOTE(koen @ Jul 31 2006, 09:43 AM)
I didn't know the linux kernel was written in C++ and returned QImages for image data.
???
This is not at all kernel documentation - it is user space. And it is the documentation of a Sharp library which defines the class QImages to encapsulate a very simple serial line interface protocol.
If you read into it, it says e.g.:
QUOTE
This process is implemented by writing following String to the device:
“S=w,h,z,l” (r=false: capture camera image as-is)
“R=w,h,z,l” (r=true: capture camera image with 90-degree rotation)
So, you can write
QUOTE
echo "S=128,128,256,0" >/dev/tty???
.
As long as any device has a CF slot and a serial CF driver, it can use the camera. It does not need a special kernel driver!
What else is needed to make it work?
-- hns