[Kde-nonlinux] KDE No sound for Open BSD

Chris cditri at comcast.net
Sun Sep 25 04:28:27 CEST 2005


Hello everyone.

I am trying out OpenBSD (I use typically use Linux, usually Gentoo).  I
had installed 3.6 on my laptop, then had to put it away for a while,
when I got back to it 3.7 was out so I upgraded (which upgraded my KDE
as well from 3.2 to 3.3).

Neither on 3.6 nor on 3.7 was I able to get the sound working while in
KDE.  I am certain that the sound works fine, because I can use waveplay
to play wave files from the command line.

To rule out permission issues, I am running this all as root. Normally,
I wouldn't do this.

It is only in KDE that my sound does not work.  Artsd is running in the
background, and by default points to /dev/sound and uses OSS.  I have
tried about every permutation I can think of in the settings on the control
panel, and nothing works.

I get no errors if I leave these defaults.  Sometimes I get a
high-pitched  squeak, but usually I get nothing out of the speakers.

When I click "test" on the sound system control panel in KDE, I hear
nothing, but this prints up on the vt where I started X:

    Server STatus:  Running, autosuspend disabled
    real-time status: no real-time support
    server buffer time: 40.5349 ms
    buffersize multiplier: 1
    minimum stream buffer time: 40.6349 ms
    auto suspend time: 0 s
    audio method: oss
    sampling rate 44100
    channels: 2
    sample size 16 bits
    duplex: half
    device: /dev/sound
    fragments 7
    fragment size: 1024



I have visited http://docs.kde.org/development/en/kdebase/faq/sound.html and tried everything.  No dice.

The peculiar thing is that when I ran artsd -l 0, and used artsplay to play a wav file, I still got nothing (or a high-pitched, barely audible squeal) -- and yet there was absolutely no error output on the terminal I was running artsd -l 0 on.

UnixManager: got notifyIO
socketconnection created, fd = 11
search playobject, extension = wav
creating Arts::audiofilePlayObject to play file /usr/local/share/sounds/KDE_Window_Sticky.wav
loading wav: /usr/local/share/sounds/KDE_Window_Sticky.wav
  frame size: 2
  channels: 1
  bits: 16
job finished
            

