By Robert Mueller 1404186
#519534 Hi Simmers!

I'm using a Sennheiser PC 8 USB headset with X-Plane 11.05r2 (build 110501 64-bit) on my Linux 64bit OS.

First I do is always setup the Audio prefs, and everything works pretty well.

But after a couple of minutes in flight, the mic stops working. I can hear everything on the radios, but ATC can't hear me anymore.

I've tried redoing the audio-setup wizzard in xsquwakbox during flight, but no luck at all.

I've no problems with this headset on Skype, even after it stopped working in xplane.

The log.txt doesn't show any errors. The only sound-related loglines are:

XSB: --- Refreshing Audio HW info ---
XSB: Input Device 1 is "Discard all samples (playback) or generate zero samples (capture) [null]"
XSB: Input Device 2 is "Default ALSA Output (currently PulseAudio Sound Server) [default]"
XSB: Input Device 3 is "Sennheiser USB headset, USB Audio Default Audio Device [sysdefault:CARD=headset]"
XSB: Output Device 1 is "Discard all samples (playback) or generate zero samples (capture) [null]"
XSB: Output Device 2 is "Default ALSA Output (currently PulseAudio Sound Server) [default]"
XSB: Output Device 3 is "Sennheiser USB headset, USB Audio Default Audio Device [sysdefault:CARD=headset]"
XSB: VoiceMgr set input device "Sennheiser USB headset, USB Audio Default Audio Device [sysdefault:CARD=headset]" (id=2)
XSB: VoiceMgr set output[0] device "Sennheiser USB headset, USB Audio Default Audio Device [sysdefault:CARD=headset]" (id=2)
XSB: VoiceMgr set output[1] device "Sennheiser USB headset, USB Audio Default Audio Device [sysdefault:CARD=headset]" (id=2)
XSB: --- Finished Refresh Audio HW Info ---
XSB: VoiceMgr set input device "Sennheiser USB headset, USB Audio Default Audio Device [sysdefault:CARD=headset]" (id=2)
XSB: VoiceMgr set output[0] device "Sennheiser USB headset, USB Audio Default Audio Device [sysdefault:CARD=headset]" (id=2)
XSB: VoiceMgr set output[1] device "Sennheiser USB headset, USB Audio Default Audio Device [sysdefault:CARD=headset]" (id=2)
XSB: AudioSetupDialog: Was closed.

Any ideas would be welcome :)
By Mathew Sutcliffe 1154576
#519537 It could be another application is grabbing the sound device. This kind of problem would be what ALSA is supposed to solve (by sharing devices between multiple applications). Try configuring PulseAudio to use your Sennheiser USB headset (if it is not already) then configure X-Plane to use ALSA as its audio device.
By Christopher Collins 1304731
#519589 Don't focus on log.txt too much on Linux, it only reflects the XSB to X-Plane interface - the audio code used by XSB dumps most of it's debug straight to stderr.

Capture stderr when you're running x-plane and have the problem occur and we might be able to work it out.
By Robert Mueller 1404186
#519949 Found nothing in output. It just stops working.

