summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDanny Kukawka <danny.kukawka@web.de>2008-12-15 08:55:04 +0100
committerDanny Kukawka <danny.kukawka@web.de>2008-12-15 08:55:04 +0100
commitb09774739efe4215aa03e7812bca8a50be65e2c1 (patch)
treec9e2bd3aa6b11f7328558c669187e06c921f84cd /doc
parenta476876bd9f094f94583194d8d208bcb77cd5f49 (diff)
fixed serial.port handling for USB serial devices
Fixed serial.port handling for USB serial devices. Since USB devices can have several ports and since the order of /dev/ttyUSB* depends on the device order, it make no sense to base serial.port for USB devices on the number in /dev/ttyUSB*. Here is the port number of the USB device itself more important to detect/match devices. Changed the spec description and handling/detection of serial.port for USB serial devices to use device/port_number info from sysfs. This change shouldn't affect existing matches in fdi files (as e.g. for modems) as long as there wheren't more than one USB serial device in the machine as the entry was generated. I imply this for now with this change. This change allow us to match e.g. modems also if you put more than one modem with USB serial ports to a machine. For more see: https://bugzilla.novell.com/show_bug.cgi?id=458307
Diffstat (limited to 'doc')
-rw-r--r--doc/spec/hal-spec-properties.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/spec/hal-spec-properties.xml b/doc/spec/hal-spec-properties.xml
index d6136bd7..b28a5bcf 100644
--- a/doc/spec/hal-spec-properties.xml
+++ b/doc/spec/hal-spec-properties.xml
@@ -2883,8 +2883,9 @@ org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'}
<entry>example: 0</entry>
<entry>Yes</entry>
<entry>
- The port number of the device, based on the number in
- <literal>serial.device</literal>
+ The port number of the device. For USB serial devices it's the port number of the
+ serial device itself. For other serial devices, where is no device port info
+ available, it's based on the number in <literal>serial.device</literal>.
</entry>
</row>
<row>