|
|

楼主 |
发表于 2002-12-5 23:31:01
|
显示全部楼层
rmmod maestro3
insmod maestro3 gpio_pin=1
test it,if cannot finish it.look down text.
I wish I could answer your question but my laptop does not have the digital stuff
hooked up so I so not know about it. I have an excellent ESS Maestro3 which OSS
supports pretty lame so I was forced to learn about ALSA.
I have used these commands to explore ALSA and my chip:
arecord -l (list devices)
arecord -L (list PCM decices)
I get some output like this:
> arecord -l
card 0: MAESTRO3 [ESS Allegro PCI], device 0: Allegro [Allegro]
Subdevices: 1/1
Subdevice #0: subdevice #0
> arecord -L
PCM list:
(SNIP - craploads of output)
I noticed that the output from this commands kind of maps to what the alsamixer or
gamix have.
For what it is worth, here is what I have in modules.conf for my sound stuff:
> ## ALSA portion
> alias char-major-116 snd
> ## OSS/Free portion
> alias char-major-14 soundcore
>
> ## ALSA portion
> alias snd-card-0 snd-maestro3
> ## OSS/Free portion
> alias sound-slot-0 snd-card-0
>
> ## OSS/Free portion - card #1
> alias sound-service-0-0 snd-mixer-oss
> # BAD alias sound-service-0-1 snd-seq-oss
> alias sound-service-0-3 snd-pcm-oss
> # BAD alias sound-service-0-8 snd-seq-oss
> alias sound-service-0-12 snd-pcm-oss
> #
> ## ALSA Options (optional)
> options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0666
> options snd-maestro3 snd_index=0 snd_id=MAESTRO3 snd_amp_gpio=8
> #
> ## OSS Options (optional)
> alias snd-card-1 off
> alias snd-card-2 off
> alias snd-card-3 off
> alias sound-slot-1 off
> alias sound-service-1-0 off
>
> ## Preserve Mixer Settings
> #post-install /usr/sbin/alsactl restore MAESTRO3
> #pre-remove /usr/sbin/alsactl store MAESTRO3
> post-install /usr/sbin/alsactl restore
> pre-remove /usr/sbin/alsactl store
Hope that helps, good luck. |
|