Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB-headset microphone does not record any sound
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
schentuu
n00b
n00b


Joined: 18 Sep 2004
Posts: 29
Location: paderborn, germany

PostPosted: Wed May 27, 2015 4:00 pm    Post subject: USB-headset microphone does not record any sound Reply with quote

I have problems using an USB-headset (LX-3000) with pulseaudio.
Can you help?

Playback works flawlessly, i'm listening to last.fm at the moment, using the that USB headset.
But the microphone does not record anything.

The headset is not defective, it works pretty well with windows.

It is compatible with the usb-souncard driver in the kernel.
A friend of mine uses the same model with gentoo flawlessly.

We couldn't find any major differences in his setup except the fact that he uses KDE and i use gnome3

Maybe you can find out, whats going wrong ...

Here is some system information:

ALSA and pulseaudio are running
Code:
ps -ax | grep pulseaudio
 3023 ?        S<l    0:32 /usr/bin/pulseaudio --start --log-target=syslog
 4013 pts/1    S+     0:00 grep --colour=auto pulseaudio


Code:
/etc/init.d/alsasound status
 * status: started



Some proc information:
Code:
cat /proc/asound/cards
 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfe024000 irq 16
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfdffc000 irq 28
 2 [LX3000         ]: USB-Audio - Microsoft LifeChat LX-3000
                      Microsoft LifeChat LX-3000 at usb-0000:00:12.2-4.1, full speed


Code:
cat /proc/asound/devices
  0: [ 0]   : control
  1:        : sequencer
  4: [ 0- 0]: hardware dependent
 32: [ 1]   : control
 33:        : timer
 36: [ 1- 0]: hardware dependent
 64: [ 2]   : control
 80: [ 2- 0]: digital audio playback
 88: [ 2- 0]: digital audio capture


Code:
cat /proc/asound/oss/devices
  0: [0- 0]: mixer
  1:       : sequencer
  8:       : sequencer
 16: [1- 0]: mixer
 32: [2- 0]: mixer
 35: [2- 0]: digital audio
 36: [2- 0]: digital audio


Code:
cat /proc/asound/timers
G0: system timer : 1000.000us (10000000 ticks)
G3: HR timer : 0.001us (1000000000 ticks)
P2-0-0: PCM playback 2-0-0 : SLAVE
  Client application 3028 : running
P2-0-1: PCM capture 2-0-1 : SLAVE


Code:
cat /proc/asound/pcm
02-00: USB Audio : USB Audio : playback 1 : capture 1



Further system info:
Code:
lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS780 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3a)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Turks PRO [Radeon HD 6570/7570/8550]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Turks/Whistler HDMI Audio [Radeon HD 6000 Series]
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02)
03:07.0 Network controller: AVM GmbH A1 ISDN [Fritz] (rev 02)


Code:
lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 0dda:2005 Integrated Circuit Solution, Inc. Datalux DLX-1611 16in1 Card Reader
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 03f0:0917 Hewlett-Packard LaserJet 3330
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 0e8f:0003 GreenAsia Inc. MaxFire Blaze2
Bus 001 Device 005: ID 045e:070f Microsoft Corp. LifeChat LX-3000 Headset
Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub




ALSA output

Code:

amixer -c2
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 151
  Mono:
  Front Left: Playback 92 [61%] [-11.13dB] [on]
  Front Right: Playback 92 [61%] [-11.13dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch pswitch-joined cswitch cswitch-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: Playback 0 - 32 Capture 0 - 16
  Mono: Playback 28 [88%] [41.83dB] [on] Capture 13 [81%] [19.34dB] [on]
Simple mixer control 'Auto Gain Control',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]



alsamixer

when opening alsamixer it whows me by default:
Quote:
Card: PulseAudio
Chip: PulseAudio
View: F3: [Playback] F4: Capture F5: All
Item: Master


F4 --> Capture = 84

F6 (select sound card) -->
selected "2 Microsoft LifeChat LX-3000" from the menu that opened

Quote:
Card: Microsoft LifeChat LX-3000
Chip: USB-Mixer
View: F3: Playback F4: [Capture] F5: All
Item: Mic [dB gain: 19.35]

Capture = 81


F5 -->

Mic was muted, unmuting made me hearing myself, but i could not record anything using arecord (see below) or skype

quit, using ESC


Having a test with arecord
Code:
arecord -l
**** List of CAPTURE Hardware Devices ****
card 2: LX3000 [Microsoft LifeChat LX-3000], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


Code:
arecord -d 10 -f cd -t wav test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
^CAborted by signal Interrupt...
arecord: pcm_read:2031: read error: Interrupted system call

The record did not stop after 10 seconds so i interupted it after about 30 seconds.

Code:
ls -la test.wav
-rw-r--r-- 1 schentuu schentuu 44 May 27 13:55 test.wav

The resulting file is only 44 bytes small. Does not look like it recorded anything excep creating file headers.


Pulseaudio settings (pavucontroll)

Tab "Input Devices" shows:
Quote:
LifeChat LX-3000 Headset Analog Mono
Port: Microphone (this is the only option shown in that dropdown menu)
Mono 131%(7.11dB)
Advanced: Latency offset: 0.00 ms


Tab "Profile" shows:
Quote:
LifeChst LX-3000 Headset
Profile: Analog Stereo Output + Analog Mono Input


The device ist NOT muted


Detailed pactl output
Code:
pactl list
Module #0
   Name: module-device-restore
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Automatically restore the volume/mute state of devices"
      module.version = "5.99.3"

Module #1
   Name: module-stream-restore
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Automatically restore the volume/mute/device state of streams"
      module.version = "5.99.3"

Module #2
   Name: module-card-restore
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Automatically restore profile of cards"
      module.version = "5.99.3"

Module #3
   Name: module-augment-properties
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Augment the property sets of streams with additional static information"
      module.version = "5.99.3"

Module #4
   Name: module-switch-on-port-available
   Argument:
   Usage counter: n/a
   Properties:
      

Module #5
   Name: module-udev-detect
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Detect available audio hardware and load matching drivers"
      module.version = "5.99.3"

Module #7
   Name: module-alsa-card
   Argument: device_id="2" name="usb-045e_Microsoft_LifeChat_LX-3000-00-LX3000" card_name="alsa_card.usb-045e_Microsoft_LifeChat_LX-3000-00-LX3000" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
   Usage counter: 1
   Properties:
      module.author = "Lennart Poettering"
      module.description = "ALSA Card"
      module.version = "5.99.3"

Module #9
   Name: module-bluetooth-policy
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Frédéric Dalleau"
      module.description = "When a bluetooth sink or source is added, load module-loopback"
      module.version = "5.99.3"

Module #10
   Name: module-bluetooth-discover
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "João Paulo Rechi Vita"
      module.description = "Detect available Bluetooth daemon and load the corresponding discovery module"
      module.version = "5.99.3"

Module #11
   Name: module-bluez5-discover
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "João Paulo Rechi Vita"
      module.description = "Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers"
      module.version = "5.99.3"

Module #12
   Name: module-native-protocol-unix
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Native protocol (UNIX sockets)"
      module.version = "5.99.3"

Module #13
   Name: module-gconf
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "GConf Adapter"
      module.version = "5.99.3"

Module #14
   Name: module-default-device-restore
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Automatically restore the default sink and source"
      module.version = "5.99.3"

Module #15
   Name: module-rescue-streams
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
      module.version = "5.99.3"

Module #16
   Name: module-always-sink
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Colin Guthrie"
      module.description = "Always keeps at least one sink loaded even if it's a null one"
      module.version = "5.99.3"

Module #17
   Name: module-intended-roles
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Automatically set device of streams based on intended roles of devices"
      module.version = "5.99.3"

Module #18
   Name: module-suspend-on-idle
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "When a sink/source is idle for too long, suspend it"
      module.version = "5.99.3"

Module #19
   Name: module-console-kit
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Create a client for each ConsoleKit session of this user"
      module.version = "5.99.3"

Module #20
   Name: module-position-event-sounds
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
      module.version = "5.99.3"

Module #21
   Name: module-role-cork
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Mute & cork streams with certain roles while others exist"
      module.version = "5.99.3"

Module #22
   Name: module-filter-heuristics
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Colin Guthrie"
      module.description = "Detect when various filters are desirable"
      module.version = "5.99.3"

Module #23
   Name: module-filter-apply
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Colin Guthrie"
      module.description = "Load filter sinks automatically when needed"
      module.version = "5.99.3"

Module #24
   Name: module-x11-publish
   Argument: display=:0
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "X11 credential publisher"
      module.version = "5.99.3"

Module #25
   Name: module-x11-cork-request
   Argument: display=:0
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Synthesize X11 media key events when cork/uncork is requested"
      module.version = "5.99.3"

Module #26
   Name: module-x11-xsmp
   Argument: display=:0 session_manager=local/perdi:@/tmp/.ICE-unix/2963,unix/perdi:/tmp/.ICE-unix/2963
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "X11 session management"
      module.version = "5.99.3"

Sink #0
   State: RUNNING
   Name: alsa_output.usb-045e_Microsoft_LifeChat_LX-3000-00-LX3000.analog-stereo
   Description: LifeChat LX-3000 Headset Analog Stereo
   Driver: module-alsa-card.c
   Sample Specification: s16le 2ch 44100Hz
   Channel Map: front-left,front-right
   Owner Module: 7
   Mute: no
   Volume: front-left: 43116 /  66% / -10.91 dB,   front-right: 43116 /  66% / -10.91 dB
           balance 0.00
   Base Volume: 65687 / 100% / 0.06 dB
   Monitor Source: alsa_output.usb-045e_Microsoft_LifeChat_LX-3000-00-LX3000.analog-stereo.monitor
   Latency: 106745 usec, configured 99954 usec
   Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
   Properties:
      alsa.resolution_bits = "16"
      device.api = "alsa"
      device.class = "sound"
      alsa.class = "generic"
      alsa.subclass = "generic-mix"
      alsa.name = "USB Audio"
      alsa.id = "USB Audio"
      alsa.subdevice = "0"
      alsa.subdevice_name = "subdevice #0"
      alsa.device = "0"
      alsa.card = "2"
      alsa.card_name = "Microsoft LifeChat LX-3000"
      alsa.long_card_name = "Microsoft LifeChat LX-3000 at usb-0000:00:12.2-4.1, full speed"
      alsa.driver_name = "snd_usb_audio"
      device.bus_path = "pci-0000:00:12.2-usb-0:4.1:1.0"
      sysfs.path = "/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.1/1-4.1:1.0/sound/card2"
      udev.id = "usb-045e_Microsoft_LifeChat_LX-3000-00-LX3000"
      device.bus = "usb"
      device.vendor.id = "045e"
      device.vendor.name = "Microsoft Corp."
      device.product.id = "070f"
      device.product.name = "LifeChat LX-3000 Headset"
      device.serial = "045e_Microsoft_LifeChat_LX-3000"
      device.form_factor = "headset"
      device.string = "front:2"
      device.buffering.buffer_size = "17632"
      device.buffering.fragment_size = "4408"
      device.access_mode = "mmap"
      device.profile.name = "analog-stereo"
      device.profile.description = "Analog Stereo"
      device.description = "LifeChat LX-3000 Headset Analog Stereo"
      alsa.mixer_name = "USB Mixer"
      alsa.components = "USB045e:070f"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-headset-usb"
      device.intended_roles = "phone"
   Ports:
      analog-output-speaker: Speakers (priority: 10000)
   Active Port: analog-output-speaker
   Formats:
      pcm

