Need step by step for USB audio

Hi,
Still a Newb!! I’ve got 11.0 installed with a Turtle Beach Audio Advantage Micro (read that it uses a CMS chip but can’t confirm)hanging off a Via USB card.
I’ve got usb audio selected as the sound card. Downloaded everything “ASLA” that a search of the repositories turned up. I get a pop in the speakers when OpenSuse boots up so I assume something is recognized. But, no sound at test and no channels in master volume. Don’t know what else to do! I don’t know enough yet to get by on pointers in the general direction. Step by step please.
OTOH, if someone knows that the Audio Advantage won’t work with Opensuse, a general “you can’t get there from here” will do <g>.

Mahalo for any Help,
Hal

I typically try to help newbies with their sound, but not with USB audio, as I do not have a USB audio device. So someone else will need chime in to help you.

But to help them, you could explain … do you have motherboard sound working? or sound from a PCI sound card working?

Some other things that may help the user who knows a solution …

Please, when testing your audio/sound functionality, copy and paste the following into a gnome-terminal or konsole:
speaker-test -Dplug:front -c2 -l5 -twavyou should hear a lady’s voice say “front right”, “front left”, … five times.

If your sound still does not work, please provide us with more information on your computer hardware and software configuration. To provide more information, with your PC connected to the internet copy and paste the following into a gnome-terminal / konsole:

wget http://home.cfl.rr.com/infofiles/tsalsa && su -c 'bash ./tsalsa' 

when prompted for a password please enter your root password. Please try to accurately answer the question on the number of plugs/jacks on your PC (for example my PC has 3 i/o plugs/jacks). When the script completes it will pass you a URL. Please post that URL here.

Also, please copy and paste the following into a gnome-terminal/konsole and post the output here.rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

Good luck

As noted, I do not have a USB sound device, … but I do note an old thread in the archives here:
How To Get Sound With Logitech Headsets - openSUSE Forums

where they recommended an edit to the /etc/modprobe.d/sound file, and then they provided some commands that are needed stop and resart your alsa (unplugging and replugging your usb sound device in between).

If you provide the information I requested in my previous post, I can try to guide you through this (in the knowledge that I do not have such a device myself).

If you have two sound cards, a different speaker test you can try is:

For sound card 0speaker-test -Dplug:front -c2 -Ddefault:0 -l2 -twav

For sound card 1speaker-test -Dplug:front -c2 -Ddefault:1 -l2 -twav

I don’t have 2 sound cards, so I can’t test the second one, … but it makes sense to me.

In both additional examples, you should hear a lady’s voice say “front right”, “front left”, … two times.

I checked out - How To Get Sound With Logitech Headsets - openSUSE Forums. It doesn’t look like it would pertain since I only have the usb sound device, no other. But, I ran the command anyway and didn’t get the expected output. came up with " gedit : command not found" ???

Ahh… It reads like you are struggling a bit with being new to Linux. No worries, we were all there once.

gedit is a gnome editor. Presumeably then you are using kde? Instead try (one line at a time):cd /etc/modprobe.d/
kdesu kwrite sound

Did you succeed in trying to obtain more information, as asked?

Just a further note, … this should be doable. I note this:
Matrix:Vendor-Turtle Beach - AlsaProject

With this page linked:
Matrix:Module-usb-audio - AlsaProject

Now those are generic instructions, and not specific to openSUSE, … but if you install “alsa-firmware” and follow the audio troubleshooting guide, IMHO there is a good chance you should get this working.
SDB:AudioTroubleshooting - openSUSE

If not, post the information that I asked for in a previous post.

“Ahh… It reads like you are struggling a bit with being new to Linux.”

Oh? can you really tell? and I thought I was hiding it so well <VBG> !!

I posted the output of all, or at least tried to. I didn’t realize untill now it didn’t take. Is there a limit to the message size? was 6+ pages. I think I svaed all the output. I’ll try posting it again and try your other leads tonight or sometime tommorrow. Let me know if I have to cut up the data in smaller chunks to post.

Mahalo, Hal

Thanks for the assistance!
There are omly 3 usable PCI slots on the board. No integrated sound. There is an empty AMR slot for A custom ASUS sound & Modem Riser card, but not used. I have to choose between a pci sound card or a PCI 2.0 USB card (with which I hope to get sound & modem function).
Data you asked for will be in next post (or 2)

Mahalo

tsalsa version 2008-08-05 Sat Sep 13 14:27:03 PDT 2008
Problem: TB Adio Advantage Micro USB Sound on VIA 2.0 USB PCI card. As Opensuse 11 boots I hear a cracle pop in the speakers, then no sound. doesn’t respond to test.

