Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Joystick Problems, Dummy HOWTO [Unsolved]
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Mon Apr 25, 2005 11:01 pm    Post subject: Joystick Problems, Dummy HOWTO [Unsolved] Reply with quote

Hi, I just got a free Microsoft Sidewinder 3D pro and I want to get it to work with flightgear. I don't have a built in gameport, so I went to my basement and discovered an old creative PCI sound card, plugged it in, and was ready to use it's gameport. Now from the start I knew I was gonna have to ask you guys for some help.

I need a how to on getting the creative sound card to work, but keep my current sound card working. (All I really need is the game port to work.)

Then I need to know how to setup and configure the joystick. (Microsoft Sidewinder 3D pro.)

Thanks for any help.


Last edited by avieth on Tue Apr 26, 2005 12:03 am; edited 1 time in total
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Mon Apr 25, 2005 11:28 pm    Post subject: Reply with quote

Heres what I got when I tried to modprobe my device.
Code:

bash-2.05b# modprobe snd-ens1371
FATAL: Error inserting snd_ens1371 (/lib/modules/2.6.11-gentoo-r6/alsa-driver/pci/snd-ens1371.ko): Unknown symbol in module, or unknown parameter (see dmesg)


I ran dmesg:
Code:

Bootdata ok (command line is root=/dev/hda3 video=vesafb:ywrap,mtrr vga=0x31B)
Linux version 2.6.11-gentoo-r6 (root@alexscomputer) (gcc version 3.4.3 20041125
(Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)) #9 Mon Apr 25 19:05:28 UTC 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e7000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001ffc0000 (usable)
 BIOS-e820: 000000001ffc0000 - 000000001ffd0000 (ACPI data)
 BIOS-e820: 000000001ffd0000 - 0000000020000000 (ACPI NVS)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ff7c0000 - 0000000100000000 (reserved)
ACPI: RSDP (v002 ACPIAM                                ) @ 0x00000000000fa500
ACPI: XSDT (v001 A M I  OEMXSDT  0x03000429 MSFT 0x00000097) @ 0x000000001ffc010
0
ACPI: FADT (v003 A M I  OEMFACP  0x03000429 MSFT 0x00000097) @ 0x000000001ffc029
0
ACPI: MADT (v001 A M I  OEMAPIC  0x03000429 MSFT 0x00000097) @ 0x000000001ffc039
0
ACPI: OEMB (v001 A M I  OEMBIOS  0x03000429 MSFT 0x00000097) @ 0x000000001ffd004
0
ACPI: DSDT (v001  SK8N_ SK8N_701 0x00000701 INTL 0x02002026) @ 0x000000000000000
0
On node 0 totalpages: 131008
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 126912 pages, LIFO batch:16
  HighMem zone: 0 pages, LIFO batch:1
Nvidia board detected. Ignoring ACPI timer override.
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:5 APIC version 16
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: BIOS IRQ0 pin2 override ignored.
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: INT_SRC_OVR (bus 0 bus_irq 14 global_irq 14 high edge)
ACPI: INT_SRC_OVR (bus 0 bus_irq 15 global_irq 15 high edge)
ACPI: IRQ9 used by override.
ACPI: IRQ14 used by override.
ACPI: IRQ15 used by override.
Setting APIC routing to flat
Using ACPI (MADT) for SMP configuration information
Checking aperture...
CPU 0: aperture @ e0000000 size 256 MB
Built 1 zonelists
Kernel command line: root=/dev/hda3 video=vesafb:ywrap,mtrr vga=0x31B console=tt
y0
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 65536 bytes)
time.c: Using 1.193182 MHz PIT timer.
time.c: Detected 2000.008 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Memory: 509044k/524032k available (3268k kernel code, 14252k reserved, 1311k dat
a, 188k init)
Calibrating delay loop... 3964.92 BogoMIPS (lpj=1982464)
Mount-cache hash table entries: 256 (order: 0, 4096 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU: AMD Opteron(tm) Processor 146 stepping 0a
 tbxface-0118 [02] acpi_load_tables      : ACPI Tables successfully acquired
Parsing all Control Methods:....................................................
................................................................................
..........................................
Table [DSDT](id F004) - 578 Objects with 50 Devices 174 Methods 15 Regions
ACPI Namespace successfully loaded at root ffffffff805e6180
evxfevnt-0094 [03] acpi_enable           : Transition to ACPI mode successful
Using local APIC NMI watchdog using perfctr0
Using local APIC timer interrupts.
Detected 12.500 MHz APIC timer.
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like a
n initrd
NET: Registered protocol family 16
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050211
evgpeblk-0979 [06] ev_create_gpe_block   : GPE 00 to 1F [_GPE] 4 regs on int 0x9
evgpeblk-0987 [06] ev_create_gpe_block   : Found 7 Wake, Enabled 0 Runtime GPEs
in this block
Completing Region/Field/Buffer/Package initialization:..........................
................................................................................
..
Initialized 14/15 Regions 36/36 Fields 44/44 Buffers 14/14 Packages (587 nodes)
Executing all Device _STA and_INI methods:......................................
...............
53 Devices found containing: 53 _STA, 0 _INI methods
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 17) *11
ACPI: PCI Interrupt Link [LNKB] (IRQs 18) *10
ACPI: PCI Interrupt Link [LNKC] (IRQs 19) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 17) *11
ACPI: PCI Interrupt Link [LNKE] (IRQs 16) *11
ACPI: PCI Interrupt Link [LUS0] (IRQs 20) *11
ACPI: PCI Interrupt Link [LUS1] (IRQs 20) *5
ACPI: PCI Interrupt Link [LUS2] (IRQs 20) *10
ACPI: PCI Interrupt Link [LKLN] (IRQs 21) *11
ACPI: PCI Interrupt Link [LAUI] (IRQs 21) *5
ACPI: PCI Interrupt Link [LKMO] (IRQs 21) *0, disabled.
ACPI: PCI Interrupt Link [LKSM] (IRQs 22) *0, disabled.
ACPI: PCI Interrupt Link [LTID] (IRQs 22) *0, disabled.
ACPI: PCI Interrupt Link [LATA] (IRQs 22) *14
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 14 devices
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
** PCI interrupts are no longer routed automatically.  If this
** causes a device to stop working, it is probably because the
** driver failed to call pci_enable_device().  As a temporary
** workaround, the "pci=routeirq" argument restores the old
** behavior.  If this argument makes the device work again,
** please email the output of "lspci" to bjorn.helgaas@hp.com
** so I can fix the driver.
agpgart: Detected AGP bridge 0
agpgart: Setting up Nforce3 AGP.
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 256M @ 0xe0000000
PCI-DMA: Disabling IOMMU.
pnp: 00:0a: ioport range 0x480-0x487 has been reserved
pnp: 00:0a: ioport range 0xd00-0xd7f has been reserved
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
Total HugeTLB memory allocated, 0
inotify device minor=63
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NTFS driver 2.1.22 [Flags: R/W DEBUG].
Real Time Clock Driver v1.12
Linux agpgart interface v0.100 (c) Dave Jones
Hangcheck: starting hangcheck timer 0.5.0 (tick is 180 seconds, margin is 60 sec
onds).
vesafb: framebuffer at 0xc0000000, mapped to 0xffffc20000180000, using 10240k, t
otal 131072k
vesafb: mode is 1280x1024x32, linelength=5120, pages=0
vesafb: scrolling: redraw
vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0
Console: switching to colour frame buffer device 160x64
fb0: VESA VGA frame buffer device
ACPI: Power Button (FF) [PWRF]
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.31.
PCI: Enabling device 0000:00:05.0 (0005 -> 0007)
ACPI: PCI Interrupt Link [LKLN] enabled at IRQ 21
ACPI: PCI interrupt 0000:00:05.0[A] -> GSI 21 (level, high) -> IRQ 177
PCI: Setting latency timer of device 0000:00:05.0 to 64
0000:00:05.0: Invalid Mac address detected: 01:23:45:67:89:ab
Please complain to your hardware vendor. Switching to a random MAC.
eth0: forcedeth.c: subsystem: 01043:80c5 bound to 0000:00:05.0
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: pci dev 0000:01:07.0 (id 10ec:8139 rev 10) is not an 8139C+ compatible c
hip
8139cp: Try the "8139too" driver instead.
8139too Fast Ethernet driver 0.9.27
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 17
ACPI: PCI interrupt 0000:01:07.0[A] -> GSI 17 (level, high) -> IRQ 185
eth1: RealTek RTL8139 at 0xffffc20000006c00, 00:40:f4:26:bd:46, IRQ 185
eth1:  Identified 8139 chip type 'RTL-8139C'
netconsole: not configured, aborting
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE3-150: IDE controller at PCI slot 0000:00:08.0
NFORCE3-150: chipset revision 165
NFORCE3-150: not 100% native mode: will probe irqs later
NFORCE3-150: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE3-150: 0000:00:08.0 (rev a5) UDMA133 controller
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: MAXTOR 6L040J2, ATA DISK drive
hdb: WDC WD64AA, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: LITE-ON COMBO SOHC-5232K, ATAPI CD/DVD-ROM drive
hdd: ASUS CD-S400/A, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hda: max request size: 128KiB
hda: 78177792 sectors (40027 MB) w/1819KiB Cache, CHS=65535/16/63, UDMA(133)
hda: cache flushes supported
 hda: hda1 hda2 hda3
hdb: max request size: 128KiB
hdb: 12594960 sectors (6448 MB) w/2048KiB Cache, CHS=13328/15/63
hdb: cache flushes not supported
 hdb: hdb1
