Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
built in ac97 and midi help
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
Adderax
n00b
n00b


Joined: 29 Apr 2005
Posts: 7

PostPosted: Tue Aug 16, 2005 4:08 pm    Post subject: built in ac97 and midi help Reply with quote

Hello I have my alsa set up, my sound runs fine, however I do not have midi working. I can wine play warcraft3/wow but I can't get sound from older games that used midi. After hammering around, changing kernel configurations etc. I am having a huge problem. I try to change the /etc/modules.conf, but after reboot, the conf file is back to what it was, without my changes being added. Before rebooting, the file changes were there and saved. Anyone have some idea why this is happening? I will post my settings if necessary.

Thx,
Back to top
View user's profile Send private message
jk3us
Apprentice
Apprentice


Joined: 14 Mar 2005
Posts: 201
Location: Memphis, TN

PostPosted: Tue Aug 16, 2005 4:16 pm    Post subject: Reply with quote

1) don't edit /etc/modules.conf manually, edit the files in /etc/modules.d/ and run modules-update. (read the first few lines of comments in modules.conf)
2) did you follow the instructions on http://www.gentoo.org/doc/en/alsa-guide.xml#doc_chap4? Did midi work after that? Make sure it works before trying to get it to work wth wine.
Back to top
View user's profile Send private message
Adderax
n00b
n00b


Joined: 29 Apr 2005
Posts: 7

PostPosted: Tue Aug 16, 2005 5:38 pm    Post subject: Reply with quote

Here are the relevant files, yes I followed that howto a few times.

:+:modules.conf:+:
...
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.

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.9a ---
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---
:+:------------------------------:+:

Then I have

:+:-------------------------------------------------------------------------------------------------------------------------:+:
# lspci -v | grep -i audio
0000:00:07.5 Multimedia audio controller: Advanced Micro Devices [AMD] AMD-768 [Opus] Audio (rev 03)
:+:-------------------------------------------------------------------------------------------------------------------------:+:

:+:-------------------------------------------------------------------------------------------------------------------------:+:
# cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.8 emulation code)
Kernel: Linux demon 2.6.11-gentoo-r6 #6 SMP Tue Aug 16 11:04:19 EST 2005 i686
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
AMD AMD768 with ALC200/200P at 0xc400, irq 17

Audio devices:
0: AMD AMD768 (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers:
0: Realtek ALC200/200P rev 0
:+:-------------------------------------------------------------------------------------------------------------------------:+:

:+:-------------------------------------------------------------------------------------------------------------------------:+:
# lsmod

Module Size Used by
snd_seq 53520 0
snd_seq_device 9036 1 snd_seq
snd_pcm_oss 50400 0
snd_mixer_oss 19712 1 snd_pcm_oss
snd_intel8x0 30016 0
snd_ac97_codec 74176 1 snd_intel8x0
snd_pcm 82756 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer 23492 2 snd_seq,snd_pcm
snd 47012 8 snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc 9604 2 snd_intel8x0,snd_pcm
joydev 9984 0
e100 33664 0
mii 6016 1 e100
fglrx 241916 7
:+:-------------------------------------------------------------------------------------------------------------------------:+:


:+:-------------------------------------------------------------------------------------------------------------------------:+:
Starting the alsasound gives this

# /etc/init.d/alsasound start
* Loading ALSA modules...
* Loading: snd-card-0... [ ok ]
* Loading: snd-pcm-oss... [ ok ]
* Loading: snd-seq... [ ok ]
* Restoring Mixer Levels... [ ok ]

:+:-------------------------------------------------------------------------------------------------------------------------:+:


:+:-------------------------------------------------------------------------------------------------------------------------:+:

I tried adding this just to see what would happen from the alsa webpage for the intel8x0 cards http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=Intel&card=.&chip=440MX%2C+i810%2C+i810%2C+i810E%2C+i820%2C+i820&module=intel8x0

I added this from what they had written for the modules.conf :

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-intel8x0
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# 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

and I took out this section from modules.conf so as not to have double ups (setting ut the sndcard etc).

# --- ALSACONF version 1.0.9a ---
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---
:+:-------------------------------------------------------------------------------------------------------------------------:+:


Now the problem that I have, when I reboot, any changes made to modules.conf get wiped like I didn't even do them.

Any advice? I looked around and people have snd-seq-midi as a module, or the mpu401 module. I added mpu401 to my kernel but that was no dice either.

Thx,
Back to top
View user's profile Send private message
Adderax
n00b
n00b


Joined: 29 Apr 2005
Posts: 7

PostPosted: Wed Aug 17, 2005 1:09 am    Post subject: Reply with quote

:bump:

Nobody had problems setting up midi with a built in ac97?
Back to top
View user's profile Send private message
jk3us
Apprentice
Apprentice


Joined: 14 Mar 2005
Posts: 201
Location: Memphis, TN

PostPosted: Wed Aug 17, 2005 4:37 pm    Post subject: Reply with quote

Adderax wrote:

Now the problem that I have, when I reboot, any changes made to modules.conf get wiped like I didn't even do them.


Again... Do no edit modules.conf by hand. Your changes will be lost. Instead, edit the files in /etc/modules.d and run modules-update.
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