Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2009 12:08:54 +0000 (GMT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: userland driver?
Message-ID:  <alpine.BSF.2.00.0902121207460.99303@fledge.watson.org>
In-Reply-To: <4992DD6B.3050507@icyb.net.ua>
References:  <4992DD6B.3050507@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 11 Feb 2009, Andriy Gapon wrote:

> has anybody tried anything in the area of userland drivers on FreeBSD? I 
> mean a driver for something sufficiently simple and standalone and not 
> driven by interrupts. E.g. some sort of a watchdog driver that simply 
> reads/writes some io registers from time to time.
>
> Brute-force and a very bad way is to go through /dev/mem, /dev/io, /dev/pci, 
> but I am thinking about something that would allow to plug into newbus 
> framework from userland.

I recently had a related question from a colleague about implementing a 
synthetic USB device in userspace so that software part development can occur 
concurrently with hardware part development.

Robert N M Watson
Computer Laboratory
University of Cambridge



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0902121207460.99303>