From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 6 08:16:56 2013 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BCE62F14; Wed, 6 Feb 2013 08:16:56 +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 6D82D707; Wed, 6 Feb 2013 08:16:56 +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 1U30Ba-00033V-8k; Wed, 06 Feb 2013 11:16:54 +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=VvEiLVhySEeotU2EQzbr+hwzlUcS7YECRql8l3OI55c=; b=mHh7Nd+b7JrtLG9XZBU3qexOQvsMDX2lNE2uh3d8G07BqJO/yP1fEz6J3eafQlj4SnVN0EeslUUV0YNDaA92RUMEayrT36X9MNMtJLBHU3mYKpYWB5Ooasa/8uEifYkZ3zKs70i/e858rjOs6gokXRKs9jYIBYU/cH/WQ0Z7PN8=; Received: from jbeich by internal.tormail.org with local (Exim 4.63) (envelope-from ) id 1U308k-000JsA-IN; Wed, 06 Feb 2013 08:14:03 +0000 From: Jan Beich To: Hans Petter Selasky Subject: Re: ports/175860: multimedia/webcamd: expose Wacom via HAL for hotplugging Date: Wed, 06 Feb 2013 12:27:49 +0600 References: <201302051200.r15C0DKw030241@freefall.freebsd.org> <201302052030.08377.hselasky@c2i.net> <201302052241.06108.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain X-TorMail-User: jbeich Message-Id: <1U308k-000JsA-IN@internal.tormail.org> Cc: freebsd-ports-bugs@freebsd.org, Juergen Lock , bug-followup@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2013 08:16:56 -0000 Hans Petter Selasky writes: > On Tuesday 05 February 2013 20:30:08 Hans Petter Selasky wrote: > >> On Tuesday 05 February 2013 13:00:13 edwin@freebsd.org wrote: >> > Synopsis: multimedia/webcamd: expose Wacom via HAL for hotplugging >> > >> > Responsible-Changed-From-To: freebsd-ports-bugs->hselasky >> > Responsible-Changed-By: edwin >> > Responsible-Changed-When: Tue Feb 5 12:00:13 UTC 2013 >> > Responsible-Changed-Why: >> > Over to maintainer (via the GNATS Auto Assign Tool) >> > >> > http://www.freebsd.org/cgi/query-pr.cgi?pr=175860 >> > > New attached patch updates webcamd 3.9.0.4. > 1) > xorg-server must be compiled with HAL support. > > 2) > /etc/X11/xorg.conf must contain this: > > Section "ServerFlags" > Option "AutoAddDevices" "true" > Option "AutoEnableDevices" "true" > Option "AllowEmptyInput" "false" > EndSection These values are default for Xserver built with HAL option ON. And AllowEmptyInput is gone since Xserver 1.10. > > 3) > Restart Xorg and hald [patch stripped] After applying your v2 patch my tablet works with zero configuration (no xorg.conf) and continues to do so even after rettaching it. Thanks. -- $ lshal # freebsd udi = '/org/freedesktop/Hal/devices/usb_device_56a_de_noserial_if0_logicaldev_input' info.capabilities = {'input'} (string list) info.category = 'input' (string) info.parent = '/org/freedesktop/Hal/devices/usb_device_56a_de_noserial' (string) info.product = 'wacom' (string) info.subsystem = 'input' (string) info.udi = '/org/freedesktop/Hal/devices/usb_device_56a_de_noserial_if0_logicaldev_input' (string) input.device = '/dev/input/event1' (string) input.originating_device = '/org/freedesktop/Hal/devices/usb_device_56a_de_noserial' (string) input.product = 'wacom' (string) input.x11_driver = 'wacom' (string) linux.device_file = '/dev/input/event1' (string) linux.hotplug_type = 2 (0x2) (int) linux.sysfs_path = '/dev/input/event1' (string) udi = '/org/freedesktop/Hal/devices/usb_device_56a_de_noserial_if1_logicaldev_input' info.capabilities = {'input'} (string list) info.category = 'input' (string) info.parent = '/org/freedesktop/Hal/devices/usb_device_56a_de_noserial' (string) info.product = 'wacom' (string) info.subsystem = 'input' (string) info.udi = '/org/freedesktop/Hal/devices/usb_device_56a_de_noserial_if1_logicaldev_input' (string) input.device = '/dev/input/event0' (string) input.originating_device = '/org/freedesktop/Hal/devices/usb_device_56a_de_noserial' (string) input.product = 'wacom' (string) input.x11_driver = 'wacom' (string) linux.device_file = '/dev/input/event0' (string) linux.hotplug_type = 2 (0x2) (int) linux.sysfs_path = '/dev/input/event0' (string)