From owner-freebsd-multimedia@FreeBSD.ORG Fri Nov 16 09:30:37 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DDAB0119 for ; Fri, 16 Nov 2012 09:30:37 +0000 (UTC) (envelope-from jbeich@tormail.org) Received: from outgoing.tormail.org (outgoing.tormail.org [82.221.96.22]) by mx1.freebsd.org (Postfix) with ESMTP id 74AF18FC08 for ; Fri, 16 Nov 2012 09:30:37 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=internal.tormail.org) by outgoing.tormail.org with esmtp (Exim 4.72) (envelope-from ) id 1TZIFu-0004ti-3U; Fri, 16 Nov 2012 12:30:35 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tormail.org; s=tm; h=Message-Id:X-TorMail-User:Content-Type:MIME-Version:References:Date:Subject:Cc:To:From; bh=MKx/lfPQBdZdzLfVwxcVos4UW/ZCW7esSUq4ugH+YBs=; b=k9rco83JrnrcFAp5+/0nySv0rx4WOrRIf3r+q6o+Xyg7KPlvwxy3QYBLdWxxJII07TcBfEzTCLoyk6A2/sqXcJIsHnAF6LbxmlSt+wZwzxMqYMSNJ0xEVGnAlah+FrkRYdhrZcvVirDxram2qrcTA4Vi/uXsQzfvHUXur5HCdjo=; Received: from jbeich by internal.tormail.org with local (Exim 4.63) (envelope-from ) id 1TZIDy-000OLa-S8; Fri, 16 Nov 2012 09:28:36 +0000 From: Jan Beich To: Hans Petter Selasky Subject: Re: linux joystick Date: Fri, 16 Nov 2012 13:29:12 +0400 References: <1TZ2UN-0007lV-2Q@internal.tormail.org> <201211152119.29494.hselasky@c2i.net> <1TZFkh-00091p-22@internal.tormail.org> <201211160844.18798.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain X-TorMail-User: jbeich Message-Id: <1TZIDy-000OLa-S8@internal.tormail.org> Cc: freebsd-multimedia@freebsd.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2012 09:30:38 -0000 Hans Petter Selasky 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