Re: Using USB headsets

2017-08-20 Thread Christian Weisgerber
On 2017-08-16, Norman Golisz  wrote:

> I'm trying to figure out how to get my USB headset (Plantronics C310)
> to work.
>
> I can't hear anything, nor does the microphone work. I fiddled with
> different mixerctl settings to no avail, and I'm not even sure my
> headset had been detected at all, as the available options to set
> don't change, while I plug or unplug the device[1].

> dmesg[2] happily reports it detected and configured the device:
>
> uaudio0 at uhub0 port 1 configuration 1 interface 0 "Plantronics Plantronics 
> C310" rev 2.00/1.35 addr 2
> uaudio0: audio rev 1.00, 7 mixer controls
> audio1 at uaudio0

My guess is that all your audio commands actually refer to...

> audio0 at azalia0

... instead of audio1.  If you want to use only the headset, the
easiest fix may be to switch the /dev/{audio,audioctl,mixer} symlinks
from the *0 devices to the *1 ones.

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



Re: Using USB headsets

2017-08-17 Thread Maurice McCarthy
On 16/08/17 19:21, Norman Golisz wrote:
> Hi,
> 
> I'm trying to figure out how to get my USB headset (Plantronics C310)
> to work.
> 
> I can't hear anything, nor does the microphone work. I fiddled with
> different mixerctl settings to no avail, and I'm not even sure my
> headset had been detected at all, as the available options to set
> don't change, while I plug or unplug the device[1].
> 
> dmesg[2] happily reports it detected and configured the device:
> 
> uaudio0 at uhub0 port 1 configuration 1 interface 0 "Plantronics Plantronics 
> C310" rev 2.00/1.35 addr 2
> uaudio0: audio rev 1.00, 7 mixer controls
> audio1 at uaudio0
> uhidev1 at uhub0 port 1 configuration 1 interface 3 "Plantronics Plantronics 
> C310" rev 2.00/1.35 addr 2
> uhidev1: iclass 3/0, 42 report ids
> uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0

...

> 
> Do you have an idea what else to try? Do you have experience with
> similar hardware?
> 
> Best wishes,
> Norman
> 

# usbdevs -vd 

as root will tell you something. I'd also look at lsusb as an ordinary
user. You might have to add the user to the operator group or change 
permissions in /dev/usbx (whichever number it is) for the user to have
access to the usb. But I'm guessing. 

Lastly raise outputs.master=255,255

> [1] mixerctl -v
> 

> outputs.master=126,126
> outputs.master.mute=off  [ off on ]

Good Luck
Moss



Using USB headsets

2017-08-16 Thread Norman Golisz
Hi,

I'm trying to figure out how to get my USB headset (Plantronics C310)
to work.

I can't hear anything, nor does the microphone work. I fiddled with
different mixerctl settings to no avail, and I'm not even sure my
headset had been detected at all, as the available options to set
don't change, while I plug or unplug the device[1].

dmesg[2] happily reports it detected and configured the device:

uaudio0 at uhub0 port 1 configuration 1 interface 0 "Plantronics Plantronics 
C310" rev 2.00/1.35 addr 2
uaudio0: audio rev 1.00, 7 mixer controls
audio1 at uaudio0
uhidev1 at uhub0 port 1 configuration 1 interface 3 "Plantronics Plantronics 
C310" rev 2.00/1.35 addr 2
uhidev1: iclass 3/0, 42 report ids
uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=2, output=0, feature=0
uhid2 at uhidev1 reportid 3: input=32, output=32, feature=0
uhid3 at uhidev1 reportid 4: input=0, output=36, feature=0
uhid4 at uhidev1 reportid 5: input=32, output=0, feature=0
uhid5 at uhidev1 reportid 6: input=0, output=36, feature=0
uhid6 at uhidev1 reportid 7: input=32, output=0, feature=0
uhid7 at uhidev1 reportid 8: input=1, output=0, feature=0
uhid8 at uhidev1 reportid 9: input=0, output=1, feature=0
uhid9 at uhidev1 reportid 20: input=1, output=0, feature=0
uhid10 at uhidev1 reportid 21: input=2, output=0, feature=0
uhid11 at uhidev1 reportid 23: input=0, output=1, feature=0
uhid12 at uhidev1 reportid 24: input=0, output=1, feature=0
uhid13 at uhidev1 reportid 25: input=0, output=1, feature=0
uhid14 at uhidev1 reportid 26: input=0, output=1, feature=0
uhid15 at uhidev1 reportid 27: input=0, output=0, feature=2
uhid16 at uhidev1 reportid 30: input=0, output=1, feature=0
uhid17 at uhidev1 reportid 31: input=1, output=0, feature=0
uhid18 at uhidev1 reportid 32: input=0, output=1, feature=0
uhid19 at uhidev1 reportid 42: input=0, output=1, feature=0

