Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2013 09:31:07 +0100
From:      Hans Petter Selasky <hps@bitfrost.no>
To:        Chuck Burns <break19@gmail.com>, erazor_de@users.sourceforge.net,  freebsd-usb@freebsd.org
Subject:   Re: Question about usb-hid development
Message-ID:  <5291B94B.1050905@bitfrost.no>
In-Reply-To: <2893309.GTtavP7479@blackbeast.local>
References:  <1385218126.3605.25.camel@neuromancer.tessier-ashpool> <2893309.GTtavP7479@blackbeast.local>

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

On 11/23/13 23:35, Chuck Burns wrote:
> On Saturday, November 23, 2013 3:48:46 PM Stefan Achatz wrote:
>> Hello,
>> I'm writing Linux support for gaming USB keyboards/mice and think
> about
>> porting functionality to FreeBSD.
>> While I'm installing FreeBSD and strolling through the source fighting
>> with the differences to Linux, maybe someone could give me a starting
>> point:
>> In Linux there is a hidraw chardevice from which the unparsed, polled
>> reports can be read, and that supports ioctl's to read/write feature
>> reports.
>> Is there something similar in FreeBSD?
>> Thanks and have a nice day
>> Stefan
>
>
> Two words for you. "man ugen" it's the generic USB driver.
>

Hi,

If you want a 100% cross platform driver, use libusb for your HID 
access. Else there is also /usr/ports/multimedia/webcamd, which might 
attach to your joystick and provide a similar device like under Linux.

--HPS



help

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