Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2012 10:40:39 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Jan Beich <jbeich@tormail.org>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: linux joystick
Message-ID:  <201211161040.39454.hselasky@c2i.net>
In-Reply-To: <1TZIDy-000OLa-S8@internal.tormail.org>
References:  <1TZ2UN-0007lV-2Q@internal.tormail.org> <201211160844.18798.hselasky@c2i.net> <1TZIDy-000OLa-S8@internal.tormail.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 16 November 2012 10:29:12 Jan Beich wrote:
> Hans Petter Selasky <hselasky@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



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