ATI IXP - external amplifier option

OSS specific Solaris discussion (x86/SPARC)

Moderators: cesium, dev, kodachi, hannu

ATI IXP - external amplifier option

Postby Pietro_S » Mon Jun 25, 2007 7:44 pm

I have ATI IXP sound chip in ASUS (A6R) notebook.
When I try osstest I doesn't hear any sound, but after
plug in headphones or external speakers it's ok.

When I had linux with alsa on this machine, alsa had option
"External amplifier" by default ON, until it was turned off no sound
at all. How could I set this option in oss?

If you want any info, just tell I will post it.
Thanks in advance.
Pietro_S
New Member
 
Posts: 5
Joined: Mon Jun 25, 2007 5:08 pm

Re: ATI IXP - external amplifier option

Postby dev » Mon Jun 25, 2007 8:06 pm

Pietro_S wrote:I have ATI IXP sound chip in ASUS (A6R) notebook.
When I try osstest I doesn't hear any sound, but after
plug in headphones or external speakers it's ok.

When I had linux with alsa on this machine, alsa had option
"External amplifier" by default ON, until it was turned off no sound
at all. How could I set this option in oss?

If you want any info, just tell I will post it.
Thanks in advance.


Look at ac97_amplifier in /usr/lib/oss/conf/osscore.conf and set it to 1.

Now reinstall the drivers by running ossdetect (make sure you're logged in as root on a *CONSOLE SESSION*).


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

Postby Pietro_S » Tue Jun 26, 2007 9:31 am

Look at ac97_amplifier in /usr/lib/oss/conf/osscore.conf and set it to 1.


ac97_amplifier wasn't in that config file (nor in other files in same directory).
When I add it there and run ossdetect (from console), it's same as before.

Regards,
Petr Sobotka
Pietro_S
New Member
 
Posts: 5
Joined: Mon Jun 25, 2007 5:08 pm

Postby dev » Tue Jun 26, 2007 4:15 pm

Pietro_S wrote:
Look at ac97_amplifier in /usr/lib/oss/conf/osscore.conf and set it to 1.


ac97_amplifier wasn't in that config file (nor in other files in same directory).
When I add it there and run ossdetect (from console), it's same as before.

Regards,
Petr Sobotka



Can you plug in a pair of headphones to see if audio is perhaps coming out the headphone port?



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

Postby Pietro_S » Wed Jun 27, 2007 11:27 am

Yes, headphones works, also line-out works too.
But speakers in notebook don't work.

This is output from ossmix:

Selected mixer 0/
Known controls are:
vol <both>[:<rightvol>] (currently 75:75)
vol.rec ON|OFF (currently OFF)
pcm <both>[:<rightvol>] (currently 75:75)
speaker <monovol> (currently 0)
line <both>[:<rightvol>] (currently 32:32)
line.rec ON|OFF (currently ON)
mic <monovol> (currently 0)
mic.rec ON|OFF (currently OFF)
cd <both>[:<rightvol>] (currently 75:75)
cd.rec ON|OFF (currently OFF)
igain <both>[:<rightvol>] (currently 75:75)
aux1 <both>[:<rightvol>] (currently 32:32)
aux1.rec ON|OFF (currently OFF)
phone <both>[:<rightvol>] (currently 0:0)
phone.rec ON|OFF (currently OFF)
mono <monovol> (currently 75)
mono.rec ON|OFF (currently OFF)
video <both>[:<rightvol>] (currently 0:0)
video.rec ON|OFF (currently OFF)
rear <both>[:<rightvol>] (currently 75:75)
center <both>[:<rightvol>] (currently 75:75)
vmix0-src <Fast> (currently Fast)
vmix0-vol <monovol> (currently 25.0 dB)
vmix0-out <leftVU>:<rightVU>] (currently 141:142)
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 141:142)
vmix0-out.pcm5 <monovol> (currently 25.0 dB)
vmix0-out <leftVU>:<rightVU>] (currently 0:0)
vmix0-out.pcm6 <monovol> (currently 25.0 dB)
vmix0-out <leftVU>:<rightVU>] (currently 0:0)
vmix0-in <leftVU>:<rightVU>] (currently 0:0)
Pietro_S
New Member
 
Posts: 5
Joined: Mon Jun 25, 2007 5:08 pm

Postby Pietro_S » Sun Jul 01, 2007 2:49 pm

Didn't help at all ...
Pietro_S
New Member
 
Posts: 5
Joined: Mon Jun 25, 2007 5:08 pm

Postby dev » Sun Jul 01, 2007 6:55 pm

Print the output from cat /dev/sndstat - I'd like to see what is the AC97 device detected by OSS.
dev
Developer
 
Posts: 580
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Postby Pietro_S » Mon Jul 02, 2007 2:55 pm

Here is output from /dev/sndstat :

OSS 4.0 (build 1003/200706130337) (C) 4Front Technologies 1996-2007

**** UNREGISTERED VERSION ****

This OSS version will expire after: Dec 2007

Audio devices:
0: ATI IXP400 (DUPLEX)
Engine 1 opened INOUT by VMIX/0 @ 48000/48000 Hz Fragment: 2048/192000 (10.6 msec)
Engine 2 opened INOUT by xfce-mcs-manage/0 @ 48000/48000 Hz Fragment: Not started
1: ATI IXP400 (SPDIF out) (OUTPUT)

Mixers:
0: AC97 Mixer (0x41445378)

And here output from ossinfo:
Version info: OSS 4.0 (build 1003/200706130337) (0x00040002)
Platform: SunOS/i86pc 5.11 snv_65

Number of audio devices: 2
Number of audio engines: 7
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: atiaudio0 ATI IXP400

MIDI devices (/dev/midi*)

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

Audio devices
/dev/oss/atiaudio0/pcm0 ATI IXP400 (device index 0)
/dev/oss/atiaudio0/spdout ATI IXP400 (SPDIF out) (device index 1)
Pietro_S
New Member
 
Posts: 5
Joined: Mon Jun 25, 2007 5:08 pm


Return to Solaris

Who is online

Users browsing this forum: No registered users and 1 guest