Source #0
   State: IDLE
   Name: alsa_output.usb-045e_Microsoft_LifeChat_LX-3000-00-LX3000.analog-stereo.monitor
   Description: Monitor of LifeChat LX-3000 Headset Analog Stereo
   Driver: module-alsa-card.c
   Sample Specification: s16le 2ch 44100Hz
   Channel Map: front-left,front-right
   Owner Module: 7
   Mute: no
   Volume: front-left: 63489 /  97% / -0.83 dB,   front-right: 63489 /  97% / -0.83 dB
           balance 0.00
   Base Volume: 65536 / 100% / 0.00 dB
   Monitor of Sink: alsa_output.usb-045e_Microsoft_LifeChat_LX-3000-00-LX3000.analog-stereo
   Latency: 0 usec, configured 99954 usec
   Flags: DECIBEL_VOLUME LATENCY
   Properties:
      device.description = "Monitor of LifeChat LX-3000 Headset Analog Stereo"
      device.class = "monitor"
      alsa.card = "2"
      alsa.card_name = "Microsoft LifeChat LX-3000"
      alsa.long_card_name = "Microsoft LifeChat LX-3000 at usb-0000:00:12.2-4.1, full speed"
      alsa.driver_name = "snd_usb_audio"
      device.bus_path = "pci-0000:00:12.2-usb-0:4.1:1.0"
      sysfs.path = "/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.1/1-4.1:1.0/sound/card2"
      udev.id = "usb-045e_Microsoft_LifeChat_LX-3000-00-LX3000"
      device.bus = "usb"
      device.vendor.id = "045e"
      device.vendor.name = "Microsoft Corp."
      device.product.id = "070f"
      device.product.name = "LifeChat LX-3000 Headset"
      device.serial = "045e_Microsoft_LifeChat_LX-3000"
      device.form_factor = "headset"
      device.string = "2"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-headset-usb"
      device.intended_roles = "phone"
   Formats:
      pcm

Source #1
   State: SUSPENDED
   Name: alsa_input.usb-045e_Microsoft_LifeChat_LX-3000-00-LX3000.analog-mono
   Description: LifeChat LX-3000 Headset Analog Mono
   Driver: module-alsa-card.c
   Sample Specification: s16le 1ch 44100Hz
   Channel Map: mono
   Owner Module: 7
   Mute: no
   Volume: mono: 86107 / 131% / 7.11 dB
           balance 0.00
   Base Volume: 26281 /  40% / -23.81 dB
   Monitor of Sink: n/a
   Latency: 0 usec, configured 0 usec
   Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
   Properties:
      alsa.resolution_bits = "16"
      device.api = "alsa"
      device.class = "sound"
      alsa.class = "generic"
      alsa.subclass = "generic-mix"
      alsa.name = "USB Audio"
      alsa.id = "USB Audio"
      alsa.subdevice = "0"
      alsa.subdevice_name = "subdevice #0"
      alsa.device = "0"
      alsa.card = "2"
      alsa.card_name = "Microsoft LifeChat LX-3000"
      alsa.long_card_name = "Microsoft LifeChat LX-3000 at usb-0000:00:12.2-4.1, full speed"
      alsa.driver_name = "snd_usb_audio"
      device.bus_path = "pci-0000:00:12.2-usb-0:4.1:1.0"
      sysfs.path = "/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.1/1-4.1:1.0/sound/card2"
      udev.id = "usb-045e_Microsoft_LifeChat_LX-3000-00-LX3000"
      device.bus = "usb"
      device.vendor.id = "045e"
      device.vendor.name = "Microsoft Corp."
      device.product.id = "070f"
      device.product.name = "LifeChat LX-3000 Headset"
      device.serial = "045e_Microsoft_LifeChat_LX-3000"
      device.form_factor = "headset"
      device.string = "hw:2"
      device.buffering.buffer_size = "8816"
      device.buffering.fragment_size = "2204"
      device.access_mode = "mmap"
      device.profile.name = "analog-mono"
      device.profile.description = "Analog Mono"
      device.description = "LifeChat LX-3000 Headset Analog Mono"
      alsa.mixer_name = "USB Mixer"
      alsa.components = "USB045e:070f"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-headset-usb"
      device.intended_roles = "phone"
   Ports:
      analog-input-mic: Microphone (priority: 8700)
   Active Port: analog-input-mic
   Formats:
      pcm

