hdaudio problems with snv_47

OSS specific Solaris discussion (x86/SPARC)

Moderators: cesium, dev, kodachi, hannu

hdaudio problems with snv_47

Postby Elektronkind » Mon Sep 25, 2006 1:45 am

I tried for the first time to get OSS installed on my system, which is a home-built machine based around the nForce 430 chipset. This has a partiuclar Analog Devices sound interface in it. osstest produced no sound.

The OSS drivers, including hdaudio, load but no audio is able to be played, and there are some curious messages in syslog:

Code: Select all
Sep 24 21:23:53 helium unix: [ID 954099 kern.info] NOTICE: IRQ20 is being shared by drivers with different interrupt levels.
Sep 24 21:23:53 helium This may result in reduced system performance.
Sep 24 21:23:53 helium hdaudio: [ID 466379 kern.warning] WARNING: green1 jack is plugged in
Sep 24 21:23:53 helium hdaudio: [ID 466379 kern.warning] WARNING: green2 jack is plugged in
Sep 24 21:23:53 helium hdaudio: [ID 466379 kern.warning] WARNING: blue1 jack is plugged in
Sep 24 21:23:53 helium hdaudio: [ID 466379 kern.warning] WARNING: pink1 jack is plugged in
Sep 24 21:23:53 helium hdaudio: [ID 466379 kern.warning] WARNING: pink2 jack is plugged in
Sep 24 21:23:53 helium hdaudio: [ID 466379 kern.warning] WARNING: blue2 jack is plugged in
Sep 24 21:23:53 helium hdaudio: [ID 466379 kern.warning] WARNING: aux jack is plugged in
Sep 24 21:23:53 helium hdaudio: [ID 343299 kern.warning] WARNING: Cannot locate the mixer extension
Sep 24 21:23:53 helium npe: [ID 236367 kern.info] PCI Express-device: pci10de,cb84@10,1, hdaudio0
Sep 24 21:23:53 helium genunix: [ID 936769 kern.info] hdaudio0 is /pci@0,0/pci10de,cb84@10,1


The odd thing is that only one of the green jacks (green1 I suppose) is actually plugged in. None of the others are, contrary to what the driver is reporting in the above messages. There is also no analog audio cable connection from the CDROM drive to the socket on the motherboard, so there is truly only one external connection to the sound circutry.

Here's a list of loaded OSS modules:

