Re: MUSCLE Problems with serial communication / cardreader ECO5000

1999-08-20 Thread Frank Thater

Hello,

the problem seems to be solved:
I (just) had to compile a new kernel.
The problems was, that the serial-driver was obviously not correctly
configured.
Some perror()-instructions pointed to that fault (I/O-error).

Thanks for your support.

Frank
-Ursprüngliche Nachricht-
Von: Frank Thater [EMAIL PROTECTED]
An: [EMAIL PROTECTED] [EMAIL PROTECTED]
Datum: Dienstag, 17. August 1999 19:08
Betreff: MUSCLE Problems with serial communication / cardreader ECO5000



Hi,

i'm working on a driver for the ORGA ECO 5000 cardreader.

But the "serial.c" - file (provided with the CT-skeleton sources) doesn't
seem to work.

I get a handle to "/dev/ttyS0" for example, but other functions (like
tcgetattr(handle, ...)) shutdown with an error (-1).

Where is the problem ??

I changed some part of the sources (eliminated MAC support), but this is (I
hope) not the reason.

I also have to set the RTS-Line off to communicate with the cardreader.
Otherwise i don't get a response. (ACK or NACK) Which parameters do i have
to
change or set in the termios-structure.

I attached the modified "serial.c"-file. Please take a look at it.
If there are any questions, please contact me!!

Thank you so much for your support. ;-

Bye, Frank




***
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
***



Re: MUSCLE Problems with serial communication / cardreader ECO5000

1999-08-19 Thread Frank Thater

Hi,

I already used the "root"-account.

But this doesn´t seem to help...

Bye, Frank
-Ursprüngliche Nachricht-
Von: Michael Renzmann [EMAIL PROTECTED]
An: [EMAIL PROTECTED] [EMAIL PROTECTED]
Datum: Mittwoch, 18. August 1999 18:43
Betreff: Re: MUSCLE Problems with serial communication / cardreader ECO5000


Hi Frank.

 But the "serial.c" - file (provided with the
 CT-skeleton sources) doesn't seem to work.
 I get a handle to "/dev/ttyS0" for example, but other
 functions (like tcgetattr(handle, ...)) shutdown with
 an error (-1).
 Where is the problem ??

Trivial, but is your user allowed to send/receive data
to/from the port? I eleminated a similar problem this
way (in my special case I allowed everything to
everyone).

Hope that helps.

Bye, Mike


***
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
***