[PATCH] change usb*.version_bcd/usb*.speed_bcd to new double keys

Danny Kukawka danny.kukawka at web.de
Wed Mar 7 06:08:47 PST 2007


Hi,

this patch add two new keys which store and display the version and 
the speed of a USB device as double values and not in BCD. IMO this
looks better in lshal and should also be easier to handle by 
applications which consume this information. 

I would set the old usb*.*_bcd properties if they are not really 
needed to deprecated.

Danny

 doc/spec/hal-spec-properties.xml |   16 ++++++++++++++++
 hald/linux/device.c              |    2 ++
 hald/util.c                      |   19 +++++++++++++++++++
 hald/util.h                      |    2 ++
 tools/lshal.c                    |    3 ++-
 5 files changed, 41 insertions(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-usb_speed_and_version_in_double.diff
Type: text/x-diff
Size: 3792 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070307/f96c76c0/hal-usb_speed_and_version_in_double.bin


More information about the hal mailing list