Page 1 of 1

USB sound issue

Posted: Sat 24 Apr 2010, 21:48
by tubeguy
I've spent a few hours on this on and off, thought I would post the issue as a last resort. dpup beta 4 on Toshiba laptop, trying to use Turtle Beach Audio Advantage. Hardinfo sees the device (see attachment) but Alsa Wizard does not (see other attachment). That third line saying usb-audio is always there whether the Turtle Beach is plugged in or not.

I have tried replacing lines in /etc/modprobe.conf:

alias snd-card-0 snd-usb-audio
alias sound-slot-0 snd-usb-audio

and adding the following line to /etc/rc.d/rc.local:
modprobe snd-usb-audio

This did not help. I've had the same problem with Puppy 4.3.1 also, same exact symptoms. Should I just give up on this? I know Linux sound ain't what it should be yet, I don't think it's just a Puppy thing.

Posted: Mon 26 Apr 2010, 06:30
by dialeddown
I found this udev script to make a *.rule file in /etc/udev/rules.d.

I know it works in linux but have not tried it in puppy.

Code: Select all

# Default to using additional (USB) sound cards when they are available.
KERNEL=="pcmC[D0-9cp]*", ACTION=="add", PROGRAM="/bin/sh -c 'K=%k; K=$${K#pcmC}; K=$${K%%D*}; echo defaults.ctl.card $$K > /etc/asound.conf; echo defaults.pcm.card $$K >>/etc/asound.conf'"
KERNEL=="pcmC[D0-9cp]*", ACTION=="remove", PROGRAM="/bin/sh -c 'echo defaults.ctl.card 0 > /etc/asound.conf; echo defaults.pcm.card 0 >>/etc/asound.conf'"
http://kitenet.net/~joey/blog/entry/ran ... ound_card/

You might have to modprobe a usb audio module.

Posted: Mon 26 Apr 2010, 11:40
by tubeguy
dialeddown wrote:I found this udev script to make a *.rule file in /etc/udev/rules.d.

I know it works in linux but have not tried it in puppy.

Code: Select all

# Default to using additional (USB) sound cards when they are available.
KERNEL=="pcmC[D0-9cp]*", ACTION=="add", PROGRAM="/bin/sh -c 'K=%k; K=$${K#pcmC}; K=$${K%%D*}; echo defaults.ctl.card $$K > /etc/asound.conf; echo defaults.pcm.card $$K >>/etc/asound.conf'"
KERNEL=="pcmC[D0-9cp]*", ACTION=="remove", PROGRAM="/bin/sh -c 'echo defaults.ctl.card 0 > /etc/asound.conf; echo defaults.pcm.card 0 >>/etc/asound.conf'"
http://kitenet.net/~joey/blog/entry/ran ... ound_card/

You might have to modprobe a usb audio module.
Thanks dialeddown, will give this a try.

Posted: Sun 27 Mar 2011, 18:31
by cammy85
dialeddown wrote:I found this udev script to make a *.rule file in /etc/udev/rules.d.

I know it works in linux but have not tried it in puppy.

Code: Select all

# Default to using additional (USB) sound cards when they are available.
KERNEL=="pcmC[D0-9cp]*", ACTION=="add", PROGRAM="/bin/sh -c 'K=%k; K=$${K#pcmC}; K=$${K%%D*}; echo defaults.ctl.card $$K > /etc/asound.conf; echo defaults.pcm.card $$K >>/etc/asound.conf'"
KERNEL=="pcmC[D0-9cp]*", ACTION=="remove", PROGRAM="/bin/sh -c 'echo defaults.ctl.card 0 > /etc/asound.conf; echo defaults.pcm.card 0 >>/etc/asound.conf'"
http://kitenet.net/~joey/blog/entry/ran ... ound_card/

You might have to modprobe a usb audio module.
It's been almost a year since a response, but I will confirm that it does indeed work with Lucid Puppy 5.2. Thank you!!!

Yes, a modprobe is also needed after adding this script. Now if only I can get my Sentinel HASP to work with this and Wine. :) Thanks again!!!

Posted: Sat 16 Nov 2013, 08:46
by Disco Makberto
As it pertains to this script, one important issue is left out: this script must be called "00_local.rules" (without the quotes) as explained on the external blog. One way or another, I would like to know, how do I modprobe this? I suppose I need to execute some commands, so please let me know, which commands do I need to input on the console?

Carlos Albert
D-Mak

P.S.: I am using Lucid 5.2.5 if that helps in any way.

Posted: Fri 22 Nov 2013, 03:02
by Disco Makberto
Update (on Lucid 5.25): The command to use is "modprobe snd-usb-audio" (without quotes). Likewise, "modprobe snd_usb_audio" (without quotes) seems to work as well. I am not sure why using either hypens (-) or underscores (_) makes no difference, but one way or the other does the job. On a related note, some websites mention the command "sudo modprobe snd-usb-audio" (or "sudo modprobe snd_usb_audio") [again, no quotes], but for some reason, adding sudo makes the process inoperative.

I hope this helps.

Carlos Albert
D-Mak

Posted: Sun 01 Dec 2013, 14:26
by darkcity
In sound modules it seems optional to hyphens - or underscores _ in the module names. Odd considering Linux makes a big deal about upper and LOWER case.

The sudo command prefix isn't really used in Puppy because you are root by default.

It means super user do <command>

In many linux distributions using a commands such as modprobe without sudo (or being the root account) with result in an errors - insufficient permissions

Posted: Sun 01 Dec 2013, 15:42
by mikeb
For reference these particular chips CM106 / CM6206 are not fully supported in the kernels of this time. .... even it it loaded there would be no sound output only inputs. The updates can be patched in and I built a working driver for the 4.12 2.6.25.x kernel ... not 100% if 4.31 is the same kernel or not.,..but either way its available if anyone wants it..just shout.

mike

Posted: Sun 01 Dec 2013, 17:19
by darkcity
thanks for the heads up, I've added a page on the wiki where people can record which cards are working-
http://puppylinux.org/wikka/SupportedSoundcards