The following reply was made to PR usb/180923; it has been noted by GNATS.
From: Hans Petter Selasky <h...@bitfrost.no>
To: Michael Terrell <vashisnotat...@gmail.com>
Subject: Re: usb/180923: SNES USB gamepad controller does not work.
Date: Mon, 29 Jul 2013 14:01:16 +0200
On 07/29/13 13:39, Michael Terrell wrote:
>> Number: 180923
>> Category: usb
>> Synopsis: SNES USB gamepad controller does not work.
>> Confidential: no
>> Severity: non-critical
>> Priority: low
>> Responsible: freebsd-usb
>> State: open
>> Class: sw-bug
>> Submitter-Id: current-users
>> Arrival-Date: Mon Jul 29 11:40:00 UTC 2013
>> Originator: Michael Terrell
>> Release: FreeBSD 9.1
> Jackson State University
> FreeBSD subzero 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4
> 06:55:39 UTC 2012
> r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
> I have a DragonRise SNES USB gamepad controller(VendorID= 0x0079; ProductID=
> 0x0011) and it doesn't work out of the box for FreeBSD. I created a device
> driver for it and it works fine now.
> Boot up a system running FreeBSD 9.1. Plug in the SNES USB gamepad into an
> available USB port on the system. The system will not be able to recognize
> the controller and the user will not be able to use it with user
> Create a device driver to recognize the device and allow user applications
> to access it. The code for the driver is here:
If you work a bit more on the code, it can be included into the FreeBSD
1) .basename = "uhid"
You will need to call this something else, like "uhid.snes".
2) Remove structure elements from "snes_usb_softc" which are not used.
3) Add FreeBSD 2-clause copyright to C- and H- files.
4) Are you aware about similar projects like uhidd and webcamd which
might already support your device?
email@example.com mailing list
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"