HAL not finding devices on start

Simon Geard delgarde at ihug.co.nz
Mon Dec 22 22:52:30 PST 2008


Hi all..

I've just built a new LFS system, and on installing HAL, I've found it's
not actually detecting hardware when it starts up. The lshal command
just shows a small number of devices, which I speculate to be those
initialised late enough in boot that hald is already running.
Hotplugging devices seems to work fine - I can unplug the keyboard and
mouse and plug them in again to get them recognised, same with both
eSata and USB external storage devices. If I restart hal, I end up with
nothing but a few core things like 'computer'...

Any idea what might be missing? Kernel is 2.6.27.10, hal 0.5.11, udev
130... not sure if anything else is relevant...

I've attached the output of lshal from immediately after bootup. The
four scsi entries are an example of things that might or might not be
present - I think it's my flash card reader...

Simon.
-------------- next part --------------
computer
  computer_scsi_host
    computer_scsi_host_scsi_device_lun0
      storage_serial_SMSC_223_U_HS_CF_000223223223_0_0
      computer_scsi_host_scsi_device_lun0_scsi_generic
  acpi_PWRF
  acpi_PWRB
  acpi_CPU0
  acpi_CPU1

Dumping 9 device(s) from the Global Device List:
-------------------------------------------------
udi = '/org/freedesktop/Hal/devices/computer'
  info.addons = {'hald-addon-cpufreq', 'hald-addon-acpi'} (string list)
  info.callouts.add = {'hal-storage-cleanup-all-mountpoints'} (string list)
  info.capabilities = {'cpufreq_control'} (string list)
  info.interfaces = {'org.freedesktop.Hal.Device.SystemPowerManagement', 'org.freedesktop.Hal.Device.CPUFreq'} (string list)
  info.product = 'Computer'  (string)
  info.subsystem = 'unknown'  (string)
  info.udi = '/org/freedesktop/Hal/devices/computer'  (string)
  org.freedesktop.Hal.Device.SystemPowerManagement.method_argnames = {'num_seconds_to_sleep', 'num_seconds_to_sleep', '', '', '', 'enable_power_save'} (string list)
  org.freedesktop.Hal.Device.SystemPowerManagement.method_execpaths = {'hal-system-power-suspend', 'hal-system-power-suspend-hybrid', 'hal-system-power-hibernate', 'hal-system-power-shutdown', 'hal-system-power-reboot', 'hal-system-power-set-power-save'} (string list)
  org.freedesktop.Hal.Device.SystemPowerManagement.method_names = {'Suspend', 'SuspendHybrid', 'Hibernate', 'Shutdown', 'Reboot', 'SetPowerSave'} (string list)
  org.freedesktop.Hal.Device.SystemPowerManagement.method_signatures = {'i', 'i', '', '', '', 'b'} (string list)
  power_management.acpi.linux.version = '20080609'  (string)
  power_management.can_hibernate = true  (bool)
  power_management.can_suspend = true  (bool)
  power_management.can_suspend_hybrid = false  (bool)
  power_management.is_powersave_set = false  (bool)
  power_management.quirk.vbe_post = true  (bool)
  power_management.type = 'acpi'  (string)
  system.chassis.manufacturer = 'Chassis Manufacture'  (string)
  system.chassis.type = 'Desktop'  (string)
  system.firmware.release_date = '06/11/2007'  (string)
  system.firmware.vendor = 'Phoenix Technologies, LTD'  (string)
  system.firmware.version = 'ASUS P5N-E SLI ACPI BIOS Revision 0608'  (string)
  system.formfactor = 'desktop'  (string)
  system.hardware.primary_video.product = 1057  (0x421)  (int)
  system.hardware.primary_video.vendor = 4318  (0x10de)  (int)
  system.hardware.product = 'System Product Name'  (string)
  system.hardware.serial = 'System Serial Number'  (string)
  system.hardware.uuid = '583DBD13-5599-DB11-8D05-2BE8A5C210E1'  (string)
  system.hardware.vendor = 'System manufacturer'  (string)
  system.hardware.version = 'System Version'  (string)
  system.kernel.machine = 'i686'  (string)
  system.kernel.name = 'Linux'  (string)
  system.kernel.version = '2.6.27.10-sda3'  (string)

udi = '/org/freedesktop/Hal/devices/computer_scsi_host'
  info.capabilities = {'scsi_host'} (string list)
  info.category = 'scsi_host'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'SCSI Host Adapter'  (string)
  info.subsystem = 'scsi_host'  (string)
  info.udi = '/org/freedesktop/Hal/devices/computer_scsi_host'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'scsi_host'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:0b.1/usb2/2-3/2-3.2/2-3.2:1.0/host7'  (string)
  scsi_host.host = 7  (0x7)  (int)

udi = '/org/freedesktop/Hal/devices/computer_scsi_host_scsi_device_lun0'
  info.linux.driver = 'sd'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer_scsi_host'  (string)
  info.product = 'SCSI Device'  (string)
  info.subsystem = 'scsi'  (string)
  info.udi = '/org/freedesktop/Hal/devices/computer_scsi_host_scsi_device_lun0'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'scsi'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:0b.1/usb2/2-3/2-3.2/2-3.2:1.0/host7/target7:0:0/7:0:0:0'  (string)
  scsi.bus = 0  (0x0)  (int)
  scsi.host = 7  (0x7)  (int)
  scsi.lun = 0  (0x0)  (int)
  scsi.model = '223 U HS-CF'  (string)
  scsi.target = 0  (0x0)  (int)
  scsi.type = 'disk'  (string)
  scsi.vendor = 'SMSC'  (string)

