pl2303
Sam Hsu
joepasscheng at gmail.com
Thu Feb 1 19:54:55 PST 2007
here is my lshal result
udi = '/org/freedesktop/Hal/devices/usb_device_eba_1080_noserial_if0'
info.udi =
'/org/freedesktop/Hal/devices/usb_device_eba_1080_noserial_if0' (string)
linux.subsystem = 'usb' (string)
linux.hotplug_type = 1 (0x1) (int)
info.product = 'USB Vendor Specific Interface' (string)
usb.interface.protocol = 0 (0x0) (int)
usb.interface.subclass = 0 (0x0) (int)
usb.interface.class = 255 (0xff) (int)
usb.interface.number = 0 (0x0) (int)
info.linux.driver = 'pl2303' (string)
usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.0/usb2/2-4/2-4:
1.0' (string)
usb.configuration_value = 1 (0x1) (int)
usb.num_configurations = 1 (0x1) (int)
usb.num_interfaces = 1 (0x1) (int)
usb.device_class = 0 (0x0) (int)
usb.device_subclass = 0 (0x0) (int)
usb.device_protocol = 0 (0x0) (int)
usb.vendor_id = 3770 (0xeba) (int)
usb.product_id = 4224 (0x1080) (int)
usb.vendor = 'Unknown (0x0eba)' (string)
usb.product = 'USB Vendor Specific Interface' (string)
usb.device_revision_bcd = 1 (0x1) (int)
usb.max_power = 500 (0x1f4) (int)
usb.num_ports = 0 (0x0) (int)
usb.linux.device_number = 4 (0x4) (int)
usb.speed_bcd = 4608 (0x1200) (int)
usb.version_bcd = 272 (0x110) (int)
usb.is_self_powered = false (bool)
usb.can_wake_up = false (bool)
usb.bus_number = 2 (0x2) (int)
info.bus = 'usb' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_eba_1080_noserial'
(string)
linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:02.0
/usb2/2-4/2-4:1.0' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.0/usb2/2-4/2-4:1.0'
(string)
There is no linux.device_file, only sysfs path
in sysfs path, i found there is a dir "ttyUSB0"
but why my hal did not take the device as serial device?
On 2/1/07, Kay Sievers <kay.sievers at vrfy.org> wrote:
>
> On 2/1/07, Sam Hsu <joepasscheng at gmail.com> wrote:
> > when i use old HAL (version 0.4.2)
> > PL2303(USB-to-serial adaptor) will show
> > info.bus ==> usb-serial
> > serial.device ==> /dev/ttyUSB0
> >
> > Now I use HAL 0.5.7.1 (in gentoo)
> > info.bus ==> usb
> > and there is no serial.device
> > i need this information to handle my device
> > How can i solve this?
> > I did something wrong?
>
> See if linux.device_file is there? That's better anyway.
>
> And better don't depend on any of the weird "bus" properties, the
> device should have the capability "serial", right?
>
> Kay
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/hal/attachments/20070202/33d3f15d/attachment.html
More information about the hal
mailing list