Sink Input #15
   Driver: protocol-native.c
   Owner Module: 12
   Client: 26
   Sink: 0
   Sample Specification: s16le 2ch 44100Hz
   Channel Map: front-left,front-right
   Format: pcm, format.sample_format = "\"s16le\""  format.rate = "44100"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
   Corked: no
   Mute: no
   Volume: front-left: 43116 /  66% / -10.91 dB,   front-right: 43116 /  66% / -10.91 dB
           balance 0.00
   Buffer Latency: 483174 usec
   Sink Latency: 106512 usec
   Resample method: n/a
   Properties:
      media.name = "ALSA Playback"
      application.name = "ALSA plug-in [plugin-container]"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "30"
      application.process.id = "3566"
      application.process.user = "schentuu"
      application.process.host = "perdi"
      application.process.binary = "plugin-container"
      window.x11.display = ":0"
      application.language = "en_US.UTF-8"
      application.process.machine_id = "f50c9be174333b321d71437054778af9"
      module-stream-restore.id = "sink-input-by-application-name:ALSA plug-in [plugin-container]"

Client #0
   Driver: module-console-kit.c
   Owner Module: 19
   Properties:
      application.name = "ConsoleKit Session /org/freedesktop/ConsoleKit/Session2"
      console-kit.session = "/org/freedesktop/ConsoleKit/Session2"

Client #4
   Driver: module-x11-xsmp.c
   Owner Module: 26
   Properties:
      application.name = "XSMP Session on gnome-session as 10193102ff393e84e8143272215340200500000029630027"
      xsmp.vendor = "gnome-session"
      xsmp.client.id = "10193102ff393e84e8143272215340200500000029630027"

Client #5
   Driver: protocol-native.c
   Owner Module: 12
   Properties:
      application.name = "GNOME Volume Control Media Keys"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "30"
      application.id = "org.gnome.VolumeControl"
      application.icon_name = "multimedia-volume-control"
      application.version = "3.14.4"
      application.process.id = "3006"
      application.process.user = "schentuu"
      application.process.host = "perdi"
      application.process.binary = "gnome-settings-daemon"
      application.language = "en_US.UTF-8"
      window.x11.display = ":0"
      application.process.machine_id = "f50c9be174333b321d71437054778af9"

Client #6
   Driver: protocol-native.c
   Owner Module: 12
   Properties:
      application.name = "GNOME Shell"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "30"
      application.id = "org.gnome.Shell"
      application.icon_name = "start-here"
      application.language = "en_US.UTF-8"
      window.x11.screen = "0"
      window.x11.display = ":0"
      application.process.id = "3036"
      application.process.user = "schentuu"
      application.process.host = "perdi"
      application.process.binary = "gnome-shell"
      application.process.machine_id = "f50c9be174333b321d71437054778af9"

Client #7
   Driver: protocol-native.c
   Owner Module: 12
   Properties:
      application.name = "GNOME Shell Volume Control"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "30"
      application.id = "org.gnome.VolumeControl"
      application.icon_name = "multimedia-volume-control"
      application.version = "3.14.4"
      application.process.id = "3036"
      application.process.user = "schentuu"
      application.process.host = "perdi"
      application.process.binary = "gnome-shell"
      application.language = "en_US.UTF-8"
      window.x11.display = ":0"
      application.process.machine_id = "f50c9be174333b321d71437054778af9"

Client #9
   Driver: protocol-native.c
   Owner Module: 12
   Properties:
      application.name = "Firefox"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "30"
      application.icon_name = "firefox"
      application.version = "37.0.2"
      application.process.id = "3318"
      application.process.user = "schentuu"
      application.process.host = "perdi"
      application.process.binary = "firefox"
      window.x11.display = ":0"
      application.language = "en_US.UTF-8"
      application.process.machine_id = "f50c9be174333b321d71437054778af9"

Client #26
   Driver: protocol-native.c
   Owner Module: 12
   Properties:
      application.name = "ALSA plug-in [plugin-container]"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "30"
      application.process.id = "3566"
      application.process.user = "schentuu"
      application.process.host = "perdi"
      application.process.binary = "plugin-container"
      window.x11.display = ":0"
      application.language = "en_US.UTF-8"
      application.process.machine_id = "f50c9be174333b321d71437054778af9"

Client #46
   Driver: protocol-native.c
   Owner Module: 12
   Properties:
      application.name = "Skype"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "29"
      application.process.id = "4463"
      application.process.user = "schentuu"
      application.process.host = "perdi"
      application.process.binary = "skype"
      application.language = "en_US.UTF-8"
      window.x11.display = ":0"
      application.process.machine_id = "f50c9be174333b321d71437054778af9"
      application.icon_name = "skype"

Client #55
   Driver: protocol-native.c
   Owner Module: 12
   Properties:
      application.name = "pactl"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "30"
      application.process.id = "5511"
      application.process.user = "schentuu"
      application.process.host = "perdi"
      application.process.binary = "pactl"
      application.language = "en_US.UTF-8"
      window.x11.display = ":0"
      application.process.machine_id = "f50c9be174333b321d71437054778af9"

Sample #0
   Name: bell-window-system
   Sample Specification: s16le 2ch 44100Hz
   Channel Map: front-left,front-right
   Volume: (invalid)
           balance 0.00
   Duration: 0.1s
   Size: 24.0 KiB
   Lazy: no
   Filename: n/a
   Properties:
      media.role = "event"
      application.process.id = "3318"
      application.name = "Navigator"
      event.description = "Bell event"
      event.id = "bell-window-system"
      media.name = "bell-window-system"
      media.filename = "/usr/share/sounds/freedesktop/stereo/bell.oga"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "30"
      application.id = "org.gnome.Shell"
      application.icon_name = "start-here"
      application.language = "en_US.UTF-8"
      window.x11.screen = "0"
      window.x11.display = ":0"
      application.process.user = "schentuu"
      application.process.host = "perdi"
      application.process.binary = "gnome-shell"
      application.process.machine_id = "f50c9be174333b321d71437054778af9"

Card #0
   Name: alsa_card.usb-045e_Microsoft_LifeChat_LX-3000-00-LX3000
   Driver: module-alsa-card.c
   Owner Module: 7
   Properties:
      alsa.card = "2"
      alsa.card_name = "Microsoft LifeChat LX-3000"
      alsa.long_card_name = "Microsoft LifeChat LX-3000 at usb-0000:00:12.2-4.1, full speed"
      alsa.driver_name = "snd_usb_audio"
      device.bus_path = "pci-0000:00:12.2-usb-0:4.1:1.0"
      sysfs.path = "/devices/pci0000:00/0000:00:12.2/usb1/1-4/1-4.1/1-4.1:1.0/sound/card2"
      udev.id = "usb-045e_Microsoft_LifeChat_LX-3000-00-LX3000"
      device.bus = "usb"
      device.vendor.id = "045e"
      device.vendor.name = "Microsoft Corp."
      device.product.id = "070f"
      device.product.name = "LifeChat LX-3000 Headset"
      device.serial = "045e_Microsoft_LifeChat_LX-3000"
      device.form_factor = "headset"
      device.string = "2"
      device.description = "LifeChat LX-3000 Headset"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-headset-usb"
      device.intended_roles = "phone"
   Profiles:
      input:analog-mono: Analog Mono Input (sinks: 0, sources: 1, priority: 2, available: yes)
      output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6000, available: yes)
      output:analog-stereo+input:analog-mono: Analog Stereo Output + Analog Mono Input (sinks: 1, sources: 1, priority: 6002, available: yes)
      output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 5500, available: yes)
      output:iec958-stereo+input:analog-mono: Digital Stereo (IEC958) Output + Analog Mono Input (sinks: 1, sources: 1, priority: 5502, available: yes)
      off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
   Active Profile: output:analog-stereo+input:analog-mono
   Ports:
      analog-input-mic: Microphone (priority: 8700, latency offset: 0 usec)
         Properties:
            device.icon_name = "audio-input-microphone"
         Part of profile(s): input:analog-mono, output:analog-stereo+input:analog-mono, output:iec958-stereo+input:analog-mono
      analog-output-speaker: Speakers (priority: 10000, latency offset: 0 usec)
         Properties:
            device.icon_name = "audio-speakers"
         Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-mono
      iec958-stereo-output: Digital Output (S/PDIF) (priority: 0, latency offset: 0 usec)
         Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-mono




