hal-device command

output part from "apt-cache show hal"

Description: Hardware Abstraction Layer
 HAL provides an abstract view on hardware.
 .
 This abstraction layer is simply an interface that makes it possible to
 add support for new devices and new ways of connecting devices to the
 computer, without modifying every application that uses the device.
 It maintains a list of devices that currently exist, and can provide
 information about those upon request.
Homepage: http://hal.freedesktop.org/

commandline session

$hal-device > haloutput.txt
$head haloutput.txt
0: udi = '/org/freedesktop/Hal/devices/volume_uuid_c2df0e9b_e267_43d1_87c6_aac360a40320'
  volume.is_mounted = false  (bool)
  volume.linux.is_device_mapper = false  (bool)
  info.product = 'Volume (swap)'  (string)
  volume.is_partition = true  (bool)
  volume.is_disc = false  (bool)
  linux.hotplug_type = 3  (0x3)  (int)
  volume.partition.number = 5  (0x5)  (int)
  volume.block_size = 512  (0x200)  (int)
  info.category = 'volume'  (string)
$tail haloutput.txt
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:00.0'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  pci.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:00.0'  (string)
  pci.product_id = 1002  (0x3ea)  (int)
  pci.vendor_id = 4318  (0x10de)  (int)
  pci.subsys_product_id = 20481  (0x5001)  (int)
  pci.subsys_vendor_id = 5208  (0x1458)  (int)
  pci.device_class = 5  (0x5)  (int)
  pci.device_subclass = 0  (0x0)  (int)

$

http://www.freedesktop.org/wiki/Software/hal

Carter, Jimmy: Nomination
[audio:http://www.freeinfosociety.com/media/sounds/141.mp3]