You are not logged in.

#1 2004-03-02 04:03:28

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Enable /pro/bus/usb/drivers listing

big_smile  smile Googling says to enter..... none /proc/bus/usb  usbfs  default   0   0........

    This is supposed to enter both the drivers and the devices in the /proc files.

    Entering that into fstab did not enter any drivers. 

    Kernel 2.6.3-1 is installed. 

    Is this the correct method of entering the drivers for USB in arch?  The devices are listed but no drivers appear.

     Perhaps I should enter .../proc/bus/usb/drivers??????

    Please advise!!!


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#2 2004-03-02 09:11:56

robot5x
Member
Registered: 2004-01-26
Posts: 266

Re: Enable /pro/bus/usb/drivers listing

Well, that's what I have in my fstab
I can see the usb controllers fine -
[robot5x@sigma7 robot5x]$ cat /proc/bus/usb/devices

T:  Bus=02 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.3 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:07.3
C:* #Ifs= 1 Cfg#= 1 Atr=40 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=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.3 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:07.2
C:* #Ifs= 1 Cfg#= 1 Atr=40 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

Offline

#3 2004-03-02 10:27:39

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Enable /pro/bus/usb/drivers listing

have you got libusb installed?


Mr Green

Offline

#4 2004-03-02 14:25:57

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Enable /pro/bus/usb/drivers listing

big_smile  smile

   Libusb is installed.  I have listed my data similar to that posted.

   In kernel 2.4.24 the drivers for usb are listed in /proc/bus/usb.  In krnel 2.6.3 they are not listed.

   Do you gents have them listed in /proc/bus/usb?

   If not where are they listed?

   All the posts in the past two days have been to find them.

   Transfers in USB 2.0 from usb-storage are still at 6MB/sec.
   Data in info center of kde lists two ehci drivers and one of them has the usb storage adapter as a sub(Id'ed as a class 0  ..interface device) .  The ehci
is listed with a hub driver.  The data for the storage adapter is:USB Storage Adapter

Manufacturer: In-System Design


Class
0
(Interface)
Subclass
0
Protocol
0
USB Version
2.0

Vendor ID
0x5ab
(In-System Design)
Product ID
0x60
(USB 2.0 Bridge)
Revision
17.1

Speed
480 Mbit/s
Channels
0
Max. Packet Size
0


   Elsewhere, the drivers for all devices are identified in /proc/bus/usb/devices and the driver for the storage adapter is.....storage-adapter.

   I conclude therefore, since its not working, that the connection between the ehci and the storage-adapter element is not correct.   So the search for the drivers has been pursued.

   I conclude that if your file in /proc/bus/usb does not list drivers as a separate file that my file is correct as it stands. 
  What is in your file?  Does your USB transfer at 30MB/s?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2004-03-02 14:46:38

robot5x
Member
Registered: 2004-01-26
Posts: 266

Re: Enable /pro/bus/usb/drivers listing

I'm still not sure exactly what your question is to be honest,
But if you have the line you mentioned in fstab then all is OK-your file seems to be fine. There is no separate file I know of listing drivers - the devices file lists available controllers and any devices attached to them - if something is attached it also states what the driver is for this device. For instance, if I plug in my mp3 player I also get this entry inthe devices file -

T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=066f ProdID=8008 Rev= 0.01
S:  Manufacturer=EXATEL  , Inc.
S:  Product=I-BEAD Multi Player
S:  SerialNumber=D15429E720100000
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms

The driver is clearly listed there as usb-storage.
I'm still stuck on usb 1.1 unfortunately so don't use the ehci module & I'm not sure how well this is supported.

Offline

#6 2004-03-02 15:08:57

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Enable /pro/bus/usb/drivers listing

big_smile  smile robot;
    Many thanks for the reply.  I am certain that the uhci device drivers are in use because they are limited to 12mB/s and in practice obtain half that figure.

   Ehci is mandatory for USB 2.0 performance and typically provides 30MB/s transfer performance.

  I have invested time and money to obtain the 2.0 performance and have yet to obtain same in either linux or windows.

   The promise that kernel 2.6 would support USB it seems does not mean USB 2.0.

    I entered ....pci=noacpi... into my append statement in Lilo, ran the requisite /sbin/lilo and am back up with the same 6MB/s performance.

   I am told I should use abs and generate a fix on my own!!  In the face of the complexity of USB interfaces and the dual use of drivers that occurs, I would really mess up things.

   I have concluded USB 2.0 is not implemented by the kernel for whatever reason.

   This conclusion is based on not receiving any posts from anyone who has it running in kernel 2.6.3.   I have googled at least 20 hours of 24 and found no solution.
   My purpose in going into kernel2.6.3 was to energize USB2.0!!! lol


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#7 2004-03-02 15:21:55

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Enable /pro/bus/usb/drivers listing

Do not give up....

USB 2.0 (echi) is in 2.6.3 & 2.4 (later versions)...acpi append I will try to see what happens

meantime goggle.com/linux for info on USB 2.0 .....& stick with it .......

lol

Mr Green


Mr Green

Offline

#8 2004-03-02 15:39:24

robot5x
Member
Registered: 2004-01-26
Posts: 266

Re: Enable /pro/bus/usb/drivers listing

Yeah, dont' give up - we all know the reason we use linux is to sweat blood over our keyboards for six months to get something working!
I read the help in the kernel on ehci, this is interesting:
"At this writing, the primary implementation of EHCI is a chip from NEC, widely available in add-on PCI cards, but implementations are in the works from other vendors including Intel and Philips.  Motherboard support is appearing."
So not all chipsets are fully supported yet - also, the docs in kernel source suggest that realistic usb 2.0 performance is more like 20MB/s. There maybe more of interest to you there: /usr/src/linux-2.6.3/Documentation/usb/ehci.txt
Also, something I've found important in using usb is having scsi stuff compiled into the kernel (sg, sd-mod, sr-mod) and your usb stuff as modules. I'm not sure it's strictly necessary but it worked for me...
good luck

Offline

#9 2004-03-02 15:46:37

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Enable /pro/bus/usb/drivers listing

So do I read it right that...even with USB 2.0 you are only going to get 1.1 speeds (transfer)

Mr Green

confused  :?


Mr Green

Offline

#10 2004-03-02 15:48:42

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Enable /pro/bus/usb/drivers listing

big_smile  smile Green;

    I have googled that and the statement that problems are encountered with chip VT6202 in USB 2.0 without any further explanation leaves me and my mobo out in the cold!!!!  That is what is stated in Linux USB2.0 google!!!!

    So much for googling!!!

    By the way, the /proc/bus/usb directory includes 8 open directories for the USB elements some of which include more than one sub file.  None have readable entries and probably constitute the mounts for USB devices.

   As posted earlier, I have added a PCI USB2.0 card and tried to use it but got the same 6MB/s transfer rate.  So its not just the VT6202 which is not used in the PCI trial.  It just isn't implemented in the Kernel. !!

   I was hoping that a fix would be found but no such luck.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#11 2004-03-02 16:14:07

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Enable /pro/bus/usb/drivers listing

big_smile  smile Green;
    A nice neat file of drivers in kernel 2.4 proc file:         usbdevfs
         hub
96-111: hiddev
         hid
         usb-storage
    Cannot find same in Kernel2.6!!!! lol


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

Board footer

Powered by FluxBB