Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Logitech Wingman Gameport

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
d13f00l
n00b
n00b
Posts: 26
Joined: Mon Aug 30, 2004 6:32 am

Logitech Wingman Gameport

  • Quote

Post by d13f00l » Mon Aug 30, 2004 6:36 am

Hey. I can't for the life of me get this gamepad working under 2.6. I had it working fine under 2.4 months ago.

Anyway, I'm using the ADI module.
gameport/joydev/ns558/adi ISA pnp etc

Alsa for my soundcard, which has an inteli8x0 chipset
running an nforce2 mobo

My gameport works, I tested with analog and ns558, and an old joystick I had lying around. I can cat out /dev/jsx with the other joystick, but the light on my Wingman doesn't go on, and catting /dev/js* comes up with device not found. Anyone have any ideas?

Module Size Used by
analog 10016 0
ns558 4608 0
adi 8000 0
joydev 7936 0
gameport 3584 3 analog,ns558,adi
nvidia 4819924 12
nvidia_agp 5852 1
agpgart 27624 2 nvidia_agp
tulip 42464 0

:cry: :cry:
Top
d13f00l
n00b
n00b
Posts: 26
Joined: Mon Aug 30, 2004 6:32 am

  • Quote

Post by d13f00l » Mon Aug 30, 2004 8:15 pm

Bump, anyone?
Top
d13f00l
n00b
n00b
Posts: 26
Joined: Mon Aug 30, 2004 6:32 am

  • Quote

Post by d13f00l » Mon Aug 30, 2004 11:43 pm

Does anyone even have this gamepad?
Top
Kaboosh
Apprentice
Apprentice
User avatar
Posts: 162
Joined: Thu Jun 10, 2004 3:49 am
Location: Edmonton, AB - Canada

Me too!

  • Quote

Post by Kaboosh » Sat May 07, 2005 1:39 am

I do and get the same problem...it *sometimes* (1 in 10 chance) loads if I:
rmmod adi
modprobe adi

I hate Logitech - everything they make is crap!
:x
Top
razorback
n00b
n00b
Posts: 24
Joined: Sun Sep 21, 2003 3:47 pm

  • Quote

Post by razorback » Sat May 07, 2005 12:09 pm

Been through the same thing with the adi module. Finally made the following script to deal with the problem.

#!/bin/bash
if [ ! -e /sys/class/input/js0 ]
then
modprobe -qr adi
sleep 1
modprobe -qr ns558
sleep 1
modprobe -qr gameport
sleep 1
modprobe -qr joydev
sleep 1
modprobe -q joydev
sleep 1
modprobe -q gameport
sleep 1
modprobe -q ns558
sleep 2
until [ -e /sys/class/input/js0 ]
do
if [ "lsmod | grep adi" ]
then
/sbin/modprobe -qr adi
fi
sleep 1
/sbin/modprobe -q adi
sleep 2
done
sleep 2
aplay -q /usr/kde/3.4/share/sounds/KDE_Startup_new.wav
if [ ! -e /dev/js0 ]
then
ln -s /dev/input/js0 /dev/js0
fi
fi

It might take 1 minute or it might take 10 minutes but at some point the adi module will "take" and /dev/js0 will be created. What I find ironic is that with the 2.4 kernel this wasn't needed but I have had to do this with all the 2.6 kernels.
Top
Kaboosh
Apprentice
Apprentice
User avatar
Posts: 162
Joined: Thu Jun 10, 2004 3:49 am
Location: Edmonton, AB - Canada

Right-On

  • Quote

Post by Kaboosh » Sat May 07, 2005 4:15 pm

Thank-you Mr. Razorback!

As far as workarounds go this will be fine.

It sure beats having somebody using my computer go "Why doesn't the joystick work?" and then not being able to give them a straight answer - this is one of the reasons I dumped windows 6 years ago and have never looked back 8)
Top
mikemcquaid
Tux's lil' helper
Tux's lil' helper
Posts: 108
Joined: Tue May 11, 2004 1:50 pm
Location: Edinburgh, Scotland

Solved!

  • Quote

Post by mikemcquaid » Wed Jan 04, 2006 1:07 am

I finally, finally found a solution to this problem.

We were creating kernel modules this term, so I thought I'd give it a go debugging the module and pointed out the problem to the maintainer and he pointed out a fix.

In the static void adi_init_digital, remove the line (should be 324 or around there)

Code: Select all

udelay(-seq[i]*14);	 /* It looks like mdelay() is off by approx 1.4% */
or comment it out to

Code: Select all

/* udelay(-seq[i]*14);	 It looks like mdelay() is off by approx 1.4% */
Then, run make or make modules and make modules_install on your kernel sources, and it should work.

This line is actually a hack to work with some other distros/kernels, so don't worry about removing it.
I may make a patch and submit a bug report to bugzilla, if anyone things it would be worthwhile.
Top
d13f00l
n00b
n00b
Posts: 26
Joined: Mon Aug 30, 2004 6:32 am

  • Quote

Post by d13f00l » Wed Jan 04, 2006 1:19 am

Thanks.
I found it works flawlessly if I use the gameport to USB adapter that came with it, however. Awesome, regardless. :)
Top
mikemcquaid
Tux's lil' helper
Tux's lil' helper
Posts: 108
Joined: Tue May 11, 2004 1:50 pm
Location: Edinburgh, Scotland

Bug Filed

  • Quote

Post by mikemcquaid » Tue Jan 31, 2006 3:39 pm

d13fool, can you and anyone else who has this problem please confirm it and test my patch at the bug I filed.
[bug=121055]gentoo-sources ADI joystick patch request[/bug]
Top
rubik-wuerfel
n00b
n00b
Posts: 53
Joined: Wed Sep 29, 2004 12:16 pm
Location: Goettingen, Germany

  • Quote

Post by rubik-wuerfel » Mon Oct 02, 2006 1:17 pm

I just added a notice to this thread to http://gentoo-wiki.com/HOWTO_Joystick_Setup. The solution described here worked perfectly well for me.
Top
Post Reply

10 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic