Sponsored Content
Operating Systems Solaris Solaris 11 no sound despite finding hardware Post 302970593 by wisecracker on Friday 8th of April 2016 01:43:29 PM
Old 04-08-2016
OSS and PulseAudio give /dev/dsp as a device.

I did some checking and it looks like OSS 4x is already installed but I could be wrong.

From that POV there SHOULD be a device /dev/dsp available...

See if it exists ls /dev/dsp to check.

If it does try this:-

cat /dev/urandom > /dev/dsp

OR

cat /dev/random > /dev/dsp

(Ctrl-C to stop it.)

Are you using your Solaris in Terminal, Console or GUI, (Gnome?), mode?

EDIT:

Quote:
Which showed my /tmp/sox.log totally barren.
It might give a result somethng like this:-
Code:
cat /tmp/sox.log
/Users/barrywalker/sox-14.4.2/sox WARN rate: rate clipped 3330 samples; decrease volume?
/Users/barrywalker/sox-14.4.2/sox WARN sox: `coreaudio' output clipped 3292 samples; decrease volume?

This is a warning only and only comes on _input_ or _output_ overload.

As you have an empty log then it suggests to me that you either have an external input selected.
The output level is fixed at OFF.
The input level is switched OFF.

If you remove the '-q' from the sox command and run you should see something like this:-
Code:
cat /tmp/sox.log

/tmp/noise.raw:

 File Size: 65.5k     Bit Rate: 64.0k
  Encoding: Unsigned PCM  
  Channels: 1 @ 8-bit    
Samplerate: 8000Hz       
Replaygain: off         
  Duration: 00:00:08.19  

In:25.0% 00:00:02.05 [00:00:06.14] Out:88.2k [!=====|=====!] Hd:0.0 Clip:6.50k
/Users/barrywalker/sox-14.4.2/sox WARN rate: rate clipped 3217 samples; decrease volume?
/Users/barrywalker/sox-14.4.2/sox WARN sox: `coreaudio' output clipped 3286 samples; decrease volume?
Done.

If you see the !=====|=====! then you have output but the volume is OFF.
If you see the ! | ! then you may or may not have output, but the input source is possibly wrong or OFF.

Last edited by wisecracker; 04-08-2016 at 03:39 PM.. Reason: See above.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

finding hardware settings

Is there a unix command to find out what type of graphics card you have installed and to see other hardware settings? Any help would be appreciated. I'm using Solaris 7. :D Thanks, NH (7 Replies)
Discussion started by: nattie_h
7 Replies

2. Solaris

Sound control in Solaris 2.9

Hi, Gurus ! I need to find out how I can control the sound in UNIX. I have got a pair of USB speakers which do not have any volume controls. Is there any tool in Solaris 2.9 to control the volume ? Thanks D :eek: (0 Replies)
Discussion started by: Deicide5997
0 Replies

3. UNIX for Advanced & Expert Users

Migrating Solaris 9 to different hardware

Hi, I am new to this forum and hope someone can help. Does anyone know how to restore a Solaris 9 backup tape from server A to a completely different server B hardware. Both boxes are sun 64bit. Your help is much appreciated. Thank you Jan. (5 Replies)
Discussion started by: snerta
5 Replies

4. Solaris

Solaris Hardware and ROHS

I'm trying to determine the End of Service Life for some of our Solaris servers, and I'm not sure if our servers are ROHS compliant. Is there a command to determine if the server is ROHS? If not, is there somewhere on the chasis where I can find this information? (2 Replies)
Discussion started by: dangral
2 Replies

5. Solaris

regarding sun solaris hardware

hi :), i am new to this forum and i am in need of some help. one of my friend i having a Sun Ultra 2 UPA/Sbus (UltraSPARC-II 296Mhz) 640 MB ram. i am not sure if that configuration will be helpful to try out some sysadmin commands. this machine has a 21-inch monster monitor, which i think... (5 Replies)
Discussion started by: sudhiroracle
5 Replies

6. UNIX for Advanced & Expert Users

solaris 9 hardware mulfunction

Hello, Im working on solaris 9 and I need to write script which monitoring several hardware componenets for any failures such as memory , Disks , power supply etc. I using prtdiag to extract this info. What should I check in the output for : Memory (Is the block of "Memory Module Groups"... (1 Reply)
Discussion started by: Alalush
1 Replies

7. UNIX for Dummies Questions & Answers

finding hardware config - HP-UX

HP-UX B.11.23 U ia64 model: HP RX7640/4 What commands can I issue to find out quantity/type of memory and CPUs? I know what I get from Glance but want to know if there are OS commands to get same or additional information. Thanks. Lisa (4 Replies)
Discussion started by: LisaS
4 Replies

8. Solaris

Sound not working on Solaris 10 running on Sun Virtual Box

Hello Friends, I have installed Solaris 10 on on Sun Virtual Box. I am able to browse internet on solaris 10 thru firefox, however I am not getting sound, there is cross on the tray icon of sound. Please help with this !! Regards, Sahil (3 Replies)
Discussion started by: sahilsardana
3 Replies

9. Hardware

No sound device in Solaris 11 running in Parallels (MacBook Pro)

I'm new to Solaris. I was able to installed Solaris 11 running GNOME. I tried to detect sound/audio but the message given that "No volume control GStreamer plugins and/or devices found". There is no dev/audio but there are audio drivers such as gstreamer installed when I checked using Solaris... (0 Replies)
Discussion started by: Abang Annuar
0 Replies

10. UNIX for Advanced & Expert Users

Finding the hardware model name remotely

First, forgive me if this is a stupid questions that I should have asked in the non-expert forum. It seems like a hard questions to me. Is there a way to find the hardware model name from the command line on UNIX machines in general? I want to find out what kind of machines are running at a... (5 Replies)
Discussion started by: Pug
5 Replies
play(1) 						      General Commands Manual							   play(1)

NAME
play - play any sound file to audio device rec - record audio to any sound file format SYNOPSIS
play [fopts] infile [effect] rec [fopts] outfile [effect] DESCRIPTION
This manual page briefly documents the play and rec commands. play and rec are programs that allow you to play and record different types of sound files from the command line. They are front ends to the more general sox(1) package. Normally, the play command will automatically detect the type and other parameters of the soundfile. If it can't do so, the parameters can be changed through options. OPTIONS
A summary of common options are included below. For a complete description of options and their values, see the sox(1) man page. -c [channels], --channels=[channels] Define the number of channels in the file. -d [device], --device=[device] Specify a different device to play the sound file to. -f [format], --format=[format] Specify bit format of the sample. One of s, u, U, A, a, or g. -r [rate], --rate=[rate] Specify the sample rate of the audio data (samples per second). -s [size], --size=[size] Specify the width of each sample. One of b, w, l, f, d, or D. -t [type], --type=[type] Specify audio file format to use. Useful if it can not be automatically determined. -v [volume], --volume=[volume] Change the audio volume -x , --xinu Reverse the byte order of the sample (only works with 16 and 32-bit data). -h, --help Show summary of options. --version Show version of play/rec. Description of effects are described in the sox(1) man page. SEE ALSO
sox(1) soxexam(1) AUTHOR
This manual page was written by Guenter Geiger <geiger@iem.mhsg.ac.at>, for the Debian GNU/Linux system. Updates by Anonymous. December 11, 2001 play(1)
All times are GMT -4. The time now is 01:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy