FreeBSD 6.2 Stable/Audigy SE - All looks good but no sound

OSS specific BSD discussion (FreeBSD/NetBSD/OpenBSD)

Moderators: cesium, dev, kodachi, hannu

FreeBSD 6.2 Stable/Audigy SE - All looks good but no sound

Postby cgull » Sat Sep 15, 2007 10:26 pm

osstest does not produce any sound :( Trouble shooting for 4 hours & no luck. Hope this is something minor like mixer setting. Thx in advance ... Here are my outputs...

Code: Select all
dome# dmesg
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #9: Sat Sep 15 15:37:51 EDT 2007
    root@dome.home.com:/usr/obj/usr/src/sys/DOME
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (1999.79-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
  Features=0xbfebfbff<FPU>
  Features2=0x4400<CNTX-ID,<b14>>
real memory  = 1878917120 (1791 MB)
avail memory = 1828315136 (1743 MB)
ACPI APIC Table: <IBM>
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version> irqs 0-15 on motherboard
ioapic1 <Version> irqs 16-31 on motherboard
ioapic2 <Version> irqs 32-47 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <IBM> on motherboard
acpi0: Power Button (fixed)
unknown: I/O range not supported
unknown: I/O range not supported
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <32> port 0x40c-0x40f on acpi0
cpu0: <ACPI> on acpi0
pcib0: <ACPI> on acpi0
pci0: <ACPI> on pcib0
pci0: <display> at device 3.0 (no driver attached)
isab0: <PCI> at device 15.0 on pci0
isa0: <ISA> on isab0
atapci0: <ServerWorks> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x3400-0x340f at device 15.1 on pci0
ata0: <ATA> on atapci0
ata1: <ATA> on atapci0
ohci0: <OHCI> mem 0xeddff000-0xeddfffff irq 10 at device 15.2 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <OHCI> on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pcib1: <ACPI> on acpi0
pci1: <ACPI> on pcib1
pci1: <multimedia> at device 2.0 (no driver attached)
pcib2: <ACPI> on acpi0
pci2: <ACPI> on pcib2
bge0: <Broadcom> mem 0xed4f0000-0xed4fffff irq 22 at device 4.0 on pci2
miibus0: <MII> on bge0
brgphy0: <BCM5703> on miibus0
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge1: Ethernet address: 00:02:55:b7:9a:d8
acpi_button0: <Power> on acpi0
fdc0: <floppy> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
sio0: <16550A> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A, console
pmtimer0 on isa0
orm0: <ISA> at iomem 0xc0000-0xc7fff on isa0
ppc0: parallel port not found.
sc0: <System> at flags 0x100 on isa0
sc0: VGA <16>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ucom0: FTDI USB <-> Serial, rev 1.10/2.00, addr 2
Timecounter "TSC" frequency 1999792736 Hz quality 800
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default
ad0: 38162MB <IC35L060AVV207> at ata0-master UDMA100
acd0: CDROM <LG> at ata0-slave UDMA33
ad2: 114473MB <WDC> at ata1-master UDMA100
Trying to mount root from ufs:/dev/ad0s1a
audigyls0: <AudigyLS> port 0x5000-0x501f irq 18 at device 2.0 on pci1

dome# ossinfo
Version info: OSS 4.0 (b070831/200709152030) (0x00040002) CDDL
Platform: FreeBSD/i386 6.2-RELEASE FreeBSD 6.2-RELEASE #9: Sat Sep 15 15:37:51 EDT 2007     root@dome.home.com:/usr/obj/usr/src/sys/DOME (dome.home.com)

Number of audio devices:        9
Number of audio engines:        9
Number of MIDI devices:         0
Number of mixer devices:        1


Device objects
0: audigyls0 AudigyLS
1: vmix0 OSS transparent virtual support

MIDI devices (/dev/midi*)

Mixer devices (/dev/mixer*)
0: AudigyLS Mixer (Mixer 0 of device object 0)

Audio devices
/dev/oss/audigyls0/pcm0 AudigyLS front  (device index 0)
/dev/oss/audigyls0/pcm1 AudigyLS (shadow)  (device index 1)
/dev/oss/audigyls0/pcm2 AudigyLS center/lfe  (device index 2)
/dev/oss/audigyls0/pcm3 AudigyLS surround  (device index 3)
/dev/oss/audigyls0/pcm4 AudigyLS 5.1 output  (device index 4)
/dev/oss/vmix0/pcm0     AudigyLS front (VMIX0)  (device index 5)
/dev/oss/vmix0/pcm1     AudigyLS front (VMIX0)  (device index 6)
/dev/oss/vmix0/pcm2     AudigyLS front (VMIX0)  (device index 7)
/dev/oss/vmix0/pcm3     AudigyLS front (VMIX0)  (device index 8)


pciconf -lv
audigyls0@pci1:2:0:     class=0x040100 card=0x100a1102 chip=0x00071102 rev=0x00 hdr=0x00
    vendor   = 'Creative Labs'
    device   = 'CA0106-DAT Audigy LS'
    class    = multimedia
    subclass = audio

dome# osstest
Sound subsystem and version: OSS 4.0 (b070831/200709152030) (0x00040002)
Platform: FreeBSD/i386 6.2-RELEASE FreeBSD 6.2-RELEASE #9: Sat Sep 15 15:37:51 EDT 2007     root@dome.home.com:/usr/obj/usr/src/sys/DOME

*** Scanning sound adapter #-1 ***
/dev/oss/audigyls0/pcm0 (audio engine 0): AudigyLS front
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured>
/dev/oss/audigyls0/pcm1 (audio engine 1): AudigyLS (shadow)
- Skipping device (card already tested)
/dev/oss/audigyls0/pcm2 (audio engine 2): AudigyLS center/lfe
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured>
/dev/oss/audigyls0/pcm3 (audio engine 3): AudigyLS surround
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured>
/dev/oss/audigyls0/pcm4 (audio engine 4): AudigyLS 5.1 output
- Skipping multi channel device

*** Scanning sound adapter #0 ***
/dev/oss/vmix0/pcm0 (audio engine 5): AudigyLS front (VMIX0)
- Skipping virtual device (use -V to force test)

*** Scanning sound adapter #0 ***
/dev/oss/vmix0/pcm1 (audio engine 6): AudigyLS front (VMIX0)
- Skipping virtual device (use -V to force test)

*** Scanning sound adapter #0 ***
/dev/oss/vmix0/pcm2 (audio engine 7): AudigyLS front (VMIX0)
- Skipping virtual device (use -V to force test)

*** Scanning sound adapter #0 ***
/dev/oss/vmix0/pcm3 (audio engine 8): AudigyLS front (VMIX0)
- Skipping virtual device (use -V to force test)


dome# ossmix
Selected mixer 0/AudigyLS Mixer
Known controls are:
        ext.spread ON|OFF (currently ON)
        ext.loopback ON|OFF (currently OFF)
        ext.recordvol <monovol> (currently 128)
        ext.recordsrc <MIC> (currently MIC)
        vmix0-src <Fast> (currently Fast)
        vmix0-vol <monovol> (currently 25.0 dB)
        vmix0-out <leftVU>:<rightVU>] (currently 0:0)
        vmix0-out.pcm5 <both>[:<rightvol>] (currently 25.0:25.0 dB)
        vmix0-out <leftVU>:<rightVU>] (currently 0:0)
        vmix0-out.pcm6 <both>[:<rightvol>] (currently 25.0:25.0 dB)
        vmix0-out <leftVU>:<rightVU>] (currently 0:0)
        vmix0-out.pcm7 <both>[:<rightvol>] (currently 25.0:25.0 dB)
        vmix0-out <leftVU>:<rightVU>] (currently 0:0)
        vmix0-out.pcm8 <both>[:<rightvol>] (currently 25.0:25.0 dB)
        vmix0-out <leftVU>:<rightVU>] (currently 0:0)
        vmix0-in <leftVU>:<rightVU>] (currently 0:0)

