Page 1 of 1

Sidewinder 3D Pro with Slackware 9.1 and Audigy 2 gameport

Posted: Wed Dec 31, 2003 4:19 am
by Verran
Howdy all,

I've been fighting to get this working all day to no avail. Maybe some of you linux gurus can lend a hand. ;) I can play D2X and Neverwinter Nights, no problem. I'd like to get my 3D Pro working for use with D2x. =)

Basic specs:
- Slackware 9.1 (fully updated with swaret)
- ATI 9800 Pro (works great!)
- Audigy 2 Platinum eX with the gameport/midi extension cable (audio is working)
- Kernel version 2.4.22

lsmod:
<BLOCKQUOTE><font size="1" face="Arial">code:</font><HR><pre>
Module Size Used by Tainted: P
sidewinder 8664 0 (unused)
emu10k1 60076 2 (autoclean)
ac97_codec 10548 0 (autoclean) [emu10k1]
soundcore 3332 4 (autoclean) [emu10k1]
fglrx 172168 151
uhci 24496 0 (unused)
ehci-hcd 16872 0 (unused)
usbcore 58400 1 [uhci ehci-hcd]
i810_rng 2656 0 (unused)
emu10k1-gp 1352 0 (unused)
joydev 5888 0 (autoclean)
input 3200 0 (autoclean) [sidewinder joydev]
gameport 1452 0 [sidewinder emu10k1-gp]
ohci1394 24200 0 (unused)
ieee1394 42436 0 [ohci1394]
3c2000 134180 1
pcmcia_core 40032 0
ide-scsi 9424 1
agpgart 39576 0 (unused)
</pre><HR></BLOCKQUOTE>

/etc/modules.conf
<BLOCKQUOTE><font size="1" face="Arial">code:</font><HR><pre>
alias eth0 3c2000
alias char-major-14 emu10k1
pre-install emu10k1 modprobe -k char-major-13
alias char-major-13 emu10k1-gp
pre-install emu10k1-gp modprobe -k joydev
post-install emu10k1-gp modprobe -k sidewinder
</pre><HR></BLOCKQUOTE>

