ports/175860: multimedia/webcamd: expose Wacom via HAL for hotplugging

Jan Beich jbeich at tormail.org
Wed Feb 6 08:16:56 UTC 2013


Hans Petter Selasky <hselasky at c2i.net> writes:

> On Tuesday 05 February 2013 20:30:08 Hans Petter Selasky wrote:
>
>> On Tuesday 05 February 2013 13:00:13 edwin at 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)


More information about the freebsd-ports-bugs mailing list