Skip to contentSkip to conversation

writing device drivers for commercial hardware

DISCUSSION [email protected] 3 participants 4 messages Dec 26, 2001

lore
Share & tools
lore
#0 lore raw

As I'm new to linux kernel development I wonder how to write a device driver, say for a card reader, if you don't have some documentation about it.
How do you manage that? Searching for it in the web? I really don't know ... there's a small book with my card reader but you won't find a single line about technical stuff in it.
It's a (pretty simple and cheap) card reader connected to serial port.

Many thanks.

-----------------
Marc,
<[email protected]>

#1 lore raw
Quoted 3 lines

know ... there's a small book with my card reader but you won't find a single line about technical stuff in it.
It's a (pretty simple and cheap) card reader connected to serial port.

If its connected to a serial port it may well be enough to find the baud rate it uses and dump the data. If not then wire

	Cardreader--->Linux Box----->Windows PC

and copy the serial data in both directions through the Linux box and also log it.

#2 lore raw
In reply to [email protected]
Quoted 7 lines · On Wed, 26 Dec 2001 [email protected] wrote:

As I'm new to linux kernel development I wonder how to write a device driver, say for a card reader, if you don't have some documentation about it.
How do you manage that? Searching for it in the web? I really don't know ... there's a small book with my card reader but you won't find a single line about technical stuff in it.
It's a (pretty simple and cheap) card reader connected to serial port.

Hi,

did something similar before christmas. Had a small win installation in a vmware, slsnif running on the linux host and connected vmware on a ttyp slsnif gave me. easy.

BTW what card reader is it ? There are already enough _user space_ implementations for serial smartcard readers. This is where this normally belongs to.
Check http://www.linuxnet.com/ p.ex.

Signature · 2 lines
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT
56 69 73 69 74				http://www.zabbadoz.net/
#3 lore raw
In reply to [email protected]
Quoted 2 lines · Bjoern A. Zeeb

BTW what card reader is it ? There are already enough _user space_ implementations for serial smartcard readers.

As I've said, this is a really cheap one, I don't think that it's well- known.
It's from ELV and called 'GSM- und Chipkartenlesegerät', so, it's a German one. Sorry for that.
But thanks for all your hints and tips. I'll keep on trying.

-----------------
Marc,
<[email protected]>