dmesg:
<BLOCKQUOTE><font size="1" face="Arial">code:</font><HR><pre>
Linux version 2.4.22 (root@midas) (gcc version 3.2.3) #6 Tue Sep 2 17:43:01 PDT 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000007ff30000 (usable)
BIOS-e820: 000000007ff30000 - 000000007ff40000 (ACPI data)
BIOS-e820: 000000007ff40000 - 000000007fff0000 (ACPI NVS)
BIOS-e820: 000000007fff0000 - 0000000080000000 (reserved)
BIOS-e820: 00000000ffb80000 - 0000000100000000 (reserved)
Warning only 896MB will be used.
Use a HIGHMEM enabled kernel.
896MB LOWMEM available.
On node 0 totalpages: 229376
zone(0): 4096 pages.
zone(1): 225280 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=Linux ro root=303 hdc=ide-scsi hdd=ide-scsi
ide_setup: hdc=ide-scsi
ide_setup: hdd=ide-scsi
Initializing CPU#0
Detected 3198.551 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 6383.20 BogoMIPS
Memory: 904400k/917504k available (1813k kernel code, 12716k reserved, 614k data, 116k init, 0k highmem)
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode cache hash table entries: 65536 (order: 7, 524288 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 65536 (order: 6, 262144 bytes)
Page-cache hash table entries: 262144 (order: 8, 1048576 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: After generic, caps: bfebfbff 00000000 00000000 00000000
CPU: Common caps: bfebfbff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz stepping 09
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Transparent bridge - Intel Corp. 82801BA/CA/DB/EB PCI Bridge
PCI: Using IRQ router PIIX [8086/24d0] at 00:1f.0
PCI: Found IRQ 5 for device 00:1f.1
PCI: Sharing IRQ 5 with 00:1d.2
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH5: IDE controller at PCI slot 00:1f.1
PCI: Enabling device 00:1f.1 (0005 -> 0007)
PCI: Found IRQ 5 for device 00:1f.1
PCI: Sharing IRQ 5 with 00:1d.2
ICH5: chipset revision 2
ICH5: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:DMA
hda: WDC WD800JB-00ETA0, ATA DISK drive
hdb: WDC WD2500JB-00EVA0, ATA DISK drive
blk: queue c03a9d80, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c03a9ebc, I/O limit 4095Mb (mask 0xffffffff)
hdc: PIONEER DVD-RW DVR-106D, ATAPI CD/DVD-ROM drive
hdd: DVD-ROM DVD-16X6S, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=9729/255/63, UDMA(100)
hdb: attached ide-disk driver.
hdb: host protected area => 1
hdb: 488397168 sectors (250059 MB) w/8192KiB Cache, CHS=30401/255/63, UDMA(100)
Partition check:
hda: hda1 hda2 hda3
hdb: hdb1 hdb2
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 3690.000 MB/sec
32regs : 2437.600 MB/sec
pIII_sse : 4160.400 MB/sec
pII_mmx : 3715.600 MB/sec
p5_mmx : 3608.800 MB/sec
raid5: using function: pIII_sse (4160.400 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.5+(22/07/2002)
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
FAT: bogus logical sector size 0
UMSDOS: msdos_read_super failed, mount aborted.
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide0(3,3)) ...
for (ide0(3,3))
ide0(3,3):Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 116k freed
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide0(3,2)) ...
for (ide0(3,2))
ide0(3,2):Using r5 hash to sort names
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide0(3,65)) ...
for (ide0(3,65))
ide0(3,65):Using r5 hash to sort names
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide0(3,66)) ...
for (ide0(3,66))
ide0(3,66):Using r5 hash to sort names
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: Detected an Intel(R) 865G, but could not find the secondary device. Assuming a non-integrated video card.
agpgart: Detected Intel(R) 865G chipset
agpgart: AGP aperture is 128M @ 0xf0000000
hdc: attached ide-scsi driver.
hdd: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: PIONEER Model: DVD-RW DVR-106D Rev: 1.05
Type: CD-ROM ANSI SCSI revision: 02
Vendor: DVD-ROM Model: DVD-16X6S Rev: DSG2
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
sr1: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Intel PCIC probe: not found.
Databook TCIC-2 PCMCIA probe: not found.
ds: no socket drivers loaded!
3C2000: 3Com Gigabit NIC Driver Version A11
Copyright (C) 2003 3Com Corporation.
Copyright (C) 2003 Marvell.
eth0: 3Com Gigabit LOM (3C940)
PrefPort:A RlmtMode:Check Link State
ohci1394: $Rev: 1010 $ Ben Collins <bcollins@debian.org>
PCI: Found IRQ 5 for device 02:03.0
PCI: Sharing IRQ 5 with 02:0c.0
ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[5] MMIO=[feaff800-feafffff] Max Packet=[2048]
PCI: Found IRQ 5 for device 02:0c.2
ohci1394_1: OHCI-1394 1.1 (PCI): IRQ=[5] MMIO=[feaff000-feaff7ff] Max Packet=[2048]
gameport0: Emu10k1 Gameport at 0xdfe0 size 8 speed 1420 kHz
i810_rng: cannot disable RNG, aborting
i810_rng hardware driver 0.9.8 loaded
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Found IRQ 11 for device 00:1d.7
PCI: Setting latency timer of device 00:1d.7 to 64
ehci_hcd 00:1d.7: Intel Corp. 82801EB USB2
ehci_hcd 00:1d.7: irq 11, pci mem f8b7ac00
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:1d.7: enabled 64bit PCI DMA
PCI: 00:1d.7 PCI cache line size set incorrectly (0 bytes) by BIOS/FW.
PCI: 00:1d.7 PCI cache line size corrected to 16.
ehci_hcd 00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-19/2.4
hub.c: USB hub found
hub.c: 8 ports detected
ieee1394: Host added: ID:BUS[0-00:1023] GUID[00e0180000231d00]
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 10 for device 00:1d.0
PCI: Sharing IRQ 10 with 00:1d.3
PCI: Setting latency timer of device 00:1d.0 to 64
uhci.c: USB UHCI at I/O 0xef00, IRQ 10
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 10 for device 00:1d.1
PCI: Setting latency timer of device 00:1d.1 to 64
uhci.c: USB UHCI at I/O 0xef20, IRQ 10
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 5 for device 00:1d.2
PCI: Sharing IRQ 5 with 00:1f.1
PCI: Setting latency timer of device 00:1d.2 to 64
uhci.c: USB UHCI at I/O 0xef40, IRQ 5
ieee1394: Host added: ID:BUS[1-01:1023] GUID[00023c01110044c2]
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 10 for device 00:1d.3
PCI: Sharing IRQ 10 with 00:1d.0
PCI: Setting latency timer of device 00:1d.3 to 64
uhci.c: USB UHCI at I/O 0xef80, IRQ 10
usb.c: new USB bus registered, assigned bus number 5
hub.c: USB hub found
hub.c: 2 ports detected
eth0: network connection up using port A
speed: 10
autonegotiation: yes
duplex mode: half
flowctrl: none
scatter-gather: enabled
[fglrx] Maximum main memory to use for locked dma buffers: 803 MBytes.
[fglrx] module loaded - fglrx 3.2.8 [Sep 21 2003] on minor 0
Fire GL built-in AGP-support
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: Detected an Intel 865G Chipset, no integrated grapics found.
agpgart: Detected Intel i865G chipset
agpgart: AGP aperture is 128M @ 0xf0000000
Power management callback for AGP chipset installed
[fglrx] AGP detected, AgpState = 0x1f004a1b (hardware caps of chipset)
AGP: Found 2 AGPv3 devices
AGP: Doing enable for AGPv3
agpgart: Found an AGP 3.0 compliant device.
[fglrx] AGP enabled, AgpCommand = 0x1f004312 (selected caps)
[fglrx] free AGP = 121909248
[fglrx] max AGP = 121909248
[fglrx] free LFB = 116391936
[fglrx] max LFB = 116391936
[fglrx] free Inv = 0
[fglrx] max Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB = 0
[fglrx] total AGP = 32768
Creative EMU10K1 PCI Audio Driver, version 0.20a, 15:24:18 Dec 5 2003
PCI: Found IRQ 5 for device 02:0c.0
PCI: Sharing IRQ 5 with 02:03.0
emu10k1: Audigy rev 4 model 0x1008 found, IO at 0xdf00-0xdf3f, IRQ 5
ac97_codec: AC97 Audio codec, id: 0x8384:0x7609 (SigmaTel STAC9721/23)
sr1: CDROM (ioctl) reports ILLEGAL REQUEST.
</pre><HR></BLOCKQUOTE>

ls -al /dev/input
<BLOCKQUOTE><font size="1" face="Arial">code:</font><HR><pre>
crwxrwxrwx 1 root root 13, 64 Dec 30 18:47 event0
crwxrwxrwx 1 root root 13, 65 Dec 30 18:47 event1
crwxrwxrwx 1 root root 13, 66 Dec 30 18:47 event2
crwxrwxrwx 1 root root 13, 67 Dec 30 18:47 event3
crwxrwxrwx 1 root root 13, 0 Dec 30 18:46 js0
crwxrwxrwx 1 root root 13, 1 Dec 30 18:46 js1
crwxrwxrwx 1 root root 13, 2 Dec 30 18:46 js2
crwxrwxrwx 1 root root 13, 3 Dec 30 18:46 js3
</pre><HR></BLOCKQUOTE>

ls -al /dev/js*
<BLOCKQUOTE><font size="1" face="Arial">code:</font><HR><pre>
lrwxrwxrwx 1 root root 14 Dec 31 01:26 /dev/js0 -> /dev/input/js0
lrwxrwxrwx 1 root root 14 Dec 31 01:27 /dev/js1 -> /dev/input/js1
lrwxrwxrwx 1 root root 14 Dec 31 01:27 /dev/js2 -> /dev/input/js2
lrwxrwxrwx 1 root root 14 Dec 31 01:27 /dev/js3 -> /dev/input/js3
</pre><HR></BLOCKQUOTE>


As you can see from all of this, the emu10k1-gp (Audigy 2 gameport driver) loads fine in dmesg. You can also see that all the modules have loaded in lsmod. dmesg doesn't report any errors.

I've tried all kinds of combinations, in terms of which modules should load first, and how they should be loaded. I've tried to use the analog joystick module, but to no avail. The ns558 module won't work because it looks for an ISA sound card/midi port (which this is not).

jstest /dev/js0 or jstest /dev/input/js0 returns
jstest: No such device

Anyone have any clue? I hope there's enough info posted.

Thanks!
Verran

Posted: Wed Dec 31, 2003 4:23 am
by fliptw
messed around with the calibrator program?

if everything is set-up properly, you should find the joystick at /dev/jsx.

I don't think non-usb devices get stuck unde /dev/input.

Posted: Wed Dec 31, 2003 4:25 am
by Verran
Dang that was fast! ;) I was just editing my post, hehe.
<BLOCKQUOTE><font size="1" face="Arial">quote:</font><HR><font face="Arial" size="3">jstest /dev/js0 or jstest /dev/input/js0 returns
jstest: No such device</font><HR></BLOCKQUOTE>

Do you mean jscal or some other program that can help?

The linux joystick driver documentation says to create symbolic links to /dev/input/jsX. Should I not do that?

<BLOCKQUOTE><font size="1" face="Arial">quote:</font><HR><font face="Arial" size="3">
2.2 Device nodes
~~~~~~~~~~~~~~~~
For applications to be able to use the joysticks, in you don't use devfs, you'll have to manually create these nodes in /dev:

