Okay, let's start at the beginning:
Here my keyboard
udi =
'/org/freedesktop/Hal/devices/pci_0_0/pci1458_5004_1d_2/device_2/keyboard_0_if0_1_logicaldev_input'
input.x11_options.XkbVariant = '' (string)
input.x11_options.XkbLayout = 'us' (string)
input.x11_options.Protocol = 'VUID' (string)
input.x11_options.StreamsModule = 'usbkbm' (string)
udi =
'/org/freedesktop/Hal/devices/pci_0_0/pci1458_5004_1d_2/device_2/keyboard_0_if0_1_logicaldev_input'
input.x11_options.XkbVariant = '' (string)
input.x11_options.XkbLayout = 'us' (string)
input.x11_options.Protocol = 'VUID' (string)
input.x11_options.StreamsModule = 'usbkbm' (string)
input.x11_options.XkbModel = 'sun_type6_usb' (string)
input.x11_options.mdriver = 'hotkey' (string)
input.x11_driver = 'kbd' (string)
input.x11_options.XkbRules = 'base' (string)
input.originating_device =
'/org/freedesktop/Hal/devices/pci_0_0/pci1458_5004_1d_2/device_2/keyboard_0_if0_1'
(string)
input.device = '/dev/usb/hid5' (string)
info.capabilities = {'input', 'input.keyboard', 'input.keys', 'button'}
(string list)
info.category = 'input' (string)
info.subsystem = 'input' (string)
info.solaris.driver = 'hid' (string)
solaris.devfs_path =
'/p...@0,0/pci1458,5...@1d,2/dev...@2/keybo...@0:keyboard' (string)
info.product = 'keyboard' (string)
info.udi =
'/org/freedesktop/Hal/devices/pci_0_0/pci1458_5004_1d_2/device_2/keyboard_0_if0_1_logicaldev_input'
(string)
info.parent =
'/org/freedesktop/Hal/devices/pci_0_0/pci1458_5004_1d_2/device_2/keyboard_0_if0_1'
(string)
udi =
'/org/freedesktop/Hal/devices/pci_0_0/pci1458_5004_1d_2/device_2/keyboard_0_if0_1'
usb.product = 'USB Keyboard' (string)
usb.vendor = 'CHESEN' (string)
usb.vendor_id = 2689 (0xa81) (int)
usb.product_id = 259 (0x103) (int)
usb.device_revision_bcd = 272 (0x110) (int)
usb.num_configurations = 1 (0x1) (int)
usb.bus_number = 3 (0x3) (int)
usb.version = 1.1 (double)
usb.speed = 1.5 (double)
usb.port_number = 2 (0x2) (int)
usb.device_class = 0 (0x0) (int)
usb.device_subclass = 0 (0x0) (int)
usb.device_protocol = 0 (0x0) (int)
usb.configuration_value = 1 (0x1) (int)
usb.max_power = 50 (0x32) (int)
usb.num_interfaces = 2 (0x2) (int)
usb.can_wake_up = true (bool)
usb.is_self_powered = false (bool)
usb.level_number = 0 (0x0) (int)
usb.interface.number = 0 (0x0) (int)
usb.interface.protocol = 1 (0x1) (int)
usb.interface.subclass = 1 (0x1) (int)
usb.interface.class = 3 (0x3) (int)
info.subsystem = 'usb' (string)
info.solaris.driver = 'hid' (string)
solaris.devfs_path = '/p...@0,0/pci1458,5...@1d,2/dev...@2/keybo...@0'
(string)
info.product = 'USB Device Interface' (string)
info.udi =
'/org/freedesktop/Hal/devices/pci_0_0/pci1458_5004_1d_2/device_2/keyboard_0_if0_1'
(string)
info.parent =
'/org/freedesktop/Hal/devices/pci_0_0/pci1458_5004_1d_2/device_2_0' (string)
udi = '/org/freedesktop/Hal/devices/pci_0_0/pci1458_5004_1d_2/device_2_0'
usb_device.level_number = 0 (0x0) (int)
usb_device.is_self_powered = false (bool)
usb_device.can_wake_up = true (bool)
usb_device.num_interfaces = 2 (0x2) (int)
usb_device.max_power = 50 (0x32) (int)
usb_device.configuration_value = 1 (0x1) (int)
usb_device.device_protocol = 0 (0x0) (int)
usb_device.device_subclass = 0 (0x0) (int)
usb_device.device_class = 0 (0x0) (int)
usb_device.port_number = 2 (0x2) (int)
usb_device.speed = 1.5 (double)
usb_device.version = 1.1 (double)
usb_device.bus_number = 3 (0x3) (int)
usb_device.num_configurations = 1 (0x1) (int)
usb_device.device_revision_bcd = 272 (0x110) (int)
usb_device.product_id = 259 (0x103) (int)
usb_device.vendor_id = 2689 (0xa81) (int)
usb_device.vendor = 'CHESEN' (string)
usb_device.product = 'USB Keyboard' (string)
info.subsystem = 'usb_device' (string)
info.solaris.driver = 'usb_mid' (string)
solaris.devfs_path = '/p...@0,0/pci1458,5...@1d,2/dev...@2' (string)
info.product = 'USB Keyboard' (string)
info.udi =
'/org/freedesktop/Hal/devices/pci_0_0/pci1458_5004_1d_2/device_2_0' (string)
info.parent = '/org/freedesktop/Hal/devices/pci_0_0/pci1458_5004_1d_2_5'
(string)
udi =
'/org/freedesktop/Hal/devices/pci_0_0/pci1458_5004_1d_2/device_2/input_1_if1_2'
usb.product = 'USB Keyboard' (string)
usb.vendor = 'CHESEN' (string)
usb.vendor_id = 2689 (0xa81) (int)
usb.product_id = 259 (0x103) (int)
usb.device_revision_bcd = 272 (0x110) (int)
usb.num_configurations = 1 (0x1) (int)
usb.bus_number = 3 (0x3) (int)
usb.version = 1.1 (double)
usb.speed = 1.5 (double)
usb.port_number = 2 (0x2) (int)
usb.device_class = 0 (0x0) (int)
usb.device_subclass = 0 (0x0) (int)
usb.device_protocol = 0 (0x0) (int)
usb.configuration_value = 1 (0x1) (int)
usb.max_power = 50 (0x32) (int)
usb.num_interfaces = 2 (0x2) (int)
usb.can_wake_up = true (bool)
usb.is_self_powered = false (bool)
usb.level_number = 0 (0x0) (int)
usb.interface.number = 1 (0x1) (int)
usb.interface.protocol = 0 (0x0) (int)
usb.interface.subclass = 0 (0x0) (int)
usb.interface.class = 3 (0x3) (int)
info.subsystem = 'usb' (string)
info.solaris.driver = 'hid' (string)
solaris.devfs_path = '/p...@0,0/pci1458,5...@1d,2/dev...@2/in...@1' (string)
info.product = 'USB Device Interface' (string)
info.udi =
'/org/freedesktop/Hal/devices/pci_0_0/pci1458_5004_1d_2/device_2/input_1_if1_2'
(string)
info.parent =
'/org/freedesktop/Hal/devices/pci_0_0/pci1458_5004_1d_2/device_2_0' (string)
and here the prtusb
9 hid 0 mouse 045e.0040
Microsoft 3-Button Mouse with IntelliEye(TM)
a usb_mid 0 device 0a81.0103 USB Keyboard
schat...@schatten:~$ pfexec echo ::prtusb -v -i a | pfexec mdb -k
INDEX DRIVER INST NODE VID.PID PRODUCT
a usb_mid 0 device 0a81.0103 USB Keyboard
Device Descriptor
{
bLength = 0x12
bDescriptorType = 0x1
bcdUSB = 0x110
bDeviceClass = 0
bDeviceSubClass = 0
bDeviceProtocol = 0
bMaxPacketSize0 = 0x8
idVendor = 0xa81
idProduct = 0x103
bcdDevice = 0x110
iManufacturer = 0x1
iProduct = 0x2
iSerialNumber = 0
bNumConfigurations = 0x1
}
-- Active Config Index 0
Configuration Descriptor
{
bLength = 0x9
bDescriptorType = 0x2
wTotalLength = 0x3b
bNumInterfaces = 0x2
bConfigurationValue = 0x1
iConfiguration = 0x0
bmAttributes = 0xa0
bMaxPower = 0x32
}
Interface Descriptor
{
bLength = 0x9
bDescriptorType = 0x4
bInterfaceNumber = 0x0
bAlternateSetting = 0x0
bNumEndpoints = 0x1
bInterfaceClass = 0x3
bInterfaceSubClass = 0x1
bInterfaceProtocol = 0x1
iInterface = 0x0
}
HID Descriptor
{
bLength = 0x9
bDescriptorType = 0x21
bcdHID = 0x110
bCountryCode = 0x21
bNumDescriptors = 0x1
bReportDescriptorType = 0x22
wReportDescriptorLength = 0x41
}
Endpoint Descriptor
{
bLength = 0x7
bDescriptorType = 0x5
bEndpointAddress = 0x81
bmAttributes = 0x3
wMaxPacketSize = 0x8
bInterval = 0xa
}
Interface Descriptor
{
bLength = 0x9
bDescriptorType = 0x4
bInterfaceNumber = 0x1
bAlternateSetting = 0x0
bNumEndpoints = 0x1
bInterfaceClass = 0x3
bInterfaceSubClass = 0x0
bInterfaceProtocol = 0x0
iInterface = 0x0
}
HID Descriptor
{
bLength = 0x9
bDescriptorType = 0x21
bcdHID = 0x110
bCountryCode = 0x21
bNumDescriptors = 0x1
bReportDescriptorType = 0x22
wReportDescriptorLength = 0x9c
}
Endpoint Descriptor
{
bLength = 0x7
bDescriptorType = 0x5
bEndpointAddress = 0x82
bmAttributes = 0x3
wMaxPacketSize = 0x8
bInterval = 0xa
}
--
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]