02 Micro 4-1 card reader doesn't work
My O2 Micro OZ711Mx 4-in-1 MemoryCardBus doesn't recognize any kind when i plug any inside. Now I'm using edgy
I'm not sure of it(because It was a long time ago when i tried it), but I think that when i tried it in Dapper it also didn't work.
I hope somebody can help,
Riccardo.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
There appears to be a driver for this device on the following page:-
http://
It's not pleasant to install for a beginner, but there are some tips from people who have done this on the following page:-
http://
Good luck, and if you have any specific problems with that procedure, come back and add your questions here.
Revision history for this message
|
#2 |
Thank you but I have already tried that... it ended with lines of errors after the make command... :(
Revision history for this message
|
#3 |
What errors? Would you like to paste the whole make output to http://
Revision history for this message
|
#4 |
Ok... this is the link: http://
pcsclite was completed fully without problems.
At the end of the system.out I get :
"OZSCR installation complete."
but the make command didn't work. That's very strange to find errors like "expected ‘)’ before ‘*’ token", or?
Revision history for this message
|
#5 |
I tried and got much the same here. I suspect it is because the OZSCR package is designed for Linux kernels 2.6.13 and below. I am on 2.6.19 and I suspect you're on 2.6.17. There is a page on a Gentoo wiki that describes how to patch the source to make it work. I did try this but the patch failed to apply for me. Maybe the original file has changed since the patch was created. Sorry, I don't think I can help you further unless you can get that file patched as per the " Driver and dependencies" section in the page below.
http://
Revision history for this message
|
#6 |
Good news! Thanks to my good friend Neil, it can be made to work. This all presumes you have the pcsclite stuff - which you said you installed okay.
Get the dos2unix utility:-
$ sudo apt-get install tofrodos
Get the source for the OZSCR stuff:-
Get the patches:-
Unpack the source
$ tar zxvf O2Micro_
Fix the file that has DOS line endings (D'oh!):-
$ dos2unix OZSCR_2.
Test the patch:-
$ cd OZSCR_2.
$ patch --dry-run -p1 < ../ozscrlx.
You should get this..
patching file src/ozscrlx-
Do it for real this time:-
$ patch -p1 < ../ozscrlx.
Should get the same response. Now make and install and here's what we get:-
$ sudo ./configure-release
Found pcsclite 1.3.2 in /usr/local/lib
Found kernel 2.6.19-5-generic includes directory
Building OZSCR modules...
rm -f *.o
rm -f .*.o.d
rm -f *.ko
rm -f *.mod.*
rm -f .*.cmd
rm -rf .tmp_*
rm -f *~
make -C /lib/modules/`uname -r`/build SUBDIRS=`pwd` modules
make[1]: Entering directory `/usr/src/
CC [M] /home/alan/
/home/alan/
/home/alan/
/home/alan/
/home/alan/
/home/alan/
/home/alan/
/home/alan/
/home/alan/
make[2]: *** [/home/
make[1]: *** [_module_
make[1]: Leaving directory `/usr/src/
make: *** [default] Error 2
cp -f ozscrlx.ko /lib/modules/`uname -r`/pcmcia
cp: cannot stat `ozscrlx.ko': No such file or directory
make: *** [install] Error 1
rm -f *.o
rm -f .*.o.d
rm -f *.ko
rm -f *.mod.*
rm -f .*.cmd
rm -rf .tmp_*
rm -f *~
Copying files...
cp: cannot stat `etc/reader.
/etc/reader.conf updated
OZSCR installation complete.
Doesn't that look great! I'll buy Neil a beer, you can owe me :)
Man I hope that works for you too. Let us know.
Revision history for this message
|
#7 |
Hmm.. second thoughts, that's not looking too healthy either.. well, it's better than it was, that's for sure. Let me know how you get on anyway.
Revision history for this message
|
#8 |
when I do: ~/OZSCR_
bash:
I get :
../ozscrlx.
So i tried: ~/OZSCR_
and I got:
patch: **** strip count atch-kernel-
i tried also some other variants but I always got the same output.
:D
Revision history for this message
|
#9 |
Thanks for the patch :)
But this driver seems to be only for the O2micro smartcard reader and not for the OZ711Mx
For the OZ711Mx have a look at: http://
Revision history for this message
|
#10 |
Hi Laurent!
Could you please post me how to make everything work, I just really don't know what to digit....
Thanks!
Revision history for this message
|
#11 |
For the OZ711Mx unfortunately the driver doesn't compile and I don't have the skill to debug it.
Revision history for this message
|
#12 |
After spending about 8 hours on this, being taken full-circle from one side of the net to another. I've decided to try a hardware solution. My laptop is an HP nc6000 with two PCMCIA slots. My solution involved purchasing a card reader from ebay which functions under the pcmcia slot. I can't really specify which version -- looks about as generic as it gets. But, it works great with no configuration needed! And for only $15, I wish I thought of this earlier.
It's not elegant, I know. But for those who just *need* card reader functionality on their notebooks, it'll get the job done.
Revision history for this message
|
#13 |
Not sure if this will fix the following:
https:/
However the following link is no longer available:
ftp://scrdriver
Is there another place where this can be found?
Did a google search for the file but nothing was found... still looking...
Thank you and God bless,
Johnathan
Revision history for this message
|
#14 |
The following possible fix:
https:/
Has a file download link in it:
tp://scrdriver:
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://
# 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
# Get the patches
wget http://
# Unpack
tar zxvf O2Micro_
# Convert the file with DOS line endings
dos2unix OZSCR_2.
# Test
cd OZSCR_2.
patch --dry-run -p1 < ../ozscrlx.
# You should get this..
# patching file src/ozscrlx-
# Apply the patch
patch -p1 < ../ozscrlx.
# Perform the install
sudo ./configure-release
=======
Thank you and God bless,
Johnathan
Can you help with this problem?
Provide an answer of your own, or ask Riccardo Lucchese for more information if necessary.