Comment 28 for bug 323159

Revision history for this message
Johnathan Morlock (johnathan-morlock) wrote :

The following possible fix:
https://answers.launchpad.net/ubuntu/+question/2535

Has a file download link in it:
tp://scrdriver:scrdriver@209.19.104.194/Linux/O2Micro_PCMCIA_SCR_203_Linux_Kernel26_OpenSource.tar.gz

This link is no longer available and if another can't be found then this possible fix is no longer a fix.

Did a Google search for the file and found nothing... still searching...

Any help with this would be appreciated.

BTW, I've made a script to automate the mmc fix process as noted in the above possible fix.

As soon as another reliable link to the above file is found I can update the script.

Here is the script thus far:
===============================================================================
#!/bin/bash
# Fix the mmc "unknown controller" issue in Ubuntu with O2Micro MMC Readers

# Install pcsclite from http://pcsclite.alioth.debian.org/
# Will this work? sudo apt-get -y install pcsclite

# Install dos2unix utility to convert the package
sudo apt-get -y install tofrodos

# Get the source code to convert
wget ftp://scrdriver:scrdriver@209.19.104.194/Linux/O2Micro_PCMCIA_SCR_203_Linux_Kernel26_OpenSource.tar.gz

# Get the patches
wget http://lists.drizzle.com/pipermail/muscle/attachments/20060621/81fefc10/ozscrlx.c-patch-kernel-2.6.13-to-2.6.17configids-b-0001.bin

# Unpack
tar zxvf O2Micro_PCMCIA_SCR_203_Linux_Kernel26_OpenSource.tar.gz

# Convert the file with DOS line endings
dos2unix OZSCR_2.0.3_Kern_2.6/src/ozscrlx-2.6.13/ozscrlx.c

# Test
cd OZSCR_2.0.3_Kern_2.6
patch --dry-run -p1 < ../ozscrlx.c-patch-kernel-2.6.13-to-2.6.17configids-b-0001.bin

# You should get this..
# patching file src/ozscrlx-2.6.13/ozscrlx.c

# Apply the patch
patch -p1 < ../ozscrlx.c-patch-kernel-2.6.13-to-2.6.17configids-b-0001.bin

# Perform the install
sudo ./configure-release
===============================================================================

Thank you and God bless,
Johnathan