Hi,

I can't seem to get any noise from my laptop's sound card.

It worked OK with previous builds (circa b55) but is currently broken
(b66).  I don't use audio apps much and have just noticed the problem
- I don't know when it stopped working.

I've installed the OSS drivers.

% ossinfo
Version info: OSS 4.0 (build 1003/200706130337) (0x00040002)
Platform: SunOS/i86pc 5.11 snv_66

Number of audio devices:        1
Number of audio engines:        6
Number of MIDI devices:         0
Number of mixer devices:        1


Device objects
 0: oss0 OSS core services
 1: ossusb0 USB audio/MIDI device
 2: vmix0 OSS transparent virtual support
 3: sadasupport0 SADA compatibility layer
 4: ich0 Intel ICH4 (24C5)

MIDI devices (/dev/midi*)

Mixer devices (/dev/mixer*)
 0: ICH AC97 Mixer (CS4202) (Mixer 0 of device object 4)

Audio devices
/dev/oss/ich0/pcm0      Intel ICH4 (24C5)  (device index 0)

% ossmix
Selected mixer 0/
Known controls are:
        vol <both/leftvol>[:<rightvol>] (currently 100:100)
        vol.rec ON|OFF (currently OFF)
        pcm <both/leftvol>[:<rightvol>] (currently 100:100)
        speaker <monovol> (currently 0)
        line <both/leftvol>[:<rightvol>] (currently 32:32)
        line.rec ON|OFF (currently ON)
        mic <monovol> (currently 0)
        mic.rec ON|OFF (currently OFF)
        cd <both/leftvol>[:<rightvol>] (currently 75:75)
        cd.rec ON|OFF (currently OFF)
        igain <both/leftvol>[:<rightvol>] (currently 75:75)
        aux1 <both/leftvol>[:<rightvol>] (currently 32:32)
        aux1.rec ON|OFF (currently OFF)
        phone <both/leftvol>[:<rightvol>] (currently 0:0)
        phone.rec ON|OFF (currently OFF)
        mono <monovol> (currently 75)
        mono.rec ON|OFF (currently OFF)
        video <both/leftvol>[:<rightvol>] (currently 0:0)
        video.rec ON|OFF (currently OFF)
        spdout.enable ON|OFF (currently OFF)
        spdout.adc/dac ON|OFF (currently OFF)
        spdout.pro <Consumer|Professional> (currently Consumer)
        spdout.audio <AUDIO|DATA> (currently AUDIO)
        spdout.copy ON|OFF (currently OFF)
        spdout.pre-emph ON|OFF (currently OFF)
        spdout.rate <48000|44100|32000> (currently 44100)
        spdout.vbit ON|OFF (currently OFF)
        vmix0-src <Fast|Low|Medium|High|High+|Production|OFF> (currently Fast)
        vmix0-vol <monovol> (currently 25.0 dB)
        vmix0-out <leftVU>:<rightVU>] (currently 133:133)
        vmix0-out.pcm2 <monovol> (currently 25.0 dB)
        vmix0-out <leftVU>:<rightVU>] (currently 133:133)
        vmix0-out.pcm3 <monovol> (currently 25.0 dB)
        vmix0-out <leftVU>:<rightVU>] (currently 0:0)
        vmix0-out.pcm4 <monovol> (currently 25.0 dB)
        vmix0-out <leftVU>:<rightVU>] (currently 0:0)
        vmix0-out.pcm5 <monovol> (currently 25.0 dB)
        vmix0-out <leftVU>:<rightVU>] (currently 0:0)
        vmix0-in <leftVU>:<rightVU>] (currently 0:0)

% osstest
Sound subsystem and version: OSS 4.0 (build 1003/200706130337) (0x00040002)
Platform: SunOS/i86pc 5.11 snv_66

*** Scanning sound adapter #-1 ***
/dev/oss/ich0/pcm0 (audio engine 0): Intel ICH4 (24C5)
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47961.00 Hz (-0.08%)>

*** All tests completed OK ***

[ produces no output ]

% /usr/bin/audioplay /usr/demo/SOUND/sounds/whistle.au

[ produces no output ]

% ls -l /dev/audio /dev/sound
lrwxrwxrwx   1 root     sys            7 Jun 17 18:00 /dev/audio -> sound/0

/dev/sound:
total 4
lrwxrwxrwx   1 root     sys           46 Jun 17 18:00 0 ->
../../devices/pseudo/sadasupport at 0:sound,audio
lrwxrwxrwx   1 root     sys           49 Jun 17 18:00 0ctl ->
../../devices/pseudo/sadasupport at 0:sound,audioctl

% prtconf -v | grep audio

[ produces no output ]

# /usr/X11/bin/scanpci -v

pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x8086 device 0x2560
 Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM
Controller/Host-Hub Interface
 CardVendor 0x144d card 0xc008 (Samsung Electronics Co Ltd, Card unknown)
  STATUS    0x2090  COMMAND 0x0006
  CLASS     0x06 0x00 0x00  REVISION 0x01
  BIST      0x00  HEADER 0x00  LATENCY 0x00  CACHE 0x00
  BASE0     0xe0000008  addr 0xe0000000  MEM PREFETCHABLE
  BYTE_0    0x01  BYTE_1  0x00  BYTE_2  0x00  BYTE_3  0x00

pci bus 0x0000 cardnum 0x02 function 0x00: vendor 0x8086 device 0x2562
 Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device
 CardVendor 0x144d card 0xc008 (Samsung Electronics Co Ltd, Card unknown)
  STATUS    0x0090  COMMAND 0x0007
  CLASS     0x03 0x00 0x00  REVISION 0x01
  BIST      0x00  HEADER 0x00  LATENCY 0x00  CACHE 0x00
  BASE0     0x88000008  addr 0x88000000  MEM PREFETCHABLE
  BASE1     0x80000000  addr 0x80000000  MEM
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x01  INT_LINE 0x0a

pci bus 0x0000 cardnum 0x1d function 0x00: vendor 0x8086 device 0x24c2
 Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1
 CardVendor 0x144d card 0xc008 (Samsung Electronics Co Ltd, Card unknown)
  STATUS    0x0280  COMMAND 0x0005
  CLASS     0x0c 0x03 0x00  REVISION 0x01
  BIST      0x00  HEADER 0x80  LATENCY 0x00  CACHE 0x00
  BASE4     0x00001801  addr 0x00001800  I/O
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x01  INT_LINE 0x0a

pci bus 0x0000 cardnum 0x1d function 0x01: vendor 0x8086 device 0x24c4
 Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2
 CardVendor 0x144d card 0xc008 (Samsung Electronics Co Ltd, Card unknown)
  STATUS    0x0280  COMMAND 0x0005
  CLASS     0x0c 0x03 0x00  REVISION 0x01
  BIST      0x00  HEADER 0x00  LATENCY 0x00  CACHE 0x00
  BASE4     0x00001821  addr 0x00001820  I/O
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x02  INT_LINE 0x0a

pci bus 0x0000 cardnum 0x1d function 0x02: vendor 0x8086 device 0x24c7
 Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3
 CardVendor 0x144d card 0xc008 (Samsung Electronics Co Ltd, Card unknown)
  STATUS    0x0280  COMMAND 0x0005
  CLASS     0x0c 0x03 0x00  REVISION 0x01
  BIST      0x00  HEADER 0x00  LATENCY 0x00  CACHE 0x00
  BASE4     0x00001841  addr 0x00001840  I/O
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x03  INT_LINE 0x05

pci bus 0x0000 cardnum 0x1d function 0x07: vendor 0x8086 device 0x24cd
 Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller
 CardVendor 0x144d card 0xc008 (Samsung Electronics Co Ltd, Card unknown)
  STATUS    0x0290  COMMAND 0x0006
  CLASS     0x0c 0x03 0x20  REVISION 0x01
  BIST      0x00  HEADER 0x00  LATENCY 0x00  CACHE 0x00
  BASE0     0xd0080000  addr 0xd0080000  MEM
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x04  INT_LINE 0x03

pci bus 0x0000 cardnum 0x1e function 0x00: vendor 0x8086 device 0x244e
 Intel Corporation 82801 PCI Bridge
  STATUS    0x8080  COMMAND 0x0007
  CLASS     0x06 0x04 0x00  REVISION 0x81
  HEADER    0x01  LATENCY 0x00
  PRIBUS    0x00  SECBUS 0x02  SUBBUS 0x03
  SECLT     0x20  SECSTATUS 0x2280
  IOBASE    0x3000  IOLIM 0x3fff
  NOPREFETCH_MEMBASE 0xd0100000  MEMLIM 0xd01fffff
  PREFETCH_MEMBASE   0xfff00000  MEMLIM 0x000fffff
  NO_FAST_B2B NO_SEC_BUS_RST NO_M_ABRT NO_VGA_EN ISA_EN NO_SERR_EN NO_PERR_EN

