Skip to contentSkip to conversation

newbie driver question

DISCUSSION keirwu pk 2 participants 2 messages Jan 21, 2004

lore
Share & tools
lore

keirwu pk

author
#0 lore raw

what is the best way to write scsi driver for a scsi device?.got latest kernel. any examples, sources. what are typical library calls?. sg-Howto would help?.

_________________________________________________________________
High-speed users�be more efficient online with the new MSN Premium Internet Software. http://join.msn.com/?pgmarket=en-us&page=byoa/prem&ST=1

#1 lore raw
Quoted 4 lines · keirwu pk

what is the best way to write scsi driver for a scsi device?.got latest kernel.
any examples, sources. what are typical library calls?. sg-Howto would help?.

The sg interface is all you need to write a driver for some kind of exotic scsi device. Everything is handled in userland, no need to do it in kernel. That's how scsi scanners and cd writers are handled. The scsi-generic howto tells you how to use it, it even has programming examples.

Erik

Signature · 2 lines
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands