Project

General

Profile

Actions

Bug #14226

open

service/hal needs restart after hardware change

Added by David Stes 23 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

Hi,

This issue was originally reported by Gary Mills but I just log it here for further reference.

On my OpenIndiana system running OI 2021.10

$pkg list osnet-incorporation dbus hal
NAME (PUBLISHER) VERSION IFO
consolidation/osnet/osnet-incorporation 0.5.11-2020.0.1.20768 i--
service/hal 0.5.11-2020.0.1.20768 i--
system/library/dbus 1.12.20-2020.0.1.1 i--

This is OI 2021.10

$ cat /etc/release
OpenIndiana Hipster 2021.10 (powered by illumos)
OpenIndiana Project, part of The Illumos Foundation (C) 2010-2021
Use is subject to license terms.
Assembled 30 October 2021

After changing some hardware such as adding a USB webcam, audio card, card reader, keyboard or mouse or USB storage, the command "lshal" which lists the hal hardware, does not show the new hardware.

When issuing

svcadm restart hal

it works for me: the new hardware is in the output of the command "lshal".

There has been work on this by Gary Mills to show via "dtrace" that hal is actually getting a request to update the database via 'dbus' but it is unclear to me whether this is a dbus error or both hal and dbus or dbus-daemon issue.

The workaround that works for me is to use the command : svcadm restart hal

or also:

svcadm disable hal
svcadm enable hal

Because the restart_on attribute of the dependents like rmvolmgr and lightdm is set to "none" , I think that restarting hal does not force a restart / kill of lightdm desktop or rmvolmgr.


Related issues

Related to OpenIndiana Distribution - Bug #13711: USB Flash Drive does not automount correctlyNew

Actions
Related to OpenIndiana Distribution - Bug #14216: Problem with USB New

Actions
Related to OpenIndiana Distribution - Bug #13858: x11 hot plug keyboard does not workNewOI Userland

Actions
Related to illumos gate - Bug #14227: USB automount failure implicates haldNew

Actions
Actions #1

Updated by David Stes 23 days ago

  • Related to Bug #13711: USB Flash Drive does not automount correctly added
Actions #2

Updated by David Stes 23 days ago

Actions #3

Updated by David Stes 23 days ago

  • Related to Bug #13858: x11 hot plug keyboard does not work added
Actions #4

Updated by David Stes 21 days ago

  • Related to Bug #14227: USB automount failure implicates hald added
Actions

Also available in: Atom PDF