Losing some ticks... checking if CPU frequency changed.
hdc: ATAPI 63X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 40X CD-ROM drive, 128kB Cache, UDMA(33)
3ware Storage Controller device driver for Linux v1.26.02.000.
libata version 1.10 loaded.
Fusion MPT base driver 3.01.18
Copyright (c) 1999-2004 LSI Logic Corporation
Fusion MPT SCSI Host driver 3.01.18
ACPI: PCI Interrupt Link [LUS2] enabled at IRQ 20
ACPI: PCI interrupt 0000:00:02.2[C] -> GSI 20 (level, high) -> IRQ 193
ehci_hcd 0000:00:02.2: EHCI Host Controller
PCI: Setting latency timer of device 0000:00:02.2 to 64
ehci_hcd 0000:00:02.2: irq 193, pci mem 0xfebffc00
ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1
PCI: cache line size of 64 is not supported by device 0000:00:02.2
ehci_hcd 0000:00:02.2: park 0
ehci_hcd 0000:00:02.2: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt Link [LUS0] enabled at IRQ 20
ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 20 (level, high) -> IRQ 193
ohci_hcd 0000:00:02.0: OHCI Host Controller
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: irq 193, pci mem 0xfebfd000
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
ACPI: PCI Interrupt Link [LUS1] enabled at IRQ 20
ACPI: PCI interrupt 0000:00:02.1[B] -> GSI 20 (level, high) -> IRQ 193
ohci_hcd 0000:00:02.1: OHCI Host Controller
PCI: Setting latency timer of device 0000:00:02.1 to 64
ohci_hcd 0000:00:02.1: irq 193, pci mem 0xfebfe000
ohci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 3 ports detected
USB Universal Host Controller Interface driver v2.2
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
oprofile: using NMI interrupt.
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP established hash table entries: 32768 (order: 6, 262144 bytes)
TCP bind hash table entries: 32768 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 32768 bind 32768)
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.00.09e)
powernow-k8: BIOS error - no PSB
ACPI wakeup devices:
PS2K PS2M UAR1 UAR2 USB0 USB1 USB2 P0P1  MAC PWRB
ACPI: (supports S0 S1 S3 S4 S5)
RAMDISK: Couldn't find valid RAM disk image starting at 0.
ReiserFS: hda3: found reiserfs format "3.6" with standard journal
ReiserFS: hda3: using ordered data mode
ReiserFS: hda3: journal params: device hda3, size 8192, journal first block 18,
max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda3: checking transaction log (hda3)
ReiserFS: hda3: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 188k freed
Adding 1000432k swap on /dev/hda2.  Priority:-1 extents:1
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 16
ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 16 (level, high) -> IRQ 201
NVRM: loading NVIDIA Linux x86_64 NVIDIA Kernel Module  1.0-6629  Wed Nov  3 11:                                                                           43:48 PST 2004
snd_ens1371: Unknown parameter `joystick'
ACPI: PCI Interrupt Link [LAUI] enabled at IRQ 21
ACPI: PCI interrupt 0000:00:06.0[A] -> GSI 21 (level, high) -> IRQ 177
PCI: Setting latency timer of device 0000:00:06.0 to 64
intel8x0_measure_ac97_clock: measured 49230 usecs
intel8x0: clocking to 47419
eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
smbfs: Unrecognized mount option noexec
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:02:00.0 into 8x mode
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:02:00.0 into 8x mode
eth1: no IPv6 routers present
snd_ens1371: Unknown parameter `joystick'
snd_ens1371: Unknown parameter `joystick'
snd_ens1371: Unknown parameter `joystick'

Dunno if that means anything. All I know is joystick seems to be messing it up, but I have no joystick parameter in /etc/modules.d/alsa
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Mon Apr 25, 2005 11:41 pm    Post subject: Reply with quote

Ok, making progress. The problem is this line in /etc/modules.d/alsa

Code:

options snd-ens1371 Joystick=1

Now the driver won't even load.

When I take out Joystick=1 the driver loads fine, but it sets that card to card 1:
Code:

nano -w /proc/asound/cards
0 [AudioPCI       ]: ENS1371 - Ensoniq AudioPCI
                     Ensoniq AudioPCI ENS1371 at 0xdc00, irq 209
1 [nForce3        ]: NFORCE - NVidia nForce3
                     NVidia nForce3 with ALC650F at 0xfebfb000, irq 177


How do I get the nForce3 card to spot 1?

In the KDE control center I go to joystick and select the device /dev/input/js0 through 4 and they all say permission denied.
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Tue Apr 26, 2005 2:25 am    Post subject: Reply with quote

Ok, since no one is posting I'll give some more info. I did modinfo snd-ens1371 and heres what it showed me:

Code:

bash-2.05b# modinfo snd-ens1371
parm:           joystick_port:Joystick port address.
parmtype:       joystick_port:array of int
parm:           enable:Enable Ensoniq AudioPCI soundcard.
parmtype:       enable:array of bool
parm:           id:ID string for Ensoniq AudioPCI soundcard.
parmtype:       id:array of charp
parm:           index:Index value for Ensoniq AudioPCI soundcard.
parmtype:       index:array of int
description:    Ensoniq/Creative AudioPCI ES1371+
license:        GPL
author:         Jaroslav Kysela <perex@suse.cz>, Thomas Sailer <sailer@ife.ee.ethz.ch>
alias:          pci:v00001102d00008938sv*sd*bc*sc*i*
alias:          pci:v00001274d00005880sv*sd*bc*sc*i*
alias:          pci:v00001274d00001371sv*sd*bc*sc*i*
depends:        snd-pcm,snd-rawmidi,snd,snd-ac97-codec
vermagic:       2.6.11-gentoo-r6 preempt gcc-3.4


As you can see it doesn't know the address of the gameport, how can I tell where it is?

And check out what happens when I try and load the card module after telling it there is a joystick in /etc/modules.d/alsa

Code:

