Installing Yamaha soundcard

Asked by matthew871

Hi, I've just installed Ubuntu and I'd like to get a YMF740 soundcard working.

"sudo asoundconf list" pulls up Audigy and Intel on-board chips, but not the Yamaha. The Audigy works fine, which I can use, but was hoping to get YMF740 working. Anyone know where to get Linux drivers it? Thought I might have seen them on a few Japanese and Chinese sites, but not sure.

Thanks,
<email address hidden>

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Raúl Soriano
Solved:
Last query:
Last reply:
Revision history for this message
Raúl Soriano (gatoloko) said :
#1

Is the card detected (appears on lspci output)? If it is detected and doesn't work it may be some kind of resource conflict. You can try to load the driver manually (sudo modprobe ymfpci). If that gives you an error message, tell us what it says. If there is no error message, it must work.

Revision history for this message
Raúl Soriano (gatoloko) said :
#2

Ups, I wrote incorrectly the driver name, it's snd-ymfpci instead of ymfpci, so to load the driver it must be "sudo modprobe snd-ymfpci".

Revision history for this message
matthew871 (matthew871) said :
#3

Yes, it's there in terminal after typing lspci. Just tried "sudo modprobe snd-ymfpci" and nothing appears to happen, so I guess it worked (whereas "sudo modprobe ymfpci" gave error message "module not found"). Okay so if the driver is loaded now, how do I switch to this sound card to use it? System > Preferences > Sound, or something? I want to make it the default card and have it running on boot up, but right now I don't hear anything.

Revision history for this message
matthew871 (matthew871) said :
#4

Also "cat /proc/asound/modules" pulls up

 0 snd_emu10k1
 1 snd_hda_intel

which is probably Audigy and the on-board Intel sound.

Revision history for this message
matthew871 (matthew871) said :
#5

I don't know if this will help, but I just got this back in the console after trying to adjust my fonts...

matthew@matthew-desktop:~$ sudo gedit ~/.fonts.conf
Password:
Fontconfig error: "~/.fonts.conf", line 2: no element found
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card 'Yamaha'
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card 'Yamaha'
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card 'Yamaha'
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card 'Yamaha'
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card 'Yamaha'
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card 'Yamaha'
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card 'Yamaha'
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default

Revision history for this message
matthew871 (matthew871) said :
#6

Not sure about the directions here...

http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=Yamaha&card=Waveforce+192+Digital.&chip=YMF724%2C+YMF740%2C+YMF744%2C+YMF754&module=ymfpci

When I type:

        cd /usr/src
        mkdir alsa
        cd alsa
        cp /downloads/alsa-* .

I get

cp: cannot stat `/downloads/alsa-*': No such file or directory

Sorry, new to Linux. Don't know what to do.

Revision history for this message
Best Raúl Soriano (gatoloko) said :
#7

You don't need to download/compile alsa, it comes preinstalled with ubuntu.

You can try to select the default asound card with "asoundconf". Executing "asoundconf list" must tell you a list of names, each one corresponding to a sound card.

For example in my system the list says this:

$ asoundconf list
Names of available sound cards:
Audigy
NVidia
Bt878

Then to select a card you must run "asoundconf set-default-card NAMEOFTHECARD" (it's case sensitive), so in my case, to select the nvidia card, it must be "asoundconf set-default-card NVidia". Then try the sound to see if it worked.

There is a asoundconf-gtk package that lets you choose the default card with a gui, if you prefer it.

Revision history for this message
matthew871 (matthew871) said :
#8

Thanks. I've printed this out to try later if I ever use Ubuntu again. I got too frustrated with it though (not just the sound card stuff).

Revision history for this message
matthew871 (matthew871) said :
#9

I mean I tried Slackware next, which I like a lot more than Ubuntu, but it doesn't recognize my Intel network card, so I can't even access the internet. It's annoying. I guess I have to edit some config file somewhere. Thanks again for the help.