[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Switching from OSS to Alsa



On Thu, 17 Mar 2005 21:12:29 -0500, Roberto C. Sanchez wrote:

> Tong wrote:
>> On Thu, 17 Mar 2005 19:36:14 -0500, Tong wrote:
>>
>>
>>>Thank you very much, Andreas. Yes, that's all it takes to replace OSS with
>>>alsa...
>>
>>
>> I tested with "play a.wav", but all else seem to need more twisting:
>>
>> $ ogg123 b.ogg
>> Audio Device:   OSS audio driver output
>> Error: Cannot open device oss.
>>
>> xmms -- no card found.
>>
>> mplayer -- Could not open/initialize audio device -> no sound.
>>
>> So, any system wide setting I need to twist? Or I should tackle each tool
>> individually?
>>
>> thanks
> 
> Make sure you have loaded snd_pcm_oss and snd_mixer_oss into the kernel.
> This will let ALSA emulate the legacy OSS interface.  Some apps are
> still flaky with ALSA and that is the best way to make sure that they
> work properly.

Thanks, Roberto. 

Erh, I have them:

$ lsmod | grep snd
snd-via82xx            14368   0 
snd-pcm-oss            37344   0  (unused)
snd-mixer-oss          13176   0  [snd-pcm-oss]
snd-ac97-codec         58328   0  [snd-via82xx]
snd-pcm                58344   0  [snd-via82xx snd-pcm-oss snd-ac97-codec]
snd-timer              14276   0  [snd-pcm]
gameport                1676   0  [snd-via82xx]
snd-mpu401-uart         3472   0  [snd-via82xx]
snd-rawmidi            13056   0  [snd-mpu401-uart]
snd-seq-device          4228   0  [snd-rawmidi]
snd                    34692   0  [snd-via82xx snd-pcm-oss snd-mixer-oss snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
snd-page-alloc          4904   0  [snd-via82xx snd-mixer-oss snd-pcm snd-timer snd-rawmidi snd-seq-device snd]
soundcore               3972   4  [snd]

More ideas? 





Reply to: