SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-07-03 23:36:24

natgab
Member
From: Island of California
Registered: 2012-07-03
Posts: 17

USB audio problem [ SOLVED ]

new #! user here,

I have a USB audio card (see info below) and chose it in ALSA mixer, and still don't get sound.  I looked around and found USB audio threads but most are about #! not finding the USB audio, but mine sees it.

I just can't figure out what setting to use for sound.  I've previously used Ubuntu, and that finds my usb audio and works.  I set channel preferences in ALSA to master but still don't get sound. 

Yes my MB audio works, but since I need to use the iMic for OS X I don't want to be swaping out the wire everytime I reboot.

Hackintosh specs:

GIGABYTE GA-G41-ES2L Micro ATX
Intel G41 Northbridge / Intel ICH7 Southbridge / Intel GMA X4500 video
Realtek ALC888B audio / Realtek 8111DL nic / Griffin iMic USB Audio

Intel Pentium E6300 Wolfdale Dual-Core 2.8GHz LGA 775 
Crucial 4GB SDRAM DDR 800 (PC2 6400)
GIGABYTE GV-N84S-512I GeForce 8400 GS 512MB PCI Express 2.0 x16
SYBA PCI USB 2.0 & 1394a combo card
LITE-ON CD/DVD Burner bulk SATA OEM 

OS X 10.7.4 / 10.6.8 / #! 10 Statler / Haiku alpha r3 / Windows XP

Last edited by natgab (2012-07-07 00:25:58)


X40 Thinkpad  -  Model # 2371-8EU
CPU  1.2 GHz Pentium M  -  RAM 1.0 GB
HD   40GB Hitachi IDE  -  GPU  64MB Intel Extreme Graphics 2
CrunchBang 11 Waldorf

Offline

Help fund CrunchBang, donate to the project!

#2 2012-07-04 10:39:24

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: USB audio problem [ SOLVED ]

Post output of

lsusb
cat /proc/asound/cards
lsmod

Last edited by xaos52 (2012-07-04 16:39:28)

Offline

#3 2012-07-06 00:29:48

natgab
Member
From: Island of California
Registered: 2012-07-03
Posts: 17

Re: USB audio problem [ SOLVED ]

xaos52 wrote:

Post output of

lsusb
cat /proc/asound/cards
lsmod

Tried again today and still no sound.  OS X & Win XP see USB audio fine.

natgab@crunchbang:~$ lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 003: ID 077d:07af Griffin Technology iMic
Bus 007 Device 002: ID 046d:c525 Logitech, Inc. MX Revolution Cordless Mouse
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 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 002: ID 04d9:1400 Holtek Semiconductor, Inc. PS/2 keyboard + mouse controller
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:0151 Realtek Semiconductor Corp. Mass Storage Device (Multicard Reader)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

natgab@crunchbang:~$ lsmod | grep snd
snd_usb_audio          64070  0 
snd_hda_codec_realtek   235714  1 
snd_usb_lib            13960  1 snd_usb_audio
snd_seq_midi            4400  0 
snd_hda_intel          20035  1 
snd_hda_codec          54292  2 snd_hda_codec_realtek,snd_hda_intel
snd_seq_midi_event      4628  1 snd_seq_midi
snd_rawmidi            15515  2 snd_usb_lib,snd_seq_midi
snd_pcm                60487  3 snd_usb_audio,snd_hda_intel,snd_hda_codec
snd_hwdep               5380  2 snd_usb_audio,snd_hda_codec
snd_seq                42881  2 snd_seq_midi,snd_seq_midi_event
snd_timer              15598  2 snd_pcm,snd_seq
snd_seq_device          4493  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    46526  12 snd_usb_audio,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_rawmidi,snd_pcm,snd_hwdep,snd_seq,snd_timer,snd_seq_device
soundcore               4598  1 snd
snd_page_alloc          6249  2 snd_hda_intel,snd_pcm
usbcore               123122  7 snd_usb_audio,snd_usb_lib,usbhid,usb_storage,uhci_hcd,ehci_hcd


 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xe5200000 irq 16
 1 [system         ]: USB-Audio - iMic USB audio system
                      Griffin Technology, Inc iMic USB audio system at usb-0000:04:01.0-2, 

X40 Thinkpad  -  Model # 2371-8EU
CPU  1.2 GHz Pentium M  -  RAM 1.0 GB
HD   40GB Hitachi IDE  -  GPU  64MB Intel Extreme Graphics 2
CrunchBang 11 Waldorf

Offline

#4 2012-07-06 01:28:11

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 2,005

Re: USB audio problem [ SOLVED ]

It's a common misconception that you can actually select your default audio output device in alsamixer. The mixer app that ubuntu uses is called pavucontrol and the reason it is capable of doing that is because it uses a pulseaudio server. The plain old ALSA configuration found in #! statler is a bit more bare bones, so you need to create a config file that tells it what card to use, otherwise it just defaults to card 0 which will usually be a sound device on your motherboard or hdmi video card if you have one. For now, try adding a file named .asoundrc to your user's home directory and put this in it:

 pcm.!default {
      type hw
      card 1
      device 0
 }

Then you need to either restart the whole computer, or just restart ALSA like this:

sudo service alsa-utils stop
sudo alsa force-reload
sudo service alsa-utils start

It's possible we may have to edit asound.conf or something to enable usb devices as the default audio device but just try that for now and see what happens.

Offline

#5 2012-07-07 00:25:31

natgab
Member
From: Island of California
Registered: 2012-07-03
Posts: 17

Re: USB audio problem [ SOLVED ]

mynis01 wrote:

It's a common misconception that you can actually select your default audio output device in alsamixer. The mixer app that ubuntu uses is called pavucontrol and the reason it is capable of doing that is because it uses a pulseaudio server. The plain old ALSA configuration found in #! statler is a bit more bare bones, so you need to create a config file that tells it what card to use, otherwise it just defaults to card 0 which will usually be a sound device on your motherboard or hdmi video card if you have one. For now, try adding a file named .asoundrc to your user's home directory and put this in it:

 pcm.!default {
      type hw
      card 1
      device 0
 }

Then you need to either restart the whole computer, or just restart ALSA like this:

sudo service alsa-utils stop
sudo alsa force-reload
sudo service alsa-utils start

It's possible we may have to edit asound.conf or something to enable usb devices as the default audio device but just try that for now and see what happens.

Worked perfect.  Just had to go and open File Manager in root to make sure I put the file in the right spot.  Thanks!  ( now off to see what I need to tweak on my Laptop )


X40 Thinkpad  -  Model # 2371-8EU
CPU  1.2 GHz Pentium M  -  RAM 1.0 GB
HD   40GB Hitachi IDE  -  GPU  64MB Intel Extreme Graphics 2
CrunchBang 11 Waldorf

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo