linux joystick
Hans Petter Selasky
hselasky at c2i.net
Fri Nov 16 09:39:08 UTC 2012
On Friday 16 November 2012 10:29:12 Jan Beich wrote:
> Hans Petter Selasky <hselasky at c2i.net> writes:
> >> And my patch for do-configure + build fix should follow
> >
> > Hi,
> >
> > I think you need to add:
> >
> > -i media_tree/drivers/input/joystick
> >
> > to the linux_make arguments.
>
> This doesn't affect checksum of the produced binary.
>
> > Because that Makefile is not linked with the parent one I think.
> >
> > Then re-run the commands.
>
> I'm building only
>
> media_tree/drivers/input/joydev.c
> media_tree/drivers/input/joystick/xpad.c
>
> and they're both present in the resulting binary.
>
> I think my gamepad is generic enough to not need any driver from
> media_tree/drivers/input/joystick/. On linux joydev works with usbhid.
> So, webcamd probably needs to attach to /dev/uhidN, not /dev/ugenN.M.
>
> > --HPS
Hi,
Can you check that your device is present in the ID-table in xpad.c:
static struct usb_device_id xpad_table [] = {
And add some prints in the probe section in xpad.c?
Also, sometimes you need to specify the interface number to webcamd.
It should not matter if uhid is attached or not.
--HPS
More information about the freebsd-multimedia
mailing list