bash-2.05b# modprobe snd-ens1371
WARNING: Error inserting snd (/lib/modules/2.6.11-gentoo-r6/alsa-driver/acore/sn                                                                           d.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.11-gentoo-r6/alsa-driver/ac                                                                           ore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm (/lib/modules/2.6.11-gentoo-r6/alsa-driver/acor                                                                           e/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_ac97_codec (/lib/modules/2.6.11-gentoo-r6/alsa-driv                                                                           er/pci/ac97/snd-ac97-codec.ko): Unknown symbol in module, or unknown parameter (                                                                           see dmesg)
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.11-gentoo-r6/alsa-driv                                                                           er/acore/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter                                                                            (see dmesg)
WARNING: Error inserting snd_rawmidi (/lib/modules/2.6.11-gentoo-r6/alsa-driver/                                                                           acore/snd-rawmidi.ko): Unknown symbol in module, or unknown parameter (see dmesg                                                                           )
FATAL: Error inserting snd_ens1371 (/lib/modules/2.6.11-gentoo-r6/alsa-driver/pc                                                                           i/snd-ens1371.ko): Unknown symbol in module, or unknown parameter (see dmesg)


Please any help! I am completely lost and can't find any help.
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Tue Apr 26, 2005 3:36 am    Post subject: Reply with quote

I am getting closer! I suspect loading the ns558 module will do the trick, but check this out:

Code:

bash-2.05b# modprobe ns558
FATAL: Error inserting ns558 (/lib/modules/2.6.11-gentoo-r6/kernel/drivers/input/gameport/ns558.ko): No such device


Whats with that? PLEASE!!!!! I need some help!
Back to top
View user's profile Send private message
psy_ill
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jul 2003
Posts: 106

PostPosted: Tue Apr 26, 2005 11:06 am    Post subject: Reply with quote

Ok, maybe I can help you out.

As I digged in my kernel configuration (2.6.11-gentoo-r4) I saw this:
Code:

CONFIG_SND_ENS1371:
Say Y here to include support for Ensoniq AudioPCI ES1371 chips and
Sound Blaster PCI 64 or 128 soundcards.

To compile this driver as a module, choose M here: the module
will be called snd-ens1371.

CONFIG_GAMEPORT:
Gameport support is for the standard 15-pin PC gameport. If you
have a joystick, gamepad, gameport card, a soundcard with a gameport
or anything else that uses the gameport, say Y or M here and also to
at least one of the hardware specific drivers.

For Ensoniq AudioPCI (ES1370), AudioPCI 97 (ES1371), ESS Solo1,
S3 SonicVibes, Trident 4DWave, SiS7018, and ALi 5451 gameport
support is provided by the sound drivers, so you won't need any
from the below listed modules. You still need to say Y here.

That means that you don't need ns558. Everything comes with your soundcard.
You need to change the options you are giving alsa, they should be:
Code:

options snd-ens1371 Joystick_port=1

joystick_port=1 sets the port to auto-detect.

After you get the gameport working, I think you will need to load the sidewinder module manually by adding it to /etc/modules.autoload.
Also, be sure to check out the jscal program for calibrating if you need it. It doesn't come with an ebuild, so you need to find it and install it yourself.
Back to top
View user's profile Send private message
psy_ill
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jul 2003
Posts: 106

PostPosted: Tue Apr 26, 2005 11:11 am    Post subject: Reply with quote

I forgot to mention: I got a M$ Sidewinder 3D Pro working just a week or two ago, on a 2.6 kernel.
Just so you don't think it's impossible due to the rumors about sidewinder and 2.6 kernels ;)
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Tue Apr 26, 2005 7:18 pm    Post subject: Reply with quote

psy_ill wrote:
I forgot to mention: I got a M$ Sidewinder 3D Pro working just a week or two ago, on a 2.6 kernel.
Just so you don't think it's impossible due to the rumors about sidewinder and 2.6 kernels ;)


Ok, but how do I get the sidewinder module? It's not listed under joysticks.
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Tue Apr 26, 2005 7:21 pm    Post subject: Reply with quote

Oh, Ha, nevermind I found it. But I still get this dumb problem when modprobing snd-ens1371 while joystick_port=1 or joystick=1 is in my /etc/modules.d/alsa
Code:

bash-2.05b# modprobe snd-ens1371
FATAL: Error inserting snd_ens1371 (/lib/modules/2.6.11-gentoo-r6/alsa-driver/pci/snd-ens1371.ko): Unknown symbol in module, or unknown parameter (see dmesg)

Heres the last line of dmesg
Code:

