Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA + emu10k1 + Joystick
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mopresto
n00b
n00b


Joined: 05 Feb 2003
Posts: 6

PostPosted: Sun Apr 13, 2003 12:10 pm    Post subject: ALSA + emu10k1 + Joystick Reply with quote

I am using alsa with my soundblaster live player. With oss the joystick where initialised correctly and i was able to use it.

I only loaded following modules:

Code:

sidewinder
emu10k1-gp
analog
joydev


Now i wanted to do it the same way with alsa, but this time no joystick was initialised. Maybe someone can give me a tip what i must do.
Back to top
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Fri Apr 16, 2004 11:28 pm    Post subject: Reply with quote

hi! i have the same problem with my sblive! (just emerged 2.6.5-gentoo)

i want to know if i have to load emu10k1-gp or not:
when i try to load this module (or sidewinder module) i get "Unknow simbols" from modprobe
_________________
"...There are two sort of lies, lies and benchmarks..."
Back to top
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Sun Apr 18, 2004 3:38 pm    Post subject: Reply with quote

Yes I got it! :D

just do the following steps:

kernel configuration:

Code:

Device Drivers  --->
  Sound  --->
    <M> Sound card support
       Advanced Linux Sound Architecture  --->
         <M> Advanced Linux Sound Architecture
         <M> Sequencer support
         <M> OSS Mixer API
         <M> OSS PCM (digital audio) API
          PCI devices  --->
             <M> EMU10K1 (SB Live! & Audigy, E-mu APS)
 
  Input device support  --->
    <M> Joystick interface
    <M> Gameport support
    <M> SB Live and Audigy gameport support


/etc/modules.d/alsa:

Code:

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
alias snd-card-0 snd-emu10k1
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=1


and /etc/modules.autoload/kernel-2.6:

Code:

joydev
sidewinder #put here your joypad/joystick module name instead of "sidwinder"


now all works fine! no more problems with ALSA and the gamepad...
i hope this can help you!

bye
_________________
"...There are two sort of lies, lies and benchmarks..."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
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