pci bus 0x0000 cardnum 0x1f function 0x00: vendor 0x8086 device 0x24c0
 Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge
  STATUS    0x0280  COMMAND 0x000f
  CLASS     0x06 0x01 0x00  REVISION 0x01
  BIST      0x00  HEADER 0x80  LATENCY 0x00  CACHE 0x00
  BYTE_0    0x01  BYTE_1  0x10  BYTE_2  0x00  BYTE_3  0x00

pci bus 0x0000 cardnum 0x1f function 0x01: vendor 0x8086 device 0x24cb
 Intel Corporation 82801DB (ICH4) IDE Controller
 CardVendor 0x144d card 0xc008 (Samsung Electronics Co Ltd, Card unknown)
  STATUS    0x0280  COMMAND 0x0007
  CLASS     0x01 0x01 0x8a  REVISION 0x01
  BIST      0x00  HEADER 0x00  LATENCY 0x00  CACHE 0x00
  BASE0     0x00000001  addr 0x00000000  I/O
  BASE1     0x00000001  addr 0x00000000  I/O
  BASE2     0x00000001  addr 0x00000000  I/O
  BASE3     0x00000001  addr 0x00000000  I/O
  BASE4     0x00001861  addr 0x00001860  I/O
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x01  INT_LINE 0xff
  BYTE_0    0x07  BYTE_1  0xa3  BYTE_2  0x03  BYTE_3  0xa3

pci bus 0x0000 cardnum 0x1f function 0x03: vendor 0x8086 device 0x24c3
 Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller
 CardVendor 0x144d card 0xc008 (Samsung Electronics Co Ltd, Card unknown)
  STATUS    0x0280  COMMAND 0x0001
  CLASS     0x0c 0x05 0x00  REVISION 0x01
  BIST      0x00  HEADER 0x00  LATENCY 0x00  CACHE 0x00
  BASE4     0x00001101  addr 0x00001100  I/O
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x02  INT_LINE 0x05
  BYTE_0    0x01  BYTE_1  0x00  BYTE_2  0x00  BYTE_3  0x00

pci bus 0x0000 cardnum 0x1f function 0x05: vendor 0x8086 device 0x24c5
 Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller
 CardVendor 0x144d card 0xc008 (Samsung Electronics Co Ltd, Card unknown)
  STATUS    0x0290  COMMAND 0x0007
  CLASS     0x04 0x01 0x00  REVISION 0x01
  BIST      0x00  HEADER 0x00  LATENCY 0x00  CACHE 0x00
  BASE0     0x00001c01  addr 0x00001c00  I/O
  BASE1     0x000018c1  addr 0x000018c0  I/O
  BASE2     0xd0080c00  addr 0xd0080c00  MEM
  BASE3     0xd0080800  addr 0xd0080800  MEM
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x02  INT_LINE 0x05
  BYTE_0    0x09  BYTE_1  0x01  BYTE_2  0x00  BYTE_3  0x00

pci bus 0x0000 cardnum 0x1f function 0x06: vendor 0x8086 device 0x24c6
 Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller
 CardVendor 0x144d card 0x2115 (Samsung Electronics Co Ltd, Card unknown)
  STATUS    0x0290  COMMAND 0x0005
  CLASS     0x07 0x03 0x00  REVISION 0x01
  BIST      0x00  HEADER 0x00  LATENCY 0x00  CACHE 0x00
  BASE0     0x00002401  addr 0x00002400  I/O
  BASE1     0x00002001  addr 0x00002000  I/O
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x02  INT_LINE 0x05

pci bus 0x0002 cardnum 0x03 function 0x00: vendor 0x1180 device 0x0475
 Ricoh Co Ltd RL5c475
  STATUS    0x0210  COMMAND 0x0007
  CLASS     0x06 0x07 0x00  REVISION 0x80
  BIST      0x00  HEADER 0x02  LATENCY 0x00  CACHE 0x00
  BASE0     0xd0101000  addr 0xd0101000  MEM
  BASE1     0x00030302020000dc  addr 0x00030302020000d0  MEM PREFETCHABLE 64BIT
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x01  INT_LINE 0x0a
  BYTE_0    0x4d  BYTE_1  0x14  BYTE_2  0x08  BYTE_3  0xc0

