Hi, I get:
err:mmdevapi:DllGetClassObject Driver initialization failed
Along with other sound related"err" lines when running my windows program under wine. The program, which up to this point seems to have been trying to draw itself, stops.
When I run winecfg I see (None) next to drivers under the audio tab. I suspect this is the problem, but don't know how to solve it. Any advice? Running latest 13.2 on a pIII.
topic title: [Solved] no sound driver detected in wine
13 posts
• Page 1 of 1
-
Posts: 8
- Joined: 20 Dec 2013
#1
Last edited by misolar on 22 Dec 2013, 08:15, edited 1 time in total.
-
Posts: 630
- Joined: 12 Oct 2012
#2
Not all windows programs run well using wine, I'm not good with windows drivers.
But if you have issues with Linux sound, I can help.
What program are you trying to run,?
there are most likely an Linux equivalent.
But if you have issues with Linux sound, I can help.
What program are you trying to run,?
there are most likely an Linux equivalent.
-
Posts: 8
- Joined: 20 Dec 2013
#3
The program is called"supersid" it is something from Stanford that works with their amateur solar flare detection device. I've read that people have gotten it to work under ubuntu in wine. There is indeed a linux equivalent, called GNU radio, but it requires massive amounts of scripting that is quite far beyond my level. This"supersid" program just works, and was designed for the exact hardware (Stanfords' external amplifier and antenna) I have. So, I'd like to exhaust my options with wine before delving into GNU radio.
I don't believe it is a windows driver, but rather just wine not detecting the alsa mixer. According to others, the options that are usually there are"alsa" or"pulseradio". But for me it just says"none".
I am using wine 1.4 that came with the distribution and was encouraged to try the latest 1.7.8 instead. I'm not sure exactly how to do that though...(new to linux)
I had done"apt-get update" as root and 1.4 was what I got. I suspect I need to point to another repository, but I thought I had to stick with Wheezy since that is what I chose at installation (so I'm a bit confused on best course of action). Thanks.
I don't believe it is a windows driver, but rather just wine not detecting the alsa mixer. According to others, the options that are usually there are"alsa" or"pulseradio". But for me it just says"none".
I am using wine 1.4 that came with the distribution and was encouraged to try the latest 1.7.8 instead. I'm not sure exactly how to do that though...(new to linux)
I had done"apt-get update" as root and 1.4 was what I got. I suspect I need to point to another repository, but I thought I had to stick with Wheezy since that is what I chose at installation (so I'm a bit confused on best course of action). Thanks.
-
Posts: 8
- Joined: 20 Dec 2013
#4
Sorry, I should mention that why this is actually important is because the amplifier device plugs directly into the line in jack on my sound card. I think I just need to find out where I can get the wine-alsa, winetricks, and wine 1.7.8 packages and how to edit files to find them.
-
Posts: 630
- Joined: 12 Oct 2012
#5
Some programs require, OSS sound. Check if you have this library installed" oss-compat"
To help you I need more information on your system.
Run and post the following.
Run the following as root, then check if ALSA is showing in Wine.
This will set your sound card as your hardware default, for any program on the system.
This usually helps with no sound in VirtualBox, I have little to no experience with wine tho. .
To help you I need more information on your system.
Run and post the following.
Code: Select all
$ lsmod | grep '^snd' | column -t
Code: Select all
$ alsactl init
This usually helps with no sound in VirtualBox, I have little to no experience with wine tho. .
-
Posts: 8
- Joined: 20 Dec 2013
#6
i. oss-compat installed
ii. lsmod output:
snd_ca0106 25227 1
snd_seq_midi 3473 0
snd_seq_midi_event 3645 1 snd_seq_midi
snd_rawmidi 12723 2 snd_ca0106,snd_seq_midi
snd_ac97_codec 78474 1 snd_ca0106
snd_pcm 50454 2 snd_ac97_codec,snd_ca0106
snd_page_alloc 5015 2 snd_pcm, snd_ca0106
snd_seq 34663 2 snd_seq_midi_event, snd_seq_midi
snd_sdeq device 3890 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 12034 2 snd_pcm,snd_seq
snd 36700 10 snd_ac97_codec,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_seq_device,snd_ca0106,snd_seq_midi
iii. alsactl init (as root):
alsactl:parse:1655: Unable to open file 'usr/share/alsa/init/ca0106': No such file or directory
ii. lsmod output:
snd_ca0106 25227 1
snd_seq_midi 3473 0
snd_seq_midi_event 3645 1 snd_seq_midi
snd_rawmidi 12723 2 snd_ca0106,snd_seq_midi
snd_ac97_codec 78474 1 snd_ca0106
snd_pcm 50454 2 snd_ac97_codec,snd_ca0106
snd_page_alloc 5015 2 snd_pcm, snd_ca0106
snd_seq 34663 2 snd_seq_midi_event, snd_seq_midi
snd_sdeq device 3890 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 12034 2 snd_pcm,snd_seq
snd 36700 10 snd_ac97_codec,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_seq_device,snd_ca0106,snd_seq_midi
iii. alsactl init (as root):
alsactl:parse:1655: Unable to open file 'usr/share/alsa/init/ca0106': No such file or directory
-
Posts: 4,164
- Joined: 20 Feb 2009
#7
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://www.google.com/search?noj=1&site=&source=hp&q=Unable+to+open+file+%27usr%2Fshare%2Falsa%2Finit%2Fca0106%27%3A+No+such+file+or+directory&oq=Unable+to+open+file+%27usr%2Fshare%2Falsa%2Finit%2Fca0106%27%3A+No+such+file+or+directory&gs_l=hp.12...3425.3425.0.5018.1.1.0.0.0.0.206.206.2-1.1.0....0...1c.2.32.hp..1.0.0.GtS0D6LIJm0"
linktext was:"Lot's of hits on that error"
====================================
. Over 2,000.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://www.google.com/search?noj=1&site=&source=hp&q=Unable+to+open+file+%27usr%2Fshare%2Falsa%2Finit%2Fca0106%27%3A+No+such+file+or+directory&oq=Unable+to+open+file+%27usr%2Fshare%2Falsa%2Finit%2Fca0106%27%3A+No+such+file+or+directory&gs_l=hp.12...3425.3425.0.5018.1.1.0.0.0.0.206.206.2-1.1.0....0...1c.2.32.hp..1.0.0.GtS0D6LIJm0"
linktext was:"Lot's of hits on that error"
====================================
. Over 2,000.
-
Posts: 8
- Joined: 20 Dec 2013
#8
Ok, by updating wine and alsa by adding debian sid repositories I've gotten the program itself to stay open. It seems to be working perfect.
The problem now is that ALSA is not allowing me to enable capture for Line in (which is what I need for data collection). I have tried:
amixer sset Line\ in cap
and variants but I just get"invalid command". Also when I try pressing space in alsamixer nothing happens. Any thoughts?
The problem now is that ALSA is not allowing me to enable capture for Line in (which is what I need for data collection). I have tried:
amixer sset Line\ in cap
and variants but I just get"invalid command". Also when I try pressing space in alsamixer nothing happens. Any thoughts?
-
Posts: 4,164
- Joined: 20 Feb 2009
#9
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/eeepc-900-microphone-debian-wheezy-fix-antix-11-t3433.html"
linktext was:"antix.freeforu ms.org/eeepc-900-m ... t3433.html"
====================================
A report would help eino out in this thread also. We are kinda flying blind in this thread.
Are you testing using mhwavedit. Some fix I used back when my mic would not pick up.The problem now is that ALSA is not allowing me to enable capture for Line in
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/eeepc-900-microphone-debian-wheezy-fix-antix-11-t3433.html"
linktext was:"antix.freeforu ms.org/eeepc-900-m ... t3433.html"
====================================
A
Code: Select all
inxi -F
-
Posts: 8
- Joined: 20 Dec 2013
#10
Code: Select all
System: Host: ronin Kernel: 3.7.10-antix.5-486-smp i686 (32 bit)
Desktop: Fluxbox 1.3.2 Distro: antiX-13.2_386-full Luddite 4 November 2013
Machine: Mobo: N/A model: N/A Bios: N/A version: N/A date: N/A
CPU: Single core Pentium III (Coppermine) (-UP-) cache: 256 KB flags: (pae sse) clocked at 598.085 MHz
Graphics: Card: Intel 82810E DC-133 (CGC) Graphics Controller
X.Org: 1.12.4 drivers: intel (unloaded: fbdev,vesa) Resolution: 1600x900@60.0hz
GLX Renderer: Gallium 0.4 on softpipe GLX Version: 2.1 Mesa 8.0.5
Audio: Card: Creative Labs CA0106 Soundblaster driver: snd_ca0106 Sound: ALSA ver: k3.7.10-antix.5-486-smp
Network: Card: 3Com 3c905C-TX/TX-M [Tornado] driver: 3c59x
IF: eth0 state: unknown speed: 100 Mbps duplex: full mac: 00:01:02:46:b4:76
Drives: HDD Total Size: 10.3GB (35.7% used) 1: id: /dev/sda model: WDC_WD102BA size: 10.3GB
Partition: ID: / size: 8.4G used: 3.5G (43%) fs: ext4 ID: swap-1 size: 1.09GB used: 0.01GB (1%) fs: swap
Sensors: None detected - is lm-sensors installed and configured?
Info: Processes: 75 Uptime: 4 min Memory: 77.9/118.8MB Client: Shell (bash) inxi: 1.9.16
-
Posts: 8
- Joined: 20 Dec 2013
#11
Also my asound.state is does not quite have the same section, apparently because my sound card has a single jack used for both line in and mic.
This was the only block with"capture switch" in it, which is what I think I'm after. Maybe there is a way to modify this.
Code: Select all
control.33 {
iface MIXER
name 'Shared Mic/Line in Capture Switch'
value 'Line in'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 'Line in'
item.1 'Mic in'
}
}
-
Posts: 8
- Joined: 20 Dec 2013
#12
Noticed that sound worked fine when running from liveCD, reinstalled and stuck to wheezy, simply did apt-get install wine, libwine-gl, and libwine-alsa and everything is now fantastic. Surely frenetic tinkering spoiled something earlier.
I still can not spacebar a capture in alsamixer but I think its just part of the workaround for the shared line in/mic.
I still can not spacebar a capture in alsamixer but I think its just part of the workaround for the shared line in/mic.
-
Posts: 630
- Joined: 12 Oct 2012
#13
Usually the re-install and start over is an last resort effort.
When I saw the error with"alsactl init". I knew then, you had somethings missing in ALSA.
When it comes to a windows application running with wine, with the interaction of hardware.
I can not help you with that, I have little to no experience with wine.
To test and adjust the inputs of your sound card run the following. Open alsa mixer , and adjust the capture
as well as line in and mic.
You will have a file called foo.wav in you home directory. Too listen to the quality of play back.
I'm glade to see it is now working for you.
.
misolar wrote:Noticed that sound worked fine when running from liveCD, reinstalled and stuck to wheezy, simply did apt-get install wine, libwine-gl, and libwine-alsa and everything is now fantastic. Surely frenetic tinkering spoiled something earlier.
I still can not spacebar a capture in alsamixer but I think its just part of the workaround for the shared line in/mic.
Usually the re-install and start over is an last resort effort.
When I saw the error with"alsactl init". I knew then, you had somethings missing in ALSA.
When it comes to a windows application running with wine, with the interaction of hardware.
I can not help you with that, I have little to no experience with wine.
To test and adjust the inputs of your sound card run the following. Open alsa mixer , and adjust the capture
as well as line in and mic.
Code: Select all
arecord -vv -fdat foo.wav
I'm glade to see it is now working for you.
.