Posts: 452
Jerry
Joined: 12 Sep 2007
#1
Wiped out W7, now have antiX 13.2 on and machine runs like a champ! Only real problem is sound--or rather, lack of same. Have futzed around for a while, and sort of know what the problem is. First, here are the sound specs:

Code: Select all

jb@BondAcer2:~
$ cat /proc/asound/modules
 0 snd_hda_intel
 1 snd_hda_intel
jb@BondAcer2:~
$ lsusb
Bus 002 Device 003: ID 064e:d214 Suyin Corp. 
Bus 003 Device 002: ID 0a5c:2198 Broadcom Corp. 
Bus 003 Device 003: ID 192f:0416 Avago Technologies, Pte. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
jb@BondAcer2:~
$ cat /proc/asound/cards
 0 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xf0444000 irq 41
 1 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xf0440000 irq 16
I installed VLC, and using that can switch to the second card, which then works fine. But I can't figure out how to reverse the order system-wide. Don't actually understand what the generic card is there for in the first place, so don't want to just black list it.

Thoughts? TIA
Posts: 452
Jerry
Joined: 12 Sep 2007
#2
OK, got it after searching around some more:
  • find card numbers with

    Code: Select all

    $ cat /proc/asound/cards
  • create a file in home directory

    Code: Select all

    .asoundrc
  • open new file and paste in

    Code: Select all

    pcm.!default {
        type hw
        card 1
    }
    
    ctl.!default {
        type hw           
        card 1
    }
  • use the card number that you want to be default
  • reboot
Woot!
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#3
I'm sure there are others here who know more about this stuff than I do.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://kmuto.jp/debian/hcl/Acer/Aspire+One+722"
linktext was:"This page"
====================================
indicates there is an hdmi sound output and an non-hdmi sound output which makes sense.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Set_the_default_sound_card"
linktext was:"This page"
====================================
gives instructions for selecting the sound card system-wide. Their first method seems to assume the different cards use different sound drivers (modules). The Alternative method, using ~/.asoundrc or / etc/asound.conf does not make this assumption. It says you just need to add something like the following to your ~/.asoundrc file:

Code: Select all

pcm.!default {
    type hw
    card 2
}

ctl.!default {
    type hw           
    card 2
}
BTW: the output if"lspci -k" might have been more useful than the output of"lsusb" but since your system was already in the database I linked to above, your lspci output was not needed.
Posts: 452
Jerry
Joined: 12 Sep 2007
#4
Thanks for looking. I used that Archlinux page myself in posting the answer above, which I guess you did not see (?).
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#5
Yes, I missed your second post. I sometimes get distracted by higher priorities and finish a reply long after I started it.