pnp

Kay Sievers kay.sievers at vrfy.org
Tue Sep 13 09:27:36 PDT 2005


While playing around with PNP devices, I was wondering about all the
"IBM" devices in HAL. HAL reads only the first entry in the "id" file and
names the device after that. The bad thing is that PNP devices can have
multiple id's per device. Don't know how to fix that, but naming a
device (uri) after the first id only seems wrong. :)

Cheers,
Kay

  kay at pim:~> grep . /sys/bus/pnp/devices/*/id
  /sys/bus/pnp/devices/00:00/id:PNP0c01
  /sys/bus/pnp/devices/00:01/id:PNP0c02
  /sys/bus/pnp/devices/00:02/id:PNP0200
  /sys/bus/pnp/devices/00:03/id:PNP0800
  /sys/bus/pnp/devices/00:04/id:PNP0c04
  /sys/bus/pnp/devices/00:05/id:PNP0b00
  /sys/bus/pnp/devices/00:06/id:PNP0303
* /sys/bus/pnp/devices/00:07/id:IBM0057
* /sys/bus/pnp/devices/00:07/id:PNP0f13
  /sys/bus/pnp/devices/00:08/id:PNP0700
  /sys/bus/pnp/devices/00:09/id:PNP0501
  /sys/bus/pnp/devices/00:0a/id:PNP0400
* /sys/bus/pnp/devices/00:0b/id:IBM0071
* /sys/bus/pnp/devices/00:0b/id:PNP0511
  /sys/bus/pnp/devices/00:0c/id:NSC1100
  /sys/bus/pnp/devices/00:0d/id:IBM0068



More information about the hal mailing list