PC type/make/model: desktop : ASUS TUV4X
Plugs: 1
Surround sound system: no
Model options: no
Number of speakers: 2
Linux install is an upgrade from a previous version: no
PC age (approximate): 8 years ASUS TUV4X
Groups: user is in these groups: Hardware Mixing: enabled if count is greater than 1:

Distro: Welcome to openSUSE 11.0 (i586) - Kernel

Release: SuSE-release
2.6.25.16-0.1-pae
System: Linux ASUS 2.6.25.16-0.1-pae #1 SMP 2008-08-21 00:34:25 +0200 i686 i686 i386 GNU/Linux

Vendor/dev id:

Vendor/dev module:

Vendor/device: Subsystem: ASUSTeK Computer Inc. Device 80e7
Subsystem: ASUSTeK Computer Inc. Device 80e7
Subsystem: ASUSTeK Computer Inc. Device 80e7
Subsystem: First International Computer, Inc. VA-502 Mainboard
Subsystem: First International Computer, Inc. VA-502 Mainboard
Subsystem: Promise Technology, Inc. FastTrak66
Subsystem: First International Computer, Inc. VA-502 Mainboard
Subsystem: First International Computer, Inc. VA-502 Mainboard
Subsystem: First International Computer, Inc. Device 1234
Subsystem: Micro-Star International Co., Ltd. Device 0990
Subsystem: Micro-Star International Co., Ltd. Device 0991

Lspci info:

Alsa driver: 1.0.16rc2
dpkg path:
Alsa utils: 1.0.16

Alsa modules:
snd_usb_audio

Snd/soundcore:
snd 79544 10 snd_pcm_oss
snd_mixer_oss
snd_seq
snd_usb_audio
snd_pcm
snd_timer
snd_usb_lib
snd_rawmidi
snd_seq_device
snd_hwdep
soundcore 24264 1 snd

Alsa cards:
1 [default ]: USB-Audio - C-Media USB Audio
C-Media INC. C-Media USB Audio at usb-0000:00:0a.1-2, full speed

Codec:

Lsof output:

cardcnt: 1
Amixer item options for card 1 [default] _________________________________

Amixer contents for card 1 [default] _____________________________________
amixer set ‘PCM’,0 57%,0% on
amixer set ‘Loudness’,0 on

raw amixer output:

Module Parameters:
snd_pcm_oss/parameters/adsp_map: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
snd_pcm_oss/parameters/dsp_map: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
snd_pcm_oss/parameters/nonblock_open:Y
snd_pcm/parameters/maximum_substreams:4
snd_pcm/parameters/preallocate_dma:1
snd_rawmidi/parameters/amidi_map: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
snd_rawmidi/parameters/midi_map: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
snd_seq/parameters/seq_client_load:14,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
snd_seq/parameters/seq_default_timer_card:-1
snd_seq/parameters/seq_default_timer_class:1
snd_seq/parameters/seq_default_timer_device:0
snd_seq/parameters/seq_default_timer_resolution:0
snd_seq/parameters/seq_default_timer_sclass:0
snd_seq/parameters/seq_default_timer_subdevice:0
snd_timer/parameters/timer_limit:1
snd_timer/parameters/timer_tstamp_monotonic:1
snd_usb_audio/parameters/async_unlink:Y
snd_usb_audio/parameters/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
snd_usb_audio/parameters/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
snd_usb_audio/parameters/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>
snd_usb_audio/parameters/index:-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2
snd_usb_audio/parameters/nrpacks:8
snd_usb_audio/parameters/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
snd_usb_audio/parameters/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

Hardware Info:
bios_date:07/04/2002
bios_vendor:Award Software, Inc.
bios_version:ASUS TUV4X ACPI BIOS Revision 1005
board_name:TUV4X
board_serial:xxxxxxxxxxx
board_vendor:ASUSTeK Computer INC.
board_version:REV 1.xx
chassis_asset_tag:Asset-1234567890
chassis_serial:Chassis Serial Number
chassis_type:7
chassis_vendor:Chassis Manufacture
chassis_version:Chassis Version
modalias:dmi:bvnAwardSoftware,Inc.:bvrASUSTUV4XACPIBIOSRevision1005:bd07/04/2002:svnSystemManufacturer:pnSystemName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnTUV4X:rvrREV1.xx:cvnChassisManufacture:ct7:cvrChassisVersion:
product_name:System Name
product_serial:SYS-1234567890
product_version:System Version
sys_vendor:System Manufacturer
uevent:MODALIAS=dmi:bvnAwardSoftware,Inc.:bvrASUSTUV4XACPIBIOSRevision1005:bd07/04/2002:svnSystemManufacturer:pnSystemName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnTUV4X:rvrREV1.xx:cvnChassisManufacture:ct7:cvrChassisVersion:

