[sane-devel] Some weirdness with a Canon LiDE 220

Johannes Meixner jsmeix at suse.de
Thu Dec 17 08:35:31 UTC 2015


Hello,

On Dec 16 12:45 Scott Alfter wrote (excerpt):
> ... lsusb -t shows the following for the home system:
>
> /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
> /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
> |__ Port 3: Dev 2, If 0, Class=Wireless, Driver=, 12M
> |__ Port 3: Dev 2, If 1, Class=Wireless, Driver=, 12M
> |__ Port 4: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 12M
> |__ Port 5: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
> |__ Port 9: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
> |__ Port 13: Dev 6, If 0, Class=Video, Driver=, 480M
> |__ Port 13: Dev 6, If 1, Class=Video, Driver=, 480M
> |__ Port 13: Dev 6, If 2, Class=Audio, Driver=snd-usb-audio, 480M
> |__ Port 13: Dev 6, If 3, Class=Audio, Driver=snd-usb-audio, 480M
> /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
> |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
> /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
> |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
>
> At this time, it has a keyboard, mouse, webcam, Bluetooth dongle, and
> ANT+ dongle plugged in. I filled the "USB 2.0" (black) ports up before I
> started plugging things into USB 3.0 (blue) ports, yet it looks like
> everything's going through the xhci_hcd driver.

All the following devices (each with one or more interfaces)
are going through the xhci_hcd driver:

  /: Bus 03
  |__ Port 3: Dev 2
  |__ Port 4: Dev 3
  |__ Port 5: Dev 4
  |__ Port 9: Dev 5
  |__ Port 13: Dev 6

You did not tell what of those devices the scanner is.

I guess it is

  /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
  ...
  |__ Port 4: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 12M

Scanners usually belong to the generic "Vendor Specific Class"
because there is no specific USB device class "scanner".


Regarding "USB 2.0 (black) and USB 3.0 (blue)":

Neither the color nor what the port is labeled on the computer
is reliable regarding what kernel driver is used for the port.

Only the "lsusb -t" output shows what kernel driver is used.

For example all USB ports on my testing machine have same dark color.
Also the "super speed" (USB 3) labeled ports are basically black.
Their exact color is "very dark" but not "100% black"
and neither blue (USB 3.0) nor teal blue (USB 3.1), cf.
https://en.wikipedia.org/wiki/USB#Colors

On my testing machine xhci_hcd is used for all USB ports
where I can connect devices (i.e. all external USB ports).


Kind Regards
Johannes Meixner
-- 
SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard,
Graham Norton - HRB 21284 (AG Nuernberg)




More information about the sane-devel mailing list