Zdravím.
Mám problém, který se sice Linuxu netýká přímo, ale s Linuxem se ho snažím řešit :-)
Mám "chytrou" TV, u které lze dle návodu připojit USB myš s protokolem HID (Human Interface Device). Tedy standard.
Zkusil jsem připojit bezdrátový set a PS/2 myš přes USB redukci - oboje nic.
Když se kouknu na lsusb -v TAK JE ALE PATRNÉ, ŽE OBĚ TATO ZAŘÍZENÍ JSOU SETY KL+MYŠ:
lsusb -vs 001:011
Bus 001 Device 011: ID 13ba:0017 Unknown PS/2 Keyboard+Mouse Adapter
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x13ba Unknown
idProduct 0x0017 PS/2 Keyboard+Mouse Adapter
bcdDevice 0.01
iManufacturer 0
iProduct 1
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 59
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 1 Keyboard
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 65
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 24
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 75
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0005 1x 5 bytes
bInterval 10
Napadlo mě proto, jak asi vypadá výstup lsusb -v pro jen USB myš.
Jestli se nehlásí jako HID myš přímo a ne až v podvětvi Interface descriptoru pod:
bDeviceClass 0 (Defined at Interface level)
Pokud někdo má samostatnou USB myš (ať už drátovou či bezdrátovou) - mohu požádat o info, jak taková myš vypadá pod Linuxem ? Tedy lsusb -v ?
Díky.
P.S.: zajímá mě to i obecně - např. co když koupím kombi zařízení tiskárna+scanner. Pracuje s tím Linux nezávisle ? Jako se dvěma zařízeními, se kterými buď umí, či neumí zacházet a nebo je to pro něj jedno, speciální zařízení vyžadující speciální zacházení ?