[Bug 244880] webcamd never creates device notes if HAL is enabled

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 18 05:29:37 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244880

            Bug ID: 244880
           Summary: webcamd never creates device notes if HAL is enabled
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: doctorwhoguy at gmail.com

I'm trying to get both a USB gamepad and the webcam in my laptop working with
webcamd. I'm running Plasma 5 on FreeBSD 12.1-RELEASE.

I have hald_enable="YES" in my /etc/rc.conf.local file. The RC script supplied
with webcamd detects whether HAL is enabled and, if it is, automatically adds
the -H flag (which enabled HAL support) to the parameters passed to webcamd
upon starting. This is probably fine if everything is working as expected, but
that isn't the case.

webcamd was not creating /dev/input/js0 for my gamepad or /dev/video0 for my
webcam when I started it via the RC script. However, when I started webcamd
directly from the commandline, it did. So I tried passing the -H flag to
webcamd, and it just kept emitting the message "Waiting for HAL connection." on
the console.

For whatever reason, webcamd is never connecting to HAL and just gets stuck
waiting for a connection to HAL thus never creating any device nodes. So the
current workarounds I've found, if using webcamd via the RC script, is to
disable HAL in /etc/rc.conf or to comment out the HAL autodetection section in
webcamd's RC script.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list