USB sound issue

Problems and successes with specific brands/models of computer audio hardware
Post Reply
Message
Author
User avatar
tubeguy
Posts: 1320
Joined: Sat 29 Aug 2009, 01:04
Location: Park Ridge IL USA
Contact:

USB sound issue

#1 Post 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.
Attachments
usbdevice.png
(49.39 KiB) Downloaded 1522 times
alldevices.png
(7.76 KiB) Downloaded 2504 times
[b]Tahr Pup 6 on desktop, Lucid 3HD on lappie[/b]

dialeddown
Posts: 20
Joined: Mon 26 Apr 2010, 00:39

#2 Post 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.

User avatar
tubeguy
Posts: 1320
Joined: Sat 29 Aug 2009, 01:04
Location: Park Ridge IL USA
Contact:

#3 Post 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.
[b]Tahr Pup 6 on desktop, Lucid 3HD on lappie[/b]

cammy85
Posts: 4
Joined: Sun 27 Mar 2011, 18:23

#4 Post 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!!!

Disco Makberto
Posts: 175
Joined: Mon 08 Aug 2011, 02:15

#5 Post 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.

Disco Makberto
Posts: 175
Joined: Mon 08 Aug 2011, 02:15

#6 Post 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

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#7 Post 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

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#8 Post 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

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#9 Post 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

Post Reply