Hi.

This is my first journey into USB-land, so my apologies if I don't provide
all the relevant information.

Problem:  USB mouse is not being seen.  It is a 3G-Green-Green-Globe (!)
4D mouse, model #FDM-G51.  I went to the maker's web site to see if I could
find any useful info.  There is none (useful info) that I could find.

Environment:  linux-2.4.20, no particular distribution; gcc-2.95.3,
glibc-2.2.5, Tyan S1662D motherboard (dual processor PPro 200), Startech
2-port PCI USB 2.0 card, various other devices.

Approach:  The motherboard has USB built on, but it's very early (circa late
1997), so I had no intentions of using that.  I installed the card and
rebuilt the kernel to include the requisite input core and USB features
as follows:

Input core:

CONFIG_INPUT
CONFIG_INPUT_MOUSEDEV
CONFIG_INPUT_JOYDEV (just in case)
CONFIG_INPUT_EVDEV (also just in case)

USB support:

CONFIG_USB
CONFIG_USB_DEBUG
CONFIG_USB_DEVICEFS
CONFIG_USB_EHCI_HCD
CONFIG_USB_UHCI
CONFIG_USB_OHCI
CONFIG_USB_HID
CONFIG_USB_HIDINPUT

I created a number of new devices in /dev/input, primarily:

crw-r--r--    1 root     root      13,  63 Jan  7  2001 mice
crw-r--r--    1 root     root      13,  32 Jan  7  2001 mouse0

and in /dev/usb, primarily:

crw-r-----    1 root     root     180,  16 Mar 25  2001 mouse0

I did the change in /etc/fstab to provide the information in /proc,
and that all worked ok.  Bottom line is when I get to this point, I
have drivers available for the on-board USB hub, and for the add-on card
hub, and all that info shows up in /proc/bus/usb.  But nothing shows
up for the mouse.  All the info in /proc/bus/usb appears to look and
reflect exactly what the usb manual from the linux-usb.org web site
says should be there - drivers are present, the whole bit.

(I've not included that info here, but I can if one needs it - reason
is, as below, I then tried a 2.5.61 kernel, which is what is now running
as I generate this email; since that didn't fix it, will probably roll
back to 2.4.20).

After doing all this and checking everything with the usb manual, but
still getting nothing, I then got the 2.5.61 kernel just to try that
approach.  Same basic result - hubs, both on the MB and on the card, are
found and all look good, but no mouse.  /proc/bus/usb/devices from the
2.5.61 kernel is:

T:  Bus=03 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.05
S:  Manufacturer=Linux 2.5.61 uhci-hcd
S:  Product=VIA Technologies, In USB (#2)
S:  SerialNumber=00:0d.1
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=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.05
S:  Manufacturer=Linux 2.5.61 uhci-hcd
S:  Product=VIA Technologies, In USB
S:  SerialNumber=00:0d.0
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=480 MxCh= 4
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.05
S:  Manufacturer=Linux 2.5.61 ehci-hcd
S:  Product=VIA Technologies, In USB 2.0
S:  SerialNumber=00:0d.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=256ms

I don't have a great love for this mouse - it was given to me to use to
make sure I had the USB setup correct on my machine, in preparation for
other uses.  So if there's a known problem with this mouse, I'll get
rid of it and find another test device.

But seems like the thing should at least get found, whether it works
functionally or not.  So if someone can help me peel back the onion and
figure out conclusively whether it's a problem with my setup, or with
the mouse, I'd sure appreciate it (it's the only USB device I presently
have to do any checking with).

One other item:  When I first installed the card, it conflicted with
a Promise Ultra100 UDMA controller that I have installed.  So I shuffled
the cards around on the PCI bus (since neither has manual IRQ jumpers) and
that seemed to get rid of the problem.  At least, the first time, the
box wouldn't boot with the hard drive on the controller, and now it does.

I'm still not convinced that there isn't some kind of IRQ conflict going
on, but everything else about the box seems to be working.

Here's the contents of /proc/interrupts:

           CPU0       CPU1       
  0:    5678453          0    IO-APIC-edge  timer
  1:      15841          0    IO-APIC-edge  i8042
  2:          0          0          XT-PIC  cascade
  4:      58596          0    IO-APIC-edge  serial
  5:     307040          0    IO-APIC-edge  serial
  8:          1          0    IO-APIC-edge  rtc
 11:          0          0   IO-APIC-level  uhci-hcd
 12:       7872          0   IO-APIC-level  ide2, ehci-hcd, uhci-hcd
 14:      17224          0    IO-APIC-edge  ide0
 15:         60          0    IO-APIC-edge  ide1
NMI:          0          0 
LOC:    5678482    5678523 
ERR:          0
MIS:          0

The card and the Promise controller still seem to be sharing on IRQ 12,
but since nothing appears to be generating errors, am assuming this sharing
is being negotiated ok.

thx,
jbh


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to