Comment 158 for bug 530277

Revision history for this message
yoann f (yoann-terminajones) wrote :

About solution #149

Ubuntu 10.04 - 64bits
kernel 2.6.32.30-generic

If you have compilation error : "implicit declaration of usb_alloc_coherent" on line 293 in usb.c

You can try to add this after the all the includes of usb.c (line 19) :

#define usb_alloc_coherent(a, b, c, d) usb_buffer_alloc(a, b, c, d)
#define usb_free_coherent(a, b, c, d) usb_buffer_free(a, b, c, d)

It worked like a charm for me. Did not even required to reboot, it worked immediately.

Thanks to all contributors for this driver ! :-D