You are not logged in.

#1 2022-09-10 08:29:12

pepper
Member
Registered: 2017-12-09
Posts: 135

USB-C Headphones not recognized in pavucontrol (no sound)

Hello, I use usb-c headphones that are working in android and other OS but if I try to plug in an archlinux machine they are not shown in pavucontrol and the sound is not redirected to headphones. I use pulseaudio.
Is there a solution?

Offline

#2 2022-09-10 13:35:05

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,690

Re: USB-C Headphones not recognized in pavucontrol (no sound)

First, a sanity check.  What are the output of uname -a and of pacman -Q linux  ? Let's make certain the versions match.
After they are attached, post the output of lsusb
Then, with the headphones connected, post the output of aplay -l


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2022-09-10 14:41:48

pepper
Member
Registered: 2017-12-09
Posts: 135

Re: USB-C Headphones not recognized in pavucontrol (no sound)

➜ uname -a

Linux dpc 5.19.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 31 Aug 2022 22:09:40 +0000 x86_64 GNU/Linux

➜ pacman -Q linux

linux 5.19.6.arch1-1

➜ lsubs (headphones not attached)

Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 0451:8140 Texas Instruments, Inc. TUSB8041 4-Port Hub
Bus 002 Device 002: ID 0451:8140 Texas Instruments, Inc. TUSB8041 4-Port Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 0451:3410 Texas Instruments, Inc. TUSB3410 Microcontroller
Bus 001 Device 005: ID 0627:0003 Adomax Technology Co., Ltd Ducky Secret M Optical Mouse
Bus 001 Device 004: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub
Bus 001 Device 003: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub
Bus 001 Device 002: ID 3233:6301 Ducky Ducky One2 Mini RGB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

