Sound driver writing

Post here questions, problems and suggestions in English language
  • hermit
    Current sound system "Infinity" works only with AC97. The author of this system Serge and I think he can give more unwrapped answer to your question.
  • Hi, Mario

    I'm waiting for Serge's reply, but only one question:
    To be more exact, I also have an ESS1869F integrated soundcard. Should it work with KoOS SB driver?
    I would like to try the AC97snd mp3 player somehow till we don't develope the appropriate driver.
    Is there in the market a PCI-soundcard that's experienced to be working? I may get/buy one.
    Or only integrated AC97 chips supported that I unfortunately don't have now?
    Hermit loves ASM.
  • You can just try... To activate SB driver instead of default (AC97), one must copy /rd/1/drivers/sb.obj to /rd/1/drivers/sound.obj in the working system and try to play any .wav or .mp3 file; debug board (on "User" tab) will show what is going.
  • My amd sempron 2400+ running at 1659.96 according to cpuid, has ac97, but none of the kolibri drivers will access it. I'd love the sound to go, as am a songwriter, and could use a system like kolibri, that doesn't crash like windoze does. That should read ac97 on motherboard. I've also sb pci 128, card and that also won't go, I swapped sb16 for sound.obj which I understand is ac97 driver, but alas no success. My ac97 is using irq 0a, pcidev can see my ac97, too, it's a sad situation to find oneself in...any ideas, or should I try coding up a driver for this??
  • AC'97 is codec, please, find some tool for hardware detect, and tell us sound chip's name
  • pcidev.txt would be enough.
  • VenID=1106, DevID=3059, Bus#=00, Dev#=11, Fnc=05, Rev=50, Class=04,
    subclass / IRQ interface= 01, 00, 0a respectively, VIA Technologies.

    am on a different machine, and am a net newbie, how does one upload?
    copy paste? If so, would you like pcidev.txt?
  • PCI Version = 2.10; Last PCI Bus = 1
    User MMIO channel = 0F.F:F
    Number of PCI units = 0bh

    VenID DevID Bus# Dev# Fnc Rev Class Subclass/ IRQ Company Description
    Interface
    ----- ----- ---- ---- --- --- ----- --------- --- ------------------------------------------ --------------------------------
    1106 3205 00 00 00 00 06 00 00 00 VIA TECHNOLOGIES Bridge - CPU/PCI
    1106 b198 00 01 00 00 06 04 00 00 VIA TECHNOLOGIES Bridge - PCI/PCI
    1106 3038 00 10 00 80 0c 03 00 0b VIA TECHNOLOGIES Serial Bus - USB Universal HC
    1106 3038 00 10 01 80 0c 03 00 07 VIA TECHNOLOGIES Serial Bus - USB Universal HC
    1106 3038 00 10 02 80 0c 03 00 0a VIA TECHNOLOGIES Serial Bus - USB Universal HC
    1106 3104 00 10 03 82 0c 03 20 05 VIA TECHNOLOGIES Serial Bus - USB2 Enhanced HC
    1106 3177 00 11 00 00 06 01 00 00 VIA TECHNOLOGIES Bridge - PCI/ISA
    1106 0571 00 11 01 06 01 01 8a -- VIA TECHNOLOGIES Storage - IDE (prog. canals)
    1106 3059 00 11 05 50 04 01 00 0a VIA TECHNOLOGIES Multimedia - Audio
    1106 3065 00 12 00 74 02 00 00 0b VIA TECHNOLOGIES Network - Ethernet
    1106 7205 01 00 00 01 03 00 00 0b VIA TECHNOLOGIES Display - VGA-compatible c.
  • GMac wrote:1106 3059 00 11 05 50 04 01 00 0a VIA TECHNOLOGIES Multimedia - Audio
    I have 1106:3059 AC97 audio on one of my machines, and it's working fine. How did you test the audio to conclude that it's not working? This is what I see on my debug BOARD:

    Code: Select all

    audio stream rate 44100 channels 2 format 1
    Detecting hardware...
    Loading VT823X
    detect hardware...
    VIA
    VT8233
    PCI command     00000001
    PCI status      00000210
    controller io base   0000F001
    global control  000000C8
    global status   00000001
    cold reset
    global control  80008DCC
    global status   00000001
    reset complete
    VIA Technologies
    VIA1612A
    create primary buffer ...done
    If you just run the latest night build without changing it, then a driver selector called sound.obj will try to detect your audio card, and load the correct driver VT823X. sound.obj was a driver in the past, but now our developers improved it and it's an automatic driver selector.
  • dossound running in freedos 0.84 beta says this:
    vendor 1106(VIA), device : 3059 NAMBAR: 0000 IRQ 10
    Codec ID: 414C47 60
    dossound driver loaded at int 0x64

    I had my speakers hooked up, and no sound, also when I click on a video
    file, the vid app comes to screen, but hangs, cos i suspect no sound.
    I just downloaded latest night build, so will have another crack, ta for your input. I'll get back to you on this,
  • GMac wrote:I had my speakers hooked up, and no sound, also when I click on a video
    file, the vid app comes to screen, but hangs, cos i suspect no sound.
    I just downloaded latest night build, so will have another crack, ta for your input. I'll get back to you on this,
    Run BOARD application before running anything that requires sound. Then run something that requires sound (like video or audio) and post here the output of boardlog.txt file that will be created in /rd/1/ folder.
  • I'm aware [correct me if I'm wrong] that PCI bus maps through ISA bus, and
    in freedos, I don't use dossound, just autoexec.bat. I type in a=220 i=5 d=1
    h=5 t6, and mpxplay.exe runs fine, and so does qv.exe, but when I use dossound.com mpxplay just hangs. This chip will also go with i=0a or i=10.
    I have the sb16 sdk by the way. as I have isa sb8, sb16, awe32 cards. Just no machine with isa slots, as they've not been available in nz for near 10 years.

    O.K. ta, will set about booting up with new img, and use your suggestions. It's great conversing with you.
  • Please, try play mp3 file by clicking on it. If your PC isn't playing it or hangs, try minimp3: download/file.php?id=3899
    launch it from run as:
    /rd/1/minimp3 "/full/path/to/file.mp3"
  • running sweet as a nut, thanks. took yogev_ezras' advice, [latest build] copied lib & drivers to 7.0.0.0+ and all sweet, video and sound both up and running.
    no sound on 3.2gb intel / ac97 tho, but I'll post pcidev.txt at a later date.
  • Who is online

    Users browsing this forum: No registered users and 11 guests