Hi,
you will have to set RTS AND DTR high. This is not the default value.
I'm sorry that I cannot help in more detail, as I know only a little
about linux programming.
Best regards,
Thomas Kohn
TOWITOKO electronics GmbH
David Corcoran wrote:
>
> Hello,
>
> You should be able to charge up the NIMH battery on the Towitoko by
> simply opening the port on which the reader resides. This will assert the
> RTS signal which I believe is used to charge up the battery. So a simple:
> open("/dev/ttyS0", O_RDWR) should work. You may have to change some
> values under struct termios. Let me know if you have any problems. I can
> try to find the one I wrote awhile ago.
>
> Thanks,
> Dave
>
> *************************************************************
> David Corcoran Internet Security/Smartcards
>
> Home: Purdue University
> 2252 US Highway 52 West Department of Computer Science
> West Lafayette, IN 47906 CERIAS/COAST Laboratory
> Home: (765) 463-2455
> Cell: (317) 514-4797
>
> http://www.linuxnet.com
>
> *************************************************************
>
> ***************************************************************
> Linux Smart Card Developers - M.U.S.C.L.E.
> (Movement for the Use of Smart Cards in a Linux Environment)
> http://www.linuxnet.com/smartcard/index.html
> ***************************************************************
***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************