udi = '/org/freedesktop/Hal/devices/storage_serial_SMSC_223_U_HS_CF_000223223223_0_0'
  block.device = '/dev/sdc'  (string)
  block.is_volume = false  (bool)
  block.major = 8  (0x8)  (int)
  block.minor = 32  (0x20)  (int)
  block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_SMSC_223_U_HS_CF_000223223223_0_0'  (string)
  info.addons = {'hald-addon-storage'} (string list)
  info.capabilities = {'storage', 'block'} (string list)
  info.category = 'storage'  (string)
  info.interfaces = {'org.freedesktop.Hal.Device.Storage.Removable'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/computer_scsi_host_scsi_device_lun0'  (string)
  info.product = '223 U HS-CF'  (string)
  info.udi = '/org/freedesktop/Hal/devices/storage_serial_SMSC_223_U_HS_CF_000223223223_0_0'  (string)
  info.vendor = 'SMSC'  (string)
  linux.hotplug_type = 3  (0x3)  (int)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:0b.1/usb2/2-3/2-3.2/2-3.2:1.0/host7/target7:0:0/7:0:0:0/block/sdc'  (string)
  storage.automount_enabled_hint = true  (bool)
  storage.bus = 'scsi'  (string)
  storage.drive_type = 'disk'  (string)
  storage.firmware_version = '3.60'  (string)
  storage.hotpluggable = false  (bool)
  storage.lun = 0  (0x0)  (int)
  storage.media_check_enabled = true  (bool)
  storage.model = '223 U HS-CF'  (string)
  storage.no_partitions_hint = false  (bool)
  storage.originating_device = '/org/freedesktop/Hal/devices/computer'  (string)
  storage.partitioning_scheme = ''  (string)
  storage.removable = true  (bool)
  storage.removable.media_available = false  (bool)
  storage.removable.support_async_notification = false  (bool)
  storage.requires_eject = false  (bool)
  storage.serial = 'SMSC_223_U_HS-CF_000223223223-0:0'  (string)
  storage.size = 0  (0x0)  (uint64)
  storage.vendor = 'SMSC'  (string)

udi = '/org/freedesktop/Hal/devices/computer_scsi_host_scsi_device_lun0_scsi_generic'
  info.capabilities = {'scsi_generic'} (string list)
  info.category = 'scsi_generic'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer_scsi_host_scsi_device_lun0'  (string)
  info.product = 'SCSI Generic Interface'  (string)
  info.subsystem = 'scsi_generic'  (string)
  info.udi = '/org/freedesktop/Hal/devices/computer_scsi_host_scsi_device_lun0_scsi_generic'  (string)
  linux.device_file = '/dev/sg3'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'scsi_generic'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:0b.1/usb2/2-3/2-3.2/2-3.2:1.0/host7/target7:0:0/7:0:0:0/scsi_generic/sg3'  (string)
  scsi_generic.device = '/dev/sg3'  (string)

udi = '/org/freedesktop/Hal/devices/acpi_PWRF'
  button.has_state = false  (bool)
  button.type = 'power'  (string)
  info.capabilities = {'button'} (string list)
  info.category = 'button'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'Power Button'  (string)
  info.udi = '/org/freedesktop/Hal/devices/acpi_PWRF'  (string)
  linux.acpi_path = '/proc/acpi/button/power/PWRF'  (string)
  linux.acpi_type = 11  (0xb)  (int)
  linux.hotplug_type = 4  (0x4)  (int)

udi = '/org/freedesktop/Hal/devices/acpi_PWRB'
  button.has_state = false  (bool)
  button.type = 'power'  (string)
  info.capabilities = {'button'} (string list)
  info.category = 'button'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'Power Button'  (string)
  info.udi = '/org/freedesktop/Hal/devices/acpi_PWRB'  (string)
  linux.acpi_path = '/proc/acpi/button/power/PWRB'  (string)
  linux.acpi_type = 11  (0xb)  (int)
  linux.hotplug_type = 4  (0x4)  (int)

udi = '/org/freedesktop/Hal/devices/acpi_CPU0'
  info.capabilities = {'processor'} (string list)
  info.category = 'processor'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'Intel(R) Core(TM)2 Duo CPU     E6750  @ 2.66GHz'  (string)
  info.udi = '/org/freedesktop/Hal/devices/acpi_CPU0'  (string)
  linux.acpi_path = '/proc/acpi/processor/CPU0'  (string)
  linux.acpi_type = 1  (0x1)  (int)
  linux.hotplug_type = 4  (0x4)  (int)
  processor.can_throttle = false  (bool)
  processor.number = 0  (0x0)  (int)

udi = '/org/freedesktop/Hal/devices/acpi_CPU1'
  info.capabilities = {'processor'} (string list)
  info.category = 'processor'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'Intel(R) Core(TM)2 Duo CPU     E6750  @ 2.66GHz'  (string)
  info.udi = '/org/freedesktop/Hal/devices/acpi_CPU1'  (string)
  linux.acpi_path = '/proc/acpi/processor/CPU1'  (string)
  linux.acpi_type = 1  (0x1)  (int)
  linux.hotplug_type = 4  (0x4)  (int)
  processor.can_throttle = false  (bool)
  processor.number = 1  (0x1)  (int)


Dumped 9 device(s) from the Global Device List.
------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/hal/attachments/20081223/6568afd5/attachment.pgp 


More information about the hal mailing list