pci bus 0x0002 cardnum 0x08 function 0x00: vendor 0x8086 device 0x1039
 Intel Corporation 82801DB PRO/100 VE (LOM) Ethernet Controller
 CardVendor 0x144d card 0xc008 (Samsung Electronics Co Ltd, Card unknown)
  STATUS    0x0290  COMMAND 0x0007
  CLASS     0x02 0x00 0x00  REVISION 0x81
  BIST      0x00  HEADER 0x00  LATENCY 0x42  CACHE 0x08
  BASE0     0xd0100000  addr 0xd0100000  MEM
  BASE1     0x00003001  addr 0x00003000  I/O
  MAX_LAT   0x38  MIN_GNT 0x08  INT_PIN 0x01  INT_LINE 0x03

% grep 24c5 /etc/driver_aliases
ich "pci8086,24c5"

% mixerctl -v

Device /dev/audioctl:
  Name    = SUNW,oss
  Version = a
  Config  = onboard1

Audio mixer for /dev/audioctl is enabled
Sample Rate
  Play          48000
  Record        48000
Channels
  Play          2
  Record        2
Precision
  Play          16
  Record        16
Encoding
  Play          3 (linear)
  Record        3 (linear)
Gain
  Play          255
  Record        127
Balance
  Play          32
  Record        32
Port
  Play          0x00000005 (SPKR|LINE)
  Record        0x00000001 (MIC)
Avail Ports
  Play          0x00000005 (SPKR|LINE)
  Record        0x00000007 (MIC|LINE|CD)
Mod Ports
  Play          0x00000005 (SPKR|LINE)
  Record        0x00000007 (MIC|LINE|CD)
Samples
  Play          391753
  Record        0
Active
  Play          0
  Record        0
Pause
  Play          0
  Record        0
Error
  Play          0
  Record        0
EOF Count
  Play          0
Waiting
  Play          0
  Record        0
Open
  Play          0
  Record        0
HW Features             0x0000001d
  PLAY
  RECORD
  DUPLEX
  INPUT TO OUTPUT LOOPBACK
SW Features             0x00000001
  MIXER
SW Features Enabled     0x00000001
  MIXER


% /usr/sbin/prtconf -D

System Configuration:  Sun Microsystems  i86pc
Memory size: 247 Megabytes
System Peripherals (Software Nodes):

i86pc (driver name: rootnex)
    scsi_vhci, instance #0 (driver name: scsi_vhci)
    isa, instance #0 (driver name: isa)
        i8042, instance #0 (driver name: i8042)
            keyboard, instance #0 (driver name: kb8042)
            mouse, instance #0 (driver name: mouse8042)
        asy, instance #0 (driver name: asy)
        lp, instance #0 (driver name: ecpp)
    pci, instance #0 (driver name: pci)
        pci144d,c008, instance #0 (driver name: agptarget)
        display, instance #0 (driver name: i915)
        pci144d,c008, instance #0 (driver name: uhci)
        pci144d,c008, instance #1 (driver name: uhci)
        pci144d,c008, instance #2 (driver name: uhci)
        pci144d,c008, instance #0 (driver name: ehci)
        pci8086,244e, instance #0 (driver name: pci_pci)
            pci144d,c008, instance #0 (driver name: pcic)
                pcs, instance #0 (driver name: pcs)
            pci144d,c008, instance #0 (driver name: iprb)
        pci8086,24c0
        pci-ide, instance #0 (driver name: pci-ide)
            ide, instance #0 (driver name: ata)
                cmdk, instance #0 (driver name: cmdk)
            ide, instance #1 (driver name: ata)
                sd, instance #0 (driver name: sd)
        pci144d,c008
        pci144d,c008, instance #0 (driver name: ich)
        pci144d,2115
    iscsi, instance #0 (driver name: iscsi)
    pseudo, instance #0 (driver name: pseudo)
    options, instance #0 (driver name: options)
    agpgart, instance #0 (driver name: agpgart)
    xsvc, instance #0 (driver name: xsvc)
    used-resources
    cpus
        cpu, instance #0

The output from the "Sun Device Detection Tool" is here:

  http://www.s-mackie.demon.co.uk/tmp/SDDToolReport-0705061536.html

The volume is set to "100" via "ossmix".  I've tried adjusting the
volume with "sdtaudiocontrol" and "gnome-volume-control" but still
have no sound/audio output.

Am I missing something obvious?  Is there anything else to try?

The next idea/plan is a fresh install...


Thankyou,

Stuart.

-- 
Also posted to the 4-Front Support Forum.

Reply via email to