Kernel sound and USB config

Code:
Device Drivers --->
   <*> Sound card support --->
      [*] Preclaim OSS device numbers
      <*> Advanced Linux Sound Architecture --->
         <*> Sequenzer support
         <*>      Sequenzer dummy client
         <*> OSS Mixer API
         <*> OSS PCM (digital audio) API
         [*]      OSS PCM (digital audio) API - Include plugin system
         [*] OSS Sequenzer API
         <*> HR-timer backend support
         [*]      Use HR-timer as default sequenzer timer
         [ ] Dynamic device file minor numbers
         [*] Support old ALSA API
         [*] Verbose procfs contents
         [ ] Verbose printk
         [ ] Debug
         [ ] Generic sound devices ----
         [*] PCI sound devices --->
            <*> ATI IXP AC97 Controller
            <*> Intel/SiS/nVidia/AMD/ALi AC97 Controller
             HD-Audio --->
            <*> HD Audio PCI
            (64) Pre-allocated buffer size for HD-audio driver
            [*] Build hwdep interface for HD-audio driver
            (0) Default time-out for HD-audio power-safe mode
         [*] USB sound devices --->
            <*> USB Audio/MIDI driver
         [ ] PCMCIA sound devices ---
         < > ALSA for SoC audio support ----
      < > Open Sound System (DEPRACTED) ---
   [*] USB support --->
      <*> Support for Host-side USB
      [*]    USB announce new devices
      [*]    Enable USB persist by default
      <*>    USB Monitor
      <*>    EHCI HCD (USB 2.0) support
      <*>    OHCI HCD (USB 1.1) support
      <*>       OHCI support for PCI-bus USB controllers
      <*>    UHCI HCD (mist Intel and VIA) support
      <*>    USB Printer support
      <*>    USB Mass Storgage support


Code:
uname -r
4.0.4-gentoo


I Know, a lot of data ...
I hope that is enough to find the problem.

If you need more information, please let me know.


Last edited by schentuu on Thu May 28, 2015 2:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
schentuu
n00b
n00b


Joined: 18 Sep 2004
Posts: 29
Location: paderborn, germany

PostPosted: Thu May 28, 2015 11:45 am    Post subject: Reply with quote

Is this what causes the problem?
Code:
Source #1
   State: SUSPENDED

The code snipped is taken from my first post. (pactl list)

How do i unsuspend the device?
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Fri May 29, 2015 3:27 am    Post subject: Reply with quote

Hi,

I don't know about the suspend mode, but you can work directly through Alsa and not Pulseaudio. You can have better results. Just set your $HOME/.asoundrc or /etc/asound.conf (.asoundrc have the priority) to use your Usb headset
Code:
pcm.!default {
card 2
type hw
}
 
ctl.!default {
card 2
type hw
}

and be sure that the applications you use use Alsa as sound driver.
_________________
Paul
Back to top
View user's profile Send private message
schentuu
n00b
n00b


Joined: 18 Sep 2004
Posts: 29
Location: paderborn, germany

PostPosted: Fri May 29, 2015 4:46 pm    Post subject: Reply with quote

Thanks for your answer!

That helped so far as alsaconfig is now showing different options. The USB headset is now shown by default when opening alsaconfig.

Nice!

I can now adjust the volume of the captured sound in the headsets speakers.
So my voice is recorded and handeled by ALSA.

But i cant set ALSA as the default recording source.
Maybe i've just overseen an option ...

But it seems that gnome3 has been written to just asume the user wants to use pulseaudio...
I never asked for pulseaudio, it just came with gnome3.
I miss the good old times, when ALSA was all you needed ... pulseaudio makes it unnessesery complicated...