snd_ens1371: Unknown parameter `Joystick_port'


And btw, do you know how I can force my intel8x0 sound card to be the primary card?
Back to top
View user's profile Send private message
ruben
Guru
Guru


Joined: 04 Jul 2003
Posts: 462

PostPosted: Tue Apr 26, 2005 9:05 pm    Post subject: Reply with quote

I think the parameter should be "joystick_port=1", all lowercase.

For the sound card order... in /etc/modules.d/alsa, you can probably use
Code:
alias snd-card-0 snd-your-other-card
alias snd-card-1 snd-ens1371
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Tue Apr 26, 2005 9:07 pm    Post subject: Reply with quote

ruben wrote:
I think the parameter should be "joystick_port=1", all lowercase.

For the sound card order... in /etc/modules.d/alsa, you can probably use
Code:
alias snd-card-0 snd-your-other-card
alias snd-card-1 snd-ens1371


Ok I found the problem, I had those lines commented out :oops: hehe.

I set joystick_port=1 and now that I uncommented the other lines, the card loads fine, but I don't think It detected the joystick. How do I tell?

Oh and if I used joystick=1 it gives me the same error as in my second post.
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Wed Apr 27, 2005 3:13 am    Post subject: Reply with quote

Anyone else get this problem? I searched around the forums and turned up nothing.
Back to top
View user's profile Send private message
ruben
Guru
Guru


Joined: 04 Jul 2003
Posts: 462

PostPosted: Wed Apr 27, 2005 7:50 am    Post subject: Reply with quote

Some cards need joystick as parameter, others need joystick_port, so obviously in your case it needs joystick_port, so that looks fine.
But to be sure that the gameport is detected: Do you have an entry in the dmesg output that says something about the gameport ?
When you run 'lspci', do you get an entry for the gameport ?

If that's all ok, then you're halfway there.

Now you should try to load the sidewinder module. If it does not detect your sidewinder, then you might try to increase SW_TIMEOUT to 6000, in sidewinder.c, that is a file somewhere in your kernel source, but i can't tell you the exact location now (this is what i mentioned in the other thread).
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Wed Apr 27, 2005 3:46 pm    Post subject: Reply with quote

Code:

bash-2.05b# lspci
0000:00:00.0 Host bridge: nVidia Corporation nForce3 Host Bridge (rev a4)
0000:00:01.0 ISA bridge: nVidia Corporation nForce3 LPC Bridge (rev f6)
0000:00:01.1 SMBus: nVidia Corporation nForce3 SMBus (rev a4)
0000:00:02.0 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
0000:00:02.1 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
0000:00:02.2 USB Controller: nVidia Corporation nForce3 USB 2.0 (rev a2)
0000:00:05.0 Ethernet controller: nVidia Corporation nForce3 Ethernet (rev a5)
0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce3 Audio (rev                                                                            a2)
0000:00:08.0 IDE interface: nVidia Corporation nForce3 IDE (rev a5)
0000:00:0a.0 PCI bridge: nVidia Corporation nForce3 PCI Bridge (rev a2)
0000:00:0b.0 PCI bridge: nVidia Corporation nForce3 AGP Bridge (rev a4)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Hyp                                                                           erTransport Technology Configuration
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Add                                                                           ress Map
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRA                                                                           M Controller
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Mis                                                                           cellaneous Control
0000:01:04.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 07)
0000:01:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C                                                                           /8139C+ (rev 10)
0000:01:09.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000                                                                            Controller (PHY/Link)
0000:02:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600/Ge                                                                           Force 6600 GT] (rev a2)


Dont see anything about gameport from lspci
Here is dmesg
Code:

bash-2.05b# dmesg
Bootdata ok (command line is root=/dev/hda3 video=vesafb:ywrap,mtrr vga=0x31B)
Linux version 2.6.11-gentoo-r6 (root@alexscomputer) (gcc version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)) #16 Tue Apr 26 18:13:19 UTC 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e7000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001ffc0000 (usable)
 BIOS-e820: 000000001ffc0000 - 000000001ffd0000 (ACPI data)
 BIOS-e820: 000000001ffd0000 - 0000000020000000 (ACPI NVS)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ff7c0000 - 0000000100000000 (reserved)
ACPI: RSDP (v002 ACPIAM                                ) @ 0x00000000000fa500
ACPI: XSDT (v001 A M I  OEMXSDT  0x03000429 MSFT 0x00000097) @ 0x000000001ffc0100
ACPI: FADT (v003 A M I  OEMFACP  0x03000429 MSFT 0x00000097) @ 0x000000001ffc0290
ACPI: MADT (v001 A M I  OEMAPIC  0x03000429 MSFT 0x00000097) @ 0x000000001ffc0390
ACPI: OEMB (v001 A M I  OEMBIOS  0x03000429 MSFT 0x00000097) @ 0x000000001ffd0040
ACPI: DSDT (v001  SK8N_ SK8N_701 0x00000701 INTL 0x02002026) @ 0x0000000000000000
On node 0 totalpages: 131008
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 126912 pages, LIFO batch:16
  HighMem zone: 0 pages, LIFO batch:1
Nvidia board detected. Ignoring ACPI timer override.
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:5 APIC version 16
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: BIOS IRQ0 pin2 override ignored.
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: INT_SRC_OVR (bus 0 bus_irq 14 global_irq 14 high edge)
ACPI: INT_SRC_OVR (bus 0 bus_irq 15 global_irq 15 high edge)
ACPI: IRQ9 used by override.
ACPI: IRQ14 used by override.
ACPI: IRQ15 used by override.
Setting APIC routing to flat
Using ACPI (MADT) for SMP configuration information
Checking aperture...
CPU 0: aperture @ e0000000 size 256 MB
Built 1 zonelists
Kernel command line: root=/dev/hda3 video=vesafb:ywrap,mtrr vga=0x31B console=tty0
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 65536 bytes)
time.c: Using 1.193182 MHz PIT timer.
time.c: Detected 2000.017 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Memory: 509060k/524032k available (3259k kernel code, 14236k reserved, 1305k data, 188k init)
Calibrating delay loop... 3964.92 BogoMIPS (lpj=1982464)
Mount-cache hash table entries: 256 (order: 0, 4096 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU: AMD Opteron(tm) Processor 146 stepping 0a
 tbxface-0118 [02] acpi_load_tables      : ACPI Tables successfully acquired
Parsing all Control Methods:..............................................................................................................................................................................
Table [DSDT](id F004) - 578 Objects with 50 Devices 174 Methods 15 Regions
ACPI Namespace successfully loaded at root ffffffff805e2180
evxfevnt-0094 [03] acpi_enable           : Transition to ACPI mode successful
Using local APIC NMI watchdog using perfctr0
Using local APIC timer interrupts.
Detected 12.500 MHz APIC timer.
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
NET: Registered protocol family 16
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050211
evgpeblk-0979 [06] ev_create_gpe_block   : GPE 00 to 1F [_GPE] 4 regs on int 0x9
evgpeblk-0987 [06] ev_create_gpe_block   : Found 7 Wake, Enabled 0 Runtime GPEs in this block
Completing Region/Field/Buffer/Package initialization:............................................................................................................
Initialized 14/15 Regions 36/36 Fields 44/44 Buffers 14/14 Packages (587 nodes)
Executing all Device _STA and_INI methods:.....................................................
53 Devices found containing: 53 _STA, 0 _INI methods
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 17) *11
ACPI: PCI Interrupt Link [LNKB] (IRQs 18) *10
ACPI: PCI Interrupt Link [LNKC] (IRQs 19) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 17) *11
ACPI: PCI Interrupt Link [LNKE] (IRQs 16) *11
ACPI: PCI Interrupt Link [LUS0] (IRQs 20) *11
ACPI: PCI Interrupt Link [LUS1] (IRQs 20) *5
ACPI: PCI Interrupt Link [LUS2] (IRQs 20) *10
ACPI: PCI Interrupt Link [LKLN] (IRQs 21) *11
ACPI: PCI Interrupt Link [LAUI] (IRQs 21) *5
ACPI: PCI Interrupt Link [LKMO] (IRQs 21) *0, disabled.
ACPI: PCI Interrupt Link [LKSM] (IRQs 22) *0, disabled.
ACPI: PCI Interrupt Link [LTID] (IRQs 22) *0, disabled.
ACPI: PCI Interrupt Link [LATA] (IRQs 22) *14
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 14 devices
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
** PCI interrupts are no longer routed automatically.  If this
** causes a device to stop working, it is probably because the
** driver failed to call pci_enable_device().  As a temporary
** workaround, the "pci=routeirq" argument restores the old
** behavior.  If this argument makes the device work again,
** please email the output of "lspci" to bjorn.helgaas@hp.com
** so I can fix the driver.
agpgart: Detected AGP bridge 0
agpgart: Setting up Nforce3 AGP.
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 256M @ 0xe0000000
PCI-DMA: Disabling IOMMU.
pnp: 00:0a: ioport range 0x480-0x487 has been reserved
pnp: 00:0a: ioport range 0xd00-0xd7f has been reserved
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
Total HugeTLB memory allocated, 0
inotify device minor=63
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NTFS driver 2.1.22 [Flags: R/W DEBUG].
Real Time Clock Driver v1.12
Linux agpgart interface v0.100 (c) Dave Jones
Hangcheck: starting hangcheck timer 0.5.0 (tick is 180 seconds, margin is 60 seconds).
vesafb: framebuffer at 0xc0000000, mapped to 0xffffc20000180000, using 10240k, total 131072k
vesafb: mode is 1280x1024x32, linelength=5120, pages=0
vesafb: scrolling: redraw
vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0
Console: switching to colour frame buffer device 160x64
fb0: VESA VGA frame buffer device
ACPI: Power Button (FF) [PWRF]
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.31.
PCI: Enabling device 0000:00:05.0 (0005 -> 0007)
ACPI: PCI Interrupt Link [LKLN] enabled at IRQ 21
ACPI: PCI interrupt 0000:00:05.0[A] -> GSI 21 (level, high) -> IRQ 177
PCI: Setting latency timer of device 0000:00:05.0 to 64
0000:00:05.0: Invalid Mac address detected: 01:23:45:67:89:ab
Please complain to your hardware vendor. Switching to a random MAC.
eth0: forcedeth.c: subsystem: 01043:80c5 bound to 0000:00:05.0
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: pci dev 0000:01:07.0 (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
8139cp: Try the "8139too" driver instead.
8139too Fast Ethernet driver 0.9.27
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 17
ACPI: PCI interrupt 0000:01:07.0[A] -> GSI 17 (level, high) -> IRQ 185
eth1: RealTek RTL8139 at 0xffffc20000006c00, 00:40:f4:26:bd:46, IRQ 185
eth1:  Identified 8139 chip type 'RTL-8139C'
netconsole: not configured, aborting
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE3-150: IDE controller at PCI slot 0000:00:08.0
NFORCE3-150: chipset revision 165
NFORCE3-150: not 100% native mode: will probe irqs later
NFORCE3-150: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE3-150: 0000:00:08.0 (rev a5) UDMA133 controller
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: MAXTOR 6L040J2, ATA DISK drive
hdb: WDC WD64AA, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: LITE-ON COMBO SOHC-5232K, ATAPI CD/DVD-ROM drive
hdd: ASUS CD-S400/A, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hda: max request size: 128KiB
hda: 78177792 sectors (40027 MB) w/1819KiB Cache, CHS=65535/16/63, UDMA(133)
hda: cache flushes supported
 hda: hda1 hda2 hda3
hdb: max request size: 128KiB
hdb: 12594960 sectors (6448 MB) w/2048KiB Cache, CHS=13328/15/63
hdb: cache flushes not supported
 hdb: hdb1
Losing some ticks... checking if CPU frequency changed.
hdc: ATAPI 63X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 40X CD-ROM drive, 128kB Cache, UDMA(33)
3ware Storage Controller device driver for Linux v1.26.02.000.
libata version 1.10 loaded.
Fusion MPT base driver 3.01.18
Copyright (c) 1999-2004 LSI Logic Corporation
Fusion MPT SCSI Host driver 3.01.18
ACPI: PCI Interrupt Link [LUS2] enabled at IRQ 20
ACPI: PCI interrupt 0000:00:02.2[C] -> GSI 20 (level, high) -> IRQ 193
ehci_hcd 0000:00:02.2: EHCI Host Controller
PCI: Setting latency timer of device 0000:00:02.2 to 64
ehci_hcd 0000:00:02.2: irq 193, pci mem 0xfebffc00
ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1
PCI: cache line size of 64 is not supported by device 0000:00:02.2
ehci_hcd 0000:00:02.2: park 0
ehci_hcd 0000:00:02.2: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt Link [LUS0] enabled at IRQ 20
ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 20 (level, high) -> IRQ 193
ohci_hcd 0000:00:02.0: OHCI Host Controller
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: irq 193, pci mem 0xfebfd000
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
ACPI: PCI Interrupt Link [LUS1] enabled at IRQ 20
ACPI: PCI interrupt 0000:00:02.1[B] -> GSI 20 (level, high) -> IRQ 193
ohci_hcd 0000:00:02.1: OHCI Host Controller
PCI: Setting latency timer of device 0000:00:02.1 to 64
ohci_hcd 0000:00:02.1: irq 193, pci mem 0xfebfe000
ohci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 3 ports detected
USB Universal Host Controller Interface driver v2.2
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
oprofile: using NMI interrupt.
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP established hash table entries: 32768 (order: 6, 262144 bytes)
TCP bind hash table entries: 32768 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 32768 bind 32768)
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.00.09e)
powernow-k8: BIOS error - no PSB
ACPI wakeup devices:
PS2K PS2M UAR1 UAR2 USB0 USB1 USB2 P0P1  MAC PWRB
ACPI: (supports S0 S1 S3 S4 S5)
RAMDISK: Couldn't find valid RAM disk image starting at 0.
ReiserFS: hda3: found reiserfs format "3.6" with standard journal
ReiserFS: hda3: using ordered data mode
ReiserFS: hda3: journal params: device hda3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda3: checking transaction log (hda3)
ReiserFS: hda3: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 188k freed
Adding 1000432k swap on /dev/hda2.  Priority:-1 extents:1
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 16
ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 16 (level, high) -> IRQ 201
NVRM: loading NVIDIA Linux x86_64 NVIDIA Kernel Module  1.0-6629  Wed Nov  3 11:43:48 PST 2004
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
lp0: using parport0 (interrupt-driven).
ACPI: PCI Interrupt Link [LAUI] enabled at IRQ 21
ACPI: PCI interrupt 0000:00:06.0[A] -> GSI 21 (level, high) -> IRQ 177
PCI: Setting latency timer of device 0000:00:06.0 to 64
intel8x0_measure_ac97_clock: measured 49229 usecs
intel8x0: clocking to 47418
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 18
ACPI: PCI interrupt 0000:01:04.0[A] -> GSI 18 (level, high) -> IRQ 209
eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
smbfs: Unrecognized mount option noexec
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:02:00.0 into 8x mode
eth1: no IPv6 routers present
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:02:00.0 into 8x mode


Also modinfo gives me this.
Code:

parm:           joystick_port:Joystick port address.
parmtype:       joystick_port:array of int


I don't think it knows the gameport's address.
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Thu Apr 28, 2005 1:29 am    Post subject: Reply with quote

:? Sorry for being so impatient but I need to know if I can do this.
Back to top
View user's profile Send private message
ruben
Guru
Guru


Joined: 04 Jul 2003
Posts: 462

PostPosted: Thu Apr 28, 2005 2:57 pm    Post subject: Reply with quote

Sorry, but i'm not reading the gentoo forums that much lately.
At the time you checked your dmesg for the gameport, then did you also have the gameport module loaded?
When you have the gameport module loaded, it should have an entry about your gameport in dmesg AFAIK.

And then, you should also load the "joydev" module (for creating /dev/input/js0), and finally the sidewinder module. If dmesg doesn't report anything about your joystick, then you'll need to manually adapt sidewinder.c and change the SW_TIMEOUT to 6000.

For what it's worth, on my machine, i have the following entries:
Code:
gameport: pci0000:02:0d.1 speed 903 kHz
input: Microsoft SideWinder 3D Pro [PnP 1.00 id PNP0F1F rev 01.00.08]\
  on pci0000:02:0d.1/gameport0 [3-bit id 160 data 66]
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Thu Apr 28, 2005 5:16 pm    Post subject: Reply with quote

Ok, I installed windows XP on a little 6 gig hard drive just to see if it was linux's fault. Turns out Windows XP detects the gameport, but gives me "Code 10" and the I/O range is being blocked or something. This makes me think it is the hardware's fault. What do I do?
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Sat Apr 30, 2005 6:54 pm    Post subject: Reply with quote

Ok, I booted knoppix, and tried a new sound card which didnt work with windows and it detected my joystick, i think. Heres what knoppix gave me:
Code:

root@ttyp1[input]# modinfo es1370
filename:    /lib/modules/2.4.27/kernel/drivers/sound/es1370.o
description: "ES1370 AudioPCI Driver"
author:      "Thomas M. Sailer, sailer@ife.ee.ethz.ch, hb9jnx@hb9w.che.eu"
license:     "GPL"
parm:        joystick int array (min = 1, max = 5), description "if 1 enables joystick interface (still need separate driver)"
parm:        lineout int array (min = 1, max = 5), description "if 1 the LINE input is converted to LINE out"
parm:        micbias int array (min = 1, max = 5), description "sets the +5V bias for an electret microphone"

HOORAY I modprobed sidewinder, but KDE control centre still didn't let me configure it because /dev/input/js0 appears to be empty.
Back to top
View user's profile Send private message
ruben
Guru
Guru


Joined: 04 Jul 2003
Posts: 462

PostPosted: Sat Apr 30, 2005 7:06 pm    Post subject: Reply with quote

Are you trying to use the joystick with knoppix ? Or is it your goal to get it working on gentoo in the end ?
Just asking because your knoppix seems to be running a 2.4 kernel, while i assume your gentoo is a 2.6 kernel.
In any case, you should make sure the "joydev" module is loaded, otherwise the /dev/input/js0 is not created. (or does it exist and you don't get any reaction on it?)
Does dmesg mention something about detecting your joystick?
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Sun May 01, 2005 9:41 pm    Post subject: Reply with quote

Well I want it to work on gentoo and windows, but these forums are for gentoo. Ill try joydev when I get the chance.
Back to top
View user's profile Send private message
oanjao
n00b
n00b


Joined: 19 Feb 2004
Posts: 73
Location: Orlando, FL

PostPosted: Wed May 18, 2005 3:13 am    Post subject: Reply with quote

Hey man, I'm sorry nobody was able to anwer your question. Even though this is an old thread I'm going to post my solution because it might help someone. My system has an Ensoniq 1371 sound chipset on the motherboard, with a Microsoft Sidewinder Force Feedback Pro plugged into the game port. It requires ALL of the following modules:

snd_ens1371
gameport
ns558
joydev
sidewinder

Unfortunately there is no way for you to know this without extensive trial and error, because most of the modules do not depend on one another, even though they all have to be there! This is the worst-documented part of Linux I've run across in quite a while.

I found that I did not need to pass the joystick_port=1 option to the snd_ens1371 module. However, the ns558 module IS necessary even if you have the snd_ens1371 module, despite what the kernal docs might say.

To test your joystick quickly, type
Code:
cat /dev/input/js0

and you should see garbage text appear randomly on the command line. That means it's working! Also, when you modprobe the modules you will see the following in dmesg:
Code:
modprobe ns558

Quote:
gameport: NS558 ISA at 0x201 speed 840 kHz

Code:
modprobe sidewinder

Quote:
drivers/input/joystick/sidewinder.c: Init 0: Opened isa0201/gameport0, io 0x201, speed 840


Also, running lspci on my machine does NOT report the existence of the gameport, even when the joystick is functioning. Perhaps this is because my sound chip is integrated on the motherboard?

I just did a big brain dump and I hope I didn't forget anything important. Try this and post again if you have questions. I also updated the Joystick HOWTO on the Gentoo wiki.
_________________
For tips and examples, check out my software development and scientific programming blog
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Wed May 18, 2005 7:56 pm    Post subject: Reply with quote

What do I need in my kernel?

Here is the output of modprobe ns558:

Code:

FATAL: Error inserting ns558 (/lib/modules/2.6.11-gentoo-r7/kernel/drivers/input/gameport/ns558.ko): No such device
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Wed May 18, 2005 10:12 pm    Post subject: Reply with quote

Oh, one more thing..... Knoppix detecs the joystick fine, is there any way I cud copy knoppix's config?

Also, my card is not onboard, and it certainly is not ISA. It's a creative soundblaster pci 128 and I have a microsoft sidewinder 3d pro plugged in. I dont use the card for sound, thats what my onboard sound is for. I think I don't need the ns558 module, so any other ideas?
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Fri May 20, 2005 6:54 pm    Post subject: Reply with quote

Just a thought, In windows the device manager says that the gameport doesn't have enough resources! Could this be the problem with linux? BUt it's odd because knoppix can load it.
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Mon Jul 04, 2005 1:34 pm    Post subject: Reply with quote

http://gentoo-wiki.com/HOWTO_Joystick_Setup#Modules_for_Joysticks
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum