Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Mar 2020 05:29:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 244880] webcamd never creates device notes if HAL is enabled
Message-ID:  <bug-244880-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244880

            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@FreeBSD.org
          Reporter: doctorwhoguy@gmail.com

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

I have hald_enable=3D"YES" in my /etc/rc.conf.local file. The RC script sup=
plied
with webcamd detects whether HAL is enabled and, if it is, automatically ad=
ds
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244880-7788>