Can't get sound working (don't worry, full of details) - BSD

This is a discussion on Can't get sound working (don't worry, full of details) - BSD ; Hi, I'm new to OpenBSD but I'd like to use it as my desktop. One of the two problems which don't let me do that is that I can't get any sound, :P. Well, I read the FAQs and here ...

+ Reply to Thread
Results 1 to 6 of 6

Thread: Can't get sound working (don't worry, full of details)

  1. Can't get sound working (don't worry, full of details)

    Hi, I'm new to OpenBSD but I'd like to use it as my desktop. One of the
    two problems which don't let me do that is that I can't get any sound,
    :P. Well, I read the FAQs and here is the deal:

    My motherboard is this:

    SY-P4VGM
    http://www.soyousa.com/products/proddesc.php?id=273



    My chip is supported (VT8233):

    http://www.openbsd.org/i386.html



    dmesg output related to my chip:

    auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x50: irq 12
    ac97: codec id 0x56494161 (VIA Technologies VT1612A)
    ac97: codec features headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D
    audio0 at auvia0



    Full dmesg output:

    OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
    cpu0: Intel(R) Celeron(R) CPU 2.50GHz ("GenuineIntel" 686-class) 2.50
    GHz
    cpu0:
    FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P GE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE 2,SS,HTT,TM,SBF,CNXT-ID
    real mem = 502837248 (491052K)
    avail mem = 451956736 (441364K)
    using 4278 buffers containing 25243648 bytes (24652K) of memory
    mainbus0 (root)
    bios0 at mainbus0: AT/286+(2e) BIOS, date 10/21/03, BIOS32 rev. 0 @
    0xfb240
    apm0 at bios0: Power Management spec V1.2
    apm0: AC on, battery charge unknown
    pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf44
    pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/144 (7 entries)
    pcibios0: PCI Exclusive IRQs: 5 11 12
    pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev
    0x00)
    pcibios0: PCI bus #1 is the last bus
    bios0: ROM list: 0xc0000/0xc000
    cpu0 at mainbus0
    pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
    pchb0 at pci0 dev 0 function 0 "VIA VT8751 PCI" rev 0x00
    ppb0 at pci0 dev 1 function 0 "VIA VT8633 AGP" rev 0x00
    pci1 at ppb0 bus 1
    vga1 at pci1 dev 0 function 0 "S3 ProSavage DDR" rev 0x00
    wsdisplay0 at vga1: console (80x25, vt100 emulation)
    wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
    vendor "Acer Labs", unknown product 0x5459 (class communications
    subclass modem, rev 0x00) at pci0 dev 9 function 0 not configured
    uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 11
    usb0 at uhci0: USB revision 1.0
    uhub0 at usb0
    uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
    uhub0: 2 ports with 2 removable, self powered
    uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 5
    usb1 at uhci1: USB revision 1.0
    uhub1 at usb1
    uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
    uhub1: 2 ports with 2 removable, self powered
    uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 12
    usb2 at uhci2: USB revision 1.0
    uhub2 at usb2
    uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
    uhub2: 2 ports with 2 removable, self powered
    ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 11
    ehci0: EHCI version 1.0
    ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
    usb3 at ehci0: USB revision 2.0
    uhub3 at usb3
    uhub3: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
    uhub3: single transaction translator
    uhub3: 6 ports with 6 removable, self powered
    pcib0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00
    pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133,
    channel 0 configured to compatibility, channel 1 configured to
    compatibility
    wd0 at pciide0 channel 0 drive 0:
    wd0: 16-sector PIO, LBA48, 39266MB, 80418240 sectors
    wd1 at pciide0 channel 0 drive 1:
    wd1: 16-sector PIO, LBA48, 19130MB, 39179952 sectors
    wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
    wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5
    atapiscsi0 at pciide0 channel 1 drive 0
    scsibus0 at atapiscsi0: 2 targets
    cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom
    removable
    cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
    auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x50: irq 12
    ac97: codec id 0x56494161 (VIA Technologies VT1612A)
    ac97: codec features headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D
    audio0 at auvia0
    vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x74: irq 11 address
    00:50:2c:a2:51:aa
    ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface
    ukphy0: OUI 0x004063, model 0x0032, rev. 8
    isa0 at pcib0
    isadma0 at isa0
    pckbc0 at isa0 port 0x60/5
    pckbd0 at pckbc0 (kbd slot)
    pckbc0: using irq 1 for kbd slot
    wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using
    wsdisplay0
    pcppi0 at isa0 port 0x61
    midi0 at pcppi0:
    sysbeep0 at pcppi0
    lpt0 at isa0 port 0x378/4 irq 7
    it0 at isa0 port 0x290/8: IT87
    npx0 at isa0 port 0xf0/16: using exception 16
    pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
    pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
    fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
    fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
    biomask ff65 netmask ff65 ttymask ffe7
    pctr: user-level cycle counter enabled
    wd0: no disk label
    dkcsum: wd0 matched BIOS disk 81
    dkcsum: wd1 matched BIOS disk 80
    root on wd1a
    rootdev=0x10 rrootdev=0x310 rawdev=0x312
    uhidev0 at uhub0 port 2 configuration 1 interface 0
    uhidev0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), rev
    1.10/3.00,addr 2, iclass 3/1
    ums0 at uhidev0: 3 buttons and Z dir.
    wsmouse0 at ums0 mux 0



    mixerctl -a output:

    outputs.master=207,207
    outputs.master.mute=off
    outputs.mono=255
    outputs.mono.mute=off
    outputs.mono.source=mixerout
    outputs.headphones=255,255
    outputs.headphones.mute=off
    outputs.bass=255
    outputs.treble=255
    inputs.speaker=255
    inputs.speaker.mute=off
    inputs.phone=191
    inputs.phone.mute=on
    inputs.mic=191
    inputs.mic.mute=on
    inputs.mic.preamp=off
    inputs.mic.source=mic0
    inputs.line=191,191
    inputs.line.mute=on
    inputs.cd=191,191
    inputs.cd.mute=off
    inputs.video=191,191
    inputs.video.mute=on
    inputs.aux=191,191
    inputs.aux.mute=on
    inputs.dac=191,191
    inputs.dac.mute=off
    record.source=mic
    record.volume=255,255
    record.volume.mute=off
    record.mic=0
    record.mic.mute=off
    outputs.loudness=off
    outputs.spatial=off
    outputs.spatial.center=0
    outputs.spatial.depth=0
    outputs.surround=255,255
    outputs.surround.mute=off
    outputs.center=255
    outputs.center.mute=off
    outputs.lfe=255
    outputs.lfe.mute=off





    I tried to configure the kernel with UKC, but I don't know too much so
    I can't use it well, :P.

    One last thing, I checked in my Windows that the sound is working in
    IRQ 22, but here, in OpenBSD, it's working on 12, maybe that's the
    problem?

    Well, sorry if I put extra data, but since I don't know what the answer
    is, I don't know what data should I put, :S

    Thx, good luck


  2. Re: Can't get sound working (don't worry, full of details)

    To my surprise, when I tried to close KWrite (where I wrote the
    previous post) I heard and alert!. Well, I checked and what I changed
    was:

    outputs.headphones.mute=off

    That works. The problem is, I'm not using headphones, :S

    And I get a little noise everytime I play sound.

    It's ok this?

    Thx, good luck


  3. Re: Can't get sound working (don't worry, full of details)

    On 2005-10-25, adelfino wrote:
    > outputs.headphones.mute=off
    >
    > That works. The problem is, I'm not using headphones, :S
    >
    > And I get a little noise everytime I play sound.
    >
    > It's ok this?


    One could easily be (mis-)lead to believe that you accedently plugged your
    speakers into the headphones output on your soundcard.


    May you be well,
    Bjorn S.

  4. Re: Can't get sound working (don't worry, full of details)

    Bjorn Sjoberg wrote:
    > One could easily be (mis-)lead to believe that you accedently plugged your
    > speakers into the headphones output on your soundcard.


    No, it isn't the case, hehe.

    But thx anyway,


  5. Re: Can't get sound working (don't worry, full of details)

    On 25 Oct 2005 15:01:55 -0700 in <1130277715.036286.73120@g49g2000cwa.googlegroups.c om> adelfino wrote:
    > Bjorn Sjoberg wrote:
    >> One could easily be (mis-)lead to believe that you accedently plugged your
    >> speakers into the headphones output on your soundcard.

    >
    > No, it isn't the case, hehe.
    >
    > But thx anyway,


    The ways that the wiring from the sound chip to the audio jacks
    can be screwed up boggles the mind (Hence some complaints in the Linux
    world of Alsa being too hard to setup).

    My rule of thumb is if it doesn't immediately work, assume
    the labels on the controls do not match reality and rule out
    mutes and volume of 0 before reporting a problem.

    That and make sure the wall wart for the speakers hasn't come unplugged :-).
    >



    --
    Chris Dukes
    Suspicion breeds confidence -- Brazil

  6. Re: Can't get sound working (don't worry, full of details)

    Chris Dukes wrote:
    > My rule of thumb is if it doesn't immediately work, assume
    > the labels on the controls do not match reality and rule out
    > mutes and volume of 0 before reporting a problem.


    I've tried that and I only hear sound if I unmute headphones, but I'm a
    2.1 sound system with speakers, not headphones, :S.

    Thx anyway,


+ Reply to Thread