cd /dev
rm js*
mkdir input
mknod input/js0 c 13 0
mknod input/js1 c 13 1
mknod input/js2 c 13 2
mknod input/js3 c 13 3
ln -s input/js0 js0
ln -s input/js1 js1
ln -s input/js2 js2
ln -s input/js3 js3
</font><HR></BLOCKQUOTE>

I'm hanging out on #300baud on EFNET IRC if you have time to talk direct. =)

Posted: Wed Dec 31, 2003 4:33 am
by fliptw
create them and see.

Posted: Wed Dec 31, 2003 4:41 am
by Verran
Ok gave it a shot:
<BLOCKQUOTE><font size="1" face="Arial">code:</font><HR><pre>
cd /dev
rm js*
mknod js0 c 13 0
ls -al /dev/js*
rwxrwxrwx 1 root root 13, 0 Dec 31 03:36 /dev/js0
</pre><HR></BLOCKQUOTE>

Did a complete reboot, result:
jstest /dev/js0
jstest: No such device

*rips hair out* lol

Posted: Wed Dec 31, 2003 4:53 am
by kurupt
almost posotive tyranny released a patch to fix it... digging... found the link at planetdescent.com but its dead Image maybe you should try talking to him, he may have it on his machine. usually hangs out on the descent server on kali.

Posted: Wed Dec 31, 2003 5:37 am
by Admiral LSD
From the looks of it, you're using devfs. Try adding this to /etc/devfsd.conf:

Code: Select all

REGISTER        /input/.*       PERMISSIONS root.users 660
before killing and restarting the DevFS daemon with the following:

Code: Select all

