Ubuntu :: Emu 1616 And ALSA - Function Snd_ctl_open Failed For Default: No Such Device Or Address
Feb 25, 2010
I'm running 9.10. I was installing ALSA so that I could run my EMU 1616, and when I tried to go through the steps to install, I'm running into two errors that I've noticed so far. I think. Anyway, the first is that is states that the panelw library isn't there, and that alsamixer: function snd_ctl_open failed for default: No such device or address. The alsamixer one is really odd, since it's there, but I don't know why it won't run.
I initially had it running, and now it isn't. I've yet to get sound out of my EMU. the terminal window also tells me that it can't find the snd_emu file, even though it exists on the computer as well. I need an answer for a dummy.
I have alsa 1.0.22 on my system. I can plug in my pcmcia card into my laptop, and my computer register's it, but when I plug in my microdock, alsa still thinks it's an EMU 1010, which is just the basic one, and I have a 1616, so none of my inputs register anything at all, so I can't record audio. The only thing that seems to be working perfectly or at all, are the audio jack on the pc card, the headphone jack on the microdock, and the stereo mini out for speakers on the microdock. I think it's odd that the headphone and stereo outs work on the microdock, but I can't input any audio. how to get the rest of my microdock to work?
I recently bought a logitech headset which is working very nice, the thing is that I cannot make it my default device when I plug it in. I edited /etc/modprobe.d/alsa-base.conf to make snd-usb-audio the default card but it only works when the computer is turned on with the headset plugged in. A workaround is to plug it and then "alsa force-reload" but I find it very ugly plus it kills all apps using audio and leaves the volume indicator unstable.
I had a look at the Spotify C API, and found that they were using the following code to output music from Spotify: snd_pcm_open(&h, dev, SND_PCM_STREAM_PLAYBACK, 0).
I want use this function instead: int _snd_pcm_file_open(snd_pcm_t **pcmp, const char *name, snd_config_t *root, snd_config_t *conf, snd_pcm_stream_t stream, int mode)The function is found here: http://www.alsa-project.org/alsa-doc...92e16f8abdc60a I'm not able to find anything in the documentation explaining what the two parameters snd_config_t *root and snd_config_t *conf is. What I'm trying to achieve is to write the stream to a file, and then read it from another application. But it would be even better if I could get the stream returned directly from the C application.
I am still struggling with getting my HDMI working under Ubuntu lucid. I added the ricotz/unstable repositories to get the latest version of ALSA (1.0.23):
I have a Lubuntu installed Netbook (Toshiba NB200). When I try to watch a video and listen to music smoothly. So I started the program Audacious on the terminal and I get the following Warning Message:
Code:
** WARNING ** Audacious has detected that your ALSA device has a broken timer. A workaround is being used to prevent CPU overload. report this problem to your Linux distributor or to the ALSA developers. ALSA lib pcm.c:7316:(snd_pcm_recover) underrun occurred
I tried to install OSS to see if it would allow my mircophone to work properly in the WinXP guest I was running in VirtualBox. I couldn't get it to install properly so now I'm left without any sound on my system. I was wondering how I could get rid of what ever files from OSS that are left and reinstall ALSA.I'm running Ubuntu 9.10.
So I tried to install OSS to see if it would allow my mircophone to work properly in the WinXP guest I was running in VirtualBox. I couldn't get it to install properly so now I'm left without any sound on my system. I was wondering how I could get rid of what ever files from OSS that are left and reinstall ALSA. I'm running Ubuntu 9.10.
I'm trying to monitor (listen to) a second ALSA device on the default first card (#0). The device seems properly configured - for example, Audacity can select the device and record from it just fine; and when I select "Start Monitoring" in the volume level menu (the small triangle..), the volume level reacts to the captured stream. The only thing missing is the actual sound.
Before going any further, here are my specs; up-to-date Debian Squeeze on amd64 (x86_64), kernel 2.6.33.2. Output of aplay -l: **** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: VT1828S Analog [VT1828S Analog] Subdevices: 1/2
[Code]...
p.s. In case you feel inclined to tell me the command above should be just fine for me and not to waste my time with looking for an easier way; that only works when no other application has the default device (or the second device!) in its claws. p.s.#2 : You probably noticed that the device is actually the third ALSA device. The real second device has no playback. I'm assuming this is no problem, since the same problem applies to that card.
I'm having trouble with my sound on my new Fedora 12 machine. when I first installed F12 sound was working but it appears that I have messed up some settings somewhere and now alsa is no longer recognizing my sound card (integrated into my ASUS M4A79XTD EVO motherboard)
Code: $ aplay -l aplay: device_list:223: no soundcards found...
I'm sure that when I tried to fix it I probably messed it up worse. Is there an easy way to restore all of my sound settings and audio Drivers back to the F12 defaults without losing everything else?
I was having issues with the mic or line in on my onboard sound card, while trying to get my tvtuner patched in, later I gave OSS a try, I could not get it to work and decided to go back to Alsa, now my soundcard is not functioning.I have followed quite a few different guides, one of which is the sticky, please forgive me for not remembering which guides. I'm going nuts over this.As you can see below it looks like it is still using the oss driver.
uname -a Linux freekbox 2.6.31-21-generic #59-Ubuntu SMP Wed Mar 24 07:28:56 UTC 2010 i686 GNU/Linux
aplay -l aplay: device_list:223: no soundcards found...[code].........
When I try to write email, and enter the first few letters of the recipient in the "to:" box, it sometimes but not always autocompletes. i.e., let's say my contact's name is Frederick, his address is e.g. robertsharry@snotmail.com. I enter Fred or fred or fre, a couple of addresses come in to the autocomplete drop-down, but not his. After searching all over over to find his address by other means, I start to write it in manually only to find that he IS in my address book (and also in recent addresses), listed under Freddie. I know that the word Freddie is not in his actual address, but what is the point of having a search function if you have to remember the address yourself? In other words surely the drop down search should show display names (as well as any other fields)?
I am writing a game in C with SDL. I can successfully display one image on the screen and animate it. However, I am having a lot of issues getting the background to display using the same method. I was asking for help on SDL related forums, but I determined that the issue is not SDL related, and it is actually a pointer issue. However, I can't find where I'm going wrong.
There appears to be lots of advice some of it is working and some of it is not. I purged and reinstalled wine but still am getting the following error.
ALSA lib seq_hw.c:457snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
Audio in general on my machine is not working.I have an ASUS a7n8v deluxe motherboard.have some directed advice of how to get audio working properly on this machine?
I can not work with pulse. I have removed it but have failed to install ALSA in its place because the instructions I have are out of date. Could someone point me to alsa installation instructions that work with 10.10.
I notice that each time I boot my computer, under the playback section of the ALSA Mixer the 'Speaker' volume control is turned all the way down. Even when I return it to the proper level, and then restart my computer later, the slider for 'Speaker' seems to default back to the previous state mentioned above. Is there a way to set the default for the ALSA mixer in a .conf file of some sort so that the default setting for 'Speaker' is always at max?
I can not set default sound card for alsa. It detects my sound card and I can play audio with xmms when I config that to use alsa and my intel sound card, but other applications which use default alsa sound card, and also pulse audio, can not play any sound.
Pulseaudio got installed by default here during installtion. Since I don't want it I first ran "systemctl disable pulseaudio", "pulseaudio --kill", then without rebooting I use mpd with alsa alone and it worked fine.
But then i rebooted, and now all applications, mpd, mpv, chromium etc just says that alsa returns with "Device or resource busy", tried rebooting again with no effect.
The soundcard appears as card 1 according to the output of "aplay -l", and defined that card 1is suposed to be default with this in "/etc/asound.conf":
Code: Select allpcm.!default { type hw card 1 }
ctl.!default { type hw card 1 }
It occurred to me that there might be an issue with permissions to the soundcard so I ran "ls -l /dev/snd"
I am attempting to install the Linuxant ALSA driver to make my sound work properly (speakers muting when headphones plugged in). This worked on Lucid, but on Maverick the installation fails at the "building modules" stage. It directs me to a logfile, which I have reproduced here:
The package partially installed I have no sound at all. I have kernel headers and every related -dev package I can think of installed. I'm running 64-bit; could that be an issue?
Does anyone have sample 'c' code for a browser basic function, get an address and display the contents? Want to learn bout how it's done.
Second, can anyone point me to the source for "webcam", a webcam capture program? I spent a day on the internet trying to find a home page or source listing.
Sorry if these are "dumbassed" questions, but I am new back to Linux. Been out of the Unix world since 1989.
I have read a couple of articles on how dynamic linking works (those stuff about got, plt and lazy binding), and I am still not sure why you need to do dynamic linking in such a complicated way.Suppose your program uses a function in a shared library that needs to be linked dynamically at run time (like a printf). Why can't you statically decide the virtual address of the function at compile time? After all, all you need to do is to enter the page table entry corresponding to the address of the function if the library has been already loaded to a physical page frame.
I've installed both fluidsynth and qsynth, but get this error everytime I run qsynth. I'm trying to use my m-audio keyrig 49 just to practice playing the piano. I don't really care about having a whole DAW and whatever, I just want to play my keyboard. Maybe there is a better way than qsynth? Also, this happens:
Code: /etc/rc.d/rc.alsa restart Loading ALSA mixer settings: /usr/sbin/alsactl restore No state is present for card K49 [code]....
I don't know that it has to do with my qsynth problem or not. I just thought I'd throw it in just in case it does. Also, xmms recognizes my keyboard in the alsa preferences, where the mixer device is.
I have our own C written program code which is communicating with a third party C++ written program code to run a moving device. We have successfully communicated with the third party code with wrapper functions. (Thanks to member in LQ that helped me solved this.)Now, we tried to run some functions to move the device. I think it is better for me to attach the related code first. pro.c (The source code we used to run the device)
The top row of keys on my notebook are currently assigned to various media functions (brightness, volume, play, stop, etc.) These keys are rarely used, and it would be better if they were assigned to the function keys (f1,f2,f3,...) by default, rather then using the fn key to access them. Locking the fn key down is not an option. What can I do?
Now i have a problem.I want to used a hid usb device under linux 2.6.11.But i can't know how to used ioctl function to send and receive data to a hid device
As you can see we have a problem. If we use a wchar_t instead the string wont be formatted right we need to prefix L in front. If we use char16_t we need to prefix a u in front. Is there a was to make the generic without resorting the the std::string class?