Line-in on sblive (uadio) on RELENG_6 ?

Robin P. Blanchard robin.blanchard at
Tue Jul 24 12:31:24 UTC 2007

Since migrating a local NPR station from RELENG_5 with a pci ES1370 card to
RELENG_6 with an USB SBLive, listeners are complaining of very low levels.
The feed (from the radio station) is straight into the line-in on the sblive
(but notice that mixer reports the only recording device as mic). On the
previous server, line-in was an option. Despite the recording device being
currently set to 'mic' (and the cabling plugged into line-in), sound is
indeed being captured and recorded. Adjusting the mixer levels seems to have
no impact on volume whatsoever. Should I just go ahead and try using the
mic-in ? Or am I missing something simple here ?


# mixer 
Mixer vol      is currently set to 100:100
Mixer pcm      is currently set to  99:99
Mixer speaker  is currently set to  99:99
Mixer line     is currently set to  99:99
Recording source: mic

# sysctl -a |egrep 'pcm|audio'

hw.snd.pcm0.buffersize: 16384
hw.snd.pcm0.vchans: 1
dev.uaudio.0.%desc: Creative Technology SB Live! 24-bit External, rev
1.10/1.00, addr 2
dev.uaudio.0.%driver: uaudio
dev.uaudio.0.%location: port=1 interface=0
dev.uaudio.0.%pnpinfo: vendor=0x041e product=0x3040 devclass=0x00
devsubclass=0x00 release=0x0100 sernum="" intclass=0x01 intsubclass=0x01
dev.uaudio.0.%parent: uhub2
dev.pcm.0.%desc: USB Audio
dev.pcm.0.%driver: pcm
dev.pcm.0.%parent: uaudio0

# cat /dev/sndstat 
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <USB Audio> at ? kld snd_uaudio (1p/1r/1v channels duplex default)
        mode 1:(output) 2ch, 16/16bit, pcm, 44100Hz
        mode 2:(output) 2ch, 24/24bit, pcm, 44100Hz
        mode 3:(output) 4ch, 16/16bit, pcm, 44100Hz
        mode 4:(output) 4ch, 24/24bit, pcm, 44100Hz
        mode 5:(output) 6ch, 16/16bit, pcm, 44100Hz
        mode 6:(output) 6ch, 24/24bit, pcm, 44100Hz
        mode 7:(output) 2ch, 16/16bit, pcm, 48000Hz
        mode 8:(output) 2ch, 24/24bit, pcm, 48000Hz
        mode 9:(output) 4ch, 16/16bit, pcm, 48000Hz
        mode 10:(output) 4ch, 24/24bit, pcm, 48000Hz
        mode 11:(output) 6ch, 16/16bit, pcm, 48000Hz
        mode 12:(output) 6ch, 24/24bit, pcm, 48000Hz
        mode 13:(output) 2ch, 16/16bit, pcm, 96000Hz
        mode 14:(output) 2ch, 24/24bit, pcm, 96000Hz
        mode 1:(input) 2ch, 16/16bit, pcm, 44100Hz
        mode 2:(input) 2ch, 24/24bit, pcm, 44100Hz
        mode 3:(input) 2ch, 16/16bit, pcm, 48000Hz
        mode 4:(input) 2ch, 24/24bit, pcm, 48000Hz
        mode 5:(input) 2ch, 16/16bit, pcm, 96000Hz
        mode 6:(input) 2ch, 24/24bit, pcm, 96000Hz
        [pcm0:play:0:dsp0.0]: spd 48000, fmt 0x10000010, flags 0x00101000,
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_vchan_s16(0x10000010) -> feeder_volume_s16 ->
        [pcm0:record:0:dsp0.1]: spd 44100, fmt 0x10000010, flags 0x00001030,
0x00000000, pid 11322
        interrupts 50496534, overruns 0, hfree 16384, sfree 131072
        {hardware} -> feeder_root(0x10000010) -> {userland}
        pcm0:play:0:dsp0.0[pcm0:virtual:0:dsp0.2]: spd 0, fmt
0x00000000/0x00000008, flags 0x10000000, 0x00000000
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_root(0x00000000) -> {hardware}

File Versions:
$FreeBSD: src/sys/dev/sound/isa/sndbuf_dma.c,v 1.3 2005/01/06 01:43:17 imp
Exp $
$FreeBSD: src/sys/dev/sound/pcm/vchan.c,v 2007/02/04 06:17:14 ariff
Exp $
$FreeBSD: src/sys/dev/sound/pcm/sound.c,v 2007/06/04 09:06:05 ariff
Exp $
$FreeBSD: src/sys/dev/sound/pcm/sndstat.c,v 2005/12/30 19:55:54
netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/mixer.c,v 2007/05/13 20:53:39 ariff
Exp $
$FreeBSD: src/sys/dev/sound/pcm/feeder_volume.c,v 2005/12/30 19:55:54
netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/feeder_rate.c,v 2006/01/29 02:27:28
ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/feeder_fmt.c,v 2006/01/29 02:27:28
ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/feeder.c,v 2006/03/07 15:51:19 jhb
Exp $
$FreeBSD: src/sys/dev/sound/pcm/fake.c,v 2005/12/30 19:55:54
netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/dsp.c,v 2007/07/08 14:01:11 ariff
Exp $
$FreeBSD: src/sys/dev/sound/pcm/channel.c,v 2007/05/13 20:53:39
ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/buffer.c,v 2007/04/26 08:21:43 ariff
Exp $
$FreeBSD: src/sys/dev/sound/pcm/ac97_patch.c,v 2007/07/04 04:04:42
ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/ac97.c,v 2007/05/13 20:53:39 ariff
Exp $
root at live [~]# 

Robin P. Blanchard
Systems Integration Specialist
The University of Georgia
Center for Continuing Education
Conference Center & Hotel
fon: 706.542.2404 < > fax: 706.542.1587

More information about the freebsd-questions mailing list