sound alsa driver 모듈 자동 로딩.

0
points

Redhat 9.0 (커널 2.4.20-8 ) 에
alsa driver 1.0.4 를 올렸습니다.

근데, 자동적으로 올라가질 않습니다.

http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=Intel&...

여길 참고해서

인용:
# 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

/etc/modules.conf 에 복사해서 넣었는데 안됩니다.

부팅해서
modprobe snd-intel8x0 해주고
alsamixer 나
amixer 로 셋팅 다시 해줘야 소리가 납니다.;
아 그 전에 rmmod audio 라고 해서
audio 를 내려줘야 소리가 납니다.; (어디서 본 듯한 기억이 있는데,
어디서 봤는지 기억이 나질 않네요.;; )
이건 또 왜 이런가요.?? -_-;;

alsactl store 하면 저장되는거 아닌가요?
저장은 되는 것 같은데 modprobe snd-intel8x0 만 해주면
음소거로 되어 있습니다.;

정말 모르겠습니다.;

atie의 이미지
18064
points

여기서(kldp bbs) post-install로 검색을 해보시고, 밑의

0
points

여기서(kldp bbs) post-install로 검색을 해보시고, 밑의 링크가 도움이 되기를 바랍니다.
http://www.redhat.com/archives/fedora-list/2004-September/msg04503.html

alsactl store 저장은 되는데 여전히 자동으로는..;;

0
points

안 올라가네요.
그런데 저장은 됩니다. 감사합니다.^^

근데,
모듈이 자동으로 올라가질 않아서.
rc.local 파일에 modprobe snd-intel8x0 이라고
적어서 재부팅하면

음. 자동으로 올라오긴 오는데
또다시 음소거 상태입니다.;;

제가 잘 몰라서 그러는데 저렇게 하면 안되는건가요?
자동으로 올라와야 하는데.
그럼 어떻게 해야 하는건가요.

도와주시면 감사하겠습니다.^^

송효진의 이미지
14059
points

[quote]아 그 전에 rmmod audio 라고 해서 audio

0
points

인용:
아 그 전에 rmmod audio 라고 해서
audio 를 내려줘야 소리가 납니다.

다른모듈이 올라가 있어서 안올라온것 아닌가요?

modules.autoload 같은것에서 지워줘야 할것 같네요.

init.d 밑에 alsa 없나요?
없다면 alsactl restore 해야 저장값이 로드 됩니다.
local.start 같은 곳에 넣으려면
su - root -c "/usr/sbin/alsactl restore"
이런식이 되어야 하네요.

atie의 이미지
18064
points

/etc/modprobe.conf[code:1]alias snd-ca

0
points

/etc/modprobe.conf

alias snd-card-0 snd-intel8x0
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0

/etc/modules.conf
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1|| :

위처럼 해보시고, root로 alsamixer 해서, Master, PCM, Speaker의 볼륨을 조절해 보세요, snd-intel8x0은 특성상 pcm 볼륨이 0로 설정이 된다고 합니다.

ganadist의 이미지
6295
points

alsa를 배포판 차원에서 지원하는 것이면 서비스로 alsasound가

0
points

alsa를 배포판 차원에서 지원하는 것이면 서비스로 alsasound가 등록이 됩니다. 아직 유독 페도라가 alsa를 지원하지 않네요.

그리고 alsa는 기본적으로 모든 믹서설정이 0입니다.

atie의 이미지
18064
points

[quote="atie"]/etc/modprobe.conf[code:

0
points

atie 씀:
/etc/modprobe.conf
alias snd-card-0 snd-intel8x0
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0

/etc/modules.conf
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1|| :

위처럼 해보시고, root로 alsamixer 해서, Master, PCM, Speaker의 볼륨을 조절해 보세요, snd-intel8x0은 특성상 pcm 볼륨이 0로 설정이 된다고 합니다.

이거 제가 잘못알고 있었네요.
커널2.4는 modules.conf를 사용하고, 2.6은 modprobe.conf를 사용해야 하는군요. 그리고, i810_audio는 oss 모듈이군요.

위의 modporbe.conf를 사용중이신 2.4커널에 맞게 modules.conf로 하셔야겠네요. 그리고 root로 alsamixer를 한번 만 실행하시면 될 것 같습니다.

그리고, 위에 특성상이라고 쓴 말은 modprobe snd-intel8x0 할 때마다 pcm 볼륨이 0으로 설정된다고 합니다.

댓글 보기 옵션

원하시는 댓글 전시 방법을 선택한 다음 "설정 저장"을 누르셔서 적용하십시오.