LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB Logitech Wingman Extreme joystick not recognized (http://www.linuxquestions.org/questions/linux-hardware-18/usb-logitech-wingman-extreme-joystick-not-recognized-654732/)

CJ Chitwood 07-09-2008 08:59 PM

USB Logitech Wingman Extreme joystick not recognized
 
Hello again, /dev fans!

Today I have a USB Logitech Wingman Extreme 3D Pro Attack that doesn't show up in /dev nor lsusb. I recompiled my kernel just to get USB debugging put into the logs, and the ONLY mention I get of this device is from /var/log/kern.log:

Code:

Jul  9 20:38:45 serenity kernel: hub 1-0:1.0: unable to enumerate USB device on port 3
(my system's hostname once was serenity, but when I had a mainboard failure and transferred the drive, I renamed it, but for some reason that stuck)


I just now tried other available ports:
Code:


Jul  9 21:40:26 serenity kernel: hub 1-0:1.0: unable to enumerate USB device on port 4
Jul  9 21:40:56 serenity kernel: hub 1-0:1.0: unable to enumerate USB device on port 5

If I unplug and/or replug, I get nothing unless it's on a port it hasn't been on yet, and that's when I get the same "unable to enumerate" message. I've tried compiling it both as a module as well as built-in, and no joy either way.



My prompt:
[Hostname][Terminal]
[Username][PWD]

Code:

[Dorian][pts/2]
[$USER][~]$ lspci
00:00.0 Host bridge: nVidia Corporation nForce3 Host Bridge (rev a4)
00:01.0 ISA bridge: nVidia Corporation nForce3 LPC Bridge (rev a6)
00:01.1 SMBus: nVidia Corporation nForce3 SMBus (rev a4)
00:02.0 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
00:02.1 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
00:02.2 USB Controller: nVidia Corporation nForce3 USB 2.0 (rev a2)
00:05.0 Ethernet controller: nVidia Corporation nForce3 Ethernet (rev a5)
00:06.0 Multimedia audio controller: nVidia Corporation nForce3 Audio (rev a2)
00:08.0 IDE interface: nVidia Corporation nForce3 IDE (rev a5)
00:09.0 IDE interface: nVidia Corporation nForce3 IDE (rev f5)
00:0a.0 PCI bridge: nVidia Corporation nForce3 PCI Bridge (rev a2)
00:0b.0 PCI bridge: nVidia Corporation nForce3 AGP Bridge (rev a4)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation NV15DDR [GeForce2 Ti] (rev a4)
02:0a.0 Ethernet controller: Atheros Communications, Inc. AR5005G 802.11abg NIC (rev 01)

[Dorian][pts/2]
[$USER][~]$ lsusb
Bus 001 Device 006: ID 03f0:c402 Hewlett-Packard
Bus 001 Device 001: ID 1d6b:0002 

[Dorian][pts/2]
[$USER][~]$ uname -a
Linux Dorian 2.6.25.9 #4 Wed Jul 9 20:20:38 EDT 2008 x86_64 GNU/Linux
 
[Dorian][pts/2]
[$USER][~]$ cat /proc/cpuinfo
processor      : 0
vendor_id      : AuthenticAMD
cpu family      : 15
model          : 12
model name      : AMD Athlon(tm) 64 Processor 3000+
stepping        : 0
cpu MHz        : 1999.995
cache size      : 512 KB
fpu            : yes
fpu_exception  : yes
cpuid level    : 1
wp              : yes
flags          : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow rep_good
bogomips        : 4003.34
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes  : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp


[Dorian][pts/2]
[$USER][~]$ grep JOY /usr/src/linux-2.6.25.9/.config | grep [ym]
CONFIG_INPUT_JOYDEV=y
CONFIG_INPUT_JOYSTICK=y
CONFIG_JOYSTICK_ANALOG=m
CONFIG_JOYSTICK_ADI=y
CONFIG_JOYSTICK_WARRIOR=m

[Dorian][pts/2]
[$USER][~]$ ls /dev/input/
by-path  event0  event1  event2  event3  event4  mice  mouse0  uinput

[Dorian][pts/2]
[$USER][~]$

All of the above is with the joystick connected. The 1d6b:0002 is not the stick. I think it's one of the system's root hubs.

As you can see in the last output above, currently, I have the ADI driver compiled into the kernel, which I believe is the one my stick uses, as well as INPUT_JOYSTICK and INPUT_JOYDEV. I believe my stick may actually fall under JOYSTICK_ANALOG, which is why it's a module (and it IS loaded). WARRIOR was an experiment, and it didn't work either (being a wingman also, I was hoping they might be compat).

I'm at a loss. I've had the stick working before, in an earlier kernel on a 32-bit AthlonXP 1600+. Now, I'm on an Athlon64 3000+ running what very recently was the lates stable kernel. I doubt that should make much of a difference, though.

I appreciate any help anyone is willing to provide.

Thanks in advance!

farslayer 07-10-2008 03:57 PM

I had a similar weird USB issue once.. turns out plugging the device into a powered hub solved the issue. Too bad the engineers hadn't relayed that info to that companies tech support department before I sent all their UPS's back.. Had something to do with the electrical current output of the USB port on the PC not being high enough due to the USB chipset they used, so it would communicate properly with the device I was connecting. Tech support tried to tell me it was a Linux issue, but since it didn't work in Windows either on identical hardware I knew they were mistaken.

The engineering department did acknowledge it was a known hardware issue and the powered USB hub would resolve it. could give it a shot since you did change the motherboard. If you have such a hub laying around it would be a free test that would take only a minute to try..

CJ Chitwood 07-10-2008 07:12 PM

Quote:

Originally Posted by farslayer (Post 3210460)
The engineering department did acknowledge it was a known hardware issue and the powered USB hub would resolve it. could give it a shot since you did change the motherboard. If you have such a hub laying around it would be a free test that would take only a minute to try..


No, I do not have one of those... I never had enough USB devices to need one.

However, if power is all it needs... I'm sure I can rig something up. Worst case, I'll drag a USB PCI card out of my mother's old machine (she doesn't use it any more).


Do you by chance remember anything about that board or the chipset it used? Mine is an nForce3...

CJ Chitwood 07-10-2008 07:18 PM

I feel like an idiot... I have OHCI, not UHCI. I had UHCI compiled. EHCI, USB2.0, still worked, but maybe my stick is a 1.1 device and is incompatible with EHCI... Might explain it. I'm recompiling *one* *last* *time* to see if it helps...

CJ Chitwood 07-10-2008 07:46 PM

SOLVED! Must use OHCI on nVidia chips! /dev/input/js0 now shows up AND jstest reads it perfect.


Powered USB wasn't the answer, but it is what got me thinking! Thanks!


All times are GMT -5. The time now is 10:43 PM.