Subject: arts problem (was sis 7012 and arts)
To: netbsd help <netbsd-help@netbsd.org>
From: Mark Kirby <mrk@coris.org.uk>
List: netbsd-help
Date: 11/12/2003 14:15:10
Hi,

Cant get any sound at all through arts. The only way to get sound as far as 
i've found is to pass an audio file directly through dev/sound or dev/audio.

dmesg output follows.


NetBSD 1.6ZE (GENERIC) #1: Fri Nov  7 17:27:30 GMT 2003
        root@loki:/usr/obj/sys/arch/i386/compile/GENERIC
total memory = 383 MB
avail memory = 347 MB
using 4935 buffers containing 19740 KB of memory
BIOS32 rev. 0 found at 0xfdae0
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Athlon Model 4 (Thunderbird) (686-class), 896.23 MHz, id 0x642
cpu0: features c1c7f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features c1c7f9ff<PGE,MCA,CMOV,PAT,PSE36,PN,MMXX,MMX>
cpu0: features c1c7f9ff<FXSR,3DNOW2,3DNOW>
cpu0: I-cache 64 KB 64b/line 2-way, D-cache 64 KB 64b/line 2-way
cpu0: L2 cache 256 KB 64b/line 16-way
cpu0: ITLB 16 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: DTLB 24 4 KB entries fully associative, 8 4 MB entries 4-way
cpu0: 8 page colors
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Silicon Integrated System SiS 735 Host Bridge (rev. 0x01)
agp0 at pchb0: aperture at 0xd0000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: Silicon Integrated System 86C201 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: ATI Technologies 3D Rage Pro (AGP) (rev. 0x5c)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 2 function 0
pcib0: Silicon Integrated System 85C503 or 5597/5598 ISA bridge (rev. 0x00)
ohci0 at pci0 dev 2 function 2: Silicon Integrated System 5597/5598 USB host 
controller (rev. 0x07)
ohci0: interrupting at irq 11
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Silicon Integra OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 2 function 3: Silicon Integrated System 5597/5598 USB host 
controller (rev. 0x07)
ohci1: interrupting at irq 11
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Silicon Integra OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
siside0 at pci0 dev 2 function 5
siside0: Silicon Integrated System 735 IDE controller (rev. 0xd0)
siside0: bus-master DMA support present
siside0: primary channel wired to compatibility mode
siside0: primary channel interrupting at irq 14
atabus0 at siside0 channel 0
siside0: secondary channel wired to compatibility mode
siside0: secondary channel interrupting at irq 15
atabus1 at siside0 channel 1
auich0 at pci0 dev 2 function 7: SiS 7012 AC-97 Audio
auich0: interrupting at irq 11
auich0: ac97: Realtek RL5383/RL5522/ALC100 codec; Realtek 3D
auich0: ac97: ext id 200<AMAP>
tlp0 at pci0 dev 17 function 0: Macronix MX98715AEC-x Ethernet, pass 2.5
tlp0: broken MicroWire interface detected; setting SROM size to 1Kb
tlp0: interrupting at irq 11
tlp0: Ethernet address 00:20:18:a8:45:4a
tlp0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
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
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
audio0 at auich0: full duplex, independent
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
wd0 at atabus0 drive 0: <IBM-DTLA-307030>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 29314 MB, 59560 cyl, 16 head, 63 sec, 512 bytes/sect x 60036480 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(siside0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA 
data transfers)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <HITACHI DVD-ROM GD-7500, , 0005> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(siside0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA 
data transfers)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)

kde shows my sound card as the same as in dmesg.

When i run artsd -l 0 on the command line i get 
bash-2.05b$ artsd -l 0
artsd version is 1.1.4
gsl: using Unix98 pthreads directly for mutexes and conditions
autodetecting driver:
 - toss: 4
 - null: -1
 - oss: 10
... which means we'll default to oss
device capabilities: revision0 duplex trigger
buffering: 7 fragments with 1024 bytes (audio latency is 40.6 ms)
AudioIOOSS: failed prefilling audio buffer (might cause synchronization 
problems in conjunction with full duplex)
virtualize StereoVolumeControl
device capabilities: revision0 duplex trigger
buffering: 7 fragments with 1024 bytes (audio latency is 40.6 ms)
AudioIOOSS: failed prefilling audio buffer (might cause synchronization 
problems in conjunction with full duplex)
audio format is 44100 Hz, 16 bits, 2 channels
addDirectory(/usr/pkg/lib/mcop,)
addDirectory(/usr/pkg/lib/mcop/Arts,Arts)
addDirectory(/usr/pkg/lib/mcop/Arts/Environment,Arts::Environment)
addDirectory(/usr/pkg/lib/mcop/Noatun,Noatun)
addDirectory(/home/mark/.mcop/trader-cache,)
unix_connect: can't connect to server 
(unix:/tmp/mcop-mark/loki_coris_org_uk-062a-3fb23977)
Arts::MidiManager registered successfully.
There are already artsd objects registered, looking if they are active...
unix_connect: can't connect to server 
(unix:/tmp/mcop-mark/loki_coris_org_uk-062a-3fb23977)
... cleaned 5 unused mcop global references.

unix_connect: can't connect to server 
(unix:/tmp/mcop-mark/loki_coris_org_uk-062a-3fb23977)
(The previous message was repeated 4 times.)
AudioSubSystem::handleIO: write failed
len = 964, can_write = 1024, errno = 17 (File exists)

This might be a sound hardware/driver specific problem (see aRts FAQ)

I looked in /tmp/mcop-mark and the server exists.

I have no idea what to do now, so anybody got any ideas (farfetched or 
otherwise).

Sorry about the length but i'm new to NetBSD and unix so i didnt know how much 
info to include.

Thanks in advance.

Mark