Re: [Alsa-user] Creative Sound Blaster MP3+ USB - Linein Capture

2004-03-25 Thread Steve Jones
On Wed, Mar 24, 2004 at 04:03:39PM -0500, Steve Jones wrote:
 On Wed, Mar 24, 2004 at 07:48:21PM +0100, Jaroslav Kysela wrote:
  On Wed, 24 Mar 2004, Steve Jones wrote:
  
   I've tried every reasonable combination, but I still
   capture nothing from those inputs. I've tried 'PCM Capture
   Source' in each of the three settings ('Mic', 'Input 1' and
   'Input 2'). I've enabled capture for PCM and PCM 1. I've
   tried every combination of CAPTUR settings and I've unmuted
   everything.
 
  This configuration works for me (not very intuitive - I'm
  planning to reorganize controls a bit):

 Thanks! I'll give it a try.

It works, thanks!

So in summary, with the Sound Blaster MP3+ USB I am able to:

Playback with phones out
Capture with mic in
Capture with line ins

with reasonable results for an inexpensive USB card. My S/N is
pretty bad right now, but I think need a decent preamp for my
miked stuff. I've not tried playback through line outs yet nor
optical I/O.

thanks to all who responded!
steve

-- 
Steve Jones

Outside of a dog, a book is man's best friend.  Inside of
a dog, it's too dark to read.  -- G. Marx


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Creative Sound Blaster MP3+ USB - Linein Capture

2004-03-24 Thread Jaroslav Kysela
On Tue, 23 Mar 2004, Steve Jones wrote:

 Hello,
 
 I've managed to get my Sound Blaster MP3+ USB functioning in
 part. Playback works nicely and I can capture from the mic input.
 But I've not been able to capture from the 'LINE-IN' inputs,
 which is primarily what I'm interested in doing (ooh, so close!).
 
 Is anyone doing this?

It works, but you must use alsamixer or some other native ALSA mixer
to setup the mixer correctly (there is input source).

Jaroslav

-
Jaroslav Kysela [EMAIL PROTECTED]
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Creative Sound Blaster MP3+ USB - Linein Capture

2004-03-24 Thread Steve Jones
Jaroslav,

On Wed, Mar 24, 2004 at 09:16:29AM +0100, Jaroslav Kysela wrote:
 On Tue, 23 Mar 2004, Steve Jones wrote:
  I've managed to get my Sound Blaster MP3+ USB functioning in
  part. Playback works nicely and I can capture from the mic
  input. But I've not been able to capture from the 'LINE-IN'
  inputs, which is primarily what I'm interested in doing (ooh,
  so close!).
 
  Is anyone doing this?

 It works, but you must use alsamixer or some other native ALSA
 mixer to setup the mixer correctly (there is input source)u

I've been using alsamixer, as well as other mixers (both alsa and
oss), but I've found no combination of settings that works for
the LINE-INs. The controls I see are:

# amixer scontrols ###
Simple mixer control 'PCM',0
Simple mixer control 'PCM Capture Source',0
Simple mixer control 'PCM',1
Simple mixer control 'Mic',0
Simple mixer control 'Auto Gain Control',0
Simple mixer control 'Speaker',0
Simple mixer control 'Speaker',1
##

I've tried every reasonable combination, but I still capture
nothing from those inputs. I've tried 'PCM Capture Source' in
each of the three settings ('Mic', 'Input 1' and 'Input 2'). I've
enabled capture for PCM and PCM 1. I've tried every combination
of CAPTUR settings and I've unmuted everything.

If someone would be kind enough to post an 'asound.state' file
that is known to enable LINE-IN input, I could at least rule out
that as being the problem.

thanks,
steve

-- 
Steve Jones

Outside of a dog, a book is man's best friend.  Inside of
a dog, it's too dark to read.  -- G. Marx


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Creative Sound Blaster MP3+ USB - Linein Capture

2004-03-24 Thread Jaroslav Kysela
On Wed, 24 Mar 2004, Steve Jones wrote:

 I've tried every reasonable combination, but I still capture
 nothing from those inputs. I've tried 'PCM Capture Source' in
 each of the three settings ('Mic', 'Input 1' and 'Input 2'). I've
 enabled capture for PCM and PCM 1. I've tried every combination
 of CAPTUR settings and I've unmuted everything.

This configuration works for me (not very intuitive - I'm planning
to reorganize controls a bit):

state.MP3 {
control.1 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic Playback Switch'
value true
}
control.2 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 255'
iface MIXER
name 'Mic Playback Volume'
value 194
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Speaker Playback Switch'
value false
}
control.4 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 255'
iface MIXER
name 'Speaker Playback Volume'
value.0 191
value.1 191
}
control.5 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Speaker Playback Switch'
index 1
value true
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 255'
iface MIXER
name 'Speaker Playback Volume'
index 1
value.0 255
value.1 255
}
control.7 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic Capture Switch'
value false
}
control.8 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 128'
iface MIXER
name 'Mic Capture Volume'
value 97
}
control.9 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Auto Gain Control'
value false
}
control.10 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'PCM Capture Switch'
value true
}
control.11 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 128'
iface MIXER
name 'PCM Capture Volume'
value.0 49
value.1 49
}
control.12 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'PCM Capture Switch'
index 1
value false
}
control.13 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 Mic
comment.item.1 'Input 1'
comment.item.2 'Input 2'
iface MIXER
name 'PCM Capture Source'
value 'Input 1'
}
}


Jaroslav

-
Jaroslav Kysela [EMAIL PROTECTED]
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Creative Sound Blaster MP3+ USB - Linein Capture

2004-03-24 Thread Steve Jones
On Wed, Mar 24, 2004 at 07:48:21PM +0100, Jaroslav Kysela wrote:
 On Wed, 24 Mar 2004, Steve Jones wrote:
 
  I've tried every reasonable combination, but I still capture
  nothing from those inputs. I've tried 'PCM Capture Source' in
  each of the three settings ('Mic', 'Input 1' and 'Input 2'). I've
  enabled capture for PCM and PCM 1. I've tried every combination
  of CAPTUR settings and I've unmuted everything.
 
 This configuration works for me (not very intuitive - I'm planning
 to reorganize controls a bit):

Thanks! I'll give it a try.

-- 
Steve Jones

Outside of a dog, a book is man's best friend.  Inside of
a dog, it's too dark to read.  -- G. Marx


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Creative Sound Blaster MP3+ USB - Linein Capture

2004-03-23 Thread Steve Jones
Hello,

I've managed to get my Sound Blaster MP3+ USB functioning in
part. Playback works nicely and I can capture from the mic input.
But I've not been able to capture from the 'LINE-IN' inputs,
which is primarily what I'm interested in doing (ooh, so close!).

Is anyone doing this?

I'm using the 1.0.3 modules and libs under 2.6.3 and Debian.

I've tried the captures with both arecord and ecasound.

I'm not sure what the most relevant diagnostics and config are,
but to start:

# modules stuff ##

alias char-major-116 snd
alias char-major-14 soundcore

options snd major=116 cards_limit=4

#
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

alias snd-card-0 snd-usb-audio

alias snd-slot-0 snd-card-0
alias sound-slot-0 snd-slot-0

#
#alias sound-service-1-0 snd-mixer-oss
#alias sound-service-1-1 snd-seq-oss
#alias sound-service-1-3 snd-pcm-oss
#alias sound-service-1-8 snd-seq-oss
#alias sound-service-1-12 snd-pcm-oss
#
#alias snd-card-1 snd-usb-audio
#
#alias snd-slot-1 snd-card-1
#alias sound-slot-1 snd-slot-1



alias /dev/dsp* snd-pcm-oss

##

# lsusb -v ###
Bus 002 Device 003: ID 041e:3010 Creative Technology, Ltd 
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   1.10
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0 
  bDeviceProtocol 0 
  bMaxPacketSize064
  idVendor   0x041e Creative Technology, Ltd
  idProduct  0x3010 
  bcdDevice1.00
  iManufacturer   0 
  iProduct1 
  iSerial 0 
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength  294
bNumInterfaces  3
bConfigurationValue 1
iConfiguration  0 
bmAttributes 0x80
MaxPower  500mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   0
  bInterfaceClass 1 Audio
  bInterfaceSubClass  1 Control Device
  bInterfaceProtocol  0 
  iInterface  0 
  AudioControl Interface Descriptor:
bLength10
bDescriptorType36
bDescriptorSubtype  1 (HEADER)
bcdADC   1.00
wTotalLength  169
bInCollection   2
baInterfaceNr( 0)   1
baInterfaceNr( 1)   2
  AudioControl Interface Descriptor:
bLength12
bDescriptorType36
bDescriptorSubtype  2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType  0x0101 USB Streaming
bAssocTerminal  0
bNrChannels 2
wChannelConfig 0x0003
  Left Front (L)
  Right Front (R)
iChannelNames   0 
iTerminal   0 
  AudioControl Interface Descriptor:
bLength12
bDescriptorType36
bDescriptorSubtype  2 (INPUT_TERMINAL)
bTerminalID 2
wTerminalType  0x0201 Microphone
bAssocTerminal  0
bNrChannels 2
wChannelConfig 0x0003
  Left Front (L)
  Right Front (R)
iChannelNames   0 
iTerminal   0 
  AudioControl Interface Descriptor:
bLength12
bDescriptorType36
bDescriptorSubtype  2 (INPUT_TERMINAL)
bTerminalID 3
wTerminalType  0x0603 Line Connector
bAssocTerminal  0
bNrChannels 2
wChannelConfig 0x0003
  Left Front (L)
  Right Front (R)
iChannelNames   0 
iTerminal   0 
  AudioControl Interface Descriptor:
bLength12
bDescriptorType36
bDescriptorSubtype  2 (INPUT_TERMINAL)
bTerminalID 4
wTerminalType  0x0605 SPDIF interface
bAssocTerminal  0
bNrChannels 2
wChannelConfig 0x0003
  Left Front (L)
  Right Front (R)
iChannelNames   0 
iTerminal   0 
  AudioControl Interface Descriptor:
bLength 9
bDescriptorType36
bDescriptorSubtype  3 (OUTPUT_TERMINAL)
bTerminalID 5
wTerminalType  0x0605 SPDIF interface
bAssocTerminal  0

Re: [Alsa-user] Creative Sound Blaster MP3+ USB - Linein Capture

2004-03-23 Thread Steve Jones
On Tue, Mar 23, 2004 at 03:42:16PM -0500, Steve Jones wrote:
 I've managed to get my Sound Blaster MP3+ USB functioning in
 part. Playback works nicely and I can capture from the mic input.
 But I've not been able to capture from the 'LINE-IN' inputs,
 which is primarily what I'm interested in doing (ooh, so close!).
 
 Is anyone doing this?
 
 I'm using the 1.0.3 modules and libs under 2.6.3 and Debian.
 
 I've tried the captures with both arecord and ecasound.
 
 I'm not sure what the most relevant diagnostics and config are,
 but to start:

OK, it may be cheesy to reply to my own original post, but I
thought my /proc/asound stuff might be somehow revealing. Again,
I don't seem to be able to capture from my LINE-IN inputs.

Note also, that I have no .asoundrc file at all.

thanks-

##
== /proc/asound/card0/oss_mixer ==
VOLUME  0
BASS  0
TREBLE  0
SYNTH  0
PCM PCM 0
SPEAKER  0
LINE  0
MIC Mic 0
CD  0
IMIX  0
ALTPCM PCM 1
RECLEV  0
IGAIN  0
OGAIN  0
LINE1  0
LINE2  0
LINE3  0
DIGITAL1  0
DIGITAL2  0
DIGITAL3  0
PHONEIN  0
PHONEOUT  0
VIDEO  0
RADIO  0
MONITOR  0

== /proc/asound/card0/id ==
MP3

== /proc/asound/card0/usbbus ==
002/003

== /proc/asound/card0/usbid ==
041e:3010

== /proc/asound/card0/stream0 ==
Creative Labs Sound Blaster MP3+ at usb-:00:10.0-1 : USB Audio

Playback:
  Status: Stop
  Interface 1
Altset 1
Format: S16_LE
Channels: 2
Endpoint: 1 OUT (ADAPTIVE)
Rates: 48000

Capture:
  Status: Stop
  Interface 2
Altset 1
Format: S16_LE
Channels: 2
Endpoint: 2 IN (ASYNC)
Rates: 48000, 44100

== /proc/asound/card0/pcm0c/oss ==

== /proc/asound/card0/pcm0c/sub0/prealloc ==
64

== /proc/asound/card0/pcm0c/sub0/status ==
closed

== /proc/asound/card0/pcm0c/sub0/sw_params ==
closed

== /proc/asound/card0/pcm0c/sub0/hw_params ==
closed

== /proc/asound/card0/pcm0c/sub0/info ==
card: 0
device: 0
subdevice: 0
stream: CAPTURE
id: USB Audio
name: USB Audio
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1

== /proc/asound/card0/pcm0c/xrun_debug ==
0

== /proc/asound/card0/pcm0c/info ==
card: 0
device: 0
subdevice: 0
stream: CAPTURE
id: USB Audio
name: USB Audio
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1

== /proc/asound/card0/pcm0p/oss ==

== /proc/asound/card0/pcm0p/sub0/prealloc ==
64

== /proc/asound/card0/pcm0p/sub0/status ==
state: SETUP
trigger_time: 1080073548.000562818
tstamp  : 1080077438.000272672
delay   : 0
avail   : 8912
avail_max   : 0
-
hw_ptr  : 317520
appl_ptr: 317520

== /proc/asound/card0/pcm0p/sub0/sw_params ==
tstamp_mode: NONE
period_step: 1
sleep_min: 0
avail_min: 1
xfer_align: 1
start_threshold: 1
stop_threshold: 8912
silence_threshold: 1130
silence_size: 1130
boundary: 1168113664

== /proc/asound/card0/pcm0p/sub0/hw_params ==
access: RW_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 1114
buffer_size: 8912
tick_time: 1000
OSS format: S16_LE
OSS channels: 2
OSS rate: 44100
OSS period bytes: 4096
OSS periods: 8

== /proc/asound/card0/pcm0p/sub0/info ==
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: USB Audio
name: USB Audio
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 0

== /proc/asound/card0/pcm0p/xrun_debug ==
0

== /proc/asound/card0/pcm0p/info ==
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: USB Audio
name: USB Audio
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 0

== /proc/asound/pcm ==
00-00: USB Audio : USB Audio : playback 1 : capture 1

== /proc/asound/timers ==
G0: system timer : 1000.000us (1000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE

== /proc/asound/modules ==
0 snd_usb_audio

== /proc/asound/cards ==
0 [MP3]: USB-Audio - Sound Blaster MP3+
 Creative Labs Sound Blaster MP3+ at usb-:00:10.0-1

== /proc/asound/devices ==
  0: [0- 0]: ctl
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
 33:   : timer

== /proc/asound/meminfo ==
kmalloc: 15161 bytes
vmalloc: 12648 bytes

== /proc/asound/version ==
Advanced Linux Sound Architecture Driver Version 1.0.2c (Thu Feb 05 15:41:49 2004 UTC).
Compiled on Mar 16 2004 for kernel 2.6.3faramir.jonescape1.0.

== /proc/asound/seq/drivers ==

== /proc/asound/oss/sndstat ==
Sound Driver:3.8.1a-980706 (ALSA v1.0.2c emulation code)
Kernel: Linux faramir 2.6.3faramir.jonescape1.0 #3 Tue Mar 16 17:29:23 EST 2004 i686
Config options: 0

Installed drivers: 
Type 10: ALSA emulation

Card config: 
Creative Labs Sound Blaster MP3+ at usb-:00:10.0-1

Audio devices:
0: USB Audio (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers:
0: USB Mixer

== /proc/asound/oss/devices ==
  3: [0- 3]: digital audio
  0: [0- 0]: mixer