Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2001 02:39:29 +0100
From:      j mckitrick <jcm@FreeBSD-uk.eu.org>
To:        freebsd-questions@freebsd.org, freebsd-multimedia@freebsd.org
Subject:   sound problems under 4.3-release
Message-ID:  <20010424023928.A29055@dogma.freebsd-uk.eu.org>

next in thread | raw e-mail | index | archive | help

--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii


Hi all.  I have had this problem since 4.0.  I have a Toshiba 4010CDT with
the Yamaha OPL-whatever sound system (I'm tired of typing the name).

I've been trying to play .wav files and i get the error that /dev/dsp is an
invalid device.  I am using 'play' from ports, but i get the same result
with wavplay and waveplay.

Attached is truss output, kernel config, sndstat, and dmesg.

Please let me know if i can provide any other info.

jm
-- 
-------------------------------------------
Jonathon McKitrick -- jcm@freebsd-uk.eu.org           
A fool repeats his mistakes.
A smart man learns from his mistakes.
A genius learns from the mistakes of others.
-------------------------------------------

--IJpNTDwzlM2Ie8A6
Content-Type: text/plain
Content-Disposition: attachment; filename="snd_prob.txt"


options  P1003_1B 
options  _KPOSIX_PRIORITY_SCHEDULING
options  _KPOSIX_VERSION=199309L

# sound
#device pcm
device pcm0 at isa? port ? irq 5 drq 1 flags 0x15 # try this next
#device pcm at isa? port ? irq 5 drq 1 flags 0x13
#device pcm0 at isa? port ? irq 5 drq 1 flags 0x0 # try this next

local:~> truss play /etc/ppp/smoking.wav
close(3)                                         = 0 (0x0)
access("/usr/lib/libc.so.4",0)                   = 0 (0x0)
open("/usr/lib/libc.so.4",0,027757775640)        = 3 (0x3)
fstat(3,0xbfbffb70)                              = 0 (0x0)
read(0x3,0xbfbfeb40,0x1000)                      = 4096 (0x1000)
mmap(0x0,614400,0x5,0x2,3,0x0)                   = 671506432
(0x28066000)
mmap(0x280e3000,20480,0x3,0x12,3,0x7c000)        = 672018432
(0x280e3000)
mmap(0x280e8000,81920,0x3,0x1012,-1,0x0)         = 672038912
(0x280e8000)
close(3)                                         = 0 (0x0)
sigaction(SIGILL,0xbfbffbc8,0xbfbffbb0)          = 0 (0x0)
sigprocmask(0x1,0x0,0x2805c85c)                  = 0 (0x0)
sigaction(SIGILL,0xbfbffbb0,0x0)                 = 0 (0x0)
sigprocmask(0x1,0x2805c820,0xbfbffbf0)           = 0 (0x0)
sigprocmask(0x3,0x2805c830,0x0)                  = 0 (0x0)
sigaction(SIGINT,0xbfbffbf4,0xbfbffbdc)          = 0 (0x0)
open("/etc/ppp/smoking.wav",0,027757776254)      = 3 (0x3)
read(0x3,0x804bd00,0x2c)    
open("/dev/dsp",1,027757776240)                  = 4 (0x4)
ioctl(4,SNDCTL_DSP_GETBLKSIZE,0xbfbffbd8)        = 0 (0x0)
ioctl(4,SNDCTL_DSP_SETFMT,0x804bd20)             ERR#22 'Invalid argument'
play: write(2,0xbfbff434,6)                              = 6 (0x6)
/dev/dspwrite(2,0xbfbff464,8)                            = 8 (0x8)
: write(2,0xbfbff424,2)                          = 2 (0x2)
Invalid argument
write(2,0xbfbff424,17)                           = 17 (0x11)
close(4)                                         = 0 (0x0)
sigprocmask(0x1,0x2805c820,0xbfbffbe8)           = 0 (0x0)
sigprocmask(0x3,0x2805c830,0x0)                  = 0 (0x0)
exit(0x0)                                       process exit, rval = 0
local:~>

local:~> dmesg
Copyright (c) 1992-2001 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 4.3-STABLE #0: Mon Apr 23 15:09:19 EDT 2001
    jcm@localhost:/usr/obj/usr/src/sys/JUPITER
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (134.37-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 67043328 (65472K bytes)
avail memory = 62308352 (60848K bytes)
Preloaded elf kernel "kernel" at 0xc02f3000.
VESA: v2.0, 2048k memory, flags:0x0, mode table:0xc029c3c0 (1000040)
VESA: CHIPS 6x555 Super VGA
Pentium Pro MTRR support enabled
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX host to PCI bridge (AGP disabled)> on motherboard
pci0: <PCI bus> on pcib0
pcic-pci0: <Toshiba ToPIC97 PCI-CardBus Bridge> at device 2.0 on pci0
pcic-pci1: <Toshiba ToPIC97 PCI-CardBus Bridge> at device 2.1 on pci0
pci0: <Chips & Technologies 65555 SVGA controller> at 4.0
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xfe60-0xfe6f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 11
chip1: <Intel 82371AB Power management controller> port 0xfe70-0xfe7f at device 7.3 on pci0
chip2: <Toshiba Fast Infra Red controller> port 0xff80-0xff9f irq 11 at device 10.0 on pci0
fdc0: <NEC 765 or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
pcic0: <Intel i82365> at port 0x3e0-0x3e1 on isa0
pcic0: Polling mode
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
pcm0: <OPL3-SAx (YMF719)> at port 0x530-0x537,0x538-0x539 irq 5 drq 1 flags 0xc115 on isa0
IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to accept, logging limited to 10 packets/entry by default
pccard: card inserted, slot 1
ata1-slave: ata_command: timeout waiting for intr
ata1-slave: identify failed
ad0: 4126MB <IBM-DKLA-24320> [8944/15/63] at ata0-master UDMA33
acd0: CDROM <CD-220EA> at ata1-master using PIO4
Mounting root from ufs:/dev/ad0s1a
sio1 at port 0x2f8-0x2ff irq 3 slot 1 on pccard1
sio1: type 16550A

local:~> cat /dev/sndstat
FreeBSD Audio Driver (newpcm) Apr 23 2001 15:07:14
Installed devices:
pcm0: <OPL3-SAx (YMF719)> at io 0x530 irq 5 drq 1:5 (1p/1r channels duplex)

--IJpNTDwzlM2Ie8A6--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010424023928.A29055>