Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2010 10:53:27 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Jim Bryant <kc5vdj.freebsd@gmail.com>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: writing usb drivers under 8.x
Message-ID:  <201008271053.27731.hselasky@c2i.net>
In-Reply-To: <4C777D12.3040900@gmail.com>
References:  <4C76AB76.4070806@gmail.com> <201008270856.43512.hselasky@c2i.net> <4C777D12.3040900@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 27 August 2010 10:53:38 Jim Bryant wrote:
> it'll be a pair of character devices.
> 
 
> lirc compat is a goal of this project though.  most of the work is done
> on that front, i just need to port that over from linux.  the features
> of the imon remote control are well-supported in lirc.  /dev/lirc will
> exist in my driver.

See sys/dev/usb/input/ulpt.c driver for how to create cdevs. Don't use cdev 
directly in the kernel.

--HPS



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