I connected via USB a Jabra 510 Speaker/Mic on a B+ running
Code: Select all
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.4 (stretch)
Release: 9.4
Codename: stretch
But for the time being, I'm stuck.
lsusb gives me
Code: Select all
lsusb
Bus 001 Device 007: ID 0b0e:0422 GN Netcom
Code: Select all
[3038344.071987] usb 1-1.2: new full-speed USB device number 7 using dwc_otg
[3038344.220403] usb 1-1.2: New USB device found, idVendor=0b0e, idProduct=0422
[3038344.220417] usb 1-1.2: New USB device strings: Mfr=0, Product=2, SerialNumber=3
[3038344.220426] usb 1-1.2: Product: Jabra SPEAK 510 USB
[3038344.220434] usb 1-1.2: SerialNumber: 745C4B18D743020A00
[3038344.250896] input: Jabra SPEAK 510 USB as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.3/0003:0B0E:0422.0003/input/input2
[3038344.312903] hid-generic 0003:0B0E:0422.0003: input,hiddev96,hidraw0: USB HID v1.11 Device [Jabra SPEAK 510 USB] on usb-3f980000.usb-1.2/input3
[3038344.538302] usbcore: registered new interface driver snd-usb-audio
Code: Select all
$ sudo alsactl init
Found hardware: "bcm2835_alsa" "Broadcom Mixer" "" "" ""
Hardware is initialized using a generic method
Code: Select all
aplay -l
aplay: device_list:270: no soundcards found...
Code: Select all
# This sets the index value of the cards but doesn't reorder.
options snd_usb_audio index=0
options snd_bcm2835 index=1
# Does the reordering.
options snd slots=snd_usb_audio,snd_bcm2835
Code: Select all
#options snd-usb-audio index=-2
Code: Select all
cat /proc/asound/cards
0 [USB ]: USB-Audio - Jabra SPEAK 510 USB
Jabra SPEAK 510 USB at usb-3f980000.usb-1.2, full speed
1 [ALSA ]: bcm2835_alsa - bcm2835 ALSA
bcm2835 ALSA
Code: Select all
aplay -l
aplay: device_list:270: no soundcards found...
Code: Select all
sudo aplay -D default /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Code: Select all
sudo arecord -vv -fdat foo.wav
Recording WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Plug PCM: Route conversion PCM (sformat=S16_LE)
Transformation table:
0 <- 0
1 <- 0
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 16
buffer_size : 24576
period_size : 3072
period_time : 64000
tstamp_mode : NONE
tstamp_type : MONOTONIC
period_step : 1
avail_min : 3072
period_event : 0
start_threshold : 1
stop_threshold : 24576
silence_threshold: 0
silence_size : 0
boundary : 1610612736
Slave: Rate conversion PCM (16000, sformat=S16_LE)
Converter: linear-interpolation
Protocol version: 10002
Its setup is:
stream : CAPTURE
access : MMAP_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 48000
exact rate : 48000 (48000/1)
msbits : 16
buffer_size : 24576
period_size : 3072
period_time : 64000
tstamp_mode : NONE
tstamp_type : MONOTONIC
period_step : 1
avail_min : 3072
period_event : 0
start_threshold : 1
stop_threshold : 24576
silence_threshold: 0
silence_size : 0
boundary : 1610612736
Slave: Direct Snoop PCM
Its setup is:
stream : CAPTURE
access : MMAP_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 16000
exact rate : 16000 (16000/1)
msbits : 16
buffer_size : 8192
period_size : 1024
period_time : 64000
tstamp_mode : NONE
tstamp_type : MONOTONIC
period_step : 1
avail_min : 1024
period_event : 0
start_threshold : 0
stop_threshold : 8192
silence_threshold: 0
silence_size : 0
boundary : 1073741824
Hardware PCM card 0 'Jabra SPEAK 510 USB' device 0 subdevice 0
Its setup is:
stream : CAPTURE
access : MMAP_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 16000
exact rate : 16000 (16000/1)
msbits : 16
buffer_size : 16384
period_size : 1024
period_time : 64000
tstamp_mode : ENABLE
tstamp_type : MONOTONIC
period_step : 1
avail_min : 1024
period_event : 0
start_threshold : 1
stop_threshold : 1073741824
silence_threshold: 0
silence_size : 0
boundary : 1073741824
appl_ptr : 0
hw_ptr : 0
# + | 10%^C
Aborted by signal Interrupt...
arecord: pcm_read:2103: read error: Interrupted system call
HypriotOS/armv7: pirate@arm-gitlab-runner-1 in ~
$ sudo aplay -D default foo.wav
Playing WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Could someone please give me a pointer?
Thanks in advance.