Reply
 
Thread Tools Display Modes
  #1  
Old 09-26-2007, 12:11 PM
Ian_Robinson Ian_Robinson is offline
Senior Member
 
Join Date: Jan 2007
Location: Salem, Ohio, U.S.
Posts: 328
Thanks: 0
Thanked 2 Times in 2 Posts
Default Lost sound w/ Soundblaster Live, OSS, PCBSD 1.4
User peispud needs help restoring his sound. He is running PCBSD 1.4 with a Soundblaster Live! 24 bit soundcard These messages have been exchanged in a different forum where this problem was off-topic.

Quote:
Posted: Tue Sep 25, 2007 5:47 pm

Soundblaster Live 24bit . I'm going to do a fresh install in a few hours . With the latest build I had OSS enabled and no mixer showing with Kmix . The really frustrating part was that I had sound briefly while compiling SDL mixer and a mixer , but the sound would lock shortly afterwards .
Quote:
Posted: Tue Sep 25, 2007 7:59 pm Post subject: SB Live

Some notes from FreeBSD FAQ on "sound devices":

http://www.freebsd.org/doc/en_US.ISO885 ... sound.html

You may need to know what chip is on your SB card so you can pick the right driver. Notes from the FreeBSD Hardware compatibility list say that the snd_emu10k1 driver is the correct one. See the notes at

http://www.freebsd.org/releases/6.2R/ha ... html#SOUND

Quote:
The snd_emu10k1(4) driver supports the following sound cards:

* Creative SoundBlaster Live! (EMU10K1 Chipset)
* Creative SoundBlaster Audigy (EMU10K2 Chipset)
* Creative SoundBlaster Audigy 2 (EMU10K2 Chipset)
* Creative SoundBlaster Audigy 2 (EMU10K3 Chipset)


But you might want to look at the following forum topic addressing a problem similar to yours. The suggestion was that the emu driver was not the right one for soundblaster:

http://forums.pcbsd.org/posting.php?mode=reply&t=4752

In a terminal, as root, you can issue the kldstat command to find what kernel modules are loaded. Look for the module with a name like your soundblaster chip:

Code:
#kldstat

You must include the correct driver in /boot/loader.conf:
Quote:
Posted: Tue Sep 25, 2007 9:21 pm

First run

- KDE boots , no sound , no mixer , OSS not enabled at startup

-enable OSS and reboot . Sound at KDE startup , still no mixer . Ran Amarok & get "xine was unable to initialize any audio drivers."

- open Kcontrol , choose OSS as mixer and restart sound system .
"Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (Device busy)
The sound server will continue, using the null output device."

- #kldstat sscore.ko and audigyls.ko loaded

- at this point I'm wondering why sound worked with the previous version after pkg_adding OSS and now it will not work with it built in . The Soundblaster Live being a common card and the problem being reported before release , this should not be happening .

-should I try uninstalling OSS and try Linux ALSA ? Trying port installs like this with the lastest build crashed my system .
__________________
Ian
FitchKendall AT Gmail.com
Reply With Quote
  #2  
Old 09-26-2007, 12:55 PM
Ian_Robinson Ian_Robinson is offline
Senior Member
 
Join Date: Jan 2007
Location: Salem, Ohio, U.S.
Posts: 328
Thanks: 0
Thanked 2 Times in 2 Posts
Default Soundblaster Live -- followup
peispud --

Quote:
First run - KDE boots , no sound , no mixer , OSS not enabled at startup
1. Does the above part of your post mean that the installation of PCBSD 1.4 was a virgin install? You did not modify it in any way?

2. What is the output of dmesg (the messages that scroll by when you boot the computer)? You can get to them in a variety of ways, but will you click this sequence to produce a report:

Code:
Start -- Settings -- System Administration -- System Manager -- <your password> -- Generate
Save the report. Copy and paste the output to a message here.


3. Please produce, copy, and paste the complete output of:

Code:
cat /dev/sndstat
and

Code:
 kldstat
