Date: Wed, 06 Feb 2013 12:27:49 +0600 From: Jan Beich <jbeich@tormail.org> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-ports-bugs@freebsd.org, Juergen Lock <nox@jelal.kn-bremen.de>, bug-followup@freebsd.org Subject: Re: ports/175860: multimedia/webcamd: expose Wacom via HAL for hotplugging Message-ID: <1U308k-000JsA-IN@internal.tormail.org> References: <201302051200.r15C0DKw030241@freefall.freebsd.org> <201302052030.08377.hselasky@c2i.net> <201302052241.06108.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hans Petter Selasky <hselasky@c2i.net> 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1U308k-000JsA-IN>