Page 1 of 2
KolibriOS VIA AC97 driver
Posted: Fri Jan 22, 2010 8:21 am
by Asper
I have recently written a sound driver for VIA VT8235 chipset, and now I know that it also work on VT8237, but I want to make it work on other VIA chipsets. So can anybody here help to test it?
To test the driver you need:
1. Have a VIA AC'97 onboard sound.
2. Download the driver
http://board.kolibrios.org/download/file.php?id=1358.
3. Replace sound.obj by VT8235.obj in the "drivers" directory in KolibriOS image.
4. Rename VT8235.obj to sound.obj.
5. Boot KolibriOS on your real hardware.
6. Run "board" application on the "user" tab.
7. Try to start play any of mp3 or wav file.
8. Post here or on the KolibriOS forum
http://board.kolibrios.org/viewtopic.ph ... 041#p26041 what have appeared on the "board" and could you hear music or not. Also information about your sound card from "pcidev" application will be useful.
Thanks to everybody who can help.
Re: KolibriOS VIA AC97 driver
Posted: Fri Jan 22, 2010 9:20 am
by Andr3w
Hi,
do you really think that it is OK to send users to Russian-speaking forum? Maybe it is better if they write it here and you will collect the results?
Best regards,
-- Andrew
Re: KolibriOS VIA AC97 driver
Posted: Fri Jan 22, 2010 10:13 am
by Asper
Hi Andrew,
Users can choose between writing replies here or on KolibriOS forum. To download the driver there is even no need to go to the KolibriOS forum, just click the URL that I've written in the second point. Anyway I don't see any trouble with "Russian-speaking forum", we can use translators such as google to read forums in other languages. Software translators very often not correctly translates text, but you can understand the main idea. And you can write in English on the KolibriOS forum, most russia-speaking people uderstand it and the answer will be in English too.
Anybody can download driver from osdev now, if it seems more comfortable.
- VIA AC97.zip
- VIA audio driver
- (14.87 KiB) Downloaded 174 times
Re: KolibriOS VIA AC97 driver
Posted: Fri Jan 22, 2010 10:19 am
by Andr3w
Asper wrote:Users can choose between writing replies here or on KolibriOS forum. To download the driver there is even no need to go to the KolibriOS forum, just click the URL that I've written in the second point. Anyway I don't see any trouble with "Russian-speaking forum", we can use translators such as google to read forums in other languages. Software translators very often not correctly translates text, but you can understand the main idea. And you can write in English on the KolibriOS forum, most russia-speaking people uderstand it and the answer will be in English too.
It's OK, I just don't know if it is comfortable to those who don't speak Russian. I do, so it's OK for me.
Re: KolibriOS VIA AC97 driver
Posted: Fri Jan 22, 2010 10:23 am
by Asper
I see...
Re: KolibriOS VIA AC97 driver
Posted: Fri Jan 22, 2010 1:20 pm
by Dex
I did not know KolibriOS could play mp3, thats cool, i will check my test PC's to see if i can help with your tests.
Re: KolibriOS VIA AC97 driver
Posted: Sun Jan 24, 2010 1:08 pm
by Asper
Hi
Dex,
KolibriOS can play mp3, wav and xm music.
Serge made "infinity" sound system driver and drivers for
Intel,
Sis7012,
nForce,
nForce2,
nForce3,
nForce4 controllers in the September, 2006. You can listen music in VirtualBox using Intel audio driver.
Nable made a driver for
Sound Blaster, which work with "infinity", on 29th of May, 2008. Code for SB which was before that was deleted from the kernel. You can listen music in Qemu using SB driver.
tsdima made a driver for
Forte Media FM801 on 29th of December, 2009.
My driver for
VIA controllers was done on 21st of January, 2010.
Here is a large theme for sound
http://board.kolibrios.org/viewtopic.php?f=3&t=317.
P.S. I often read your forum and your "demo of the week" had inspired me to write a port of "firework" to KolibriOS. You can find it here
http://board.kolibrios.org/viewtopic.ph ... 01&start=0 and in the KolibriOS image.
Re: KolibriOS VIA AC97 driver
Posted: Sun Jan 24, 2010 2:18 pm
by Dex
Thanks for the info, give me a day or two and i will send you result of my tests.
PS: In the next release of DexOS, will be a Wap layer that converts KolibriOS calls, to DexOS, so it will be easy to run KolibriOS app's in DexOS (with in limits
).
Re: KolibriOS VIA AC97 driver
Posted: Sun Jan 24, 2010 2:54 pm
by Asper
Dex wrote:i will send you result of my tests.
I look forward your results.
Dex wrote:PS: In the next release of DexOS, will be a Wap layer that converts KolibriOS calls, to DexOS, so it will be easy to run KolibriOS app's in DexOS (with in limits ).
Cool! It will be very interesting to run KolibriOS applications in DexOS. Good luck!
Re: KolibriOS VIA AC97 driver
Posted: Sun Jan 24, 2010 2:56 pm
by Asper
Has anybody already tried the driver?
Re: KolibriOS VIA AC97 driver
Posted: Tue Nov 23, 2010 8:32 am
by Asper
I need somebody with VIA AC97 to test new version of the driver to make realization of DEV_GET_POS call of the new Infinity. Does anybody here has such an audio?
Re: KolibriOS VIA AC97 driver
Posted: Tue Nov 23, 2010 3:30 pm
by Yargh
I have two boards laying around that have a vt8235 chipset/ac'97, and if I have time and can get either of them working, I'll test it.
Re: KolibriOS VIA AC97 driver
Posted: Tue Nov 23, 2010 6:57 pm
by Yargh
After making the appropriate modifications (changing the sound driver), I attempted to boot it on one of the VT8235 mobo's, and it says it's loading then says "KERNEL MNT?" and halts.
EDIT 1: Apparently my floppy drive that I am using to write the image to the disk is acting strange. I'll see if I can find another floppy drive to test it with.
EDIT 2: Apparently both of the floppies I had been testing it with had at least 1 bad sector near the start. Currently the one I am using gets to the bootloader stage and it says it's loading the kernel but then gives an error about there being a bad sector on the floppy.
EDIT 3: It boots all right, however I am navigating using a keyboard since I do not know where a PS/2 mouse is, and it apparently does not support usb mice. To test the sound output, I tried having it load one from a CD. It detects the CD drive all right, and then using the media player I navigated to the CD drive, then Partition 1, and then it showed nothing in that folder, even though the CD works just fine in other OS's.
Re: KolibriOS VIA AC97 driver
Posted: Wed Nov 24, 2010 8:03 am
by Asper
Yargh
Thanks for your reply.
You also can boot Kolibri from CD, HDD or USB drives and change the driver after booting.
Yargh wrote:and then using the media player I navigated to the CD drive
What media player you have used? You don't need to open player yourself, just open
mp3 or
wav or
m3u file in a filemanager (i.e. kfar), it will automatically start
ac97snd player with the choisen song or playlist.
Here on the first image you see
ac97snd playing songs from the playlist.
Re: KolibriOS VIA AC97 driver
Posted: Sun Nov 28, 2010 1:13 am
by Yargh
I enabled PS/2 emulation for the mouse (in the bios) so I could use the mouse, and then opened a mp3 in a file manager, and it played just fine, and could be heard through the speaker output on the board.