혹시나 도움이 될까해서 올립니다.
linux-2.6.20 에 적용하였던 드라이버입니다.
ac97 칩은 시그마텔의 stac9753입니다. 지금은 idt군요.
wm9712도 적용가능 합니다.
stac9753은 모두 테스트해보았으나 wm9712는 아직 테스트해보지 못했습니다.
wm9712에서도 될겁니다.
amixer util, 드라이버, 회로도를 올려드립니다.
제가 사용했던 커널을 통채로 올려드리고 싶은데 좀 애매해서요..^^
sd 드라이버도 포함되어 있습니다. sdhc 8기가까지 테스트 해보았습니다.
toolchain : gcc-3.6,glibc-3.4 soft
kernel ver : linux 2.6.20
ac97 ic : idt stac9753
#cat ac97_test.sh
/home/target/alsa/bin/amixer -c 0 sset Master,0 100% unmute
/home/target/alsa/bin/amixer -c 0 sset PCM,0 100% unmute
/home/target/alsa/bin/amixer -c 0 sset 'Master Mono',0 100% unmute
/home/target/alsa/bin/amixer -c 0 sset 'External Amplifier',0 70% unmue
/home/target/alsa/bin/amixer -c 0 sset Headphone,0 70% unmute
/home/target/alsa/bin/amixer -c 0 sset 'Line',0 50% unmute
/home/target/alsa/bin/amixer -c 0 sset 'Video',0 50% mute
# sh ac97_test.sh
ln: /home/target/alsa: File exists
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 31 [100%] [0.00dB] [on]
Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 31 [100%] [12.00dB] [on]
Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control 'Master Mono',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 22 [71%] [-13.50dB] [on]
Front Right: Playback 22 [71%] [-13.50dB] [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 16 [52%] [-10.50dB] [on] Capture [off]
Front Right: Playback 16 [52%] [-10.50dB] [on] Capture [off]
Simple mixer control 'Video',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 16 [52%] [-10.50dB] [off] Capture [off]
Front Right: Playback 16 [52%] [-10.50dB] [off] Capture [off]