INPUT PROBE: Device: null : Discard all samples (playback) or generate zero samples (capture)
INPUT PROBE: Trying Device: null : Discard all samples (playback) or generate zero samples (capture)
INPUT: Using Sample Rate: 44100
INPUT: Buffer Length set to 500000uS
INPUT PROBE: Device: default : Default ALSA Output (currently PulseAudio Sound Server)
INPUT PROBE: Trying Device: default : Default ALSA Output (currently PulseAudio Sound Server)
INPUT: Using Sample Rate: 44100
INPUT: Buffer Length set to 500000uS
INPUT PROBE: Device: sysdefault:CARD=headset : Sennheiser USB headset, USB Audio
INPUT PROBE: Trying Device: sysdefault:CARD=headset : Sennheiser USB headset, USB Audio
INPUT: Using Sample Rate: 44100
INPUT: Buffer Length set to 341315uS
INPUT PROBE: Device: front:CARD=headset,DEV=0 : Sennheiser USB headset, USB Audio
INPUT PROBE: Trying Device: front:CARD=headset,DEV=0 : Sennheiser USB headset, USB Audio
INPUT: Failed to set FLOAT sample format
INPUT PROBE: Device: surround21:CARD=headset,DEV=0 : Sennheiser USB headset, USB Audio
INPUT PROBE: Trying Device: surround21:CARD=headset,DEV=0 : Sennheiser USB headset, USB Audio
INPUT: Failed to set "any" HW params
INPUT PROBE: Device: surround40:CARD=headset,DEV=0 : Sennheiser USB headset, USB Audio
INPUT PROBE: Trying Device: surround40:CARD=headset,DEV=0 : Sennheiser USB headset, USB Audio
INPUT: Failed to set FLOAT sample format
INPUT PROBE: Device: surround41:CARD=headset,DEV=0 : Sennheiser USB headset, USB Audio
INPUT PROBE: Trying Device: surround41:CARD=headset,DEV=0 : Sennheiser USB headset, USB Audio
INPUT: Failed to set "any" HW params
INPUT PROBE: Device: surround50:CARD=headset,DEV=0 : Sennheiser USB headset, USB Audio
INPUT PROBE: Trying Device: surround50:CARD=headset,DEV=0 : Sennheiser USB headset, USB Audio
INPUT: Failed to set "any" HW params
INPUT PROBE: Device: surround51:CARD=headset,DEV=0 : Sennheiser USB headset, USB Audio
INPUT PROBE: Trying Device: surround51:CARD=headset,DEV=0 : Sennheiser USB headset, USB Audio
INPUT: Failed to set "any" HW params
INPUT PROBE: Device: surround71:CARD=headset,DEV=0 : Sennheiser USB headset, USB Audio
INPUT PROBE: Trying Device: surround71:CARD=headset,DEV=0 : Sennheiser USB headset, USB Audio
INPUT: Failed to set "any" HW params
INPUT PROBE: Device: sysdefault:CARD=PCH : HDA Intel PCH, ALC892 Analog
INPUT PROBE: Trying Device: sysdefault:CARD=PCH : HDA Intel PCH, ALC892 Analog
INPUT PROBE: Device: front:CARD=PCH,DEV=0 : HDA Intel PCH, ALC892 Analog
INPUT PROBE: Trying Device: front:CARD=PCH,DEV=0 : HDA Intel PCH, ALC892 Analog
INPUT PROBE: Device: surround21:CARD=PCH,DEV=0 : HDA Intel PCH, ALC892 Analog
INPUT PROBE: Trying Device: surround21:CARD=PCH,DEV=0 : HDA Intel PCH, ALC892 Analog
INPUT PROBE: Device: surround40:CARD=PCH,DEV=0 : HDA Intel PCH, ALC892 Analog
INPUT PROBE: Trying Device: surround40:CARD=PCH,DEV=0 : HDA Intel PCH, ALC892 Analog
INPUT PROBE: Device: surround41:CARD=PCH,DEV=0 : HDA Intel PCH, ALC892 Analog
INPUT PROBE: Trying Device: surround41:CARD=PCH,DEV=0 : HDA Intel PCH, ALC892 Analog
INPUT PROBE: Device: surround50:CARD=PCH,DEV=0 : HDA Intel PCH, ALC892 Analog
INPUT PROBE: Trying Device: surround50:CARD=PCH,DEV=0 : HDA Intel PCH, ALC892 Analog
INPUT PROBE: Device: surround51:CARD=PCH,DEV=0 : HDA Intel PCH, ALC892 Analog
INPUT PROBE: Trying Device: surround51:CARD=PCH,DEV=0 : HDA Intel PCH, ALC892 Analog
INPUT PROBE: Device: surround71:CARD=PCH,DEV=0 : HDA Intel PCH, ALC892 Analog
INPUT PROBE: Trying Device: surround71:CARD=PCH,DEV=0 : HDA Intel PCH, ALC892 Analog
INPUT PROBE: Device: iec958:CARD=PCH,DEV=0 : HDA Intel PCH, ALC892 Digital
INPUT PROBE: Trying Device: iec958:CARD=PCH,DEV=0 : HDA Intel PCH, ALC892 Digital
INPUT PROBE: Device: hdmi:CARD=NVidia,DEV=0 : HDA NVidia, HDMI 0
INPUT PROBE: Trying Device: hdmi:CARD=NVidia,DEV=0 : HDA NVidia, HDMI 0
INPUT PROBE: Device: hdmi:CARD=NVidia,DEV=1 : HDA NVidia, HDMI 1
INPUT PROBE: Trying Device: hdmi:CARD=NVidia,DEV=1 : HDA NVidia, HDMI 1
INPUT PROBE: Device: hdmi:CARD=NVidia,DEV=2 : HDA NVidia, HDMI 2
INPUT PROBE: Trying Device: hdmi:CARD=NVidia,DEV=2 : HDA NVidia, HDMI 2
INPUT PROBE: Device: hdmi:CARD=NVidia,DEV=3 : HDA NVidia, HDMI 3
INPUT PROBE: Trying Device: hdmi:CARD=NVidia,DEV=3 : HDA NVidia, HDMI 3
INPUT: Device: default
INPUT: Using Sample Rate: 7350
INPUT: Buffer Length set to 500000uS
INPUT: Using Sample Rate: 7350
INPUT: Buffer Length set to 500000uS
INPUT: Wanted Sampling Rate: 7350
INPUT: Device: null
INPUT: Using Sample Rate: 7350
INPUT: Buffer Length set to 500000uS
INPUT: Using Sample Rate: 7350
INPUT: Buffer Length set to 500000uS
INPUT: Wanted Sampling Rate: 7350
INPUT: Device: null
INPUT: Using Sample Rate: 7350
INPUT: Buffer Length set to 500000uS
INPUT: Using Sample Rate: 7350
INPUT: Buffer Length set to 500000uS
INPUT: Wanted Sampling Rate: 7350
INPUT: Device: sysdefault:CARD=headset
INPUT: Using Sample Rate: 7350
INPUT: Buffer Length set to 341224uS
INPUT: Using Sample Rate: 7350
INPUT: Buffer Length set to 341224uS
INPUT: Wanted Sampling Rate: 7350
INPUT: Device: sysdefault:CARD=headset
INPUT: Using Sample Rate: 7350
INPUT: Buffer Length set to 341224uS
INPUT: Using Sample Rate: 7350
INPUT: Buffer Length set to 341224uS
By Robert Mueller 1404186
#520093 Started xplane from runlevel 3, to avoid possible problems with KDE. But this issue still persists.
Changed freqs to TWR, then APRON - mic worked. Switched back to TWR, and no mic anymore. Could not bring it back to functioning thru all further ATC station, while still be able to hear myself during mic-setup in XSB.
Also I can hear the mic in the headphones when i knock on it.

IMHO this is a problem with XSB plugin. :(
By Christopher Collins 1304731
#520637
Robert Mueller 1404186 wrote:I tried out a Sennheiser PC3, which is not an USB device. And it worked out well (not very surprised).

But it show, its not a problem with linux, xp11, network, etc... it must be a problem with SBX...


Rather the opposite, it shows a problem with Pulse or the USB audio device. The treatment of audio devices is uniform, so if once device works and not the other, it's the device or it's driver.