dome# cat /dev/sndstat
OSS 4.0 (b070831/200709152030) CDDL (C) 4Front Technologies 1996-2007
Kernel: FreeBSD 6.2-RELEASE #9: Sat Sep 15 15:37:51 EDT 2007
    root@dome.home.com:/usr/obj/usr/src/sys/DOME


Audio devices:
0: AudigyLS front (DUPLEX)
1: AudigyLS (shadow) (DUPLEX)
2: AudigyLS center/lfe (OUTPUT)
3: AudigyLS surround (OUTPUT)
4: AudigyLS 5.1 output (OUTPUT)
5: AudigyLS front (VMIX0) (DUPLEX)
6: AudigyLS front (VMIX0) (DUPLEX)
7: AudigyLS front (VMIX0) (DUPLEX)
8: AudigyLS front (VMIX0) (DUPLEX)

Mixers:
0: AudigyLS Mixer

History:
/dev/oss/audigyls0/pcm2.02: pid 1084 cmd 'osstest' OUT
/dev/oss/audigyls0/pcm3.03: pid 1084 cmd 'osstest' OUT
/dev/oss/audigyls0/pcm0.00: pid 1752 cmd 'osstest' OUT
/dev/oss/audigyls0/pcm2.02: pid 1752 cmd 'osstest' OUT
/dev/oss/audigyls0/pcm3.03: pid 1752 cmd 'osstest' OUT


NOTICE! This /dev/sndstat file is obsolete - use the ossinfo command instead

*** All tests completed OK ***

cgull
New Member
 
Posts: 1
Joined: Sat Sep 15, 2007 10:03 pm

Postby Oko » Wed Sep 19, 2007 2:32 am

Everything looks good. You even have full duplex mode so you can use Skype. I am using the same card and for some reason I did not have a full duplex mode but the card works flawlessly. I heard that there is a difference in installation between OSS coming from ports and the binaries from the web site. There is also a new version in ports. Maybe I finally get lucky to get recording going.

Where did you plug your headphones? They must be pluged directly into the audio card on the back side.

Try playing an mp3 file from the comand line going dirrectly to
/dev/oss/audigyls0 or send a file to the device node you should hear a noise.


You do not have problem with OSS and the sound card but with the desktop configuration.
Oko
Member
 
Posts: 11
Joined: Fri Aug 03, 2007 10:52 pm
Location: Arizona

Postby dev » Wed Sep 19, 2007 3:55 am

there's a bug in the mixer - look for the mixer_ioctl and look for SOUND_MIXER_RECSRC: so that it looks like:

if (IOC_IS_OUTPUT (cmd))
switch (cmd & 0xff)
{
case SOUND_MIXER_RECMASK:
case SOUND_MIXER_RECSRC:
return *arg = 0;
break;
....
else
switch (cmd & 0xff) /* Return Parameter */
{
case SOUND_MIXER_RECMASK:
case SOUND_MIXER_RECSRC:
return *arg = 0;
break;
.....


Then rebuild the drivers.....


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: Yahoo [Bot] and 1 guest

cron