Do you have an idea what else to try? Do you have experience with
similar hardware?

Best wishes,
Norman

[1] mixerctl -v

inputs.dac-0:1=126,126
inputs.dac-2:3=126,126
record.adc-2:3_mute=off  [ off on ]
record.adc-2:3=124,124
record.adc-0:1_mute=off  [ off on ]
record.adc-0:1=124,124
inputs.mix_source=mic2,spkr2,spkr3,beep  { mic2 spkr2 spkr3 beep }
inputs.mix_mic2=120,120
inputs.mix_spkr2=120,120
inputs.mix_spkr3=120,120
inputs.mix_beep=120,120
inputs.mix2_source=dac-0:1,mix  { dac-0:1 mix }
inputs.mix3_source=dac-2:3,mix  { dac-2:3 mix }
inputs.mic=85,85
outputs.spkr_source=mix3  [ mix2 mix3 ]
outputs.spkr_mute=off  [ off on ]
outputs.spkr_eapd=on  [ off on ]
outputs.hp_source=mix2  [ mix2 mix3 ]
outputs.hp_mute=off  [ off on ]
outputs.hp_boost=off  [ off on ]
outputs.hp_eapd=on  [ off on ]
outputs.mic2_source=mix2  [ mix2 mix3 ]
outputs.mic2_mute=off  [ off on ]
inputs.mic2=85,85
outputs.mic2_dir=input-vr80  [ none output input input-vr0 input-vr50 
input-vr80 input-vr100 ]
outputs.spkr2_source=mix2  [ mix2 mix3 ]
outputs.spkr2_mute=off  [ off on ]
inputs.spkr2=85,85
outputs.spkr2_dir=output  [ none output input input-vr0 input-vr50 input-vr80 
input-vr100 ]
outputs.spkr3_source=mix2  [ mix2 mix3 ]
outputs.spkr3_mute=off  [ off on ]
inputs.spkr3=85,85
outputs.spkr3_dir=output  [ none output input input-vr0 input-vr50 input-vr80 
input-vr100 ]
record.adc-0:1_source=mic2,spkr2,spkr3,beep,mix,mic  { mic2 spkr2 spkr3 beep 
mix mic }
record.adc-2:3_source=mic2,spkr2,spkr3,beep,mix  { mic2 spkr2 spkr3 beep mix }
outputs.hp_sense=unplugged  [ unplugged plugged ]
outputs.mic2_sense=unplugged  [ unplugged plugged ]
outputs.spkr_muters=hp,mic2  { hp mic2 }
outputs.master=126,126
outputs.master.mute=off  [ off on ]
outputs.master.slaves=dac-0:1,dac-2:3,spkr,hp,spkr2,spkr3  { dac-0:1 dac-2:3 
spkr hp mic2 spkr2 spkr3 }
record.volume=124,124
record.volume.mute=off  [ off on ]
record.volume.slaves=adc-2:3,adc-0:1  { adc-2:3 adc-0:1 mic mic2 spkr2 spkr3 }

[2] dmesg

OpenBSD 6.1-current (GENERIC.MP) #93: Thu Jul  6 15:41:21 MDT 2017
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 16846462976 (16066MB)
avail mem = 16330108928 (15573MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (70 entries)
bios0: vendor LENOVO version "G1ET73WW (2.09 )" date 10/19/2012
bios0: LENOVO 2349S1P
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT ASF! 
UEFI UEFI POAT SSDT SSDT DMAR UEFI DBG2
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP3(S4) XHCI(S3) EHC1(S3) 
EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz, 2794.07 MHz
cpu0: