uaudio and Digigram UAX220

Per olof Ljungmark peo at intersonic.se
Fri Oct 21 04:05:27 PDT 2005


Ariff Abdullah wrote:
> rm -rf /usr/src/sys/dev/sound
> rm -f /usr/src/sys/conf/file /usr/src/sys/sys/soundcard.h
> rm -f /usr/src/sys/modules/sound/sound/Makefile
> 
> re-cvsup
> 
> get http://people.freebsd.org/~ariff/snd_RELENG_5_20051009_054.diff
> (note that RELENG_5, not RELENG_5_X nor RELENG_6 nor HEAD)
> 
> cd /usr/src/ ; patch -p0 < snd_RELENG_5_20051009_054.diff
> 
I followed the above procedure (kernel is GENERIC with i486 and i586 
removed) and got the results below. Sources are RELENG_5 from yesterday, 
I rebuilt both world and kernel from scratch.

If there is any information from Digigram that could help I could 
possibly assist in providing that.

Thank you for your efforts,

Per olof

IBM Thinkpad T41 2373

FreeBSD chinacat.h.inter-sonic.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Thu 
Oct 20 20:42:52 CEST 2005 
peo at chinacat.i.inter-sonic.com:/usr/obj/usr/src/sys/CHINACAT  i386

[chinacat] /home/peo# dmesg | grep pcm
pcm0: <Intel ICH4 (82801DB)> port 0x18c0-0x18ff,0x1c00-0x1cff mem 
0xc0000800-0xc00008ff,0xc0000c00-0xc0000dff irq 11 at device 31.5 on pci0
pcm0: <Analog Devices AD1981B AC97 Codec>
pcm1: <USB Audio> on uaudio0
pcm1: chn_init(pcm1:play:0) failed: err = 19
pcm1: pcm_chn_create(ua_chan, 1, 0xc1b67a80) failed
pcm1: chn_init(pcm1:record:0) failed: err = 19
pcm1: pcm_chn_create(ua_chan, -1, 0xc1b67a80) failed

[chinacat] /home/peo# /usr/sbin/mixer
Mixer vol      is currently set to 100:100
Mixer pcm      is currently set to  92:92
Mixer line     is currently set to   0:0
Mixer mic      is currently set to   0:0
Mixer cd       is currently set to  78:78
Mixer rec      is currently set to   0:0
Mixer ogain    is currently set to   0:0
Mixer line1    is currently set to   0:0
Mixer phin     is currently set to   0:0
Mixer phout    is currently set to   0:0
Recording source: mic

pcm0 at pci0:31:5: class=0x040100 card=0x05371014 chip=0x24c58086 rev=0x01 
hdr=0x00
     vendor   = 'Intel Corporation'
     device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio 
Controller'
     class    = multimedia
     subclass = audio

cc -O -pipe  -D_KERNEL -DKLD_MODULE -nostdinc -I-   -include 
/usr/obj/usr/src/sys/CHINACAT/opt_global.h -I. -I@ -I@/contrib/altq 
-I@/../include -finline-limit=8000 -fno-common 
-I/usr/obj/usr/src/sys/CHINACAT -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-ffreestanding -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -c 
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_volume.c
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_volume.c:110: 
error: redefinition of 'sndstat_vinfo'
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_volume.c:32: 
error: previous definition of 'sndstat_vinfo' was here
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_volume.c:115: 
error: redefinition of 'feed_volume_s16'
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_volume.c:37: 
error: previous definition of 'feed_volume_s16' was here
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_volume.c:148: 
error: redefinition of 'feeder_volume_s16_desc'
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_volume.c:70: 
error: previous definition of 'feeder_volume_s16_desc' was here
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_volume.c:152: 
error: redefinition of 'feeder_volume_s16_methods'
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_volume.c:74: 
error: previous definition of 'feeder_volume_s16_methods' was here
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_volume.c:156: 
error: redefinition of 'feeder_volume_s16_class'
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_volume.c:78: 
error: previous definition of 'feeder_volume_s16_class' was here
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_volume.c:156: 
error: redefinition of 'feeder_volume_s16_sys_init'
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_volume.c:78: 
error: previous definition of 'feeder_volume_s16_sys_init' was here
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_volume.c:156: 
error: redefinition of '__set_sysinit_set_sym_feeder_volume_s16_sys_init'
/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/feeder_volume.c:78: 
error: previous definition of 
'__set_sysinit_set_sym_feeder_volume_s16_sys_init' was here
{standard input}: Assembler messages:
{standard input}:185: Error: symbol `sndstat_vinfo' is already defined
{standard input}:220: Error: symbol `feeder_volume_s16_desc' is already 
defined
{standard input}:234: Error: symbol `feeder_volume_s16_methods' is 
already defined
{standard input}:242: Error: symbol `feeder_volume_s16_class' is already 
defined
{standard input}:253: Error: symbol `feeder_volume_s16_sys_init' is 
already defined
{standard input}:262: Error: symbol 
`__set_sysinit_set_sym_feeder_volume_s16_sys_init' is already defined
*** Error code 1

Stop in /usr/src/sys/modules/sound/sound.


More information about the freebsd-multimedia mailing list