Sound Blaster Audigy no sound - OSS v4.0rc8,rc9

OSS specific BSD discussion (FreeBSD/NetBSD/OpenBSD)

Moderators: cesium, dev, kodachi, hannu

Sound Blaster Audigy no sound - OSS v4.0rc8,rc9

Postby frod » Wed Mar 07, 2007 12:27 pm

Dear all,

I use FreeBSD 6.2. A sound card is Sound Blaster Audigy.
I work normally when I use OSS v4.0rc2 (build 179).

But, sound does not come out when I use OSS v4.0rc8(build190) or rc9(build 999).
I do not change environment using.

Is rc8,rc9 different in setting in comparison with rc2?
Application seems to recognize OSS Driver. (no sound..) :(

#ossinfo (build179)

Version info: OSS 4.0rc2 (build 179/200612272036) (0x00040001)

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


Device objects
0: sblive0 SB Audigy
1: softoss0 OSS Virtual Mixer v3.0

MIDI devices (/dev/midi*)

Mixer devices (/dev/mixer*)
0: SB Audigy (TR28023) (Mixer 0 of device object 0)

Audio devices
/dev/oss/sblive0/pcm0: SB Audigy (device index 0)
/dev/oss/sblive0/pcm1: SB Audigy playback 1 (front) (device index 1)
/dev/oss/sblive0/pcm2: SB Audigy playback 2 (surround) (device index 2)
/dev/oss/sblive0/pcm3: SB Audigy playback 3 (center/lfe) (device index 3)
/dev/oss/sblive0/pcm4: SB Audigy playback 4 (rear) (device index 4)
/dev/oss/sblive0/pcm5: SB Audigy playback 5 (device index 5)
/dev/oss/sblive0/pcm6: SB Audigy playback 6 (device index 6)
/dev/oss/sblive0/pcm7: SB Audigy raw S/PDIF (output only) (device index 7)
/dev/oss/sblive0/pcm8: SB Audigy 5.1 output device (device index 8)


#ossinfo(build999)

Version info: OSS 4.0rc9 (build 999/200702220023) (0x00040002)
Platform: FreeBSD/i386 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #1: Sun Mar 4 18:16:45 JST 2007 host@host.pc:/usr/obj/usr/src/sys/GENERIC

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


Device objects
0: sblive0 SB Audigy2
1: vmix0 OSS transparent virtual support

MIDI devices (/dev/midi*)

Mixer devices (/dev/mixer*)
0: SB Audigy2 (TR28023) (Mixer 0 of device object 0)

Audio devices
/dev/oss/sblive0/pcm0: SB Audigy2 main (device index 0)
/dev/oss/sblive0/pcm1: SB Audigy2 front out (device index 1)
/dev/oss/sblive0/pcm2: SB Audigy2 side out (device index 2)
/dev/oss/sblive0/pcm3: SB Audigy2 center/lfe out (device index 3)
/dev/oss/sblive0/pcm4: SB Audigy2 raw S/PDIF (output only) (device index 4)
/dev/oss/sblive0/pcm5: SB Audigy2 5.1 output device (device index 5)
/dev/oss/vmix0/pcm0: SB Audigy2 main (VMIX0) (device index 6)
/dev/oss/vmix0/pcm1: SB Audigy2 main (VMIX0) (device index 7)
/dev/oss/vmix0/pcm2: SB Audigy2 main (VMIX0) (device index 8)
/dev/oss/vmix0/pcm3: SB Audigy2 main (VMIX0) (device index 9)
frod
New Member
 
Posts: 4
Joined: Tue Mar 06, 2007 11:59 am
Location: Japan

Re: Sound Blaster Audigy no sound - OSS v4.0rc8,rc9

Postby dev » Wed Mar 07, 2007 6:08 pm

frod wrote:Dear all,

I use FreeBSD 6.2. A sound card is Sound Blaster Audigy.
I work normally when I use OSS v4.0rc2 (build 179).

But, sound does not come out when I use OSS v4.0rc8(build190) or rc9(build 999).
I do not change environment using.

Is rc8,rc9 different in setting in comparison with rc2?
Application seems to recognize OSS Driver. (no sound..) :(

#ossinfo (build179)

Version info: OSS 4.0rc2 (build 179/200612272036) (0x00040001)

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


Device objects
0: sblive0 SB Audigy
1: softoss0 OSS Virtual Mixer v3.0

MIDI devices (/dev/midi*)

Mixer devices (/dev/mixer*)
0: SB Audigy (TR28023) (Mixer 0 of device object 0)

Audio devices
/dev/oss/sblive0/pcm0: SB Audigy (device index 0)
/dev/oss/sblive0/pcm1: SB Audigy playback 1 (front) (device index 1)
/dev/oss/sblive0/pcm2: SB Audigy playback 2 (surround) (device index 2)
/dev/oss/sblive0/pcm3: SB Audigy playback 3 (center/lfe) (device index 3)
/dev/oss/sblive0/pcm4: SB Audigy playback 4 (rear) (device index 4)
/dev/oss/sblive0/pcm5: SB Audigy playback 5 (device index 5)
/dev/oss/sblive0/pcm6: SB Audigy playback 6 (device index 6)
/dev/oss/sblive0/pcm7: SB Audigy raw S/PDIF (output only) (device index 7)
/dev/oss/sblive0/pcm8: SB Audigy 5.1 output device (device index 8)


#ossinfo(build999)

Version info: OSS 4.0rc9 (build 999/200702220023) (0x00040002)
Platform: FreeBSD/i386 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #1: Sun Mar 4 18:16:45 JST 2007 host@host.pc:/usr/obj/usr/src/sys/GENERIC

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


Device objects
0: sblive0 SB Audigy2
1: vmix0 OSS transparent virtual support

MIDI devices (/dev/midi*)

Mixer devices (/dev/mixer*)
0: SB Audigy2 (TR28023) (Mixer 0 of device object 0)

Audio devices
/dev/oss/sblive0/pcm0: SB Audigy2 main (device index 0)
/dev/oss/sblive0/pcm1: SB Audigy2 front out (device index 1)
/dev/oss/sblive0/pcm2: SB Audigy2 side out (device index 2)
/dev/oss/sblive0/pcm3: SB Audigy2 center/lfe out (device index 3)
/dev/oss/sblive0/pcm4: SB Audigy2 raw S/PDIF (output only) (device index 4)
/dev/oss/sblive0/pcm5: SB Audigy2 5.1 output device (device index 5)
/dev/oss/vmix0/pcm0: SB Audigy2 main (VMIX0) (device index 6)
/dev/oss/vmix0/pcm1: SB Audigy2 main (VMIX0) (device index 7)
/dev/oss/vmix0/pcm2: SB Audigy2 main (VMIX0) (device index 8)
/dev/oss/vmix0/pcm3: SB Audigy2 main (VMIX0) (device index 9)



Did you run osstest?. Also you will need to run ossdevlinks - there is a major change in the way we allocate devices - the old method (rc2-179) only allowed upto 64 /dev/dsps to be configured. The new device scheme allows unlimiated number of devices.


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

Postby frod » Sat Mar 10, 2007 12:38 am

Hello, dev.

Did you run osstest?.


Yes, I did.
I show a result of osstest.

###osstest###
^[OHSound subsystem and version: OSS 4.0rc9 (build 999/200702220023) (0x00040002)
Platform: FreeBSD/i386 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #1: Sun Mar 4 18:16:45 JST 2007 host@host.pc:/usr/obj/usr/src/sys/GENERIC

*** Scanning sound adapter #-1 ***
/dev/oss/sblive0/pcm0 (audio engine 0): SB Audigy2 main
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured>
/dev/oss/sblive0/pcm1 (audio engine 1): SB Audigy2 front out
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured>
/dev/oss/sblive0/pcm2 (audio engine 2): SB Audigy2 side out
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured>
/dev/oss/sblive0/pcm3 (audio engine 3): SB Audigy2 center/lfe out
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured>
/dev/oss/sblive0/pcm4 (audio engine 4): SB Audigy2 raw S/PDIF (output only)
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured>
/dev/oss/sblive0/pcm5 (audio engine 5): SB Audigy2 5.1 output device
- Skipping multi channel device

*** Scanning sound adapter #0 ***
/dev/oss/vmix0/pcm0 (audio engine 6): SB Audigy2 main (VMIX0)
- Skipping virtual device (use -V to force test)

*** Scanning sound adapter #0 ***
/dev/oss/vmix0/pcm1 (audio engine 7): SB Audigy2 main (VMIX0)
- Skipping virtual device (use -V to force test)

*** Scanning sound adapter #0 ***
/dev/oss/vmix0/pcm2 (audio engine 8): SB Audigy2 main (VMIX0)
- Skipping virtual device (use -V to force test)

*** Scanning sound adapter #0 ***
/dev/oss/vmix0/pcm3 (audio engine 9): SB Audigy2 main (VMIX0)
- Skipping virtual device (use -V to force test)

*** All tests completed OK ***
############

I carried out osstest, but a sound does not come out.

Also you will need to run ossdevlinks...


I carried it out about ossdevlinks. I did not change about a result.
frod
New Member
 
Posts: 4
Joined: Tue Mar 06, 2007 11:59 am
Location: Japan

Postby frod » Mon Mar 12, 2007 11:10 am

I show below a result of dmesg.

################################################

host# 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-p2 #1: Sun Mar 4 18:16:45 JST 2007
host@host.pc:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: <Nvidia>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP 2500+ (1830.01-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0
Features=0x383fbff<FPU>
AMD Features=0xc0400800<SYSCALL>
real memory = 1073676288 (1023 MB)
avail memory = 1033289728 (985 MB)
ioapic0 <Version> irqs 0-23 on motherboard
kbd1 at kbdmux0
kqemu version 0x00010300
kqemu: KQEMU installed, max_locked_mem=515792kB.
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <Nvidia> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24> port 0x1008-0x100b on acpi0
cpu0: <ACPI> on acpi0
acpi_button0: <Power> on acpi0
pcib0: <ACPI> port 0xcf8-0xcff,0xcf0-0xcf3 on acpi0
pci0: <ACPI> on pcib0
Correcting nForce2 C1 CPU disconnect hangs
agp0: <NVIDIA> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0
pci0: <memory> at device 0.1 (no driver attached)
pci0: <memory> at device 0.2 (no driver attached)
pci0: <memory> at device 0.3 (no driver attached)
pci0: <memory> at device 0.4 (no driver attached)
pci0: <memory> at device 0.5 (no driver attached)
isab0: <PCI> at device 1.0 on pci0
isa0: <ISA> on isab0
pci0: <serial> at device 1.1 (no driver attached)
ohci0: <OHCI> mem 0xe8002000-0xe8002fff irq 20 at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI> on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <OHCI> mem 0xe8003000-0xe8003fff irq 21 at device 2.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <OHCI> on ohci1
usb1: USB revision 1.0
uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ehci0: <NVIDIA> mem 0xe8004000-0xe80040ff irq 22 at device 2.2 on pci0
ehci0: [GIANT-LOCKED]
usb2: EHCI version 1.0
usb2: companion controllers, 4 ports each: usb0 usb1
usb2: <NVIDIA> on ehci0
usb2: USB revision 2.0
uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
umass0: ELECOM CO,.LTD. ELECOM MR-DU2A7/A8 series, rev 2.00/1.8a, addr 2
pcib1: <ACPI> at device 8.0 on pci0
pci1: <ACPI> on pcib1
pci1: <multimedia> at device 9.0 (no driver attached)
pci1: <input> at device 9.1 (no driver attached)
fwohci0: <1394> mem 0xe7024000-0xe70247ff,0xe7020000-0xe7023fff irq 18 at device 9.2 on pci1
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:02:3c:00:30:03:62:47
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394> on fwohci0
fwe0: <Ethernet> on firewire0
if_fwe0: Fake Ethernet address: 02:02:3c:03:62:47
fwe0: Ethernet address: 02:02:3c:03:62:47
fwe0: if_start running deferred for Giant
sbp0: <SBP> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
fxp0: <Intel> port 0xd800-0xd83f mem 0xe7025000-0xe7025fff,0xe7000000-0xe701ffff irq 18 at device 10.0 on pci1
miibus0: <MII> on fxp0
inphy0: <i82555> on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:02:b3:ef:6b:07
atapci0: <nVidia> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 9.0 on pci0
ata0: <ATA> on atapci0
ata1: <ATA> on atapci0
pcib2: <ACPI> at device 30.0 on pci0
pci2: <ACPI> on pcib2
nvidia0: <GeForce> mem 0xe4000000-0xe4ffffff,0xd0000000-0xdfffffff irq 19 at device 0.0 on pci2
nvidia0: [GIANT-LOCKED]
fdc0: <floppy> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
pmtimer0 on isa0
orm0: <ISA> at iomem 0xc0000-0xcefff,0xd0000-0xd7fff,0xd8000-0xd97ff on isa0
ppc0: parallel port not found.
sc0: <System> at flags 0x100 on isa0
sc0: VGA <16>
vga0: <Generic> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/19.00, addr 2, iclass 3/1
ums0: 4 buttons and Z dir.
Timecounter "TSC" frequency 1830011680 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 238474MB <HDT722525DLAT80> at ata0-master UDMA133
ad1: 152626MB <Seagate> at ata0-slave UDMA100
acd0: DVDR <HL> at ata1-master UDMA66
acd1: CDRW <PLEXTOR> at ata1-slave PIO4
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <GENERIC> Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
da1 at umass-sim0 bus 0 target 0 lun 1
da1: <GENERIC> Removable Direct Access SCSI-0 device
da1: 40.000MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 -> 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 -> 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 -> 6
(da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0
(da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error
(da1:umass-sim0:0:0:1): SCSI Status: Check Condition
(da1:umass-sim0:0:0:1): NOT READY asc:3a,0
(da1:umass-sim0:0:0:1): Medium not present
(da1:umass-sim0:0:0:1): Unretryable error
Opened disk da1 -> 6
(da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0
(da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error
(da1:umass-sim0:0:0:1): SCSI Status: Check Condition
(da1:umass-sim0:0:0:1): NOT READY asc:3a,0
(da1:umass-sim0:0:0:1): Medium not present
(da1:umass-sim0:0:0:1): Unretryable error
Opened disk da1 -> 6
(da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0
(da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error
(da1:umass-sim0:0:0:1): SCSI Status: Check Condition
(da1:umass-sim0:0:0:1): NOT READY asc:3a,0
(da1:umass-sim0:0:0:1): Medium not present
(da1:umass-sim0:0:0:1): Unretryable error
Opened disk da1 -> 6
Trying to mount root from ufs:/dev/ad0s1a
sblive0: <SB> port 0xd000-0xd01f irq 17 at device 9.0 on pci1
NVRM: detected agp.ko, aborting NVIDIA AGP setup!

################################################

Best Regards.

frod
frod
New Member
 
Posts: 4
Joined: Tue Mar 06, 2007 11:59 am
Location: Japan

Postby frod » Sat Mar 17, 2007 7:49 am

*I do not test the output from S/PDIF.I test it about the output from front.

I read the following content.

http://manuals.opensound.com/developer/oss_devices.html

To maintain compatibility with older applications the ossdevlinks(1) utility is used to maintain "legacy" device numbers for the devices. The legacy device files (such as /dev/dsp0) are now symbolic links to the actual device file. OSS stores these links in /usr/lib/oss/etc/legacy_devices and they will be restored every time when OSS is restarted. When new devices are added to the system they will be given legacy device numbers after the previously installed devices. In this way the legacy device numbering will be relatively stable but system administrator may reset it by running ossdevlinks -r. For example /dev/dsp5 may be a symbolic link to /dev/sblive0_pcm2.


I tried to compare "released v4.0" with "rc2" about contents of /usr/lib/oss/etc/legacy_devices, but a change is not.

-------------------------------------------------------------------
rm -f /dev/dsp0;ln -sf /dev/oss/sblive0/pcm0 /dev/dsp0
rm -f /dev/dsp1;ln -sf /dev/oss/sblive0/pcm1 /dev/dsp1
rm -f /dev/dsp2;ln -sf /dev/oss/sblive0/pcm2 /dev/dsp2
rm -f /dev/dsp3;ln -sf /dev/oss/sblive0/pcm3 /dev/dsp3
rm -f /dev/dsp4;ln -sf /dev/oss/sblive0/pcm4 /dev/dsp4
rm -f /dev/dsp5;ln -sf /dev/oss/sblive0/pcm5 /dev/dsp5
rm -f /dev/dsp6;ln -sf /dev/oss/vmix0/pcm0 /dev/dsp6
rm -f /dev/dsp7;ln -sf /dev/oss/vmix0/pcm1 /dev/dsp7
rm -f /dev/dsp8;ln -sf /dev/oss/vmix0/pcm2 /dev/dsp8
rm -f /dev/dsp9;ln -sf /dev/oss/vmix0/pcm3 /dev/dsp9
rm -f /dev/dsp_ac3;ln -sf /dev/oss/sblive0/pcm0 /dev/dsp_ac3
rm -f /dev/dsp_mmap;ln -sf /dev/oss/sblive0/pcm0 /dev/dsp_mmap
rm -f /dev/dsp_multich;ln -sf /dev/oss/sblive0/pcm5 /dev/dsp_multich
rm -f /dev/mixer0;ln -sf /dev/oss/sblive0/mix0 /dev/mixer0
--------------------------------------------------------------------

The above may be the contents which I made a mistake in. :oops:
Please say if I have to give information else.

Thank you.

frod
frod
New Member
 
Posts: 4
Joined: Tue Mar 06, 2007 11:59 am
Location: Japan


Return to BSD

Who is online

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