Audigy LS on freebsd

OSS specific BSD discussion (FreeBSD/NetBSD/OpenBSD)

Moderators: hannu, dev, cesium, kodachi

Audigy LS on freebsd

Postby wonslung » Tue Jun 30, 2009 5:36 pm

I have a SoundBlaster Audigy LS. (on linux it used CA0106 driver)
I'm trying to get it to work in freebsd, and i KNOW it did in the past with oss but for some reason it's not working. I'm using freebsd 7.2 amd64

it SHOWS up in KDE4 as an oss device but i get no sound.

When i run osstest i get this
Code: Select all
ound subsystem and version: OSS 4.1 (b 1052/200906291742) (0x00040100)
Platform: FreeBSD/amd64 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 07:18:07 UTC 2009     root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC

*** Scanning sound adapter #-1 ***
/dev/oss/oss_audigyls0/pcm0 (audio engine 0): AudigyLS front
- Performing audio playback test...
  <left> Device returned error: Input/output error
/dev/oss/oss_audigyls0/pcm1 (audio engine 2): AudigyLS center/lfe
- Performing audio playback test...
  <left> Device returned error: Input/output error
/dev/oss/oss_audigyls0/pcm2 (audio engine 3): AudigyLS surround
- Performing audio playback test...
  <left> Device returned error: Input/output error
/dev/oss/oss_audigyls0/pcm3 (audio engine 4): AudigyLS 5.1 output
- Skipping multi channel device

*** Some errors were detected during the tests ***



dmesg shows this
Code: Select all
oss_audigyls0: <AudigyLS> port 0xcc00-0xcc1f irq 17 at device 1.0 on pci3
pid 16697 (nepomukservicestub), uid 1001: exited on signal 11 (core dumped)
osscore: Output timed out on audio engine 0/'AudigyLS front' (count=0)
osscore: Output timed out on audio engine 2/'AudigyLS center/lfe' (count=0)
osscore: Output timed out on audio engine 3/'AudigyLS surround' (count=0)
osscore: Output timed out on audio engine 0/'AudigyLS front' (count=0)
osscore: Output timed out on audio engine 2/'AudigyLS center/lfe' (count=0)
osscore: Output timed out on audio engine 3/'AudigyLS surround' (count=0)
osscore: Output timed out on audio engine 0/'AudigyLS front' (count=0)
osscore: Output timed out on audio engine 2/'AudigyLS center/lfe' (count=0)
osscore: Output timed out on audio engine 3/'AudigyLS surround' (count=0)
osscore: Output timed out on audio engine 0/'AudigyLS front' (count=0)
osscore: Output timed out on audio engine 2/'AudigyLS center/lfe' (count=0)
osscore: Output timed out on audio engine 3/'AudigyLS surround' (count=0)
oss_audigyls0: detached
oss_audigyls0: [ITHREAD]
oss_audigyls0: <AudigyLS> port 0xcc00-0xcc1f irq 17 at device 1.0 on pci3
osscore: Output timed out on audio engine 0/'AudigyLS front' (count=0)
osscore: Output timed out on audio engine 2/'AudigyLS center/lfe' (count=0)
osscore: Output timed out on audio engine 3/'AudigyLS surround' (count=0)


PLEASE help
wonslung
New Member
 
Posts: 1
Joined: Tue Jun 30, 2009 5:25 pm

Postby cesium » Wed Jul 01, 2009 5:52 pm

Hmm... Does "osstest -V" work? Can you paste "ossinfo -v3" and "ossmix" output?
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Audigy LS on freebsd

Postby EsWees » Mon Nov 02, 2009 8:18 pm

Hello....

Code: Select all
desk# osstest
Sound subsystem and version: OSS 4.2 (b 2000/200911020220) (0x00040100)
Platform: FreeBSD/i386 8.0-RC2 FreeBSD 8.0-RC2 #0: Sun Oct 25 08:55:51 UTC 2009     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC

*** Scanning sound adapter #-1 ***
/dev/oss/oss_audigyls0/pcm0 (audio engine 0): AudigyLS front
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47993.00 Hz (-0.01%)>
/dev/oss/oss_audigyls0/pcm1 (audio engine 1): AudigyLS center/lfe
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47993.00 Hz (-0.01%)>
/dev/oss/oss_audigyls0/pcm2 (audio engine 2): AudigyLS surround
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47990.00 Hz (-0.02%)>
/dev/oss/oss_audigyls0/pcm3 (audio engine 3): AudigyLS 5.1 output
- Skipping multi channel device

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

osstest -V -- No sound 2 :(

Code: Select all
desk# osstest -V
Sound subsystem and version: OSS 4.2 (b 2000/200911020220) (0x00040100)
Platform: FreeBSD/i386 8.0-RC2 FreeBSD 8.0-RC2 #0: Sun Oct 25 08:55:51 UTC 2009     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC

*** Scanning sound adapter #-1 ***
/dev/oss/oss_audigyls0/pcm0 (audio engine 0): AudigyLS front
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47949.00 Hz (-0.11%)>
/dev/oss/oss_audigyls0/pcm1 (audio engine 1): AudigyLS center/lfe
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47993.00 Hz (-0.01%)>
/dev/oss/oss_audigyls0/pcm2 (audio engine 2): AudigyLS surround
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47993.00 Hz (-0.01%)>
/dev/oss/oss_audigyls0/pcm3 (audio engine 3): AudigyLS 5.1 output
- Skipping multi channel device

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



Code: Select all
uname -a
FreeBSD desk.local 8.0-RC2 FreeBSD 8.0-RC2 #0: Sun Oct 25 08:55:51 UTC 2009     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


Code: Select all
desk# ossinfo
Version info: OSS 4.2 (b 2000/200911020220) (0x00040100) BSD
Platform: FreeBSD/i386 8.0-RC2 FreeBSD 8.0-RC2 #0: Sun Oct 25 08:55:51 UTC 2009     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC (desk.local)

Number of audio devices:   4
Number of audio engines:   8
Number of MIDI devices:   0
Number of mixer devices:   1


Device objects
0: oss_audigyls0 AudigyLS interrupts=409177 (409177)

MIDI devices (/dev/midi*)

Mixer devices
0: AudigyLS Mixer (Mixer 0 of device object 0)

Audio devices
AudigyLS front                    /dev/oss/oss_audigyls0/pcm0  (device index 0)
AudigyLS center/lfe               /dev/oss/oss_audigyls0/pcm1  (device index 1)
AudigyLS surround                 /dev/oss/oss_audigyls0/pcm2  (device index 2)
AudigyLS 5.1 output               /dev/oss/oss_audigyls0/pcm3  (device index 3)

Nodes
  /dev/dsp -> /dev/oss/oss_audigyls0/pcm0
  /dev/dsp_in -> /dev/oss/oss_audigyls0/pcm0
  /dev/dsp_out -> /dev/oss/oss_audigyls0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_audigyls0/pcm0
  /dev/dsp_mmap -> /dev/oss/oss_audigyls0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_audigyls0/pcm3
desk#

dmesg
Code: Select all
oss_audigyls0: [ITHREAD]
oss_audigyls0: <AudigyLS> port 0xe800-0xe81f irq 21 at device 10.0 on pci2
osscore: mmap() not possible with currently selected sample format.
osscore: mmap() not possible with currently selected sample format.
osscore: mmap() not possible with currently selected sample format.
osscore: Audio device 3 cannot do recording
osscore: Audio device 3 cannot do recording



There is no sound. Help please :cry:
Attachments
screen.png
Screen - gnome
EsWees
New Member
 
Posts: 5
Joined: Mon Nov 02, 2009 7:51 pm

Re: Audigy LS on freebsd

Postby cesium » Tue Nov 03, 2009 11:17 am

So no errors in osstest anymore... Can you paste output of "ossmix" and "prtconf -lv" (for the card) too?
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Audigy LS on freebsd

Postby EsWees » Tue Nov 03, 2009 11:43 am

Code: Select all
desk# ossmix
Selected mixer 0/AudigyLS Mixer
Known controls are:
pcm [<leftvol>:<rightvol>] (currently 100:65)
rear [<leftvol>:<rightvol>] (currently 83:83)
center [<leftvol>:<rightvol>] (currently 83:83)
ext.spread ON|OFF (currently OFF)
ext.loopback ON|OFF (currently OFF)
ext.recordvol <monovol> (currently 255)
ext.recordsrc <MIC|LINE|AUX> (currently MIC)
ext.monitorvol <monovol> (currently 255)
ext.recmon ON|OFF (currently ON)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-src <High|OFF> (currently High)
vmix0-outvol <monovol> (currently 25.0 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm4 [<leftvol>:<rightvol>] (currently 21.3:21.3 dB)
vmix0.pcm5 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm6 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm7 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
desk#


Code: Select all
desk# prtconf -lv
prtconf:    Command was not found.
desk#


Code: Select all
desk# /sbin/dmesg | grep aud
pci2: <multimedia, audio> at device 10.0 (no driver attached)
oss_audigyls0: [ITHREAD]
oss_audigyls0: <AudigyLS> port 0xe800-0xe81f irq 21 at device 10.0 on pci2
oss_audigyls0: detached
desk#
EsWees
New Member
 
Posts: 5
Joined: Mon Nov 02, 2009 7:51 pm

Re: Audigy LS on freebsd

Postby cesium » Tue Nov 03, 2009 1:55 pm

Sorry, that's "pciconf -lv" under FreeBSD... Anyway, try turning on (in the mixer) "ext.spread", and turn off "ext.recmon".
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Audigy LS on freebsd

Postby EsWees » Tue Nov 03, 2009 4:30 pm

pciconf -lv
Code: Select all
hostb0@pci0:0:0:0:   class=0x060000 card=0x81571043 chip=0x25708086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'DRAM Controller / Host-Hub Interface (82865G/PE/P, 82848P)'
    class      = bridge
    subclass   = HOST-PCI
pcib1@pci0:0:1:0:   class=0x060400 card=0x00000000 chip=0x25718086 rev=0x02 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'PCI-to-AGP Bridge (82865G/PE/P, 82848P)'
    class      = bridge
    subclass   = PCI-PCI
uhci0@pci0:0:29:0:   class=0x0c0300 card=0x80a61043 chip=0x24d28086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller *1'
    class      = serial bus
    subclass   = USB
uhci1@pci0:0:29:1:   class=0x0c0300 card=0x80a61043 chip=0x24d48086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller *2'
    class      = serial bus
    subclass   = USB
uhci2@pci0:0:29:2:   class=0x0c0300 card=0x80a61043 chip=0x24d78086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller *3'
    class      = serial bus
    subclass   = USB
uhci3@pci0:0:29:3:   class=0x0c0300 card=0x80a61043 chip=0x24de8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller *4'
    class      = serial bus
    subclass   = USB
ehci0@pci0:0:29:7:   class=0x0c0320 card=0x80a61043 chip=0x24dd8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801EB/ER (ICH5/ICH5R) USB 2.0 EHCI Controller'
    class      = serial bus
    subclass   = USB
pcib2@pci0:0:30:0:   class=0x060400 card=0x00000000 chip=0x244e8086 rev=0xc2 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801 Family (ICH2/3/4/5/6/7/8/9,63xxESB) Hub Interface to PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
isab0@pci0:0:31:0:   class=0x060100 card=0x00000000 chip=0x24d08086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801EB/ER (ICH5/ICH5R) LPC Interface Bridge'
    class      = bridge
    subclass   = PCI-ISA
atapci0@pci0:0:31:1:   class=0x01018a card=0x80a61043 chip=0x24db8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801EB/ER (ICH5/ICH5R) EIDE Controller'
    class      = mass storage
    subclass   = ATA
atapci1@pci0:0:31:2:   class=0x01018f card=0x80a61043 chip=0x24d18086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801EB (ICH5) SATA Controller'
    class      = mass storage
    subclass   = ATA
vgapci0@pci0:1:0:0:   class=0x030000 card=0x00281002 chip=0x94c41002 rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
    device     = 'ATI Radeon HD 3470 PRO AGP (RV610)'
    class      = display
    subclass   = VGA
none0@pci0:2:9:0:   class=0x040000 card=0x00031461 chip=0x036e109e rev=0x11 hdr=0x00
    vendor     = 'Conexant (Was: Brooktree Corp)'
    device     = 'Bt878/Fusion 878A Mediastream Controller'
    class      = multimedia
    subclass   = video
none1@pci0:2:9:1:   class=0x048000 card=0x00031461 chip=0x0878109e rev=0x11 hdr=0x00
    vendor     = 'Conexant (Was: Brooktree Corp)'
    device     = 'TV Video Capture: Hercules Smart TV 2 (7610144D&REV_024&1F7DBC9F&0&09F0)'
    class      = multimedia
oss_audigyls0@pci0:2:10:0:   class=0x040100 card=0x100a1102 chip=0x00071102 rev=0x00 hdr=0x00
    vendor     = 'Creative Technology LTD.'
    device     = 'Device ID same for both, but Subsystem ID = 0x1012 - Extreme Audio, 0x100A - Audigy SE 7.1 (C6SB0410515017656A)'
    class      = multimedia
    subclass   = audio
skc0@pci0:2:13:0:   class=0x020000 card=0x811a1043 chip=0x432011ab rev=0x13 hdr=0x00
    vendor     = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
    device     = 'Yukon 88E8001/8003/8010 PCI Gigabit Ethernet Controller (Copper)'
    class      = network
    subclass   = ethernet

ossmix
Code: Select all
Selected mixer 0/AudigyLS Mixer
Known controls are:
pcm [<leftvol>:<rightvol>] (currently 100:100)
rear [<leftvol>:<rightvol>] (currently 100:100)
center [<leftvol>:<rightvol>] (currently 100:100)
ext.spread ON|OFF (currently ON)
ext.loopback ON|OFF (currently OFF)
ext.recordvol <monovol> (currently 255)
ext.recordsrc <MIC|LINE|AUX> (currently MIC)
ext.monitorvol <monovol> (currently 0)
ext.recmon ON|OFF (currently OFF)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-src <High|OFF> (currently High)
vmix0-outvol <monovol> (currently 25.0 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm4 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm5 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm6 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm7 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)

Don't have sound :cry:
Clicking listen but when you turn on / off PCM (vol:0 --> vol:100 <-- vol:0)
EsWees
New Member
 
Posts: 5
Joined: Mon Nov 02, 2009 7:51 pm

Re: Audigy LS on freebsd

Postby EsWees » Wed Nov 04, 2009 11:45 am

Sorry if not correct anything I write. Use http://translate.google.ru. Not very well know English
Uploading knoppix, sound works on linux, it used CA0106 driver.
EsWees
New Member
 
Posts: 5
Joined: Mon Nov 02, 2009 7:51 pm

Re: Audigy LS on freebsd

Postby cesium » Thu Nov 05, 2009 1:34 am

1102:100a... The driver definitely supports this, and I know (from other users) it works under FreeBSD... How do you have this connected to the speakers? If it's via a digital set-top box or something, it might not be supported...
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Audigy LS on freebsd

Postby EsWees » Thu Nov 05, 2009 5:38 am

Agree! On FreeBSD 7.2, before you installed FreeBSD 8.0 RC2, the sound worked. Use headphones (Sennheiser HD 212 Pro).
Sorry for the inconvenience. :roll:
Perhaps the problem is most FreeBSD 8.0 RC2. I'm going to write to them. :( Thank you for your help!
EsWees
New Member
 
Posts: 5
Joined: Mon Nov 02, 2009 7:51 pm


Return to BSD

Who is online

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