Code: Select all
[daleg@helium]~>modinfo | grep OSS
152 fffffffff5f8f000   4008 214   1  ossaudios (OSS 4.0rc2 (build 172/200609212)
153 fffffffff6036000  960e8 209   1  osscore (OSS/Solaris 4.0rc2 (build 172/2)
160 fffffffff60a1000  14500 210   1  hdaudio (OSS 4.0rc2 (build 172/200609212)


And some ossmix output:

Code: Select all
[daleg@helium]~>ossmix -S
Version info: OSS 4.0rc2 (build 172/200609212353) (0x00040000)
Options:

Number of audio devices:        5
Number of synth devices:        0
Number of MIDI devices:         0
Number of timer devices:        0
Number of mixer devices:        1

Opened audio device(s):         #0


Code: Select all


[daleg@helium]~>ossmix -D
0:
Device root '' /
1: ******* Extension entries ********
2: Group: 'connector', parent=0
3: Group: 'green1', parent=2


Code: Select all
[daleg@helium]~>ossinfo -v
Version info: OSS 4.0rc2 (build 172/200609212353) (0x00040000)

Number of audio devices:        5
Number of MIDI devices:         0
Number of mixer devices:        1


Device objects
0: ossaudios0 SADA compatibility layer
1: hdaudio0 nVidia nForce4 High Definition Audio
2: oss0 OSS core services

MIDI devices (/dev/midi*)

Mixer devices (/dev/mixer*)
0: nVidia nForce4 High Definition A (Mixer 0 of device object 1)
    Device file /dev/oss/hdaudio0/mix0, Legacy device /dev/mixer0
    Priority: 10
    Caps:

Audio devices (/dev/dsp*)
0: nVidia nForce4 High Definition Audio play-front output (audio port 0 of device object 1)
    Device file /dev/oss/hdaudio0/pcm0, Legacy device /dev/dsp0
    Caps: TRIGGER MMAP
    Modes: OUTPUT , Busy (OUT) label 'mixer_applet2'
1: nVidia nForce4 High Definition Audio play-side output (audio port 1 of device object 1)
    Device file /dev/oss/hdaudio0/pcm1, Legacy device /dev/dsp1
    Caps: TRIGGER MMAP
    Modes: OUTPUT , Available for use
2: nVidia nForce4 High Definition Audio play-center/LFE output (audio port 2 of device object 1)
    Device file /dev/oss/hdaudio0/pcm2, Legacy device /dev/dsp2
    Caps: TRIGGER MMAP
    Modes: OUTPUT , Available for use
3: nVidia nForce4 High Definition Audio spdif output (audio port 3 of device object 1)
    Device file /dev/oss/hdaudio0/pcm3, Legacy device /dev/dsp3
    Caps: TRIGGER MMAP
    Modes: OUTPUT , Available for use
4: nVidia nForce4 High Definition Audio record input (audio port 4 of device object 1)
    Device file /dev/oss/hdaudio0/pcm4, Legacy device /dev/dsp4
    Caps: TRIGGER MMAP
    Modes: INPUT  , Available for use


Thanks for any help!

/dale
Elektronkind
New Member
 
Posts: 1
Joined: Mon Sep 25, 2006 1:29 am

Re: hdaudio problems with snv_47

Postby dev » Mon Sep 25, 2006 7:33 pm

Elektronkind wrote:I tried for the first time to get OSS installed on my system, which is a home-built machine based around the nForce 430 chipset. This has a partiuclar Analog Devices sound interface in it. osstest produced no sound.

The OSS drivers, including hdaudio, load but no audio is able to be played, and there are some curious messages in syslog:

Code: Select all
Sep 24 21:23:53 helium unix: [ID 954099 kern.info] NOTICE: IRQ20 is being shared by drivers with different interrupt levels.
Sep 24 21:23:53 helium This may result in reduced system performance.
Sep 24 21:23:53 helium hdaudio: [ID 466379 kern.warning] WARNING: green1 jack is plugged in
Sep 24 21:23:53 helium hdaudio: [ID 466379 kern.warning] WARNING: green2 jack is plugged in
Sep 24 21:23:53 helium hdaudio: [ID 466379 kern.warning] WARNING: blue1 jack is plugged in
Sep 24 21:23:53 helium hdaudio: [ID 466379 kern.warning] WARNING: pink1 jack is plugged in
Sep 24 21:23:53 helium hdaudio: [ID 466379 kern.warning] WARNING: pink2 jack is plugged in
Sep 24 21:23:53 helium hdaudio: [ID 466379 kern.warning] WARNING: blue2 jack is plugged in
Sep 24 21:23:53 helium hdaudio: [ID 466379 kern.warning] WARNING: aux jack is plugged in
Sep 24 21:23:53 helium hdaudio: [ID 343299 kern.warning] WARNING: Cannot locate the mixer extension
Sep 24 21:23:53 helium npe: [ID 236367 kern.info] PCI Express-device: pci10de,cb84@10,1, hdaudio0
Sep 24 21:23:53 helium genunix: [ID 936769 kern.info] hdaudio0 is /pci@0,0/pci10de,cb84@10,1


The odd thing is that only one of the green jacks (green1 I suppose) is actually plugged in. None of the others are, contrary to what the driver is reporting in the above messages. There is also no analog audio cable connection from the CDROM drive to the socket on the motherboard, so there is truly only one external connection to the sound circutry.

Here's a list of loaded OSS modules:

Code: Select all
[daleg@helium]~>modinfo | grep OSS
152 fffffffff5f8f000   4008 214   1  ossaudios (OSS 4.0rc2 (build 172/200609212)
153 fffffffff6036000  960e8 209   1  osscore (OSS/Solaris 4.0rc2 (build 172/2)
160 fffffffff60a1000  14500 210   1  hdaudio (OSS 4.0rc2 (build 172/200609212)


And some ossmix output:

Code: Select all
[daleg@helium]~>ossmix -S
Version info: OSS 4.0rc2 (build 172/200609212353) (0x00040000)
Options:

Number of audio devices:        5
Number of synth devices:        0
Number of MIDI devices:         0
Number of timer devices:        0
Number of mixer devices:        1

Opened audio device(s):         #0


Code: Select all


[daleg@helium]~>ossmix -D
0:
Device root '' /
1: ******* Extension entries ********
2: Group: 'connector', parent=0
3: Group: 'green1', parent=2


Code: Select all
[daleg@helium]~>ossinfo -v
Version info: OSS 4.0rc2 (build 172/200609212353) (0x00040000)

Number of audio devices:        5
Number of MIDI devices:         0
Number of mixer devices:        1


Device objects
0: ossaudios0 SADA compatibility layer
1: hdaudio0 nVidia nForce4 High Definition Audio
2: oss0 OSS core services

MIDI devices (/dev/midi*)

Mixer devices (/dev/mixer*)
0: nVidia nForce4 High Definition A (Mixer 0 of device object 1)
    Device file /dev/oss/hdaudio0/mix0, Legacy device /dev/mixer0
    Priority: 10
    Caps:

Audio devices (/dev/dsp*)
0: nVidia nForce4 High Definition Audio play-front output (audio port 0 of device object 1)
    Device file /dev/oss/hdaudio0/pcm0, Legacy device /dev/dsp0
    Caps: TRIGGER MMAP
    Modes: OUTPUT , Busy (OUT) label 'mixer_applet2'
1: nVidia nForce4 High Definition Audio play-side output (audio port 1 of device object 1)
    Device file /dev/oss/hdaudio0/pcm1, Legacy device /dev/dsp1
    Caps: TRIGGER MMAP
    Modes: OUTPUT , Available for use
2: nVidia nForce4 High Definition Audio play-center/LFE output (audio port 2 of device object 1)
    Device file /dev/oss/hdaudio0/pcm2, Legacy device /dev/dsp2
    Caps: TRIGGER MMAP
    Modes: OUTPUT , Available for use
3: nVidia nForce4 High Definition Audio spdif output (audio port 3 of device object 1)
    Device file /dev/oss/hdaudio0/pcm3, Legacy device /dev/dsp3
    Caps: TRIGGER MMAP
    Modes: OUTPUT , Available for use
4: nVidia nForce4 High Definition Audio record input (audio port 4 of device object 1)
    Device file /dev/oss/hdaudio0/pcm4, Legacy device /dev/dsp4
    Caps: TRIGGER MMAP
    Modes: INPUT  , Available for use


Thanks for any help!

/dale


Hi,

You need to log out from JDS and then run osstest from the console mode. In JDS the mixer app from JDS's audio manager uses the audio device so osstest cannot test that devide.


regards
Dev Mazumdar
dev
Developer
 
Posts: 577
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA


Return to Solaris

Who is online

Users browsing this forum: No registered users and 1 guest