so we can see what your system is now using and to see if if sound modules are called other than the OSS driver module (sscore.ko) and ALSA module (audigyls.ko).

I was expecting to see the module snd_emu10k1.
__________________
Ian
FitchKendall AT Gmail.com
Reply With Quote
  #3  
Old 09-26-2007, 02:07 PM
peispud peispud is offline
Senior Member
 
Join Date: Nov 2005
Location: 46.4260 N 63.6694 W
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to peispud
Default
First Ian , thank you very much for offering to help . Yes , lastest install is a fresh install , with only Firefox Wine PBI installed .

dmesg output


PC-BSD 1.4 Diagnostic Sheet
Generated: Wed Sep 26 11:01:16 ADT 2007

-----------------Dmesg Output-------------------------

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-STABLE #76: Fri Sep 21 11:31:18 PDT 2007
root@pcbsd:/usr/obj/usr/src/sys/PCBSD
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Hammer Family processor - Model Unknown (1603.65-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x20fc2 Stepping = 2
Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE, CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,M MX,FXSR,SSE,SSE2>
Features2=0x1<SSE3>
AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow +,3DNow>
AMD Features2=0x1<LAHF>
real memory = 1072627712 (1022 MB)
avail memory = 1032265728 (984 MB)
ACPI APIC Table: <VIAK8M AWRDACPI>
ioapic0 <Version 0.3> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <VIAK8M AWRDACPI> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
nvidia0: <GeForce 6200> mem 0xf8000000-0xf8ffffff,0xe0000000-0xefffffff,0xf9000000-0xf9ffffff irq 16 at device 0.0 on pci1
nvidia0: [GIANT-LOCKED]
fwohci0: <VIA Fire II (VT6306)> port 0xe000-0xe07f mem 0xfb022000-0xfb0227ff irq 23 at device 7.0 on pci0
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:50:8d:00:00:d2:31:8b
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:50:8d:d2:31:8b
fwe0: Ethernet address: 02:50:8d:d2:31:8b
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
dc0: <ADMtek AN985 10/100BaseTX> port 0xe100-0xe1ff mem 0xfb020000-0xfb0203ff irq 16 at device 8.0 on pci0
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: Ethernet address: 00:12:17:5c:99:10
pci0: <multimedia, audio> at device 9.0 (no driver attached)
atapci0: <VIA 6420 SATA150 controller> port 0xe300-0xe307,0xe400-0xe403,0xe500-0xe507,0xe600-0xe603,0xe700-0xe70f,0xe800-0xe8ff irq 20 at device 15.0 on pci0
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
atapci1: <VIA 8237 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe900-0xe90f at device 15.1 on pci0
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1
uhci0: <VIA 83C572 USB controller> port 0xea00-0xea1f irq 21 at device 16.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xeb00-0xeb1f irq 21 at device 16.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xec00-0xec1f irq 21 at device 16.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <VIA 83C572 USB controller> port 0xed00-0xed1f irq 21 at device 16.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <VIA 83C572 USB controller> on uhci3
usb3: USB revision 1.0
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xfb021000-0xfb0210ff irq 21 at device 16.4 on pci0
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <VIA VT6202 USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
umass0: Cypress Semiconductor USB2.0 Storage Device, rev 2.00/0.01, addr 2
ugen0: vendor 0x041e Creative WebCam Live! Pro, rev 2.00/1.02, addr 3
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
acpi_tz0: <Thermal Zone> on acpi0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
ppc0: <Standard parallel printer port> port 0x378-0x37f,0x778-0x77b irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ulpt0: vendor 0x04f9 product 0x0161, rev 1.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
umass1: vendor 0x04f9 product 0x0161, rev 1.00/1.00, addr 2
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/20.00, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
Timecounter "TSC" frequency 1603646857 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 238475MB <WDC WD2500JB-57REA0 20.00K20> at ata0-master UDMA100
acd0: DMA limited to UDMA33, device found non-ATA66 cable
acd0: DVDR <LITE-ON DVDRW SHW-160P6S/PS01> at ata0-slave UDMA33
ad1: 194481MB <Maxtor 6L200P0 BAJ41G20> at ata1-master UDMA133
ad2: 238475MB <Seagate ST3250620A 3.AAE> at ata1-slave UDMA100
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
cd1 at ata0 bus 0 target 1 lun 0
cd1: <LITE-ON DVDRW SHW-160P6S PS01> Removable CD-ROM SCSI-0 device
cd1: 33.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present
cd0 at umass-sim0 bus 0 target 0 lun 0
cd0: <HL-DT-ST DVD-RAM GSA-H50L 1.00> Removable CD-ROM SCSI-0 device
cd0: 40.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at umass-sim1 bus 1 target 0 lun 0
da0: <Brother MFC-210C 1.00> Removable Direct Access SCSI-2 device
da0: 1.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
Trying to mount root from ufs:/dev/ad1s1a
audigyls0: <AudigyLS> port 0xe200-0xe21f irq 17 at device 9.0 on pci0
arp: 00:17:9a:4f:ed:96 is using my IP address xx.xxx.xxx.xxx!

-----------------Messages Output----------------------

Sep 26 10:56:12 pcbsd kernel: cd0: <HL-DT-ST DVD-RAM GSA-H50L 1.00> Removable CD-ROM SCSI-0 device
Sep 26 10:56:12 pcbsd kernel: cd0: 40.000MB/s transfers
Sep 26 10:56:12 pcbsd kernel: cd0: Attempt to query device size failed: NOT READY, Medium not present
Sep 26 10:56:12 pcbsd kernel: da0 at umass-sim1 bus 1 target 0 lun 0
Sep 26 10:56:12 pcbsd kernel: da0: <Brother MFC-210C 1.00> Removable Direct Access SCSI-2 device
Sep 26 10:56:12 pcbsd kernel: da0: 1.000MB/s transfers
Sep 26 10:56:12 pcbsd kernel: da0: Attempt to query device size failed: NOT READY, Medium not present
Sep 26 10:56:12 pcbsd kernel: Trying to mount root from ufs:/dev/ad1s1a
Sep 26 10:56:14 pcbsd kernel: audigyls0: <AudigyLS> port 0xe200-0xe21f irq 17 at device 9.0 on pci0
Sep 26 10:56:18 pcbsd ntpd[1266]: ntpd 4.2.0-a Wed Sep 19 10:28:06 PDT 2007 (1)
Sep 26 10:56:18 pcbsd ntpd[1266]: bind() fd 6, family 2, port 123, addr 0.0.0.0, in_classd=0 flags=8 fails: Address already in use
Sep 26 10:56:19 pcbsd root: /etc/rc.d/sysctl: WARNING: sysctl hw.snd.pcm0.vchans does not exist.
Sep 26 10:56:19 pcbsd root: /etc/rc.d/sysctl: WARNING: sysctl hw.snd.maxautovchans does not exist.
Sep 26 10:56:36 pcbsd dhclient: New IP Address (dc0): xx.xxx.xxx.xxx
Sep 26 10:56:36 pcbsd dhclient: New Subnet Mask (dc0): xxx.xxx.xxx.0
Sep 26 10:56:36 pcbsd dhclient: New Broadcast Address (dc0): xx.xxx.xxx.xxx
Sep 26 10:56:36 pcbsd dhclient: New Routers (dc0): xx.xxx.xx.x
Sep 26 10:56:37 pcbsd kernel: arp: 00:17:9a:4f:ed:96 is using my IP address xx.xxx.xxx.xxx!
Sep 26 11:00:56 pcbsd su: BAD SU brian to root on /dev/ttyp3
Sep 26 11:01:02 pcbsd su: brian to root on /dev/ttyp3

------------------RC File-----------------------------

background_dhclient="YES"
compat5x_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
moused_type="auto"
moused_enable="YES"
devd_enable="YES"
devfs_system_ruleset="devfsrules_common"
sendmail_enable="NO"
sendmail_rebuild_aliases="YES"

#Enable samba server
samba_enable="YES"

# Disable LPD
lpd_enable="NO"

# Enable CUPS
cupsd_enable="YES"
enable_linux="YES"

# FSCK Enhancements
fsck_y_enable="YES"
background_fsck="NO"

# tmpmfs Flags
tmpmfs="YES"
tmpsize="800m"
tmpmfs_flags="-S"

# Denyhosts Startup
denyhosts_enable="YES"

# powerd: adaptive speed while on AC power, adaptive while on battery power
powerd_enable="YES"
powerd_flags="-a adaptive -b adaptive" # set CPU frequency

# enable HALd
dbus_enable="YES"
polkitd_enable="YES"
hald_enable="YES"

# Enables support for HPLIP
hpiod_enable="NO"
hpssd_enable="NO"

# ntpdate is deprecated and will eventually be removed from the distribution since
# the same functionality is available in ntpd(8).
# Without "ntpd_sync_on_start" option, ntpd refuses to perform an
# initial correction if the clock offset is too large.
#
ntpd_enable="YES"
ntpd_sync_on_start="YES"

# Enable the firewall
pf_rules="/etc/pf.conf"
pf_rules_enable="YES"
pf_enable="YES"
pf_flags=""

bsdstats_enable="YES"
hostname="pcbsd"
ifconfig_dc0="DHCP"
oss_enable="YES"
defaultrouter="6..."
defaultrouter="6..."
defaultrouter="6..."

------------------Loader File-------------------------

linux_load="YES"
ulpt_load="YES"
vesa_load="YES"
splash_pcx_load="YES"
bitmap_load="YES"
bitmap_name="/boot/loading-screen.pcx"
hw.ata.atapi_dma="1"
autoboot_delay="5"
nvidia_load="YES"

------------------Free Space--------------------------

Filesystem 1M-blocks Used Avail Capacity Mounted on
/dev/ad1s1a 187857 11300 161528 7% /
devfs 0 0 0 100% /dev
linprocfs 0 0 0 100% /compat/linux/proc
/dev/md0 771 0 709 0% /tmp

------------------System Processes--------------------

last pid: 4384; load averages: 0.45, 0.40, 0.20 up 0+00:05:45 11:01:16
102 processes: 1 running, 101 sleeping

Mem: 135M Active, 74M Inact, 93M Wired, 1136K Cache, 85M Buf, 683M Free
Swap: 512M Total, 512M Free


PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND
1420 root 1 97 0 45988K 31872K select 0:13 5.76% Xorg
4235 root 1 96 0 26376K 21508K select 0:01 2.65% kcmshell
4248 root 1 96 0 25884K 20236K select 0:00 0.76% kdeinit
4080 brian 1 96 0 24032K 19748K select 0:00 0.33% kdesu
2210 brian 1 96 0 32396K 28300K select 0:01 0.24% kdeinit
2256 brian 3 20 0 62760K 50816K kserel 0:07 0.00% amarokapp
2300 brian 1 96 0 40692K 35700K select 0:02 0.00% kdeinit
2465 brian 3 20 0 47428K 39672K kserel 0:02 0.00% kmail
2208 brian 1 96 0 34916K 30980K select 0:01 0.00% kdeinit
2316 brian 1 104 0 24340K 19664K select 0:01 0.00% NetworkTray
1181 haldaemon 1 96 0 4944K 3792K select 0:01 0.00% hald
2189 brian 1 96 0 30804K 25776K select 0:01 0.00% kdeinit
2249 brian 3 20 -76 11840K 8588K kserel 0:01 0.00% artsd
2206 brian 1 96 0 26344K 21320K select 0:01 0.00% kdeinit
3765 brian 1 96 0 28904K 24332K select 0:00 0.00% kdeinit
2317 brian 1 96 0 31724K 25400K select 0:00 0.00% kdeinit
2297 brian 1 96 0 24600K 20668K select 0:00 0.00% kget
2147 brian 1 96 0 3660K 2496K select 0:00 0.00% gam_server

cat /dev/sndstat

%Start -- Settings -- System Administration -- System Manager -- <your password> -- Generate
your: No such file or directory.
%cat /dev/sndstat
OSS 4.0 (b070831/200709211735) CDDL (C) 4Front Technologies 1996-2007
Kernel: FreeBSD 6.2-STABLE #76: Fri Sep 21 11:31:18 PDT 2007
root@pcbsd:/usr/obj/usr/src/sys/PCBSD


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/pcm0.00: pid 2249 cmd 'artsd' OUT
/dev/oss/audigyls0/pcm0.00: pid 2249 cmd 'artsd' OUT
/dev/oss/audigyls0/pcm0.00: pid 2249 cmd 'artsd' OUT 110 underruns


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

kldstat

% kldstat
Id Refs Address Size Name
1 23 0xc0400000 778660 kernel
2 1 0xc0b79000 2434 splash_pcx.ko
3 1 0xc0b7c000 4228 vesa.ko
4 3 0xc0b89000 1eed0 linux.ko
5 1 0xc0ba8000 3890 ulpt.ko
6 1 0xc0bac000 79e458 nvidia.ko
7 1 0xc134b000 5b44c acpi.ko
8 1 0xc57d0000 6000 linprocfs.ko
9 3 0xc5aae000 71000 osscore.ko
10 1 0xc5b27000 6000 audigyls.ko
11 1 0xc5b2d000 a000 vmix.ko
Reply With Quote
  #4  
Old 09-26-2007, 02:09 PM
peispud peispud is offline
Senior Member
 
Join Date: Nov 2005
Location: 46.4260 N 63.6694 W
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to peispud
Default
Also , the oss info . I'm sleeping days so it might be a few hours till I check my messages , again - thanks .

ossinfo

%ossinfo
Version info: OSS 4.0 (b070831/200709211735) (0x00040002) CDDL
Platform: FreeBSD/i386 6.2-STABLE FreeBSD 6.2-STABLE #76: Fri Sep 21 11:31:18 PDT 2007 root@pcbsd:/usr/obj/usr/src/sys/PCBSD (pcbsd)

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)
Reply With Quote
  #5  
