Re: Scanner works on EHCI port, fails on XHCI Port

2013-12-10 Thread Matthias Bläsing
Hey,

On Mo, 2013-12-09 at 21:07 +0100, Matthias Bläsing wrote:
> [USB Scanner working on EHCI port, but not on XHCI]

some more info - sorry I should have provided that in the first place.

The USB Host is a DELL E 5530 Notebook, with this hardware:

matthias@athena:~$ lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller 
(rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor 
Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family 
USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series 
Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family 
USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family 
High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI 
Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI 
Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI 
Express Root Port 3 (rev c4)
00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI 
Express Root Port 4 (rev c4)
00:1c.5 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI 
Express Root Port 6 (rev c4)
00:1c.6 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI 
Express Root Port 7 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family 
USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 
04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA 
Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus 
Controller (rev 04)
02:00.0 Network controller: Intel Corporation Centrino Ultimate-N 6300 (rev 35)
0b:00.0 SD Host controller: O2 Micro, Inc. Device 8221 (rev 05)
0c:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5761 Gigabit 
Ethernet PCIe (rev 10)
matthias@athena:~$ 

I'm on a current kernel:

matthias@athena:~$ uname -a
Linux athena 3.12.4-031204-generic #201312081207 SMP Sun Dec 8 17:08:59 UTC 
2013 x86_64 x86_64 x86_64 GNU/Linux
matthias@athena:~$ 

Same happens with a 3.11 series kernel.

The linux distribution is linux mint.

Thanks

Matthias

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Scanner works on EHCI port, fails on XHCI Port

2013-12-09 Thread Matthias Bläsing
Hello,

I hope this is the right place to ask. I own a Canon CanoScan LiDE 25.
The scanner worked well the last few years and with my new notebook it
only works in one port. From the tree it seems to be tied to the
controller:

This works:

matthias@athena:~$ lsusb -t
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
|__ Port 4: Dev 2, If 0, Class=Hub, Driver=hub/3p, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 4: Dev 2, If 0, Class=Hub, Driver=hub/3p, 480M
|__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 3: Dev 5, If 0, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 5, If 1, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 5, If 2, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 5, If 3, Class=Human Interface Device, 
Driver=usbhid, 12M
|__ Port 2: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 
1.5M
/:  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
|__ Port 8: Dev 3, If 0, Class=Hub, Driver=hub/3p, 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
|__ Port 2: Dev 12, If 0, Class=Vendor Specific Class, Driver=, 12M
|__ Port 4: Dev 3, If 0, Class=Vendor Specific Class, Driver=btusb, 12M
|__ Port 4: Dev 3, If 1, Class=Vendor Specific Class, Driver=btusb, 12M
|__ Port 4: Dev 3, If 2, Class=Vendor Specific Class, Driver=, 12M
|__ Port 4: Dev 3, If 3, Class=Application Specific Interface, Driver=, 
12M
|__ Port 5: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 5: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M
matthias@athena:~$ 


While this fails:

matthias@athena:~$ lsusb -t
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
|__ Port 4: Dev 2, If 0, Class=Hub, Driver=hub/3p, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 2: Dev 16, If 0, Class=Vendor Specific Class, Driver=, 12M
|__ Port 4: Dev 2, If 0, Class=Hub, Driver=hub/3p, 480M
|__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 3: Dev 5, If 0, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 5, If 1, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 5, If 2, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 5, If 3, Class=Human Interface Device, 
Driver=usbhid, 12M
|__ Port 2: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 
1.5M
/:  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
|__ Port 8: Dev 3, If 0, Class=Hub, Driver=hub/3p, 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
|__ Port 4: Dev 3, If 0, Class=Vendor Specific Class, Driver=btusb, 12M
|__ Port 4: Dev 3, If 1, Class=Vendor Specific Class, Driver=btusb, 12M
|__ Port 4: Dev 3, If 2, Class=Vendor Specific Class, Driver=, 12M
|__ Port 4: Dev 3, If 3, Class=Application Specific Interface, Driver=, 
12M
|__ Port 5: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 5: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M
matthias@athena:~$ 

Attached to this email you find a usbmon trace of both cases (different
devices, as I got the trees after I made the traces).

Basic intention: I want to be able to use the scanner on the port tied
to the xhci, as I can on the EHCI one.

If I can provide more information or if there is a more appropriate
place to ask, please say so.

Thank you in advance

Matthias 
88020d55cc00 4057213234 C Ii:3:001:1 0:2048 1 = 04
88020d55cc00 4057213263 S Ii:3:001:1 -115:2048 4 <
88020a9f7180 4057213307 S Ci:3:001:0 s a3 00  0002 0004 4 <
88020a9f7180 4057213318 C Ci:3:001:0 0 4 = 01010100
88020a9f7180 4057213322 S Co:3:001:0 s 23 01 0010 0002  0
88020a9f7180 4057213325 C Co:3:001:0 0 0
88020a9f7180 4057213327 S Ci:3:001:0 s a3 00  0002 0004 4 <
88020a9f7180 4057213329 C Ci:3:001:0 0 4 = 0101
88020d307780 4057243802 S Ci:3:001:0 s a3 00  0002 0004 4 <
88020d307780 4057243830 C Ci:3:001:0 0 4 = 0101
88020a9f7180 4057275809 S Ci:3:001:0 s a3 00  0002 0004 4 <
88020a9f7180 4057275829 C Ci:3:001:0 0 4 = 0101
88020f470b40 4057307784 S Ci:3:001:0 s a3 00  0002 0004 4 <
88020f470b40 4057307821 C Ci:3:001:0 0 4 = 0101
88020d307780 4057339809 S Ci:3:001:0 s a3 00  0002 0004 4 <
88020d307780 4057339829 C Ci:3:001:0 0 4 = 0101
88020d307780 4057339903 S Co:3:001:0 s 23 03 0004 0002  0
88020d307780 4057339910 C Co:3:001:0 0 0
88020a9f7900 4057395785 S Ci:3:001:0 s a3 00  0002 000