At the moment i'm doing a
Code:
USE="alsa -pulseaudio" emerge -DNavu @world
to give it a try having as less pulseaudio on my system as posible.
It seems not possible to get totally rid of it, since gnome-core-apps depends it.

I'll report back, if that helped or not.

Could you please tell me where to set ALSA as the default recording source?
Back to top
View user's profile Send private message
schentuu
n00b
n00b


Joined: 18 Sep 2004
Posts: 29
Location: paderborn, germany

PostPosted: Fri May 29, 2015 5:47 pm    Post subject: Reply with quote

schentuu wrote:
At the moment i'm doing a
Code:
USE="alsa -pulseaudio" emerge -DNavu @world
to give it a try having as less pulseaudio on my system as posible.
It seems not possible to get totally rid of it, since gnome-core-apps depends it.

I'll report back, if that helped or not.
Well, it seems like that canged nothing.

For example skype is now compiled without support for pulseaudio.
But its sound config still tells me (translated from german) "Your system is using pulseaudio. Use the sound control of your desktop manager or of PulseAudio".

The dropdown Menu to select a recording source offers only the option "PulseAudio server (local)".

Then i wanted to have a more basic test using arecord, but this gives me now an error message:
Code:
arecord -d 10 -f cd -t wav test.wav
arecord: main:722: audio open error: Device or resource busy


So it feels like i made everything even worse.

What am i doing wrong?
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Fri May 29, 2015 8:06 pm    Post subject: Reply with quote

If you disable pulseaudio USE flag, you will not be able to have Bluetooth headset connectivity unless you use Alsa version 4 and Dmix will not work with multiple sound sources with Bluetooth and you will receive sound scarp with Html5. Alsa 4 support Bluetooth headset recording.

Alsa version 5 do not support Bluetooth. So, if you intend to use Bluetooth for sound, you are better to keep the pulseaudio USE flag and version 5. Pulseaudio have some advantages with multiples sources too. But for the moment, Pulseaudio do not support Bluetooth headset recording.

Because you can switch between Alsa and Pulseaudio, Pulseaudio is not a too big problem to disable. First, you must not allow Pulseaudio to start with your desktop environment for it not take the control of the sound card. When start, if no application use it, Pulseaudio do not lock the sound card. So, you should be able to use Alsa directly without disabling Pulseaudio in this way.

Arecord is an Alsa tool. It can only use Alsa. So, with your .asoundrc config it should record properly unless Pulseaudio is in use or enable. Killing Pulseaudio like
Code:
pulseaudio -k

will not disable it for sure. It restart automatically.

Be sure that there is no sound application who use Pulseaudio and Alsa when record. For output sound, Dmix of Alsa is good enough. For sound recording it do not work. Don't use it, arecord will give you an error message. Dmix work only for multiple playback sources.

A good way to record with Alsa, is too logout from your X session and record from a virtual terminal. Pulseaudio should be down, it start automatically only for desktop, and no applications should use Alsa too. You can always check which process are in use with ps and htop.

I just come to make a test from my Xfce4 desktop, arecord work with my Logitech, Inc. H600 [Wireless Headset] directly using Alsa. Pulseaudio is start but, of course, is idle. No other application than arecord use Alsa too. You can record and playback at the same time with Alsa, but you ear the playback in the record output.
_________________
Paul
Back to top
View user's profile Send private message
schentuu
n00b
n00b


Joined: 18 Sep 2004
Posts: 29
Location: paderborn, germany

PostPosted: Sun Jun 07, 2015 12:38 pm    Post subject: Reply with quote

The problem is solved. (sort of)

I have no idea what solved the problem.
Because i was not at home in the last days, i did not changed anything to the system after my last post to this thread.
I even made no updates.

Today i took the computer to our local hackerspace to ask some other nerds to have a look to the system, just in case i've overseen somthing.
And guess what ... the problem was gone.

My headset is recording.

I tryed out different USB ports, that did not brought the problem back.
The only differences between now and the situation last week is that my printer and an usb hub are not connected to the system.
I'll try that out, when i'm back home...

Any idea why something trivial like that could cause such problems?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum