Gentoo Archives: gentoo-user

From: Andrew Gaydenko <a@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] printer uses UHCI instead of EHCI. Why?
Date: Sun, 17 Feb 2008 14:43:05
Message-Id: 200802171742.52039@goldspace.net
In Reply to: Re: [gentoo-user] printer uses UHCI instead of EHCI. Why? by Jens Krahe
1 Hi!
2 ======= On Sunday 17 February 2008, you wrote: =======
3 ...
4 > and on page 4:
5 > "High-speed devices are always routed to and controlled by the EHCI
6 > host controller (eHC). When running and configured, the eHC is the
7 > default owner of all the root ports. The eHC and its driver initially
8 > detect all device attaches. It has additional control bits visible in
9 > each port register to manage the routing logic. For example: if the
10 > attached device is not a high-speed device, the eHC driver releases
11 > ownership of the port (and thus control of the device) to a companion
12 > host controller. For that port, enumeration starts over from the
13 > initial attach detect point and the device is enumerated under the
14 > cHC. Otherwise, the eHC retains ownership of the port and the device
15 > completes enumeration under the eHC."
16 >
17 > Regards
18 > Jens
19 >
20 > [1] http://www.intel.com/technology/usb/download/ehci-r10.pdf
21
22 It seems like all is as it must be :-) - see below. The printer declared
23 to be "Full Speed", i.e. 12Mbit/s, and the speed is got.
24
25 Just curious why printing is too slow (periodical lags between pages).
26 Probably, some cupsd tuning is needed (CPU eating is ~0%, of course).
27
28
29 Andrew
30
31 ===================================
32
33 Feb 17 17:30:50 anli hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0004
34 Feb 17 17:30:50 anli ehci_hcd 0000:00:1d.7: GetStatus port 2 status 001803 POWER sig=j CSC CONNECT
35 Feb 17 17:30:50 anli hub 2-0:1.0: port 2, status 0501, change 0001, 480 Mb/s
36 Feb 17 17:30:50 anli hub 2-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x501
37 Feb 17 17:30:50 anli ehci_hcd 0000:00:1d.7: port 2 full speed --> companion
38 Feb 17 17:30:50 anli ehci_hcd 0000:00:1d.7: GetStatus port 2 status 003801 POWER OWNER sig=j CONNECT
39 Feb 17 17:30:50 anli hub 2-0:1.0: port 2 not reset yet, waiting 50ms
40 Feb 17 17:30:50 anli usb usb5: wakeup_rh (auto-start)
41 Feb 17 17:30:50 anli ehci_hcd 0000:00:1d.7: GetStatus port 2 status 003002 POWER OWNER sig=se0 CSC
42 Feb 17 17:30:50 anli hub 5-0:1.0: state 7 ports 2 chg 0000 evt 0004
43 Feb 17 17:30:50 anli uhci_hcd 0000:00:1d.0: port 2 portsc 0093,00
44 Feb 17 17:30:50 anli hub 5-0:1.0: port 2, status 0101, change 0001, 12 Mb/s
45 Feb 17 17:30:50 anli hub 5-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x101
46 Feb 17 17:30:51 anli usb 5-2: new full speed USB device using uhci_hcd and address 3
47 Feb 17 17:30:51 anli usb 5-2: ep0 maxpacket = 8
48 Feb 17 17:30:51 anli usb 5-2: default language 0x0409
49 Feb 17 17:30:51 anli usb 5-2: uevent
50 Feb 17 17:30:51 anli usb 5-2: usb_probe_device
51 Feb 17 17:30:51 anli usb 5-2: configuration #1 chosen from 1 choice
52 Feb 17 17:30:51 anli usb 5-2: adding 5-2:1.0 (config #1, interface 0)
53 Feb 17 17:30:51 anli usb 5-2:1.0: uevent
54 Feb 17 17:30:51 anli usblp 5-2:1.0: usb_probe_interface
55 Feb 17 17:30:51 anli usblp 5-2:1.0: usb_probe_interface - got id
56 Feb 17 17:30:51 anli drivers/usb/core/file.c: looking for a minor, starting at 0
57 Feb 17 17:30:51 anli usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x0482 pid 0x0015
58 Feb 17 17:30:51 anli drivers/usb/core/inode.c: creating file '003'
59 Feb 17 17:30:51 anli usb 5-2: new device strings: Mfr=1, Product=2, SerialNumber=3
60 Feb 17 17:30:51 anli usb 5-2: Product: Kyocera FS-1030D
61 Feb 17 17:30:51 anli usb 5-2: Manufacturer: Kyocera
62 Feb 17 17:30:51 anli usb 5-2: SerialNumber: **********
63 Feb 17 17:30:51 anli hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0004
64 --
65 gentoo-user@l.g.o mailing list