SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It seems like my joystick and network conflict somehow!
When I play a game with a joystick, I can see the network traffic stops almost instantly in kppp statistics. When I close the game (assuming I didn't wait too long), the network traffic will start up again.
If I run the same games without the joystick disabled, the network traffic is fine. Even if my CPU usage is 99.9%, the network is fine.
I have Athlon AMD 3400+, using slamd64-10.1. My joystick is on /dev/input/js0 and is a Gravis Gamepad Pro connected to a game port provided by a SB Live! Value PCI sound card. I access the network by using ppp-on or kppp through a US Robotics 56K External FAX serial modem.
The games showing this problem include Snes9x and fceu (NES emulator).
I though it was a problem with CPU load at first, so I looked at /etc/ppp/options (tried turning off all kinds of compression), /etc/ppp/pppscript (modem init string), setserial, kernel options. Nothing helped.
Could the problem be USB related? The devices (modem, joystick) aren't using USB. My modem is connected with a serial cable, and the gamepad is connected to the PCI sound card.
The gameport/joystick is listed as this PCI device below . I tried setting latency with setpci to small values (8, then 2, then 0) thinking it would help stop hogging the system, but didn't make a difference.
Bus 0, device 7, function 1:
Class 0980: PCI device 1102:7002 (rev 8).
Master Capable. Latency=32.
I/O at 0xec00 [0xec07].
For some reason the gameport is never listed in /proc/interrupts, even when in use:
Perhaps it uses IRQ 185 like the soundcard it's connected to.
$ cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Class 0600: PCI device 1106:3188 (rev 1).
Master Capable. Latency=8.
Prefetchable 32 bit memory at 0xd0000000 [0xdfffffff].
Bus 0, device 1, function 0:
Class 0604: PCI device 1106:b188 (rev 0).
Master Capable. No bursts. Min Gnt=14.
Bus 0, device 7, function 0:
Class 0401: PCI device 1102:0002 (rev 8).
IRQ 185.
Master Capable. Latency=32. Min Gnt=2.Max Lat=20.
I/O at 0xe800 [0xe81f].
Bus 0, device 7, function 1:
Class 0980: PCI device 1102:7002 (rev 8).
Master Capable. Latency=32.
I/O at 0xec00 [0xec07].
Bus 0, device 15, function 0:
Class 0101: PCI device 1106:0571 (rev 6).
IRQ 169.
Master Capable. Latency=32.
I/O at 0xfc00 [0xfc0f].
Bus 0, device 16, function 0:
Class 0c03: PCI device 1106:3038 (rev 129).
IRQ 177.
Master Capable. Latency=32.
I/O at 0xd800 [0xd81f].
Bus 0, device 16, function 1:
Class 0c03: PCI device 1106:3038 (rev 129).
IRQ 177.
Master Capable. Latency=32.
I/O at 0xdc00 [0xdc1f].
Bus 0, device 16, function 2:
Class 0c03: PCI device 1106:3038 (rev 129).
IRQ 177.
Master Capable. Latency=32.
I/O at 0xe000 [0xe01f].
Bus 0, device 16, function 3:
Class 0c03: PCI device 1106:3038 (rev 129).
IRQ 177.
Master Capable. Latency=32.
I/O at 0xe400 [0xe41f].
Bus 0, device 16, function 4:
Class 0c03: PCI device 1106:3104 (rev 134).
IRQ 177.
Master Capable. Latency=32.
Non-prefetchable 32 bit memory at 0xcffffe00 [0xcffffeff].
Bus 0, device 17, function 0:
Class 0601: PCI device 1106:3227 (rev 0).
Bus 0, device 24, function 0:
Class 0600: PCI device 1022:1100 (rev 0).
Bus 0, device 24, function 1:
Class 0600: PCI device 1022:1101 (rev 0).
Bus 0, device 24, function 2:
Class 0600: PCI device 1022:1102 (rev 0).
Bus 0, device 24, function 3:
Class 0600: PCI device 1022:1103 (rev 0).
Bus 1, device 0, function 0:
Class 0300: PCI device 10de:0330 (rev 161).
IRQ 193.
Master Capable. Latency=248. Min Gnt=5.Max Lat=1.
Non-prefetchable 32 bit memory at 0xce000000 [0xceffffff].
Prefetchable 32 bit memory at 0xb0000000 [0xbfffffff].
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.