[kwlug disc.] USB versions on Linux
Paul Nijjar
pnijjar at sdf.lonestar.org
Fri Jun 1 16:33:17 EDT 2007
On Fri, 1 Jun 2007, Daniel Agar wrote:
> You could check to see which modules are loaded (lsmod). EHCI is for usb
> 2.0 and UHCI will be loaded for USB 1.0. If you have USB 2.0 ports you
> should see both modules under lsmod.
That is a good suggestion. I will try that.
I did look around for some other information about USB. I learned
that lsusb -v is my friend, as is /proc/bus/usb/devices. Below is the
output from the latter. The "Ver=" lines below seem to indicate that Linux
thinks my hub (i.e. the ports on my machine) are USB 1.1, and my new USB
Key (the Kingston DataTraveler) is USB 2.0. So Linux should be smart
enough to transmit at slower speeds, no?
My questions now:
0. Is there a good way for me to stress test the USB key and/or
ports? I have been transferring big files back and forth, which is how got
the first lockup, but so far I haven't had success in reproducing it.
1. Consider the following hypothetical situation: I go mug
somebody and use the cash in that person's wallet to purchase a PCI card with some
USB ports, like the following:
http://www.canadacomputers.com/index.php?do=ShowProduct&cmd=pd&pid=003053&cid=IO.313
The webpage suggests that despite the cute manufacturer name, the
product is only for Windows. What chances of success would I have trying
to get this working under Linux? Are there special drivers I would need to
modprobe?
2. Does it make sense to even consider getting such a PCI card? If
my existing USB ports/hub is flaky, would this improve things?
Incidentally, my kernel is 2.6.8, a stock Debian kernel for Sarge.
---
[11:34 PM]ulcer:/proc/bus/usb$ less devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.8-2-386 uhci_hcd
S: Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
S: SerialNumber=0000:00:07.2
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=13fe ProdID=1d00 Rev= 1.00
S: Manufacturer=Kingston
S: Product=DataTraveler 2.0
S: SerialNumber=5B741B939044
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
--
Paul Nijjar - http://www.fairvotecanada.org/WaterlooRegion
Next electoral reform info night: Tuesday June 12, 7pm
More information about the KWLUG-Disc
mailing list