From owner-freebsd-hardware Mon Apr 20 04:41:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA06291 for freebsd-hardware-outgoing; Mon, 20 Apr 1998 04:41:46 -0700 (PDT) (envelope-from owner-freebsd-hardware@FreeBSD.ORG) Received: from gibson.bathl.westnet.net.uk (cyberc.demon.co.uk [193.237.161.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA06262 for ; Mon, 20 Apr 1998 11:41:40 GMT (envelope-from graham@cyberc.demon.co.uk) Received: (from graham@localhost) by gibson.bathl.westnet.net.uk (8.8.7/8.6.9) id MAA25693 for hardware@freebsd.org; Mon, 20 Apr 1998 12:40:12 +0100 (BST) From: Graham Breach Message-Id: <199804201140.MAA25693@gibson.bathl.westnet.net.uk> Subject: Smarty and floppy disk driver To: hardware@FreeBSD.ORG Date: Mon, 20 Apr 1998 12:40:12 +0100 (BST) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all I have a Fischer Smarty to get working - it's a smart card reader/writer that looks like a floppy disk. The problem I have is that the read and write "sectors" are sectors 100 and 200 on the first track, and I'm not going to get my hands on those using /dev/fd0. I've been looking at the code for the floppy driver and I think my best bet is to add ioctl() for reading and writing to these sectors. Does anyone have any better ideas/suggestions? TIA Graham Breach To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message