here is my lshal result<br><br>udi = '/org/freedesktop/Hal/devices/usb_device_eba_1080_noserial_if0'<br> info.udi = '/org/freedesktop/Hal/devices/usb_device_eba_1080_noserial_if0' (string)<br> linux.subsystem
= 'usb' (string)<br> linux.hotplug_type = 1 (0x1) (int)<br> info.product = 'USB Vendor Specific Interface' (string)<br> usb.interface.protocol = 0 (0x0) (int)<br> usb.interface.subclass = 0 (0x0) (int)
<br> usb.interface.class = 255 (0xff) (int)<br> usb.interface.number = 0 (0x0) (int)<br> info.linux.driver = 'pl2303' (string)<br> usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.0/usb2/2-4/2-4:
1.0' (string)<br> usb.configuration_value = 1 (0x1) (int)<br> usb.num_configurations = 1 (0x1) (int)<br> usb.num_interfaces = 1 (0x1) (int)<br> usb.device_class = 0 (0x0) (int)<br> usb.device_subclass = 0 (0x0) (int)
<br> usb.device_protocol = 0 (0x0) (int)<br> usb.vendor_id = 3770 (0xeba) (int)<br> usb.product_id = 4224 (0x1080) (int)<br> usb.vendor = 'Unknown (0x0eba)' (string)<br> usb.product = 'USB Vendor Specific Interface' (string)
<br> usb.device_revision_bcd = 1 (0x1) (int)<br> usb.max_power = 500 (0x1f4) (int)<br> usb.num_ports = 0 (0x0) (int)<br> usb.linux.device_number = 4 (0x4) (int)<br> usb.speed_bcd = 4608 (0x1200) (int)<br>
usb.version_bcd = 272 (0x110) (int)<br> usb.is_self_powered = false (bool)<br> usb.can_wake_up = false (bool)<br> usb.bus_number = 2 (0x2) (int)<br> info.bus = 'usb' (string)<br> info.parent = '/org/freedesktop/Hal/devices/usb_device_eba_1080_noserial' (string)
<br> linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:02.0/usb2/2-4/2-4:1.0' (string)<br> linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.0/usb2/2-4/2-4:1.0' (string)<br><br>There is no
linux.device_file, only sysfs path<br>in sysfs path, i found there is a dir "ttyUSB0"<br>but why my hal did not take the device as serial device?<br><br><div><span class="gmail_quote">On 2/1/07, <b class="gmail_sendername">
Kay Sievers</b> <<a href="mailto:kay.sievers@vrfy.org">kay.sievers@vrfy.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 2/1/07, Sam Hsu <<a href="mailto:joepasscheng@gmail.com">joepasscheng@gmail.com</a>> wrote:<br>> when i use old HAL (version 0.4.2)<br>> PL2303(USB-to-serial adaptor) will show<br>> info.bus ==> usb-serial
<br>> serial.device ==> /dev/ttyUSB0<br>><br>> Now I use HAL <a href="http://0.5.7.1">0.5.7.1</a> (in gentoo)<br>> info.bus ==> usb<br>> and there is no serial.device<br>> i need this information to handle my device
<br>> How can i solve this?<br>> I did something wrong?<br><br>See if linux.device_file is there? That's better anyway.<br><br>And better don't depend on any of the weird "bus" properties, the<br>device should have the capability "serial", right?
<br><br>Kay<br></blockquote></div><br>