Seq clients:
Client info
cur clients : 1
peak clients : 1
max clients : 192

Client 0 : “System” [Kernel]
Port 0 : “Timer” (Rwe-)
Port 1 : “Announce” (R-e-)
Client 14 : “Midi Through” [Kernel]
Port 0 : “Midi Through Port-0” (RWe-)

aplay -l:
**** List of PLAYBACK Hardware Devices ****
card 1: default [C-Media USB Audio ], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

arecord -l:
**** List of CAPTURE Hardware Devices ****

aplay -L:
null
Discard all samples (playback) or generate zero samples (capture)

Devices:
2: : timer
3: 1- 0]: digital audio playback
4: 1] : control
5: : sequencer

Lspci -vn:
00:00.0 0600: 1106:0691 (rev c4)
Subsystem: 1043:80e7
Flags: bus master, medium devsel, latency 0
Memory at f0000000 (32-bit, prefetchable) [size=128]
Capabilities: [a0] AGP version 2.0
Capabilities: [c0] Power Management version 2
Kernel driver in use: agpgart-via
Kernel modules: via-agp

00:01.0 0604: 1106:8598 (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: ce800000-cfefffff
Prefetchable memory behind bridge: d0000000-efffffff
Capabilities: [80] Power Management version 2
Kernel modules: shpchp[/size]

Part 2 of readout

00:04.0 0601: 1106:0686 (rev 40)
Subsystem: 1043:80e7
Flags: bus master, stepping, medium devsel, latency 0
Capabilities: [c0] Power Management version 2
Kernel driver in use: parport_pc
Kernel modules: parport_pc

00:04.1 0101: 1106:0571 (rev 06) (prog-if 8a [Master SecP PriP])
Subsystem: 1043:80e7
Flags: bus master, stepping, medium devsel, latency 32
[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
[virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
[virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
[virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
I/O ports at b800 [size=16]
Capabilities: [c0] Power Management version 2
Kernel driver in use: pata_via
Kernel modules: via82cxxx, pata_via

00:04.2 0c03: 1106:3038 (rev 1a) (prog-if 00 [UHCI])
Subsystem: 0925:1234
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at b400 [size=32]
Capabilities: [80] Power Management version 2
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd

00:04.3 0c03: 1106:3038 (rev 1a) (prog-if 00 [UHCI])
Subsystem: 0925:1234
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at b000 [size=32]
Capabilities: [80] Power Management version 2
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd

00:04.4 0600: 1106:3057 (rev 40)
Flags: medium devsel, IRQ 9
Capabilities: [68] Power Management version 2
Kernel modules: i2c-viapro, via686a

00:09.0 0104: 105a:4d38 (rev 01)
Subsystem: 105a:4d39
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at a800 [size=8]
I/O ports at a400 [size=4]
I/O ports at a000 [size=8]
I/O ports at 9800 [size=4]
I/O ports at 9400 [size=64]
Memory at ce000000 (32-bit, non-prefetchable) [size=128]
[virtual] Expansion ROM at 50000000 [disabled] [size=64]
Capabilities: [58] Power Management version 1
Kernel driver in use: pata_pdc202xx_old
Kernel modules: pdc202xx_old, pata_pdc202xx_old

00:0a.0 0c03: 1106:3038 (rev 50) (prog-if 00 [UHCI])
Subsystem: 0925:1234
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at 9000 [size=32]
Capabilities: [80] Power Management version 2
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd

00:0a.1 0c03: 1106:3038 (rev 50) (prog-if 00 [UHCI])
Subsystem: 0925:1234
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at 8800 [size=32]
Capabilities: [80] Power Management version 2
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd

00:0a.2 0c03: 1106:3104 (rev 51) (prog-if 20 [EHCI])
Subsystem: 0925:1234
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at cd800000 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd

00:0b.0 0200: 10d9:0531 (rev 20)
Flags: bus master, stepping, medium devsel, latency 32, IRQ 5
I/O ports at 8400 [size=256]
Memory at cd000000 (32-bit, non-prefetchable) [size=256]
[virtual] Expansion ROM at 50010000 [disabled] [size=64]
Capabilities: [44] Power Management version 1
Kernel driver in use: tulip
Kernel modules: tulip

01:00.0 0300: 1002:5960 (rev 01) (prog-if 00 [VGA controller])
Subsystem: 1462:0990
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at e0000000 (32-bit, prefetchable) [size=128]
I/O ports at d800 [size=256]
Memory at cf000000 (32-bit, non-prefetchable) [size=64]
Expansion ROM at dffe0000 [disabled] [size=128]
Capabilities: [58] AGP version 2.0
Capabilities: [50] Power Management version 2
Kernel modules: radeonfb

01:00.1 0380: 1002:5940 (rev 01)
Subsystem: 1462:0991
Flags: bus master, 66MHz, medium devsel, latency 64
Memory at d0000000 (32-bit, prefetchable) [disabled] [size=128]
Memory at ce800000 (32-bit, non-prefetchable) [disabled] [size=64]
Capabilities: [50] Power Management version 2

Codec info:
md5sum tsalsa: 66230e86bc438079e766e029616db644 tsalsa
1217985955.0000000000 1221340718.0000000000 1221341224.0000000000 1221341224.0000000000 1221341224.0000000000 1221341223.0000000000
curl: /usr/bin/curl
wget: /usr/bin/wget
dialog: /usr/bin/dialog
tsalsa version 2008-08-05 end: Sat Sep 13 14:27:04 PDT 2008 492
md5sum tsalsa.txt: eb76b5d3400be25e140595687f5805c5 /tmp/tsalsa.txt[/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size]

~> rpm -qa | grep alsa
alsa-utils-1.0.16-35.1
alsa-plugins-pulse-1.0.16-57.1
alsa-1.0.16-39.1
alsa-docs-1.0.16-39.1
alsamixergui-0.9.0rc1-705.1
alsa-plugins-maemo-1.0.16-57.1
java-1_6_0-sun-alsa-1.6.0.u7-1.1
alsa-plugins-1.0.16-57.1
alsa-plugins-samplerate-1.0.16-57.1
FA_clalsadrv-1.1.0-136.1
java-1_5_0-sun-alsa-1.5.0_update16-1.1
alsa-tools-1.0.16-47.1
alsa-firmware-1.0.16-24.1
alsa-tools-gui-1.0.16-47.1
alsa-oss-1.0.15-48.1
alsa-plugins-jack-1.0.16-57.1
kalsatools-1.5.0-544.1

~> rpm -qa | grep pulse
alsa-plugins-pulse-1.0.16-57.1
libpulse0-0.9.11-27.1

~> rpm -q libasound2
libasound2-1.0.16-39.1

~> uname -a
Linux ASUS 2.6.25.16-0.1-pae #1 SMP 2008-08-21 00:34:25 +0200 i686 i686 i386 GNU/Linux

~> cat /etc/modprobe.d/sound
options snd slots=snd-usb-audio

uniq.unknown_key:USB Audio

alias snd-card-0 snd-usb-audio

speaker-test 1.0.16
Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib confmisc.c:768:(parse_card) cannot find card ‘0’
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings

speaker-test 1.0.16
Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib confmisc.c:768:parse_card) cannot find card ‘0’
ALSA lib conf.c:3513:_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:snd_func_concat) error evaluating strings
ALSA lib conf.c:3513:_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:snd_func_refer) error evaluating name
ALSA lib conf.c:3513:_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3985:snd_config_expand) Evaluate error: No such file or directory

what a pain. Do you need anything else?

kwrite came up empty. no output

OK, that is good. That means the sound module is loaded.

Thats interesting. Note it refers to sound “card 1”. Typically, the active default sound card is sound “card 0”. That “might” be the problem, which is consistent with an earlier link I provided.

Please note it is looking for card 0. But your sound device is labled as card 1 !

Now I notice this:

which illustrates you have an /etc/modprobe.d/sound file, which is important in view of a later post of yours (and also important in terms of an edit we need to do).

This is a newbie-ism … me thinks. As noted above, the file “/etc/modprobe.d/sound” exists, but you are likely struggling with syntax. Lets try this differently, given your likely windows background.

If using gnome, type: gnomesu gedit
If using kde type: kdesu kwrite

Once you have either of those two editors open, inside the editor navigate to the directory /etc/modprobe.d and open the file “sound”. Please try hard to be precise here.

Then edit that file, adding an extra line, such that the file looks like:
options snd slots=snd-usb-audio

uniq.unknown_key:USB Audio

alias snd-card-0 snd-usb-audio
options snd-usb-audio enable=1 index=1

and save that file. Then try rebooting with two different setups:
(1) boot with your USB sound device connected, and test your audio. If that doesn’t work, then:
(2) boot with your USB sound device not connected. Then plug it in, and then test your audio.
(3) boot with your USB sound device not connected. Then plug it in, and then type: su -c ‘rcalsasound restart’

My guess is suggestion (1) will work, and suggestion (2) will fail, and suggestion (3) might work.

Have faith. … This can be made to work! :slight_smile: I don’t have a USB sound card, so apologies, but I don’t know of any short cuts.

As a further note, you must type those as a REGULAR user, and NOT as root. In fact all of the recommendations I gave are assuming you are logging in as a regular user. You will be prompted for the root password on an “as required” basis.