USB sound card doesn't sound in Puppy [in ubuntu works fine] (Solved)

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Amaponian
Posts: 83
Joined: Wed Dec 15, 2021 12:10 am
Has thanked: 73 times
Been thanked: 3 times

USB sound card doesn't sound in Puppy [in ubuntu works fine] (Solved)

Post by Amaponian »

[ This problem was solved by doing a fresh install of Puppy and changing two values in the file "/etc/asound.conf". You can see the details in these two threads ] (perhaps you dont need the fresh install)

---

I bought a new sound card because the built-in one got damaged.

I plugged it, rebooted the sytem and then I was able to see, again, the volume control and even, with a video running, when I use the volume control in the USB sound card, the volume slider inside the video moves accordingly, so the sound card is recognized by the system (bionicpup64/frugal).

But I can't hear anything, no matter how high I move the different sliders.
I thought the USB card was damaged, but I tested it on ubuntu and it worked fine, I can hear everything.

What am I missing here? What configuration do I have to review/change?

Help here would be appreciated.

Last edited by Amaponian on Wed May 03, 2023 2:33 pm, edited 5 times in total.
User avatar
mikewalsh
Moderator
Posts: 6155
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 793 times
Been thanked: 1979 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by mikewalsh »

Hi, @Amaponian .

'Kay. Right; now then...

Can you give us the outputs from

Code: Select all

aplay -l

....and

Code: Select all

arecord -l

....please? This will let us confirm that the card is actually being recognised by ALSA under BP64. Also, if you go into the Menu->Setup->ALSA sound Wizard, and click on the icon for "Multiple cards" on the right-hand side, does the card show up in the listing?

Also, the output from an

Code: Select all

lsusb

....would come in useful. I can't believe this would be a driver issue, since every USB sound card I've ever tried uses the built-in generic USB pNp driver that's in the kernel.

Let us have those readouts, and we'll see if we can figure this out for you. By rights, it shouldn't be THAT hard to do.

EDIT:- When you were watching this video, was this in a player like VLC or MPlayer, or was this in a browser? :?:

Mike. ;)

User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by bigpup »

Menu->Setup->ALSA sound Wizard, and click on the icon for "Multiple cards"
Do you have the USB card selected as the sound card to use?

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by OscarTalks »

Follow MikeWalsh's guidance. I am fairly confident you will be able to get it working. It is probably a case of setting it as the default, otherwise you have to select it as the output in all of the individual programs that you want to play audio.

One thing to note is that in the file /etc/modprobe.d/alsa-base.conf
There are 2 instances of the line:-
options snd-usb-audio index=-2
These are designed to prevent USB soundcards from grabbing default (index=0) at boot
So it might help to delete both of those lines.
Or delete one of the lines and edit the other to:-
options snd-usb-audio index=0 and try a reboot
That might make it load as default soundcard from then onwards without needing to use
Multiple Sound Card Wizard
Which might also solve things, but it works around the problem in a slightly different way

Amaponian
Posts: 83
Joined: Wed Dec 15, 2021 12:10 am
Has thanked: 73 times
Been thanked: 3 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by Amaponian »

mikewalsh wrote: Sun Aug 07, 2022 12:57 pm

Hi, @Amaponian .

'Kay. Right; now then...

Can you give us the outputs from

Code: Select all

aplay -l

Code: Select all

root# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
root#
mikewalsh wrote: Sun Aug 07, 2022 12:57 pm

....and

Code: Select all

arecord -l

Code: Select all

root# arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
root#
mikewalsh wrote: Sun Aug 07, 2022 12:57 pm

....please? This will let us confirm that the card is actually being recognised by ALSA under BP64. Also, if you go into the Menu->Setup->ALSA sound Wizard, and click on the icon for "Multiple cards" on the right-hand side, does the card show up in the listing?

Also, the output from an

Code: Select all

lsusb

Code: Select all

root# lsusb
Bus 001 Device 003: ID 13fe:1d00 Kingston Technology Company Inc. DataTraveler 2.0 1GB/4GB Flash Drive / Patriot Xporter 4GB Flash Drive
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 08bb:2902 Texas Instruments PCM2902 Audio Codec
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 03f0:034a Hewlett-Packard Elite Keyboard
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root#
mikewalsh wrote: Sun Aug 07, 2022 12:57 pm

EDIT:- When you were watching this video, was this in a player like VLC or MPlayer, or was this in a browser? :?:

It was in mpv

Amaponian
Posts: 83
Joined: Wed Dec 15, 2021 12:10 am
Has thanked: 73 times
Been thanked: 3 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by Amaponian »

bigpup wrote: Sun Aug 07, 2022 1:05 pm

Menu->Setup->ALSA sound Wizard, and click on the icon for "Multiple cards"
Do you have the USB card selected as the sound card to use?

Just one card is recognized. The built-in one doesn't appear here:

I don't know how to upload images here,
so I share a link to a Google Photos album.
Four images show additional information of what I have:

https://photos.app.goo.gl/2EQ1PW1xeCnAsTfW6

Amaponian
Posts: 83
Joined: Wed Dec 15, 2021 12:10 am
Has thanked: 73 times
Been thanked: 3 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by Amaponian »

OscarTalks wrote: Sun Aug 07, 2022 1:14 pm

Follow MikeWalsh's guidance. I am fairly confident you will be able to get it working. It is probably a case of setting it as the default, otherwise you have to select it as the output in all of the individual programs that you want to play audio.

One thing to note is that in the file /etc/modprobe.d/alsa-base.conf
There are 2 instances of the line:-
options snd-usb-audio index=-2
These are designed to prevent USB soundcards from grabbing default (index=0) at boot
So it might help to delete both of those lines.
Or delete one of the lines and edit the other to:-
options snd-usb-audio index=0 and try a reboot
That might make it load as default soundcard from then onwards without needing to use
Multiple Sound Card Wizard
Which might also solve things, but it works around the problem in a slightly different way

I changed both lines to: options snd-usb-audio index=0 and nothing changed.
I changed both lines to: options snd-usb-audio index=1 and the volume controls appeared at boot, so I think I must live it that way. Sound still missing, though.

EDITED

and the volume controls appeared at boot, so I think I must live it that way

Sorry, I'm mistaken: The volume control doesn't appear at boot. I still don't know how to do that.

Amaponian
Posts: 83
Joined: Wed Dec 15, 2021 12:10 am
Has thanked: 73 times
Been thanked: 3 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by Amaponian »

Please, could comeone help me with this?
I was forced to move to ubuntu, but I want my Puppy!
(@mikewalsh @bigpup @OscarTalks)

here's something new:

Code: Select all

root#  speaker-test -c 2 -t wav

speaker-test 1.1.3

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
root#
User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by bigpup »

Let's start over with some useful info.

What specific Puppy version you using?

The sound card is a USB device you plug into the computer?
What is it?
Make and model?

What is providing sound?
Computer speakers?
External speakers?
Headset?

If external speakers or headset.
They are plugged into what port on the computer or do you plug them into the USB sound card?

I am using a USB sound device, but I have to plug external speakers or a headset into it, to hear sound.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
mikewalsh
Moderator
Posts: 6155
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 793 times
Been thanked: 1979 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by mikewalsh »

@Amaponian :-

Sorry for the delay in getting back to you. I've been having config issues of my own the last day or so.....with WINE. (Ughh!)

Umm... Going back to those photos you posted; a thought has occurred to me.....couple of thoughts, actually. This could simply be a combination of things, although generally these USB cards are pretty easy to work with.

The card's recognised; ALSA "sees" it; it's showing up where you'd expect it to.....I think this is just a case of configuring things properly. DO be aware that these USB sound cards don't always seem to hold the same levels from one session to another. Mine definitely don't; I have one USB adapter card, and two sets of USB headphones each with its own card built-in to the dongle.....they all work the same, but levels often change, and it's quite possible that it's currently muted, or the PCM (volume) level is turned all the way down.

-------------------------------------------------

You say the volume doesn't show at boot? By this, are you saying that the volume icon is not showing in the tray?

If this is the case, look in /root/Startup. Is there a script named

Code: Select all

retrovol_tray

(.....I'm assuming you're using standard JWM/ROX, yes?)

Let's confirm this (or not) first, because otherwise there's no point going further until this is sorted out. Over to you...

Mike. ;)

Amaponian
Posts: 83
Joined: Wed Dec 15, 2021 12:10 am
Has thanked: 73 times
Been thanked: 3 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by Amaponian »

bigpup wrote: Thu Aug 11, 2022 11:32 am

Let's start over with some useful info.

What specific Puppy version you using?

BionicPup64/Frugal
Puppy Updates already run.

bigpup wrote: Thu Aug 11, 2022 11:32 am

The sound card is a USB device you plug into the computer?

Yes

bigpup wrote: Thu Aug 11, 2022 11:32 am

What is it? Make and model?

https://www.amazon.com/Generic-Channel- ... B007HISGRW

bigpup wrote: Thu Aug 11, 2022 11:32 am

What is providing sound?
Computer speakers?
External speakers?
Headset?
If external speakers or headset.
They are plugged into what port on the computer or do you plug them into the USB sound card?

The device has two outputs. One for the microphone that I can't test right now and the other is the audio output. I can connect speakers or a headset to the audio outlet. The sound outlets on the computer are dead, the built-in card damaged.

bigpup wrote: Thu Aug 11, 2022 11:32 am

I am using a USB sound device, but I have to plug external speakers or a headset into it, to hear sound.

Something like that is what I have here

---
I remind you the device works perfectly in ubuntu.

Clarity
Posts: 3823
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1621 times
Been thanked: 521 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by Clarity »

@Amaponian, is your monitor a TV or an HDMI/DVI/DP monitor connection to the PC or is it an AIO?

These now affect how OSes intergrate audio HARDWARE.

So which? or is it the old VGA?

User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by OscarTalks »

Just out of interest, could you please post the output of:-
cat /proc/asound/modules

Is it possible for you to disable the broken integrated soundcard in the BIOS settings?
I was thinking that it might help if the kernel does not load the driver module for the broken soundcard.

Others may know more than me and will probably be able to offer better help, but I do play around with soundcards quite a lot on several of my machines. Sometimes I have 3 soundcards, one integrated (on motherboard) one PCI (in the slot) and one USB. This allows me to send different audio feeds to different destinations. I have always found that my method (editing alsa-base.conf) works for making sure that the cards load in the same order including which one will be the system default. I never make the USB card the default though, although I am sure I did this as an experiment in the past to see if it would work.

Depending on what you are using the machine for, the workaround is to go into preferences of any program which is putting out audio and make sure you set the USB card as the output device in all of them. Usually there will not be all that many programs that you need to change.

User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by bigpup »

Try this:

Have the headphones plugged in, so you are using what I am right now.

Right click on the speaker icon in the right side of the desktop tray.
Select mixer.
You should see something like this:
.

Screenshot(5).jpg
Screenshot(5).jpg (50.96 KiB) Viewed 1117 times

.
Make sure it has PCM and it is at max. (this cannot be adjusted, but it must be there)
Make sure master is checked and volume turned up.
Headphone checked and volume turned up.
Other stuff not so important, but you can make it match this image, just to be sure.
Note:
Depends on sound device ability as to what options may be there.
But all will have PCM, master, and headphone option.

any help?

If no.
Give some specific details about what you see and do?

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by bigpup »

In Alsa Sound Wizard -> Multiple Sound Card Wizard

You showed an image of it listing the USB sound card

Kind of wonder why your posted image shows no buttons to be able to push to do things in that window.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by bigpup »

In Retrovol Config -> tray

Make the tray slider set to master volume

In Retrovol Config -> Hardware image you posted.
The speaker playback volume needs to be moved so it is in the right side list.

Note:
The labeling is messed up in that window.
Active stuff is in the right list.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Amaponian
Posts: 83
Joined: Wed Dec 15, 2021 12:10 am
Has thanked: 73 times
Been thanked: 3 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by Amaponian »

mikewalsh wrote: Thu Aug 11, 2022 11:57 am

Code: Select all

retrovol_tray

(.....I'm assuming you're using standard JWM/ROX, yes?)

Retrovol is in the startup folder. At boot it is in tray, but I'm sure sometimes it doesn't appear. Let's not worry about that, since now it seems to appears all the time.

mikewalsh wrote: Thu Aug 11, 2022 11:57 am

standard JWM/ROX, yes?

Yes

Amaponian
Posts: 83
Joined: Wed Dec 15, 2021 12:10 am
Has thanked: 73 times
Been thanked: 3 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by Amaponian »

OscarTalks wrote: Thu Aug 11, 2022 8:44 pm

Just out of interest, could you please post the output of:-
cat /proc/asound/modules

Is it possible for you to disable the broken integrated soundcard in the BIOS settings?
I was thinking that it might help if the kernel does not load the driver module for the broken soundcard.

Others may know more than me and will probably be able to offer better help, but I do play around with soundcards quite a lot on several of my machines. Sometimes I have 3 soundcards, one integrated (on motherboard) one PCI (in the slot) and one USB. This allows me to send different audio feeds to different destinations. I have always found that my method (editing alsa-base.conf) works for making sure that the cards load in the same order including which one will be the system default. I never make the USB card the default though, although I am sure I did this as an experiment in the past to see if it would work.

Depending on what you are using the machine for, the workaround is to go into preferences of any program which is putting out audio and make sure you set the USB card as the output device in all of them. Usually there will not be all that many programs that you need to change.

I had a big progress:
I was able to hear normal audio changing the output device in the music program DeaDBeeF:
Image

But it works there only. I need to modify that in a place that produces a global result. I still need help.

I disabled the built-in audio card in the bios. I don't see any noticeable change.

[Sorry, I'm not anwering some questions/requests because of the last turn the problem has taken. I think now we'll change directions]

@mikewalsh @bigpup @Clarity

Geek3579
Posts: 269
Joined: Sat Jul 18, 2020 1:07 pm
Has thanked: 80 times
Been thanked: 68 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by Geek3579 »

Changing approach completely...

I had been running USB sound cards with various puppies with ALSA (not pulse audio). And internal sound cards too I think.

The approach I used was outlined in the first part of the article about audio recording. See here:

http://smokey01.com/newsletters/2019/Ma ... 19.html#11
(BTW, I just put together what others such as coderwall had done first)

However, nowadays for audio work, I use a JWM version of debianpupbuster which has pulse audio, making the connections to USB soundcards a LOT easier. Quickpup would also be a suitable candidate.

User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by OscarTalks »

This still indicates that the USB card is not set as the global system default
In the Multiple Sound Card Wizard I would want to see the card shown as being "card 0" not "card 1"
Even though the wizard will set "card 1" as default I am not sure if this method always works properly, especially with USB cards

Please enter cat /proc/asound/modules in terminal and post the output here

Amaponian
Posts: 83
Joined: Wed Dec 15, 2021 12:10 am
Has thanked: 73 times
Been thanked: 3 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by Amaponian »

OscarTalks wrote: Fri Aug 12, 2022 8:49 am

This still indicates that the USB card is not set as the global system default
In the Multiple Sound Card Wizard I would want to see the card shown as being "card 0" not "card 1"
Even though the wizard will set "card 1" as default I am not sure if this method always works properly, especially with USB cards

Please enter cat /proc/asound/modules in terminal and post the output here

Code: Select all

root# cat /proc/asound/modules
 1 snd_usb_audio
root#

Thanks for trying to jelp.

User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by bigpup »

I do not think that is the issue being card 1.
.
This is what I show with my USB sound device as default sound device.
.

Screenshot(3).jpg
Screenshot(3).jpg (7.97 KiB) Viewed 1359 times

.
It is card 2 and identified that way in the Multiple Sound Card Wizard.
.

Screenshot(4).jpg
Screenshot(4).jpg (17.16 KiB) Viewed 1359 times

.
Note:
My Window theme is highly modified, so my windows do not look like yours.
But the stuff along the bottom is clickable option items.
.
What I find wrong. The image posted earlier showing Multiple Sound Card Wizard and the USB card as card 1.
There are none of the option buttons to select like my image shows.
.

Screenshot(5).jpg
Screenshot(5).jpg (11.97 KiB) Viewed 1359 times

.
This is from another computer using Bionicpup64 and what it shows under Sound Card Wizard.

Screenshot(4).jpg
Screenshot(4).jpg (45.64 KiB) Viewed 1344 times

Notice it shows selection buttons along the bottom.
.
I offer this as a possible fix, only because of your above image.
I have seen strange things like this fixed by doing a completely new clean install of the Puppy version.
Delete the install.
Download a new ISO of the Puppy version.
Do a new install using this new download.

Downloads of the ISO and installs do not go 100% all the time.
They may seem to be working, but something did not go 100% perfect.

Best if you can start with the drive partition freshly formatted, so that everything old is gone. Partition is clean.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by bigpup »

Just to make sure you got the correct Bionicpup64 8.0 ISO.

Did you download this one?
https://distro.ibiblio.org/puppylinux/p ... 0-uefi.iso

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by bigpup »

For your info on attaching images and how to make them.

menu->Graphics->Take a Shot

The Take a Shot program can make an image of the full screen or an image of a specific window.
Best to make images of just the open window you want to show us.
Best if you make a window small not filling up the screen.
Take a shot of this window.
Usually it puts the image in /root directory.

To attach an image to a post.
In the post reply screen click on Attachments.
Click on add files.
A navigation window will pop up.
Navigate to location you put the image in the file system.
Select it and click open.
the image file will be listed under add files.
Click on place inline and it will put the image in the post reply where the input indicator is flashing.
.

Screenshot(5).jpg
Screenshot(5).jpg (10.74 KiB) Viewed 1348 times

.
To delete an image.
Where the image file is listed under add files.
Click on delete file.
.
.
.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by bigpup »

Idea.
Was the internal sound card ever working with Bionicpup64 running the computer?
If yes.
I wonder if the settings for it are still being stored and preventing the USB card from being identified as card 0 :idea:

The internal card could still bee seen as a device, so it is card 0, but it is disabled, so not listed. :idea:

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by OscarTalks »

Hello bigpup and Amaponian
Perhaps the Sound Card Wizard does not display those buttons if there is only one card detected?
You could be on to something with the residual effects of the integrated card affecting the configuration somehow.
That was why I suggested disabling it in BIOS as an extra precaution, but if it has previously been detected it could still be contributing to the problem
I have always found that editing /etc/modprobe.d/alsa-base.conf allows me to lock down the order of any and all soundcards, including defining which one is the default. This then means that it is never necessary to use the Multiple Sound Card Wizard to change anything.

If the wizard has already been run it will have set up configuration files to make card 1 (in this case) the new default, over-riding the normal of card 0 being default.
So what I suggest is editing alsa-base.conf again with just one instance of the line
options snd-usb-audio index=0
Delete any repeats of this line, just have it once
Do a reboot
Then use cat /proc/asound/modules in terminal to verify:-
You should have
0 snd_usb_audio (the number should be 0 and not 1)
If you can achieve this, you may need to run the Sound Card Wizard again to reverse the configuration change back from card 1 to card 0
As I say, normally if I set the desired card as card 0 it is not necessary to touch the wizard at all

Amaponian
Posts: 83
Joined: Wed Dec 15, 2021 12:10 am
Has thanked: 73 times
Been thanked: 3 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by Amaponian »

bigpup wrote: Fri Aug 12, 2022 12:26 pm

I do not think that is the issue being card 1.
.
This is what I show with my USB sound device as default sound device.
.
Screenshot(3).jpg
.
It is card 2 and identified that way in the Multiple Sound Card Wizard.
.
Screenshot(4).jpg
.
Note:
My Window theme is highly modified, so my windows do not look like yours.
But the stuff along the bottom is clickable option items.
.
What I find wrong. The image posted earlier showing Multiple Sound Card Wizard and the USB card as card 1.
There are none of the option buttons to select like my image shows.
.
Screenshot(5).jpg
.
This is from another computer using Bionicpup64 and what it shows under Sound Card Wizard.
Screenshot(4).jpg
Notice it shows selection buttons along the bottom.
.
I offer this as a possible fix, only because of your above image.
I have seen strange things like this fixed by doing a completely new clean install of the Puppy version.
Delete the install.
Download a new ISO of the Puppy version.
Do a new install using this new download.

Downloads of the ISO and installs do not go 100% all the time.
They may seem to be working, but something did not go 100% perfect.

Best if you can start with the drive partition freshly formatted, so that everything old is gone. Partition is clean.

I made a fresh install of puppy (from Iblibio as usual). I like how fast I can always reinstall this (the wonders of Puppylinux). The sound problem seems to keep the same, but I want to paste here the whole audio specs (I'm going to do some basic tests, having care to backup every file I modify) (BTW: The multicard windows looks the same, without buttons)

Code: Select all

▶—— Audio Devices ——◀

The lspci command finds no audio information.

!!################################
!!ALSA Information Script v 0.4.64
!!################################

!!Script ran on: Sat Aug 13 00:15:55 UTC 2022


!!Linux Distribution
!!------------------

bionicpup64 Linux Linux 4.19.23 [x86_64 arch] NAME=Puppy ID=puppy_bionicpup64 PRETTY_NAME="bionicpup64 8.0" CPE_NAME="cpe:/o:puppy:puppy_linux:8.0" HOME_URL="http://puppylinux.com/" SUPPORT_URL="http://www.murga-linux.com/puppy/index.php" BUG_REPORT_URL="https://github.com/puppylinux-woof-CE/woof-CE"


!!DMI Information
!!---------------

Manufacturer:      langchao
Product Name:      12345
Product Version:   To Be Filled By O.E.M.
Firmware Version:  080015 


!!Kernel Information
!!------------------

Kernel release:    4.19.23
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         x86_64
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     k4.19.23
Library version:    
Utilities version:  1.1.3


!!Loaded ALSA modules
!!-------------------

snd_usb_audio


!!Sound Servers on this system
!!----------------------------

No sound servers found.


!!Soundcards recognised by ALSA
!!-----------------------------

 1 [Device         ]: USB-Audio - USB PnP Sound Device
                      C-Media Electronics Inc. USB PnP Sound Device at usb-0000:00:1d.1-2, full speed


!!PCI Soundcards installed in the system
!!--------------------------------------



!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!-------------------------------------------------------



!!Modprobe options (Sound related)
!!--------------------------------

snd_pcsp: index=-2
snd_usb_audio: index=-2
snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
snd_usb_audio: index=-2
snd_usb_caiaq: index=-2
snd_usb_ua101: index=-2
snd_usb_us122l: index=-2
snd_usb_usx2y: index=-2
snd_cmipci: mpu_port=0x330 fm_port=0x388
snd_pcsp: index=-2
snd_usb_audio: index=-2


!!Loaded sound module options
!!---------------------------

!!Module: snd_usb_audio
	autoclock : Y
	device_setup : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	ignore_ctl_error : N
	index : -2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	pid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	quirk_alias : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	use_vmalloc : Y
	vid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1


!!USB Mixer information
!!---------------------
--startcollapse--

USB Mixer: usb_id=0x08bb2902, ctrlif=0, ctlerr=0
Card: C-Media Electronics Inc. USB PnP Sound Device at usb-0000:00:1d.1-2, full speed
  Unit: 9
    Control: name="Speaker Playback Volume", index=0
    Info: id=9, control=2, cmask=0x3, channels=2, type="S16"
    Volume: min=-7264, max=-16, dBmin=-2837, dBmax=-6
  Unit: 9
    Control: name="Speaker Playback Switch", index=0
    Info: id=9, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 10
    Control: name="Auto Gain Control", index=0
    Info: id=10, control=7, cmask=0x0, channels=1, type="BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 10
    Control: name="Mic Capture Volume", index=0
    Info: id=10, control=2, cmask=0x0, channels=1, type="S16"
    Volume: min=0, max=6096, dBmin=0, dBmax=2381
  Unit: 10
    Control: name="Mic Capture Switch", index=0
    Info: id=10, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 13
    Control: name="Mic Playback Volume", index=0
    Info: id=13, control=2, cmask=0x0, channels=1, type="S16"
    Volume: min=0, max=6096, dBmin=0, dBmax=2381
  Unit: 13
    Control: name="Mic Playback Switch", index=0
    Info: id=13, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw---- 1 root audio 116,  4 Aug 12 16:14 /dev/snd/controlC1
crw-rw---- 1 root audio 116,  3 Aug 12 16:14 /dev/snd/pcmC1D0c
crw-rw---- 1 root audio 116,  2 Aug 12 16:14 /dev/snd/pcmC1D0p
crw-rw---- 1 root audio 116,  1 Aug 12 16:14 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 Aug 12 16:14 /dev/snd/timer

/dev/snd/by-id:
total 0
drwxr-xr-x 2 root root  60 Aug 12 16:14 .
drwxr-xr-x 4 root root 180 Aug 12 16:14 ..
lrwxrwxrwx 1 root root  12 Aug 12 16:14 usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00 -> ../controlC1

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Aug 12 16:14 .
drwxr-xr-x 4 root root 180 Aug 12 16:14 ..
lrwxrwxrwx 1 root root  12 Aug 12 16:14 pci-0000:00:1d.1-usb-0:2:1.0 -> ../controlC1


!!ALSA configuration files
!!------------------------

!!System wide config file (/etc/asound.conf)

defaults.pcm.card 0
defaults.pcm.device 0
defaults.ctl.card 0


!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

!!Amixer output
!!-------------

!!-------Mixer controls for card 1 [Device]

Card hw:1 'Device'/'C-Media Electronics Inc. USB PnP Sound Device at usb-0000:00:1d.1-2, full speed'
  Mixer name	: 'USB Mixer'
  Components	: 'USB08bb:2902'
  Controls      : 10
  Simple ctrls  : 3
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 151
  Mono:
  Front Left: Playback 44 [29%] [-20.13dB] [on]
  Front Right: Playback 44 [29%] [-20.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 - 127 Capture 0 - 16
  Mono: Playback 0 [0%] [0.00dB] [off] Capture 0 [0%] [0.00dB] [on]
Simple mixer control 'Auto Gain Control',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]


!!Alsactl output
!!--------------

--startcollapse--
state.Device {
	control.1 {
		iface PCM
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.2 {
		iface PCM
		name 'Capture Channel Map'
		value 0
		comment {
			access read
			type INTEGER
			count 1
			range '0 - 36'
		}
	}
	control.3 {
		iface MIXER
		name 'Mic Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.4 {
		iface MIXER
		name 'Mic Playback Volume'
		value 0
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 127'
			dbmin 0
			dbmax 2381
			dbvalue.0 0
		}
	}
	control.5 {
		iface MIXER
		name 'Speaker Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.6 {
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 44
		value.1 44
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 151'
			dbmin -2837
			dbmax -6
			dbvalue.0 -2013
			dbvalue.1 -2013
		}
	}
	control.7 {
		iface MIXER
		name 'Mic Capture Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.8 {
		iface MIXER
		name 'Mic Capture Volume'
		value 0
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 16'
			dbmin 0
			dbmax 2381
			dbvalue.0 0
		}
	}
	control.9 {
		iface MIXER
		name 'Auto Gain Control'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.10 {
		iface CARD
		name 'Keep Interface'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
}
--endcollapse--


!!All Loaded Modules
!!------------------

Module
xt_REDIRECT
nf_nat_pptp
nf_nat_proto_gre
nf_conntrack_pptp
nf_conntrack_proto_gre
ipt_MASQUERADE
iptable_nat
nf_nat_ipv4
nf_nat
nf_conntrack
nf_defrag_ipv6
nf_defrag_ipv4
iptable_filter
ip_tables
joydev
input_leds
rndis_wlan
snd_usb_audio
snd_usbmidi_lib
snd_hwdep
rndis_host
cdc_ether
usbnet
mii
psmouse
snd_pcm_oss
snd_mixer_oss
snd_pcm
snd_seq_dummy
snd_seq_oss
snd_seq_midi
snd_seq_midi_event
snd_rawmidi
snd_seq
snd_seq_device
snd_timer
snd
soundcore
pcspkr
ath5k
ath
mac80211
cfg80211
r8169
rfkill
realtek
libphy
gpio_ich
i2c_i801
lpc_ich
i915
i2c_algo_bit
drm_kms_helper
syscopyarea
sysfillrect
sysimgblt
fb_sys_fops
drm
parport_pc
parport
pcc_cpufreq


!!ALSA/HDA dmesg
!!--------------

ACPI: Added _OSI(Linux-Dell-Video)
ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
ACPI: 2 ACPI AML tables successfully acquired and loaded
--
usbcore: registered new interface driver rndis_wlan
usbcore: registered new interface driver snd-usb-audio
ath: EEPROM regdomain: 0x60



Last edited by Amaponian on Sat Aug 13, 2022 11:28 am, edited 1 time in total.
Amaponian
Posts: 83
Joined: Wed Dec 15, 2021 12:10 am
Has thanked: 73 times
Been thanked: 3 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by Amaponian »

Sound works, simply changing this:

Code: Select all

!!System wide config file (/etc/asound.conf)

defaults.pcm.card 0
defaults.pcm.device 0
defaults.ctl.card 0

To this:

Code: Select all

!!System wide config file (/etc/asound.conf)

defaults.pcm.card 1
defaults.pcm.device 0
defaults.ctl.card 1

If the file (/etc/asound.conf) doesn't exist you must create it (it happens to me in fossapup64-9.5)

I have to check details like:
1. The maximum volume power seems to have decreased.
2. Retrovol sometimes doesn't show the volume control on the tray.

Last edited by Amaponian on Thu Jan 05, 2023 8:39 am, edited 2 times in total.
User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by bigpup »

Bionicpup64 8.0 does have some updates and bug fixes that can be installed.

Quickpet icon on desktop.
Quickpet -> Info -> Bionicpup updates
Do this several times to make sure it gets all of them.
Reboot making sure to update the save, so these changes are now being used.

Not sure if any of them will help with this issue, but you will get a better running Bionicpup64.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: USB sound card doesn't sound in Puppy [in ubuntu works fine]

Post by bigpup »

Try also changing the defaults.pcm.device 0 to 1

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Post Reply

Return to “Users”