ATI AC97 under FreeBSD 5.3

OSS specific BSD discussion (FreeBSD/NetBSD/OpenBSD)

Moderators: cesium, dev, kodachi, hannu

ATI AC97 under FreeBSD 5.3

Postby Guest » Wed Mar 09, 2005 10:48 am

Hi there.

I have an Acer 1620, it has an ATI board with a Realtek onboard AC97 audio card what you guys refer to has the ATI AC97. I installed OSS in a dir that isn't in the PATH, hope that doesn't matter, ran soundconf and it detected automatically the audio card.

Then it asked me for a I/O port and an IRQ i don't know wich port to chose so i just chose randomly, and the IRQ i have 3 and 7 occupied with stuff mentioned in the BIOS and in the 11 there is a PCI device, wich i think it's the audio card, but since it shows occupied, i'm not sure if i should chose it or not.

I tried selecting lots of IRQ's and I/O ports and got no sound, i also read on some doc that APM and or PnP could mess things up so i recompiled the kernel without APM, and can't find a way to turn off PnP, my BIOS has limited amount of options. Also tried using the shortcuts on my keyboard to mute/unmute sound, increase decrease volume, but during the tests i never hear sound.

What i do get is an error message, MTU probing failed.

I'm going nuts over here, can someone please help me out?
Guest
 

Re: ATI AC97 under FreeBSD 5.3

Postby dev » Wed Mar 09, 2005 5:42 pm

Anonymous wrote:Hi there.

I have an Acer 1620, it has an ATI board with a Realtek onboard AC97 audio card what you guys refer to has the ATI AC97. I installed OSS in a dir that isn't in the PATH, hope that doesn't matter, ran soundconf and it detected automatically the audio card.

Then it asked me for a I/O port and an IRQ i don't know wich port to chose so i just chose randomly, and the IRQ i have 3 and 7 occupied with stuff mentioned in the BIOS and in the 11 there is a PCI device, wich i think it's the audio card, but since it shows occupied, i'm not sure if i should chose it or not.

I tried selecting lots of IRQ's and I/O ports and got no sound, i also read on some doc that APM and or PnP could mess things up so i recompiled the kernel without APM, and can't find a way to turn off PnP, my BIOS has limited amount of options. Also tried using the shortcuts on my keyboard to mute/unmute sound, increase decrease volume, but during the tests i never hear sound.

What i do get is an error message, MTU probing failed.

I'm going nuts over here, can someone please help me out?


You can disable the MIDI irq/io stuff by selecting Manual Configuration
and then highlight the MPU device and select disable.

As for audio, what does cat /dev/sndstat show for the AC97?


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

Postby Guest » Wed Mar 09, 2005 6:55 pm

Thank you for the response, here is the information you asked.

%cat sndstat |less
OSS/FreeBSD 3.99.2b (C) 4Front Technologies 1996-2004

License serial number: E00000008
**** UNREGISTERED VERSION ****

Drivers: ALL
License will expire after: 05/2005


*** Unregistered version ***

Build: 200503081356
Kernel: FreeBSD 5.3-RELEASE-p5 #9: Wed Mar 9 10:18:20 WET 2005
xor@xor:/usr/obj/usr/src/sys/XOR


Card config:
ATI IXP AC97 audio controller at 0xd8004400 irq 11
(MPU-401 (UART))

Audio devices:
0: ATI IXP (DUPLEX,GRC3)
1: ATI IXP (shadow) (DUPLEX,GRC3)
2: OSS Virtual Mixer v2.5 Playback CH #0 (GRC3)
3: OSS Virtual Mixer v2.5 Playback CH #1 (GRC3)
4: OSS Virtual Mixer v2.5 Playback CH #2 (GRC3)
5: OSS Virtual Mixer v2.5 Playback CH #3 (GRC3)
6: OSS Virtual Mixer v2.5 Playback CH #4 (GRC3)
7: OSS Virtual Mixer v2.5 Playback CH #5 (GRC3)
8: OSS Virtual Mixer v2.5 Playback CH #6 (GRC3)
9: OSS Virtual Mixer v2.5 Playback CH #7 (GRC3)

Synth devices:
0: OSS Virtual Synth v2.5

Midi devices:

Mixers:
0: AC97 Mixer (ALC655)
1: Virtual Mixer

History:
dsp0: pid 5451 cmd 'esd' OUT
dsp0: pid 5453 cmd 'esd' OUT
(END)
Guest
 

Postby dev » Wed Mar 09, 2005 7:09 pm

Anonymous wrote:Thank you for the response, here is the information you asked.

%cat sndstat |less
OSS/FreeBSD 3.99.2b (C) 4Front Technologies 1996-2004

License serial number: E00000008
**** UNREGISTERED VERSION ****

Drivers: ALL
License will expire after: 05/2005


*** Unregistered version ***

Build: 200503081356
Kernel: FreeBSD 5.3-RELEASE-p5 #9: Wed Mar 9 10:18:20 WET 2005
xor@xor:/usr/obj/usr/src/sys/XOR


Card config:
ATI IXP AC97 audio controller at 0xd8004400 irq 11
(MPU-401 (UART))

Audio devices:
0: ATI IXP (DUPLEX,GRC3)
1: ATI IXP (shadow) (DUPLEX,GRC3)
2: OSS Virtual Mixer v2.5 Playback CH #0 (GRC3)
3: OSS Virtual Mixer v2.5 Playback CH #1 (GRC3)
4: OSS Virtual Mixer v2.5 Playback CH #2 (GRC3)
5: OSS Virtual Mixer v2.5 Playback CH #3 (GRC3)
6: OSS Virtual Mixer v2.5 Playback CH #4 (GRC3)
7: OSS Virtual Mixer v2.5 Playback CH #5 (GRC3)
8: OSS Virtual Mixer v2.5 Playback CH #6 (GRC3)
9: OSS Virtual Mixer v2.5 Playback CH #7 (GRC3)

Synth devices:
0: OSS Virtual Synth v2.5

Midi devices:

Mixers:
0: AC97 Mixer (ALC655)
1: Virtual Mixer

History:
dsp0: pid 5451 cmd 'esd' OUT
dsp0: pid 5453 cmd 'esd' OUT
(END)



Did you run osstest and see if audio's coming out?. How about via
the headphone jacks?



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

Postby Guest » Wed Mar 09, 2005 7:43 pm

I didn't try using that particular application and i didn't try with the headphones, i did use the test inside soundconf, several times. So i'll give it a shot that way.

...

Same thing, i tried with osstest with and without headphones, allways trying to increase the sound and muting/unmuting with the shortcut keys, and no sound. I also tried setting the irq to the value mentioned in the sndstats, but was useless.
Guest
 

Postby dev » Wed Mar 09, 2005 9:56 pm

Anonymous wrote:I didn't try using that particular application and i didn't try with the headphones, i did use the test inside soundconf, several times. So i'll give it a shot that way.

...

Same thing, i tried with osstest with and without headphones, allways trying to increase the sound and muting/unmuting with the shortcut keys, and no sound. I also tried setting the irq to the value mentioned in the sndstats, but was useless.


Run ossxmix and play with some of the settings and run osstest to see if that works. Another idea - enable ac97_amplifier (using soundconf->ConfigurationOptions and set ac97_amplifier=1)

Since we don't have this laptop we're not sure what the problem is. OSS works great on our ASUS P4R800 ATI250 chipset desktop.


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


Return to BSD

Who is online

Users browsing this forum: Google [Bot] and 1 guest