Re: why does my keyboard have 2 interfaces?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jan 08, 2022 at 06:19:27PM -0800, Randy Dunlap wrote:
> 
> 
> On 1/8/22 16:21, James wrote:
> > 
> > $ lsusb -tv
> >  /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
> >      ID 1d6b:0002 Linux Foundation 2.0 root hub
> >      |__ Port 1: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
> >          ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard
> 
> Interface 0 is the control interface, for setup/config/etc commands.

Or possibly it is the boot interface, for use by the BIOS before the 
operating system is running.

> >      |__ Port 1: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
> >          ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard
> 
> Interfaces 1..N are for function data transfer.
> 
> > 
> > I tried my other computer and all the devices seem to have 2 interfaces.

Not all of them.  Device 4 on port 7 has only one interface.

> >  lsusb -tv
> > /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 10000M
> >     ID 1d6b:0003 Linux Foundation 3.0 root hub
> > /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
> >     ID 1d6b:0002 Linux Foundation 2.0 root hub
> >     |__ Port 4: Dev 9, If 1, Class=Human Interface Device, Driver=usbhid, 12M
> >         ID 25a7:fa61 Areson Technology Corp Elecom Co., Ltd MR-K013 Multicard Reader
> >     |__ Port 4: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 12M
> >         ID 25a7:fa61 Areson Technology Corp Elecom Co., Ltd MR-K013 Multicard Reader
> >     |__ Port 5: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
> >         ID 0408:a061 Quanta Computer, Inc.
> >     |__ Port 5: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
> >         ID 0408:a061 Quanta Computer, Inc.
> >     |__ Port 7: Dev 4, If 0, Class=Vendor Specific Class, Driver=, 12M
> >         ID 04f3:0c03 Elan Microelectronics Corp.
> >     |__ Port 10: Dev 5, If 0, Class=Wireless, Driver=btusb, 12M
> >         ID 8087:0026 Intel Corp.
> >     |__ Port 10: Dev 5, If 1, Class=Wireless, Driver=btusb, 12M
> >         ID 8087:0026 Intel Corp.
> > 
> 
> -- 
> ~Randy

Alan Stern



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux