LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Need help with a USB sound card (https://www.linuxquestions.org/questions/debian-26/need-help-with-a-usb-sound-card-4175697158/)

notooth 07-03-2021 02:35 AM

Here is my configure: https://www.mediafire.com/view/j12q8yksg6ctx2x

fatmac 07-03-2021 04:33 AM

Being Debian, you may need non-free in your sources list, then download your Intel driver.

notooth 07-03-2021 04:44 AM

Quote:

Originally Posted by fatmac (Post 6263447)
Being Debian, you may need non-free in your sources list, then download your Intel driver.

I installed firmware-intel-sound, and the issue is still there.

aus9 07-03-2021 05:06 AM

Ok lets try loading a codec kernel module and re-testing sound?

You may need to reboot....to have a level playing field.....but lets load all kernel module targets at once and see if it makes a diff?

targets assume you use sudo. I suggest you load one module test sound then load another repeat. Notice that I load using an hypen as we already know the kernel modules have a hypen....but when we list modules they return with the understem _

Code:

sudo modprobe snd-hda-codec
# then snd-hda-codec-cmedia ,  snd-hda-codec-realtek snd-hda-codec-generic

You may need to pull the dongle and back in after each modprobe please

notooth 07-03-2021 12:34 PM

Here is what I did:
Run 'sudo modprobe snd-hda-codec', test the sound
Run 'sudo modprobe snd-hda-codec-cmedia', test the sound
Run 'sudo modprobe snd-hda-codec-realtek', test the sound
Run 'sudo modprobe snd-hda-codec-generic', test the sound
Reboot, test the sound, and the issue is still there.

aus9 07-03-2021 09:21 PM

does the issue change using a diff media file type....such as mp3 ogg wav wma flac opus etc

If it does ....it would suggest it is actually a codec issue.

samples here if needed

2) Does the issue change in a diff usb port?

aus9 07-03-2021 09:39 PM

and as I am running out of ideas....back to look at jefro and your usb controllers.

for me
Code:

NOT OP
lsmod | grep usbcore
usbcore              278528  5 xhci_hcd,usbhid,usbkbd,usbmouse,xhci_pci

I think your earlier posted results will show likely to include ehci and uhci
but if you look at this link...
https://wiki.gentoo.org/wiki/USB/Guide

and run
Code:

lspci -v | grep USB
You may find....you have only one UHCI controller as per the gentoo link? And that is one you would need to use so swap out any usb kb or mouse
AFAIK xhci is for usb 3 uhci for 2 and the other one for usb 1 series

notooth 07-03-2021 09:53 PM

I have tried the sound with different file extensions: mp3, ogg, wav, wma; different media players: Dragon player, VLC player and different USB ports, the issue did not change.

Here is the info on my computer:
Code:

$ lsmod | grep usbcore
usbcore              299008  6 ehci_pci,snd_usb_audio,usbhid,snd_usbmidi_lib,ehci_hcd,uhci_hcd
usb_common            16384  1 usbcore

$ lspci -v | grep USB
00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1 (prog-if 00 [UHCI])
        Subsystem: Hewlett-Packard Company 82801JI (ICH10 Family) USB UHCI Controller
00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2 (prog-if 00 [UHCI])
        Subsystem: Hewlett-Packard Company 82801JI (ICH10 Family) USB UHCI Controller
00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3 (prog-if 00 [UHCI])
        Subsystem: Hewlett-Packard Company 82801JI (ICH10 Family) USB UHCI Controller
00:1d.3 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6 (prog-if 00 [UHCI])
        Subsystem: Hewlett-Packard Company 82801JI (ICH10 Family) USB UHCI Controller
00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1 (prog-if 20 [EHCI])
        Subsystem: Hewlett-Packard Company 82801JI (ICH10 Family) USB2 EHCI Controller
02:00.4 USB controller: Hewlett-Packard Company Integrated Lights-Out Standard Virtual USB Controller (rev 01) (prog-if 00 [UHCI])


aus9 07-03-2021 11:09 PM

This confirms Jefro's thoughts on usb speed.

I will repeat my earlier remarks with ref link
https://www.programmersought.com/article/1457246744/
UHCI is usb 1 series and all but one of yours fits that speed.
EHCI is usb 2 series

You have only one controller that is usb2. That should be colour coded, some are black inside the port or white. It does not matter what the colour, find it and use that port please. I do not remember what usb 1 colour is ....but you can tell by looking eh?

notooth 07-04-2021 08:43 PM

According to my system specifications, all the USB ports are 2.0. I contacted the vendor, and they said that they "provide both standard USB 2.0 support and legacy USB 2.0 support. Standard support is provided by the OS through the appropriate USB device drivers..."
Maybe Debian 10 does not provide an appropriate USB device driver?

jefro 07-04-2021 09:22 PM

Might could try the command top to see loading?

notooth 07-04-2021 09:35 PM

Quote:

Originally Posted by jefro (Post 6263859)
Might could try the command top to see loading?

Yes, I tried the command top and saw it loading.

aus9 07-04-2021 11:27 PM

@jefro and OP

Due to my fixation on codec, the OP has IMHO eliminated by loading the main codecs manually....no change in output
which led me to ask about what usb controllers he has after running out of ideas and reviewing Jefro's comments

The OP reply 25 claims he has no usb 1 controllers by claiming they are all usb 2.

At my reply 24 the link claims...
Quote:

UHCI (Universal Host Controller Interface) is an interface standard for USB 1.0 and 1.1 that is dominated by Intel and is not compatible with OHC
at OP reply 23 OP says he has....snip...
Quote:

ICH10 Family) USB UHCI Controller
And we know ICH is Intel

Either that usb link is wrong....or correct.

Do you think it might be wise for OP to try out another distro? I am thinking....he has ONE controller usb2 but OP has not reported seeing any colour changes inside the usb ports

notooth 07-04-2021 11:51 PM

My system is HP DL380 G7. I see 4 USB ports with no color change.

aus9 07-05-2021 01:18 AM

right well my link may not be your exact model but
Quote:

USB 2.0 Ports 5 total: 2 front, 2 back, 1 internal
https://www.dectrader.com/pdf/quicks.../13595_na.html
claims all usb 2 as prev stated.....but that is actually bad....for me, because it means I can not get you to try a usb 2 port when all of them are.

there may still be some benefit in trying out a live cd/dvd of another linux distro to see if its software related.

I will wait to see if Jefro has time to respond.

In the meantime, maybe upload your full /var/log/dmesg somewhere. Maybe we can spot some "missing firmware" roughly suggested by fatmac


All times are GMT -5. The time now is 06:33 AM.