Thanks for looking into this, Matt. I agree, it's not supported by this same
module. Apparently the link I posted was to another kernel module that is also
called quickcam.ko, but it is not the official kernel one.
BTW, I have gotten this hardware working using the module at http://home.mag.cx/messenger/. It required a little bit of work:
1. Edit the quickcam.sh script to accept ID 046d:08f0 as a valid device
2. Apply this patch:
--- qc-usb-messenger-0.8/qc-memory.c-old 2005-02-24 19:40:37.000000000 -0500
+++ qc-usb-messenger-0.8/qc-memory.c 2005-02-24 19:41:12.000000000 -0500
@@ -233,7 +233,11 @@
pos = (unsigned long)src;
while ((long)size > 0) {
physaddr = kvirt_to_pa(pos);
- if (remap_page_range(vma, start, physaddr, PAGE_SIZE, PAGE_SHARED))
+ if (remap_pfn_range(vma,
+ start,
+ physaddr >> PAGE_SHIFT,
+ PAGE_SIZE,
+ PAGE_SHARED))
return -EAGAIN;
start += PAGE_SIZE;
pos += PAGE_SIZE;
The resulting quickcam.ko module works fine with this camera.
I suppose this is not Ubuntu's problem though, I guess you'll probably just wait
for it to be supported in the official kernel source.
(In reply to comment #1)
Thanks for looking into this, Matt. I agree, it's not supported by this same
module. Apparently the link I posted was to another kernel module that is also
called quickcam.ko, but it is not the official kernel one.
BTW, I have gotten this hardware working using the module at home.mag. cx/messenger/. It required a little bit of work: messenger- 0.8/qc- memory. c-old 2005-02-24 19:40:37.000000000 -0500 messenger- 0.8/qc- memory. c 2005-02-24 19:41:12.000000000 -0500 page_range( vma, start, physaddr, PAGE_SIZE, PAGE_SHARED)) pfn_range( vma,
http://
1. Edit the quickcam.sh script to accept ID 046d:08f0 as a valid device
2. Apply this patch:
--- qc-usb-
+++ qc-usb-
@@ -233,7 +233,11 @@
pos = (unsigned long)src;
while ((long)size > 0) {
physaddr = kvirt_to_pa(pos);
- if (remap_
+ if (remap_
+ start,
+ physaddr >> PAGE_SHIFT,
+ PAGE_SIZE,
+ PAGE_SHARED))
return -EAGAIN;
start += PAGE_SIZE;
pos += PAGE_SIZE;
The resulting quickcam.ko module works fine with this camera.
I suppose this is not Ubuntu's problem though, I guess you'll probably just wait
for it to be supported in the official kernel source.