Sound quit working for no reason

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
RedWagon
Level 2
Level 2
Posts: 18
Joined: Mon Oct 27, 2008 2:02 am

Sound quit working for no reason

Post by RedWagon »

Just today my sound (in Wine only, native Linux apps still work) stopped working and I haven't updated or changed anything in awhile. I tried disabling and reinabling ALSA but that didn't work. Here is what comes up when I run winecfg:

Code: Select all

ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'defaults.namehint.extended'
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
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM hw:0,0
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'defaults.namehint.extended'
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
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM hw:0,0
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'defaults.namehint.extended'
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
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM hw:1,0
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'defaults.namehint.extended'
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
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM hw:1,0
I have two different sound devices and neither work.
I'm running Xubuntu 8.10 with Wine 1.1.17 compiled from source.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Sound quit working for no reason

Post by vitamin »

RedWagon wrote:ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM hw:0,0
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'defaults.namehint.extended'
Looks like something created invalid ~/.asoundrc file. Remove it/rename it and try again.
RedWagon
Level 2
Level 2
Posts: 18
Joined: Mon Oct 27, 2008 2:02 am

Post by RedWagon »

I spent about four hours trying to fix this and made the situation worse than it was to begin with so I decided it would be a good time to try out LinuxMint, a distro I had been eyeing for awhile, which fixed the problem. The cool part is I was able to just tar my .wine directory, put it on another hard drive, untar it back into the new operating system and everything worked without having to reinstall anything. I even upgraded from 1.1.17 to 1.1.19 and it went off without a hitch.
Martin Gregorie

Sound quit working for no reason

Post by Martin Gregorie »

On Sun, 2009-04-19 at 18:03 -0500, RedWagon wrote:
The cool part is I was able to just tar my .wine directory, put it on
another hard drive, untar it back into the new operating system and
everything worked without having to reinstall anything. I even
upgraded from 1.1.17 to 1.1.19 and it went off without a hitch.
For your future reference, you can do even better than that if you're
willing to define a custom disk layout next time you install a distro.

The trick is this: define an additional ext3 partition and size it to
hold the complete /home directory structure, taking the space from the
default root partition and telling the installer that this partition is
to be used for /home.

Then for future clean installs you reformat all partitions EXCEPT /home,
manually assign uid(s) and gid(s) to match those used in the /home
partition and suddenly your normal login(s) are back and set up exactly
as they used to be, desktop images and all.


Martin
Locked