Re: More on the CM4000

Martin Preuss <[email protected]>
Newsgroups gmane.comp.lib.libchipcard.devel
Message-ID <[email protected]>
Hi,

On Thursday 29 September 2005 16:47, Joachim Breitner wrote:
[...]
> > > Harald Welte, author of the cm4000 driver in the kernel (not yet in the
> > > official, but already in the -mm branch), wrote me a note that I should
> > > be able to use his driver together with an up-to-date openct. As far as
> >
> > Hmm interesting, we are trying to reach for quite some time now...
>
> sorry, can't parse that. are you trying to reach Harald, or trying to
> put something in the offical kernel?
Sorry, there was a word missing :-) I meant we are unable to reach Harald.

[...]
> > Right, Libchipcard is an alternative to OpenCT.
> > Libchipcard2 includes a driver which allows OpenSC to use Libchipcard2,
> > but Libchipcard never uses OpenCT (that wouldn't make any sense).
>From a user POV, that surprises me. When I have an application that
> needs libchipcard2, and a reader that can only work with OpenCT, it
> makes perfect sense if libchipcard2 would be able to use openct.
Would do you mean by "application needs OpenCT"? If you mean that the program 
depends on the API of OpenCT then this will never be implemented in 
Libchipcard2 (because that would create a copy of OpenCT).

If you mean you need OpenCT to drive the reader (because Libchipcard2 is 
unable to speak to the reader), then I will have to work on Libchipcard2 to 
actually support the reader.

However, as I said before: Libchipcard2 uses CTAPI and IFD drivers directly, 
so if you have such a driver I can add it to Libchipcard2's supported drivers 
list. This would make Libchipcard2 automatically detect the reader and start 
it on demand.

[...]
> Is there anything I can help to have libchipcard2 either use the cm4000
> directly, or talk to openct (e.g. with the CT-API wrapper that OpenCT
> provides?)

I would need the USB id (lsusb) together with the usual paths and name of the 
driver. (I'm not sure whether you already submitted this information, I have 
been quite busy the last few weeks).

BTW: Once you have the reader running with Libchipcard2 you can use OpenSC 
with Libchipcard2, also. 


Regards
Martin

-- 
"Things are only impossible until they're not"

AqBanking - http://www.aquamaniac.de/aqbanking/
LibChipcard - http://www.libchipcard.de/


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.