Old 09-27-2007, 01:10 AM
Ian_Robinson Ian_Robinson is offline
Senior Member
 
Join Date: Jan 2007
Location: Salem, Ohio, U.S.
Posts: 328
Thanks: 0
Thanked 2 Times in 2 Posts
Default Update on ALSA portion of question
peispud --

I just got your info which will be very helpful to the talented users browsing this topic. I'll work on it best I can, but I wanted you to know that using the ALSA will not work:

Quote:
ALSA is not compatible with PC-BSD. ALSA stands for Advanced Linux Sound Architecture, and only works with Linux.
http://faqs.pcbsd.org/index.php?acti...339&artlang=en
__________________
Ian
FitchKendall AT Gmail.com
Reply With Quote
  #6  
Old 09-27-2007, 02:54 AM
Ian_Robinson Ian_Robinson is offline
Senior Member
 
Join Date: Jan 2007
Location: Salem, Ohio, U.S.
Posts: 328
Thanks: 0
Thanked 2 Times in 2 Posts
Default SoundBlaster needs kernel module snd_emu10k1
ANALYSIS:

1. dmesg output shows the boot process detects that you have a Soundblaster "Audigy LS"
Code:
--------------- dmesg output -------------------------
audigyls0: <AudigyLS> port 0xe200-0xe21f irq 17 at device 9.0 on pci0
2. The output of Messages repeats the discovery ot the Audigy LS and posts two error messages:

Code:
-----------------Messages Output---------------------- 
 
 Sep 26 10:56:14 pcbsd kernel: audigyls0: <AudigyLS> port 0xe200-0xe21f irq 17 at device 9.0 on pci0 
 
 Sep 26 10:56:19 pcbsd root: /etc/rc.d/sysctl: WARNING: sysctl hw.snd.pcm0.vchans does not exist. 
 Sep 26 10:56:19 pcbsd root: /etc/rc.d/sysctl: WARNING: sysctl hw.snd.maxautovchans does not exist.
3. The output of kldstat shows that the loaded sound-related kernel modules are oss, audigyls, and vmix:

Code:
% kldstat 
 Id Refs Address Size Name 

 9 3 0xc5aae000 71000 osscore.ko 
 10 1 0xc5b27000 6000 audigyls.ko 
 11 1 0xc5b2d000 a000 vmix.ko
4. I think you do not have loaded the correct kernel modules. The FreeBSD Handbook states that the kernel module for the Audigy LS card is called snd_emu10k1.ko. It is located in /boot/kernel/, so the complete path would be:

/boot/kernel/snd_emu10k1.ko

WHAT TO DO:

So, you have the wrong kernel module for your sound card. The kldstat command shows that osscore.ko kernel module is loading, but osscore.ko is not listed in /boot/default/loader.conf. Nor listed in your /boot/loader.conf. Thus, I do not know how it is loaded. Regardless, you need to stop the OSS driver, osscore.ko, from loading.