➜ lsubs (headphones attached)

Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 0451:8140 Texas Instruments, Inc. TUSB8041 4-Port Hub
Bus 002 Device 002: ID 0451:8140 Texas Instruments, Inc. TUSB8041 4-Port Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 0451:3410 Texas Instruments, Inc. TUSB3410 Microcontroller
Bus 001 Device 005: ID 0627:0003 Adomax Technology Co., Ltd Ducky Secret M Optical Mouse
Bus 001 Device 004: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub
Bus 001 Device 003: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub
Bus 001 Device 002: ID 3233:6301 Ducky Ducky One2 Mini RGB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I needed to install alsa-utils in order to use the following command
➜ aplay -l (headphones attached)

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC1150 Analog [ALC1150 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC1150 Digital [ALC1150 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [DELL U2715H  ]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 12: HDMI 6 [HDMI 6]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I can say that the usb-c port of my case is working because I can charge the smarpthone (with fast charge, it's an USB 3.1 Gen1) and headphones are working because I use them with my smartphone.

Last edited by pepper (2022-09-10 14:54:14)

Offline

#4 2022-09-10 15:20:19

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,690

Re: USB-C Headphones not recognized in pavucontrol (no sound)

The 800lb gorilla in the room is that the device does not show up in lsusb.  That is Really Bad™.

After you attach the device, check your journal to see if there are any interesting messages about the event added at the end.  If in doubt, connect the device then post the link returned by:

journalctl -b --no-pager | tail -100 | curl -F 'f:1=<-' ix.io

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2022-09-10 15:57:57

pepper
Member
Registered: 2017-12-09
Posts: 135

Re: USB-C Headphones not recognized in pavucontrol (no sound)

it seems nothing happened after putting the usb in, I copied the output (with mac addresses set to all zero) in privatebin https://bin.disroot.org/?528898225d0e4d … BMJcuCXCLJ
mm maybe it's the motherboard (MSI M5 Z170A Gaming) that doesn't support audio via usb-c (?) but I don't think it's the problem

Last edited by pepper (2022-09-10 16:08:25)

Offline

#6 2022-09-10 16:33:16

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,690

Re: USB-C Headphones not recognized in pavucontrol (no sound)

Do any UCB-C clients work when attached to that port?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2022-09-10 16:51:58

pepper
Member
Registered: 2017-12-09
Posts: 135

Re: USB-C Headphones not recognized in pavucontrol (no sound)

I'm not sure what do you mean exactly for client but if I put an usb-c key (or usb-c external drive) I can use the device without any problem and transfer files (very fast too >100Mb/s)

Last edited by pepper (2022-09-10 16:54:04)

Offline

#8 2022-09-10 17:34:05

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,690

Re: USB-C Headphones not recognized in pavucontrol (no sound)

That is what I mean.

Tell me more about this headset.  Any chance it is a plain old analog headset that happens to have a USB shaped connector that might work on some 'phones' as a means to connect analog headsets?
What are the make and model?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#9 2022-09-10 18:15:18

pepper
Member
Registered: 2017-12-09
Posts: 135

Re: USB-C Headphones not recognized in pavucontrol (no sound)

In truth they are earphones (KZ ZSX) that I use with a jack to usb-c adapter (perfectly works in my smartphone with the same earphones). The adapter is the original OnePlus Type-C adapter (https://www.oneplus.com/de/product/onep … -adapter01), it works in other smartphones (not oneplus too) and in windows (even if I don't have a win machine with usbc port to test it now), it doesn't need any driver.

Last edited by pepper (2022-09-10 18:22:30)

Offline

#10 2022-09-10 18:38:42

progandy
Member
Registered: 2012-05-17
Posts: 5,320

Re: USB-C Headphones not recognized in pavucontrol (no sound)

There are two different types of usb-c to 3.5mm jack adapters.
passive adapters require an audio codec in the computer/phone that is wired to the usb-c connector.
the other option is an active adapter that has an audio codec built in and identifies as a proper usb sound card / audio device to the computer/phone.

I am not sure what oneplus uses. at least older phone models used the passive passthrough option I think.

Last edited by progandy (2022-09-10 18:40:02)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#11 2022-09-10 18:43:20

pepper
Member
Registered: 2017-12-09
Posts: 135

Re: USB-C Headphones not recognized in pavucontrol (no sound)

progandy wrote:

There are two different types of usb-c to 3.5mm jack adapters.
passive adapters require an audio codec in the computer/phone that is wired to the usb-c connector.
the other option is an active adapter that has an audio codec built in and identifies as a proper usb sound card / audio device to the computer/phone.

I am not sure what oneplus uses. at least older phone models used the passive passthrough option I think.

Yes, it should be passive because otherwise it would have an embedded DAC, but the smartphone has a built-in DAC itself so it should be an useless redundancy of DACs.

Last edited by pepper (2022-09-10 18:44:00)

Offline

#12 2022-09-11 09:52:07

pepper
Member
Registered: 2017-12-09
Posts: 135

Re: USB-C Headphones not recognized in pavucontrol (no sound)

if you have any suggestion to know where is the problem fell free to reply

Offline

#13 2022-09-11 10:37:05

progandy
Member
Registered: 2012-05-17
Posts: 5,320

Re: USB-C Headphones not recognized in pavucontrol (no sound)

As far as I know it is rare for the DAC to be connected to usb-c in the pc market. You have 3.5mm ports anyways, so just use those.

pepper wrote:

if you have any suggestion to know where is the problem fell free to reply

Bumping is really not necessary.

Last edited by progandy (2022-09-11 10:39:39)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#14 2023-01-20 13:34:38

kevr
Member
From: CA, USA
Registered: 2010-05-01
Posts: 24
Website

Re: USB-C Headphones not recognized in pavucontrol (no sound)

In my case, because a USB-C hub I was using apparently didn't transfer over the details correctly, the kernel never picked it up as a device. If I removed the hub from the equation, everything was recognized.


Kevin Morris <kevr@0cost.org>

Hangs out in #archlinux-aurweb. Loves the AUR.

Offline

#15 2023-01-20 15:51:55

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: USB-C Headphones not recognized in pavucontrol (no sound)

kevr wrote:

In my case, because a USB-C hub I was using apparently didn't transfer over the details correctly, the kernel never picked it up as a device. If I removed the hub from the equation, everything was recognized.

Your issue is completely unrelated to this thread.
Please don't necrobump with incorrect information.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB