LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-19-2016, 07:03 PM   #1
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,963

Rep: Reputation: 271Reputation: 271Reputation: 271
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

Last edited by RandomTroll; 01-19-2016 at 08:48 PM.
 
Old 01-19-2016, 08:09 PM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by RandomTroll View Post
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...

Last edited by ardvark71; 01-19-2016 at 08:37 PM. Reason: Correction/Added information.
 
Old 01-19-2016, 08:51 PM   #3
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,963

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
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.
 
Old 01-19-2016, 09:11 PM   #4
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,112
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
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/

Last edited by rokytnji; 01-19-2016 at 09:21 PM.
 
Old 01-19-2016, 10:34 PM   #5
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,963

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
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.
 
Old 01-21-2016, 11:36 AM   #6
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,963

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
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.
 
Old 01-21-2016, 11:38 AM   #7
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i find what hardware i have?? coreyhandler Linux - Newbie 6 06-26-2009 04:31 PM
Sound problems (alsaconf cannot find sound modules.) vmlinuz.gz Linux - Newbie 8 11-12-2008 03:36 AM
internet hardware causing problem with sound hardware anindyanuri Linux - Networking 0 02-07-2006 08:50 AM
Hardware problem I can't find. space_invader64 Linux - General 1 01-05-2006 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration