LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Where can I find alternate sound hardware? (https://www.linuxquestions.org/questions/linux-hardware-18/where-can-i-find-alternate-sound-hardware-4175564427/)

RandomTroll 01-19-2016 07:03 PM

Where can I find alternate sound hardware?
 
The builtin audio jack finally failed completely. Years ago the audio of a previous computer failed; I bought a usb audio device (no brand name, model zx554, $1.56 on eBay). When I plugged it in then Linux created a new audio device, /dev/dsp1 (/dev/dsp0 was the builtin), which I could use as the target of the audio software.

Now Linux no longer creates any /dev/dsp devices and I can't find anything else to identify the usb audio device. lsusb identifies it (0c76:1605) but nothing changes in /dev

ardvark71 01-19-2016 08:09 PM

Quote:

Originally Posted by RandomTroll (Post 5481214)
The builtin audio jack finally failed completely. Years ago the audio of a previous computer failed; I bought a usb audio device (no brand name, model zx554, $1.56 on eBay). When I plugged it in then Linux created a new audio device, /dev/dsp1 (/dev/dsp0 was the builtin), which I could use as the target of the audio software.

Now Linux no longer creates any /dev/dsp devices and I can't find anything else to identify the usb audio device. lsusb identifies it (0c76:1605) but nothing changes in /dev

Hi...

The reason (or my guess as to) why can be found in the first answer here...

Quote:

/dev/dsp is part of OSS, which hasn't been part of the Linux kernel in... a very long time. It has long been supplanted by ALSA, which uses different devices, different programs, and a different API.
I'm not sure what you would need to do in ALSA to get it to work, if that's possible in this case. You may need to find another device that is Linux compatible. :(

If you'd like to get a replacement, according to John here the model listed here works well in Ubuntu 12.04. Perhaps that would include other distributions. :)

Regards...

RandomTroll 01-19-2016 08:51 PM

You misunderstand. The old version of the kernel created a /dev/dsp because that's how it created software devices for hardware devices. The new version of the kernel does it differently. I want to know what it is. I cited the old example not because I want to do it that way but to explain how it used to work, just as background. I should have asked in kernel.

rokytnji 01-19-2016 09:11 PM

I guess

Code:

locate dsp
for

Quote:

The new version of the kernel does it differently. I want to know what it is.
won't help either?

http://www.linuxnix.com/find-sound-c...-in-linuxunix/

RandomTroll 01-19-2016 10:34 PM

I finally figured out how to build the modules necessary to make the device work. Files for it now show up in /dev/snd and /proc/asound; I can set its levels with alsamixer and configure it with alsactl. Unfortunately my system sends sounds only to the builtin device. The light on the device flashes when first it receives a sound. It works in Windoze.

How do I get my system to send it sound? Make it the default device? I usually use mplayer; I've tried sox and aplay.

RandomTroll 01-21-2016 11:36 AM

I haven't figured out how to make the usb-audio device the default or get the system to send it sounds (principally warning beeps) but I have figured out how to get mplayer to address it (-ao hw), though not other sound software. Either they're too old or I can't figure out their man pages.

Emerson 01-21-2016 11:38 AM

http://www.alsa-project.org/main/index.php/Asoundrc


All times are GMT -5. The time now is 08:37 PM.