So arts thinks that it did its job just fine (even though it clearly didn't).  I can bypass arts and play the same file with waveplay without any problems.


What am I missing here?  I have spent days fiddling with this, but I
haven't a clue.  What does aRts want from me?

Thank you for you help.

Chris




My system:

IBM thinkpad 390e
Soundcard: ESS SOLO-1

dmesg:
======================================================================================
OpenBSD 3.7 (RAMDISK_CD) #573: Sun Mar 20 00:27:05 MST 2005
    deraadt at i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Intel Celeron ("GenuineIntel" 686-class, 256KB L2 cache) 299 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem  = 267952128 (261672K)
avail mem = 238706688 (233112K)
using 3296 buffers containing 13500416 bytes (13184K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(7c) BIOS, date 11/17/99, BIOS32 rev. 0 @ 0xfd7a0
apm0 at bios0: Power Management spec V1.2
pcibios0 at bios0: rev 2.1 @ 0xfd7a0/0x860
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf40/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:02:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #3 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 "Intel 82443BX AGP" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Neomagic Magicgraph NM2200" rev 0x20
wsdisplay0 at vga1: console (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 2 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK3021GAS>
wd0: 16-sector PIO, LBA, 28615MB, 58605120 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <LG, CD-ROM CRN-8241B, 1.16> SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 2 function 2 "Intel 82371AB USB" rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82371AB Power Mgmt" rev 0x02 at pci0 dev 2 function 3 not configured
cbb0 at pci0 dev 3 function 0 "Texas Instruments PCI1251 CardBus" rev
0x01: irq 11
cbb1 at pci0 dev 3 function 1 "Texas Instruments PCI1251 CardBus" rev
0x01: irq 11
"AT&T/Lucent LTMODEM" rev 0x01 at pci0 dev 6 function 0 not configured
"ESS SOLO-1 AudioDrive" rev 0x02 at pci0 dev 7 function 0 not configured
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
npx0 at isa0 port 0xf0/16: using exception 16
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
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x80
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x0, lattimer 0x80
pcmcia1 at cardslot1
biomask fff5 netmask fff5 ttymask fff7
rd0: fixed, 3800 blocks
ep1 at pcmcia0 function 0 "3Com, OfficeConnect 572B, B" port 0xa000/32:
address 00:00:86:62:83:f5
tqphy0 at ep1 phy 0: 78Q2120 10/100 PHY, rev. 10
root on rd0a
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02
syncing disks... done
rebooting...
OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005
    deraadt at i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Celeron ("GenuineIntel" 686-class, 256KB L2 cache) 299 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem  = 267952128 (261672K)
avail mem = 237731840 (232160K)
using 3296 buffers containing 13500416 bytes (13184K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(7c) BIOS, date 11/17/99, BIOS32 rev. 0 @ 0xfd7a0
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 76%
apm0: AC on, battery charge high, charging
pcibios0 at bios0: rev 2.1 @ 0xfd7a0/0x860
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf40/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:02:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #3 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 "Intel 82443BX AGP" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Neomagic Magicgraph NM2200" rev 0x20
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 2 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK3021GAS>
wd0: 16-sector PIO, LBA, 28615MB, 58605120 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <LG, CD-ROM CRN-8241B, 1.16> SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 2 function 2 "Intel 82371AB USB" rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82371AB Power Mgmt" rev 0x02 at pci0 dev 2 function 3 not configured
cbb0 at pci0 dev 3 function 0 "Texas Instruments PCI1251 CardBus" rev
0x01: irq 11
cbb1 at pci0 dev 3 function 1 "Texas Instruments PCI1251 CardBus" rev
0x01: irq 11
"AT&T/Lucent LTMODEM" rev 0x01 at pci0 dev 6 function 0 not configured
eso0 at pci0 dev 7 function 0 "ESS SOLO-1 AudioDrive" rev 0x02: ES1946
rev E, irq 5
eso0: mapping Audio 1 DMA using VC I/O space at 0xfc70
audio0 at eso0
opl0 at eso0: model OPL3
midi0 at opl0: <ESO Yamaha OPL3>
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt2 at isa0 port 0x3bc/4: polled
npx0 at isa0 port 0xf0/16: using exception 16
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
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x80
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x0, lattimer 0x80
pcmcia1 at cardslot1
biomask efd5 netmask efd5 ttymask ffd7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
ep1 at pcmcia0 function 0 "3Com, OfficeConnect 572B, B" port 0xa000/32:
address 00:00:86:62:83:f5
tqphy0 at ep1 phy 0: 78Q2120 10/100 PHY, rev. 10
wi0 at pcmcia1 function 0 "U.S. Robotics, IEEE 802.11b PC-CARD, Version
01.02" port 0xa400/64
wi0: PRISM2 HWB3163 rev.A, Firmware 0.3.0 (primary), 1.7.1 (station),
address 00:90:d1:08:44:7d
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
syncing disks... done
rebooting...
OpenBSD 3.6-stable (GENERIC) #1: Wed Sep 21 19:36:10 EDT 2005
    root at chris390:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Celeron ("GenuineIntel" 686-class, 256KB L2 cache) 299 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem  = 267952128 (261672K)
avail mem = 237719552 (232148K)
using 3296 buffers containing 13500416 bytes (13184K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(7c) BIOS, date 11/17/99, BIOS32 rev. 0 @ 0xfd7a0
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 98%
apm0: AC on, battery charge high
pcibios0 at bios0: rev 2.1 @ 0xfd7a0/0x860
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf40/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:02:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #3 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 "Intel 82443BX AGP" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Neomagic Magicgraph NM2200" rev 0x20
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 2 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK3021GAS>
wd0: 16-sector PIO, LBA, 28615MB, 58605120 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <LG, CD-ROM CRN-8241B, 1.16> SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 2 function 2 "Intel 82371AB USB" rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82371AB Power Mgmt" rev 0x02 at pci0 dev 2 function 3 not configured
cbb0 at pci0 dev 3 function 0 "Texas Instruments PCI1251 CardBus" rev
0x01: irq 11
cbb1 at pci0 dev 3 function 1 "Texas Instruments PCI1251 CardBus" rev
0x01: irq 11
"AT&T/Lucent LTMODEM" rev 0x01 at pci0 dev 6 function 0 not configured
eso0 at pci0 dev 7 function 0 "ESS SOLO-1 AudioDrive" rev 0x02: ES1946
rev E, irq 5
eso0: mapping Audio 1 DMA using VC I/O space at 0xfc70
audio0 at eso0
opl0 at eso0: model OPL3
midi0 at opl0: <ESO Yamaha OPL3>
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: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt2 at isa0 port 0x3bc/4: polled
npx0 at isa0 port 0xf0/16: using exception 16
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
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x80
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x0, lattimer 0x80
pcmcia1 at cardslot1
biomask efd5 netmask efd5 ttymask ffd7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
ep1 at pcmcia0 function 0 "3Com, OfficeConnect 572B, B" port 0xa000/32:
address 00:00:86:62:83:f5
tqphy0 at ep1 phy 0: 78Q2120 10/100 media interface, rev. 10
wi0 at pcmcia1 function 0 "U.S. Robotics, IEEE 802.11b PC-CARD, Version
01.02" port 0xa400/64
wi0: PRISM2 HWB3163 rev.A, Firmware 0.3.0 (primary), 1.7.1 (station),
address 00:90:d1:08:44:7d
===================================================================================================







More information about the kde-nonlinux mailing list