Ubuntu Multimedia :: Bash Script To Unload ALSA Modules

Aug 1, 2011

I'm using the following bash script to load a null sink and loopbacks on command.

I want to have a separate script that will unload the modules loaded in this script. However, the pacmd unload-module only accepts the index number, not the name. I have no way of knowing what the index numbers will be as they change each time, so I've got stuck writing the script.

write the unload.sh equivalent to this load.sh:

Code:
#!/bin/bash
pacmd "load-module module-null-sink sink_name=mywiretap"
pacmd "load-module module-loopback source=alsa_output.pci-0000_04_03.0.analog-stereo.monitor sink=mywiretap"
pacmd "load-module module-loopback source=alsa_input.pci-0000_04_03.0.analog-stereo sink=mywiretap"

View 1 Replies


ADVERTISEMENT

Ubuntu Multimedia :: ALSA Driver Install Failed At Building Modules

Oct 10, 2010

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:

Code:
rm -f .depend *.o snd.map*
rm -f modules/*.o modules/*.ko
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
rm -f doc/*~
rm -f config.cache config.log config.status Makefile.conf
rm -f utils/alsa-driver.spec .....
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
make: *** [compile] Error 2

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?

View 3 Replies View Related

Debian Hardware :: Saa7134 Alsa Module Won't Unload

Jan 15, 2016

I have a hard time unloading a module (that is it's more stubborn than an aging leprechaun) that is being reported as not being used by lsmod:

Code: Select allroot@groot:~# modprobe -vr saa7134_alsa
modprobe: FATAL: Module saa7134_alsa is in use.
root@groot:~# lsmod | grep saa
saa7134_alsa           17686  0
saa7134               174878  1 saa7134_alsa
tveeprom               20593  1 saa7134

[Code] .....

Why I would need such an outlandish thing is that after I was forced to do a system reinstall thus losing my previous conf files I've been trying to reinstall my saa7134 tvcard. Normally i2c should handle the problem but it won't detect it. So I have a nice little script I found and modified to find the correct card although it is a bit tedious to run:

Code: Select all#/bin/sh
MAXCARD=150
for m in $(seq 0 $MAXCARD);
do
MAXTUNER=69
for i in $(seq 0 $MAXTUNER);

[Code] ...

But I can't unload saa7134 because saa7134_alsa is using it, and I can't unload saa7134_alsa, because, well, because the system doesn't feel like it. I've blacklisted the module (saa7134_alsa) but it gets loaded none the less and won't go away.

View 4 Replies View Related

Ubuntu :: Lock All ALSA Packages And Modules To Version 1.0.23?

Jan 30, 2011

I am using 10.04 but i need alsa to be upgraded to 1.0.23 in order for the sound to work. every once in a while when there is a system update alsa gets overwritten and goes back to 1.0.22 which makes the computer unusable. i already locked the alsa packages and it worked now for some time. but today i got another update that did the same thing. the only solution is to do full alsa upragade again. is there really no other way? which packages do i need to lock to keep alsa at 1.0.23? i don't want to move to 10.10 as i planned to stay with LTS. but if there is no other way... funny how debian chose to use 1.0.23 for their next stable edition, while ubuntu LTS stays with 1.0.22 despite it not working on many newer cards. especiall intel ones it seems.

View 6 Replies View Related

OpenSUSE Hardware :: Updated ALSA - Now Modules Won't Load

Dec 26, 2009

I updated alsa to the latest 1.0.22, however now the alsa modules refuse to load! When I do

Code:

rcalsasound restart

I get:

Starting sound driver: hda-intelWARNING: Error inserting snd_timer (/lib/modules/2.6.31.5-0.1-desktop/updates/alsa/acore/snd-timer.ko): Invalid module format
WARNING: Error inserting snd_pcm (/lib/modules/2.6.31.5-0.1-desktop/updates/alsa/acore/snd-pcm.ko): Invalid module format

[code]....

My audio codec is IDT 92HD81B1C5 and the problem is I can't get the mic to work properly with the stock alsa.

View 9 Replies View Related

Hardware :: Can't Load ALSA Modules - No Sound / Solution For This?

May 24, 2009

Code...

The problem is to get sound out of my PC. I've executed alsaconf few times and every time it generates following errors to /var/log/messages code...

View 1 Replies View Related

OpenSUSE Multimedia :: Configuring Alsa (or Alsa-oss) After Hardware Upgrade?

Nov 19, 2010

I have recently been forced to do a hardware upgrade (my previous mobo died). Now, sounds works ok with,amarok because kde has recognized the new hardware and switched to it.

..... does not work, likely because flash uses alsa-oss which is probably not configured automatically. I have tried uninstalling and reinstalling both alsa-oss and flash, but it didn't solve the problem.

View 1 Replies View Related

OpenSUSE Multimedia :: Update ALSA, Following The Instructions Here: SDB:Alsa-update?

Mar 17, 2011

I'm trying to update ALSA, following the instructions here: SDB:Alsa-update - openSUSE.I'm not sure how to proceed at STEP THREE. There are two sets of instructions, based on whether or not the kernel has been updated. I'm not sure if it has been. How can I make sure?

View 2 Replies View Related

General :: FATAL: Could Not Load /lib/modules/2.6.18-194.17.1.el5.028stab070.7PAE/modules.dep: No Such File Or Directory

Mar 6, 2011

I want set up VPN on my VPS but when i try to turn on tun/tap i see:

:/lib/modules# modprobe tun
FATAL: Could not load /lib/modules/2.6.18-194.17.1.el5.028stab070.7PAE/modules.dep: No such file or directory
os : debian 5
(folder lib/modules is empty)

View 1 Replies View Related

Ubuntu Multimedia :: 9.10 - No Sounds Al All (ALSA 1.0.21)

Feb 9, 2010

I'm currently using Ubuntu 9.10 and since I've installed it, I don't have any sounds at all. Sounds work fine on windows. My version of alsa is 1.0.21. I made sure that I've got nothing muted in alsa mixer and it seems that ubuntu detects my sound card.
Card is HDA ATI SB
Chip: IDT 92HD75B2X5

View 2 Replies View Related

Ubuntu Multimedia :: Cannot Install / Use Alsa

Feb 14, 2010

Having had many problems with pulseaudio on a fresh karmic install, I followed some recommended instructions for removing pulse and using alsa (URL...). unfortunately, both pulse and alsa have gone and i'm left with oss which seems to work fine. I'd like to have alsa back though.When I open amarok, it plays the frst song on the playlist then pops up a series of 'could not initialise sound engine' messages, and crashes.

View 5 Replies View Related

Ubuntu Multimedia :: How To Reinstall The Alsa

Aug 2, 2010

Ubuntu 10.04, 64 bit. Sound was working well, thought I would run some scripts [URL] to install the latest version of alsa, but now I have no sound at all. The command aplay -l gives:

aplay: device_list:223: no soundcards found...

and the command

cat /proc/asound/version
produces:
cat: /proc/asound/version: No such file or directory

I no longer have a directory /proc/asound.If I open the window system>preferences>sound

there are no entries under hardware or output.I have tried to re-install alsa with this command:

sudo apt-get install --reinstall alsa-base alsa-tools alsa-tools-gui alsa-utils alsa-oss linux-sound-base alsamixergui

but still no sound.

View 1 Replies View Related

Ubuntu Multimedia :: Upgrading The ALSA In 8.04?

Nov 12, 2010

Hardy Heron includes ALSA 1.0.15 but I need at least 1.0.16 to make VMWare player happy with it. I couldn't find the packages in backports, but maybe I missed it.

View 2 Replies View Related

Ubuntu Multimedia :: How To Downgrade ALSA

Dec 15, 2010

I have a lenovo G555, and there are plenty of forum posts complaining about the headphones not playing or muting speakers etc. I found two fixes for this issue in ubuntu 10.04.

[Code]...

View 1 Replies View Related

Ubuntu Multimedia :: SB X-Fi Surround 5.1 USB - ALSA

May 27, 2011

I'm having trouble after installing Lubuntu-desktop on top of a Ubuntu Server (64 bit). about the reason for this abomination of distributions is to achieve 64 bit Lubuntu. I used to run Ubuntu 64 straight, but didn't like Unity at all; Arch Linux was great up until now, but I'd like to settle down and focus more on productivity.

The situation is thus: I cannot manage to make my X-Fi USB sound card work without hacks, and at best it only works in some applications. I *think* it may be a bug in ALSA, but I had no problem in the latest versions of Ubuntu (11.04 as of this) and Xubuntu even (11.04?).

I can currently only play media in VLC media player using the following hack in my ~./asoundrc

Code:

This works as expected, but not for many applications (which fail to launch, with a error message related to below (no mixer controls))

Code:

What could I be missing? Some diagnostic information (any other information on request):

Code:

I also posted this question here: [url]

View 3 Replies View Related

General :: Rc.modules Not Loading Modules At Startup?

May 11, 2010

I've been trying to load my pcmcia network card driver "xirc2ps_cs" at startup with no success. I have added "modprobe xirc2ps_cs" to the rc.modules file but it doesn't load at startup. Curiously, though, if I execute rc.modules AFTER the machine has booted it will load the modules just fine. Just not during the boot up process. Thinking that hotstart might have been causing problems I've disabled hotstart (chmod -x) temporarilly to remove it from the picture, but there was no change.

View 5 Replies View Related

OpenSUSE Multimedia :: How To Get Control Modules

Jan 27, 2010

I'm a noob to SUSE .I've been searching the application launcher for the control modules to no avail. Where are they? I'm trying to get a screensaver

View 2 Replies View Related

Ubuntu Networking :: Unload Network Manager?

Jan 26, 2010

I want to disable network manager but not sure which process to rmmod - I do not want to uninstall it, just disable it sometimes.

View 1 Replies View Related

Ubuntu Multimedia :: Keep ALSA Drivers Working?

Jan 9, 2010

Running songbird, have been just fine for months, now every time I try to play a file I get "autoaudiosink and alsasink are missing." I can cure this by following the "Getting the ALSA drivers from a *fresh* kernel" instructions in the comprehensive sound solutions guide. But I have to do this *every time* I restart my computer. How can I fix this permanently?

View 4 Replies View Related

Ubuntu Multimedia :: Speakers Not Working With ALSA?

Feb 5, 2010

I have an HP-dc5800 computer, and my internal speaker was not working, no matter what i did. However, i could get sound with headphones. Here is what i did to fix it. It may work for you.

sudo gedit /etc/modprobe.d/alsa-base.conf Add options snd-hda-intel model=hp-m4 enable_msi=1 to the end of the file. I changed model=hp-m4 to model=hp-dc5800. So, changing the model to the model of your computer may work. Underneath that, i put in; options snd-hda-intel enable=1 enable_msi=1 single_cmd=1 power_save_controller=1 here is a list of some of the models. http://www.kernel.org/doc/Documentat...dio-Models.txt

View 2 Replies View Related

Ubuntu Multimedia :: Replacing Failed OSS With ALSA

Apr 22, 2010

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.

View 1 Replies View Related

Ubuntu Multimedia :: High CPU Usage With ALSA?

Jun 30, 2010

OSS, even though it's emulated *through* ALSA, consumes a microscopic fraction of straight ALSA's CPU usage. For example, when I'm playing something through ALSA with XMMS2, I'm getting about 25-30% CPU usage, but with OSS output, only 2%, tops. The same applies to any other application in which I can choose the output method. And, I'm on 10.04.

View 1 Replies View Related

Ubuntu Multimedia :: Alsa Not Working At Startup?

Aug 2, 2010

My audio was working just fine up until today, when I was working on some audio production stuff. I did QjackCtl, and also ran pulse-jack so I could use another app not in jack. Now, upon a boot up, there is no gnome-volume-control-applet or gnome-volume-control running. When I run gnome-volume-control it says there is no sound device (without Jack running). When I do it with Jack and Pulseaudio running (doing QjackCtl and pulse-jack), gnome-volume-control shows info about jack, but no hardware. I have sound, I just can't affect it volume-wise, etc. When I run pacmd I get this:

$ pacmd
Daemon not responding.

When I close QjackCtl I then get an error in a window that says merely: Waiting for sound system to respond.

View 4 Replies View Related

Ubuntu Multimedia :: Only One App Can Play Sound On Alsa?

Aug 24, 2010

I have Ubuntu Lucid. If i dont' mistake, it should be possible to hear several applications playing sound simultaneously, with ALSA. But if 1 app is already playing, then starting a second one give always "device is busy".

View 2 Replies View Related

Ubuntu Multimedia :: Redirecting ALSA Over JACK 10.4 - 3

Sep 9, 2010

I finally ditched PulseAudio and set up my system with a realtime kernel. I'm redirecting ALSA over JACK. The good: - Awesome, I can get <5ms latency without any xruns! (although 23.2 msec as described below is just fine for me) The bad: - I'm a long-time linux audio user, but have got some minor issues which spoil the fun.

1. Without pulseaudio, the indicator applet refuses to show a volume control applet. The old gnome-volume-control-applet (the one with tooltip!) loads but doesn't show in the gnome-panel. Although I can set the volume with envy24control, it's not quite as practical as using the scrollwheel! Any way to fix this?

2. When I launching any application (such as a terminal) from the gnome-panel, a new JACK connection is created, but not cleaned up after closing the application. As a result, the QJackCtl connection list is flooded with alsa-jack.jackP.8528.xx connections (where 8528 is the process ID of gnome-panel). The jack_lsp command line program shows the same (added spaces after every : to get around the smiley filter):

[Code].....

View 3 Replies View Related

Ubuntu Multimedia :: How To Capture Sound With ALSA

Oct 1, 2010

I recently converted an amd 64 bit WINdows machine to Lucid 64 bit. Everything has gone well. I had numerous issues with Pulseaudio that I removed it. Sound with Alsa has been great, including system theme sounds. I can record via a mike as well. What I cannot do is to capture sounds coming through the sound card. When I record I am getting empty files. The mixer indicates that there are two capture devices. Here is some data on my audio card.

**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC888 Analog
[ALC888 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC888 Digital
[ALC888 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI
HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0

View 2 Replies View Related

Ubuntu Multimedia :: Replacing Failed OSS With ALSA?

Oct 14, 2010

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.

View 9 Replies View Related

Ubuntu Multimedia :: Sound Not Working With ALSA

Nov 5, 2010

I was having a problem with ALSA, installed OSS, but now nothing works. I want to remove OSS, and reinstall ALSA. I am thinking about reinstalling, but I have all my stuff on here, so don't really want to.

View 4 Replies View Related

Ubuntu Multimedia :: Alsa Works - But Not Pulse

Jan 27, 2011

This is a fresh install of 10.10 (although I had the problem on 10.04 as well). I have installed MythTV on here (via apt-get, its not MythBuntu), and use the system primarily for that. Myth works great, sound in everything, no problems.

However, not much else can play sound. Firefox (.....), totem, mplayer, all nothing. Either just no sound or crash. If I can set them to use Alsa (eg: VLC), then they work.

System is an Asus P5B and on-board sound. I've also got an Nvidia GT210 and would like to use the HDMI out, but can't get anything at all to go through this. Don't know if thats related or not. Sound problems existed before adding the GT210.

One strange thing is, I can go into Preferences -> Sound -> Hardware and click "Test Speakers". Of course nothing plays. However, if I then set the onboard card to "Off", and then back to "Analogue Stereo Duplex", then click "Test Speakers", the left speaker works (right is still silent). But from then on, Pulse apps can play sound, until next reboot. Having FF open on a ..... video or something similar prevents Myth from playing sounds however.

What can I do to get sound working sanely? I don't need optical out, surround or anything. Simple stereo will be fine at this point, via either the onboard or the GT210.

View 2 Replies View Related

Ubuntu Installation :: Boot Error "modprobe: FATAL Could Not Load /lib/modules 2.6.35-22 Generic Modules No Such File Or Directory"

Apr 14, 2011

Tonight I installed ubuntu 10.10 (32 bit) on an external usb harddrive with a dvd I burned and I used my older desktop. I disconnected all internal and external drives first so everything had to be put on the usb drive I selected (only option available). I used the option to load extra software, use the entire hard drive, and let the software do it's thing. I basically had no options where to put things and it didn't have much choice.

When I boot the usb drive on my laptop (win 7 64 bit) by telling the bios to boot to it first... I get an error: modprobe: FATAL Could not load /lib/modules 2.6.35-22 generic modules No such file or directory. This message appears twice and then it does boot into ubuntu and seems to work fine. I'm new to this OS so that is an uneducated guess but the things I have done seem to be working. So exactly what is this error referring too? Is there a way to fix the problem or do I just ignore it.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved