2006-10-27 08:06:36

by Islam Amer

[permalink] [raw]
Subject: O2 micro OZ711Mx mmc driver

Hi all. Sorry for sending again, but my email didn't reach LKML, for
some reason.

Here it is through the web interface ..

http://lkml.org/lkml/2006/10/26/181

In short I have contacted O2 Micro for a driver for my MMC card reader
OZ711Mx and they sent me a driver tarball under the GPL. It is made for
2.6.16 and doesn't compile with recent kernels.

I fixed it to compile but it still doesn't work. I am trying as hard as
I can to fix it but my programming knowledge is limited. Any help is
appreciated.

Thank you.


2006-10-27 10:07:10

by Denys Vlasenko

[permalink] [raw]
Subject: Re: O2 micro OZ711Mx mmc driver

On Friday 27 October 2006 10:04, Islam Amer wrote:
> Hi all. Sorry for sending again, but my email didn't reach LKML, for
> some reason.
>
> Here it is through the web interface ..
>
> http://lkml.org/lkml/2006/10/26/181
>
> In short I have contacted O2 Micro for a driver for my MMC card reader
> OZ711Mx and they sent me a driver tarball under the GPL. It is made for
> 2.6.16 and doesn't compile with recent kernels.
>
> I fixed it to compile but it still doesn't work. I am trying as hard as
> I can to fix it but my programming knowledge is limited. Any help is
> appreciated.

You need to provide more details. Just "doesn't work" is
nearly the worst bug report possible.

I failed to find the tarball on that page.

If it is really GPLed, there is no reason why it cannot be merged
into mainline (after necessary cleanups).
--
vda

2006-10-27 11:11:37

by Sergey Vlasov

[permalink] [raw]
Subject: Re: O2 micro OZ711Mx mmc driver

On Fri, 27 Oct 2006 12:05:14 +0200 Denis Vlasenko wrote:

> On Friday 27 October 2006 10:04, Islam Amer wrote:
> > Hi all. Sorry for sending again, but my email didn't reach LKML, for
> > some reason.
> >
> > Here it is through the web interface ..
> >
> > http://lkml.org/lkml/2006/10/26/181
> >
> > In short I have contacted O2 Micro for a driver for my MMC card reader
> > OZ711Mx and they sent me a driver tarball under the GPL. It is made for
> > 2.6.16 and doesn't compile with recent kernels.
> >
> > I fixed it to compile but it still doesn't work. I am trying as hard as
> > I can to fix it but my programming knowledge is limited. Any help is
> > appreciated.
>
> You need to provide more details. Just "doesn't work" is
> nearly the worst bug report possible.
>
> I failed to find the tarball on that page.

http://mmc.drzeus.cx/wiki/Controllers/O2/OZ711Mx?action=AttachFile

(or select "Attach file" from the pulldown).

> If it is really GPLed, there is no reason why it cannot be merged
> into mainline (after necessary cleanups).

presidio_source-2k50714.tar.gz contains GPL headers and
MODULE_LICENSE("GPL") in *.[ch] files and even the GPL text in COPYING;
however, apparently the module is linked with the o2media/test.o_shipped
object file, sources for which are not included. Sources for the o2sd
part are available - maybe they contain enough information to get at
least the SD/MMC part supported.

mbx-nonATA.zip also contains drivers with MODULE_LICENSE("GPL") linked
with binary-only parts; unfortunately, the object files have been
stripped and therefore are unusable. There are also strange files like
ntddk.h there, which contain GPL notice sticked in front of the
Microsoft copyright notice. And OpenSource/mbx-v2.4.x/WdmLib.c contains
lots of copied code from other places, including:

/*
* Regular lowlevel cardbus driver ("yenta")
*
* (C) Copyright 1999, 2000 Linus Torvalds
*/

And they link this with that o2ext.o binary...


Attachments:
(No filename) (1.92 kB)
(No filename) (189.00 B)
Download all attachments

2006-10-27 11:42:49

by Islam Amer

[permalink] [raw]
Subject: Re: O2 micro OZ711Mx mmc driver

Sorry for the inconvenience of the wiki page, it just didn't seem to be
proper to attach the whole archive to the email.

While trying to get this thing to compile, I didn't notice the files in
the include subfolder, as they never appeared to be included in the
compile... I will analyze the source some more.

I hope we can do something useful with this mess, they have a
specification data sheet on their website.

Thank you.