Comment 35 for bug 62995

Revision history for this message
Jonáš Svatoš (lsde) wrote :

csantiago,

Download the patch above to your home directory
sudo apt-get update
sudo apt-get install kernel-package libncurses5-dev fakeroot bzip2 linux-source
tar -xjvf /usr/src/linux-source-$(uname -r)
cd linux-source-$(uname -r)
patch -p1 < ../linux-source-2.6.20_ene_cb712.patch
make menuconfig <--- Exit, Save ( As you propably don`t want to change anything)
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
cd ..
sudo dpkg -i linux-headers-*.deb
sudo dpkg -i linux-image-*.deb
sudo reboot

And that`s it, you should boot into your custom patched kernel and card reader should be working.
If anything goes wrong, just select unpatched kernel in GRUB.
And one more thing, if you have any hardware witch needs linux-restricted-modules,
(like ATI and Nvidia cards, Atheros wifi adapter) you have to download and compile sources by yourself (they need to be linked against the patched kernel)

Yes, i`ve tested it with 1gb card, because i have only one.)
Cheers