Comment 166 for bug 530277

Revision history for this message
heyplaynow (jaco-dragon) wrote :

Hi everyone,

I had instaled ubuntu Lucyd in ACER A0532h with 32 bits kernel and SD card reader works fine doing the steps of @ Alain Danger but with one variance in the 7º step ^^:

1 : download the driver kindly provided by Konstantin Katuev HERE
<https://bugs.launchpad.net/ubuntu/+bug/530277/+attachment/1714152/+files/keucr.tgz>

2 : copy the file to /usr/src (Remember, you must be super user)

3 : untar it

4 : rename the folder to keucr-0.0.1

5 : create the file /usr/src/keucr-0.0.1/dkms.conf, and insert this :
PACKAGE_NAME="keucr"
PACKAGE_VERSION="0.0.1"
CLEAN="rm -f *.*o"

BUILT_MODULE_NAME[0]="keucr"
MAKE[0]="make -C $kernel_source_dir
M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build"
DEST_MODULE_LOCATION[0]="/extra"

AUTOINSTALL="yes"

6 : add the driver to dkms
dkms add -m keucr -v 0.0.1

7: HERE IS THE VARIANCE THANKS TO @ joann f:

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)

8 : build the module
dkms build -m keucr -v 0.0.1

9 : install the module
dkms install -m keucr -v 0.0.1

10 : append the module to /etc/modules
echo "keucr" >> /etc/modules

Thanks a lot to the developer of the driver and all people that make this posible.

Bye!!!!