killall devfsd; /sbin/devfsd
The /dev/js* symlinks inherit their permissions from the input/* files they link to despite what the file list says. I had that same problem with my gamepad in epsxe under Gentoo (though my pad is US Image. Adjusting the devfs permissions solved the problem.

Posted: Wed Dec 31, 2003 5:20 pm
by Verran
Thanks so far guys. I don't think I'm using devfs. I added the line to /etc/devfsd.conf, then ran 'killall devfsd' and got this: 'devfsd: no process killed', so I don't think it's running. Also, running '/sbin/devfsd' returns this: 'Usage: devfsd mntpnt [-v] [-d] [-t num] [-D mask] [-fg] [-np]'

Could I just change the permissions on /dev/input/* directly? e.g. chmod 660 /dev/input/js* ?

Posted: Thu Jan 01, 2004 1:25 am
by Tyranny
The .plr file "patch" Jeff and I released was only to address the axis settings to get the twist on joysticks that support that functionality to work with D2x.

If the joystick isn't working at all then these player files have no bearing...sorry Image

Posted: Thu Jan 01, 2004 2:04 am
by Verran
Ahh ok thanks Tyranny. Darn! Still no luck. Everywhere I read, my config appears to look ok, but it's just not seeing anything!

Here is more info, from cat /proc/ioports:
<BLOCKQUOTE><font size="1" face="Arial">code:</font><HR><pre>
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial(auto)
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0400-041f : Intel Corp. 82801EB SMBus Controller
0cf8-0cff : PCI conf1
c000-cfff : PCI Bus #01
c000-c0ff : ATI Technologies Inc Radeon R350 [Radeon 9800]
d800-d8ff : PCI device 10b7:1700 (3Com Corporation)
dc00-dc7f : VIA Technologies, Inc. IEEE 1394 Host Controller
df00-df3f : Creative Labs SB Audigy
df00-df3f : Audigy
dfe0-dfe7 : Creative Labs SB Audigy MIDI/Game port
dfe0-dfe7 : emu10k1-gp
ef00-ef1f : Intel Corp. 82801EB USB
ef00-ef1f : usb-uhci
ef20-ef3f : Intel Corp. 82801EB USB
ef20-ef3f : usb-uhci
ef40-ef5f : Intel Corp. 82801EB USB
ef40-ef5f : usb-uhci
ef80-ef9f : Intel Corp. 82801EB USB
ef80-ef9f : usb-uhci
fc00-fc0f : Intel Corp. 82801EB Ultra ATA Storage Controller
fc00-fc07 : ide0
fc08-fc0f : ide1
</pre><HR></BLOCKQUOTE>

The key:
dfe0-dfe7 : Creative Labs SB Audigy MIDI/Game port
dfe0-dfe7 : emu10k1-gp

It sees the game port, but no devices on /dev!! GRRRR *dies*

Posted: Thu Jan 01, 2004 12:18 pm
by Admiral LSD
<BLOCKQUOTE><font size="1" face="Arial">quote:</font><HR><font face="Arial" size="3">Originally posted by Verran:
<b> Thanks so far guys. I don't think I'm using devfs. I added the line to /etc/devfsd.conf, then ran 'killall devfsd' and got this: 'devfsd: no process killed', so I don't think it's running. Also, running '/sbin/devfsd' returns this: 'Usage: devfsd mntpnt [-v] [-d] [-t num] [-D mask] [-fg] [-np]'

Could I just change the permissions on /dev/input/* directly? e.g. chmod 660 /dev/input/js* ?</b></font><HR></BLOCKQUOTE>

Oops, my bad. I completely forgot you needed to specify the mount point when you invoked the devfs daemon. It shoukd have been:

Code: Select all

killall devfsd; /sbin/devfsd /dev
but since it appears you aren't actually running the devfs (it isn't the Slack default that I know of and I was in a hurry when I posted that so I wasn't concentrating as hard as I should have been when reading the earlier posts) it doesn't really matter.

After looking through my kernel config a shortwhile ago I was going to suggest that perhaps you didn't have the sidewinder module loaded but it turns out you've covered that base too.

Going over the posts one more time the permissions on the jsX nodes look alright and even if they weren't chmod 660 would do more harm than good as it would limit use of the joystick to either root or the root group, you'd need 666 (heh) which adds read/write support to everyone else but that looks as though it's already been done.

Have you tried cat'ing the /dev/js0 node and then moving the joystick? That would quickly show whether or not everythings working right at this level.

Posted: Thu Jan 01, 2004 2:59 pm
by Verran
Thanks Admiral. cat /dev/js0 returns "No such device", as does cat /dev/input/js0. Do you think maybe my game port is dead? If so, why does the driver load without errors? Thanks for the help so far everyone. Image

Posted: Thu Jan 01, 2004 4:52 pm
by Verran
OMG IT WORKS!!

I had a cracked up idea and holy shz, it works like a charm.

I noticed that my motherboard had a built-in game port (which has been disabled in the BIOS the whole time). The motherboard manual indicated that you'd need a MIDI/Joystick extension handler, which wasn't included with the motherboard package.

I checked out the pins on the MIDI/Joystick extension that was included with the Audigy 2, and it looked like they matched with the connection on the motherboard.

So, I shut down the machine, unhooked the cable from the sound card, hooked it to the motherboard, powered back on, enable the onboard game port in the BIOS.

Then:
<BLOCKQUOTE><font size="1" face="Arial">code:</font><HR><pre>
rmmod emu10k1-gp
modprobe isa-pnp
modprobe ns558
modprobe input
modprobe joydev
modprobe analog js=fcs
jstest /dev/js0
</pre><HR></BLOCKQUOTE>

Result:
<BLOCKQUOTE><font size="1" face="Arial">code:</font><HR><pre>
Joystick (Analog 3-axis 4-button 1-hat FCS joystick) has 5 axes and 4 buttons. Driver version is 2.1.0.
Testing ... (interrupt to exit)
Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 Buttons: 0:off 1:off
Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 Buttons: 0:off 1:off
Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 Buttons: 0:off 1:off
Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 Buttons: 0:off 1:off
Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 Buttons: 0:off 1:off
Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 Buttons: 0:off 1:off
Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 Buttons: 0:off 1:off
Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 Buttons: 0:off 1:off
Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 Buttons: 0:off 1:off
</pre><HR></BLOCKQUOTE>

d2x axis all work, buttons all work. The hat, however, does not. I'll try some different configurations to try to get that to work.

Thank you everyone! This certainly was an odd fix. I wonder why the Audigy 2 won't work. *jumps for joy anyway*

Posted: Thu Jan 01, 2004 5:40 pm
by Verran
I got the hat working. I didn't notice that slide up/down is also listed under axis (so used to setting it up the other way in windows). d2x is running great!! Full 22K sound, 1280x1024 OpenGL goodness, and multiplayer on Kali seems to be working. W00t! Thanks again everyone. Image

Posted: Thu Jan 01, 2004 11:17 pm
by Admiral LSD
Actually, having the onboard gameport enabled while trying to use the Audigy gameport may have been causing your problem all along. Still, as long as it works now there's no reason to complain Image

Posted: Fri Jan 02, 2004 12:09 am
by Verran
No, the onboard gameport was always disabled throughout my entire ventures with the Audigy 2. Connecting the extension cable is when I turned it on for the first time. Image I just finished playing a multiplayer game on Kali, and everything was perfect!