1. What to do: In the terminal, as root, unload a kernel module with the command kldunload <module_name>.ko. ie.,
Code:
# kldunload osscore.ko
You might be able to unload all sound-related modules with
Code:
#kldunload snd_driver
2. You can also load kernel modules after the boot process is completed. For example, to load the correct module via the terminal as root, issue this command: kldload /<path>/<module_name>.ko ie.,
Code:
kldload /<path>/snd_emu10k1.ko 
<or> 
kldload /boot/kernel/snd_emu10k1
3. Now, test the sound.


MAKE IT PERMANENT:

1. First, a little explanation about how the system knows what kernel modules to load --

There are two files, both named loader.conf, that are located in different directories. The main file is /boot/defaults/loader.conf. The supplemental file is /boot/loader.conf. The first file, /boot/defaults/loader.conf, is very large and contains the system defaults. If you read it, almost every possible module is listed but not loaded. Best practice is to NEVER CHANGE THIS FILE. The purpose of the second, or supplemental file, which has very few lines, is to list the "overrides" to the default file. (That way, if you break the system you can easily locate the offending line and remove it.)

The main file, /boot/defaults/loader.conf contains a "sound module" section and includes a line about the emu10k1 module:
Code:
##############################################################
###  Sound modules  ##########################################
##############################################################

<snip away listings before emu10k1>

snd_emu10k1_load="NO" 		# Creative Sound Blaster Live

######################################################
In other words, the default kernel does not load snd_emu10k1.

2. Therefore, for it to load, you must enable snd_emu10k1 in the /boot/loader.conf file. To do that, you edit the file and add this line:

Code:
snd_emu10k1_load="YES"          # Creative Sound Blaster Live
3. There are a variety of ways to make the edit, but you must be root to save the edit.

3.(A) The gui way is:

Start -> System -> More Applications -> File Manager (Super User), use your password, navigate to /boot
locate the file named loader.conf
right click -> open with -> kedit
make the change
file -> save
exit

3.(B). One of the terminal methods, as root, is to enter the "ee" command + filename

Code:
#ee /boot/loader.conf
make the edit
esc
save changes
quit

4. After making the change, reboot.

5. Test for sound.

6. Here are some nice references for you:

A. PCBSD Knowledge Base -- Can't hear sound.... How do I install sound device...??
http://faqs.pcbsd.org/index.php?action= ... artlang=en

B. Enabling sound on FreeBSD 5.x
http://www.freebsdforums.org/forums/sho ... adid=19095

C. FreeBSD Handbook -- Section 7.2 Setting Up the Sound Card
http://www.freebsd.org/doc/en_US.ISO885 ... setup.html

Would you believe the Handbook give an example with the "Soundblaster Live"
__________________
Ian
FitchKendall AT Gmail.com
Reply With Quote
  #7  
Old 09-27-2007, 02:03 PM
peispud peispud is offline
Senior Member
 
Join Date: Nov 2005
Location: 46.4260 N 63.6694 W
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to peispud
Default
Thanks Ian , here's the goods ( bear with me I have to use LinuxMint for a bit to get a few things done ) ;

- made required changes , changed /boot/loader.conf , reboot .
a)the usual KDE dingle on boot
b)OSS mixer is now visible
c)no sound and xine error for amarok , and kaffeine

-I took a look at /boot/defaults/loader.conf
a) enabled the proper driver , no changes on boot
b) enabled the sound subsystem , reboot to choppy sound in kmplayer and nothing in the other players .
c) started to play with other options and the old crash bang reboot fdisk thing raises its head .

I've seen other posts with people who have had OSS problems and am thinking that either the OSS drivers don't work well with FreeBSD6.2 or that the latest OSS drivers are broken . I would like to find a previous version of OSS to pkg_add , the previous version gave me no problems at all .
Reply With Quote
  #8  
Old 09-27-2007, 02:48 PM
Gerard's Avatar
Gerard Gerard is offline
Super Moderator
 
Join Date: Jul 2005
Location: UK
Posts: 469
Thanks: 0
Thanked 1 Time in 1 Post
Default
FYI

There's a PBI available for SBLive
Emu10kx Audio Driver

Code:
Description

This is a port of the snd_emu10kx sound driver. This driver works for SBLive!, Audigy, and Audigy2 based cards.

This is an alternate driver that you may use instead of the snd_emu10k1 driver in the FreeBSD kernel.
Reply With Quote
  #9  
Old 09-27-2007, 05:12 PM
peispud peispud is offline
Senior Member
 
Join Date: Nov 2005
Location: 46.4260 N 63.6694 W
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to peispud
Default
I installed the PBI with the same results on a new , clean install. I then ran osstest which gives sound but still insists on using audigyls . Deinstalling OSS does nothing .
Reply With Quote
  #10  
Old 09-27-2007, 05:30 PM
Ian_Robinson Ian_Robinson is offline
Senior Member
 
Join Date: Jan 2007
Location: Salem, Ohio, U.S.
Posts: 328
Thanks: 0
Thanked 2 Times in 2 Posts
Default SB Live followup
Dear peispud

Sounds like the OSS modules needs to be removed. Also, undo your other changes made to the loader.conf files. The goal is to undo any changes you may have made to the base system so there are no potential conflicts.

The pkg_delete command is used to delete packages that have been previously installed with the pkg_add(1) command. You can find the man page in help, using the command, man pkg_delete in the terminal, or on line. The built in help for pcbsd is good. (Start->Help), then scroll down either left side or the right side until you see the Unix Manual Sections. pkg_delete is in section 1, and you can get there quickly by clicking "p" on the top and scrolling down to the part of the list that starts with pkg_*.

I don't know how far along you got installing pbi's, ports, and packages, but if you have very few, it is only 17 to 30 minutes to install PCBSD fresh (30 mins if you add source and ports from disk two). You'd start out pristine.

I am grateful that Gerard, a member of the PCBSD team, got involved with his great suggestion. After starting with a clean system or after removing OSS and the other changes, you should follow Gerard's suggestion to install the emu PBI. Here is a direct link:

http://www.pbidir.com/packages.php?code=267

Get back to us,

Best regards
__________________
Ian
FitchKendall AT Gmail.com
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sound install failure | creative soundblaster josegator General Questions 11 04-03-2008 07:13 AM
No Sound with Creative Sound Blaster Live 24bit micder FreeBSD Help 9 09-25-2007 07:24 PM
I lost my sound after installing OSS putu Sound and Multimedia 3 09-13-2007 08:42 AM
Soundblaster Live NO MIDI bsdguy Installing PC-BSD 10 09-20-2005 08:32 PM


All times are GMT. The time now is 06:36 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.