Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

ALSA Installation


  • Please log in to reply
52 replies to this topic

#31 Tamimwm

Tamimwm
  • Topic Starter

  • Members
  • 181 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Cyprus
  • Local time:11:14 PM

Posted 26 July 2016 - 07:50 AM

I think we had a bit of success, according to what I understood there was a bit of success.

But I still don't have any audio.

 

 

emty@Toshi-C50-A073 ~ $ sudo apt-get install --reinstall alsa-base libasound2 alsa-utils alsa-tools
[sudo] password for emty:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  apmd oss-compat
The following NEW packages will be installed
  alsa-base alsa-tools
0 to upgrade, 2 to newly install, 3 reinstalled, 0 to remove and 10 not to upgrade.
Need to get 1,787 kB of archives.
After this operation, 730 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libasound2 i386 1.0.27.2-3ubuntu7 [324 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main libasound2 amd64 1.0.27.2-3ubuntu7 [327 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main alsa-base all 1.0.25+dfsg-0ubuntu4 [151 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main alsa-utils amd64 1.0.27.2-1ubuntu2 [933 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty/universe alsa-tools amd64 1.0.27-2ubuntu3 [50.4 kB]
Fetched 1,787 kB in 12s (142 kB/s)                                             
(Reading database ... 165827 files and directories currently installed.)
Preparing to unpack .../libasound2_1.0.27.2-3ubuntu7_i386.deb ...
Unpacking libasound2:i386 (1.0.27.2-3ubuntu7) over (1.0.27.2-3ubuntu7) ...
Preparing to unpack .../libasound2_1.0.27.2-3ubuntu7_amd64.deb ...
Unpacking libasound2:amd64 (1.0.27.2-3ubuntu7) over (1.0.27.2-3ubuntu7) ...
Selecting previously unselected package alsa-base.
Preparing to unpack .../alsa-base_1.0.25+dfsg-0ubuntu4_all.deb ...
Unpacking alsa-base (1.0.25+dfsg-0ubuntu4) ...
Preparing to unpack .../alsa-utils_1.0.27.2-1ubuntu2_amd64.deb ...
Unpacking alsa-utils (1.0.27.2-1ubuntu2) over (1.0.27.2-1ubuntu2) ...
Selecting previously unselected package alsa-tools.
Preparing to unpack .../alsa-tools_1.0.27-2ubuntu3_amd64.deb ...
Unpacking alsa-tools (1.0.27-2ubuntu3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Setting up libasound2:i386 (1.0.27.2-3ubuntu7) ...
Setting up libasound2:amd64 (1.0.27.2-3ubuntu7) ...
Setting up alsa-base (1.0.25+dfsg-0ubuntu4) ...
Setting up alsa-utils (1.0.27.2-1ubuntu2) ...
Setting up alsa-tools (1.0.27-2ubuntu3) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
emty@Toshi-C50-A073 ~ $
emty@Toshi-C50-A073 ~ $ sudo alsamixer
cannot open mixer: No such file or directory



BC AdBot (Login to Remove)

 


#32 A Future Pilot

A Future Pilot

  • Members
  • 78 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:TN, USA
  • Local time:04:14 PM

Posted 26 July 2016 - 08:45 AM

Alright let's verify what you have installed on your system.

 

Can you post the output of

sudo dpkg -l \*alsa\*

and

sudo dpkg -l \*pulse\*

please?



#33 Tamimwm

Tamimwm
  • Topic Starter

  • Members
  • 181 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Cyprus
  • Local time:11:14 PM

Posted 26 July 2016 - 09:46 AM

emty@Toshi-C50-A073 ~ $ sudo dpkg -l \*alsa\*
[sudo] password for emty:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
un  alsa           <none>       <none>       (no description available)
ii  alsa-base      1.0.25+dfsg- all          ALSA driver configuration files
ii  alsa-oss       1.0.25-1ubun amd64        ALSA wrapper for OSS applications
ii  alsa-tools     1.0.27-2ubun amd64        Console based ALSA utilities for
ii  alsa-tools-gui 1.0.27-2ubun amd64        GUI based ALSA utilities for spec
ii  alsa-utils     1.0.27.2-1ub amd64        Utilities for configuring and usi
ii  bluez-alsa:amd 4.101-0ubunt amd64        Bluetooth ALSA support
ii  bluez-alsa:i38 4.101-0ubunt i386         Bluetooth ALSA support
ii  gnome-alsamixe 0.9.7~cvs.20 amd64        ALSA sound mixer for GNOME
ii  gstreamer0.10- 0.10.36-1.1u amd64        GStreamer plugin for ALSA
ii  gstreamer1.0-a 1.2.4-1~ubun amd64        GStreamer plugin for ALSA
un  libesd-alsa0   <none>       <none>       (no description available)
un  libsdl1.2debia <none>       <none>       (no description available)
ii  libsox-fmt-als 14.4.1-3ubun amd64        SoX alsa format I/O library
emty@Toshi-C50-A073 ~ $ sudo dpkg -l \*pulse\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
un  gstreamer0.10- <none>       <none>       (no description available)
ii  gstreamer1.0-p 1.2.4-1~ubun amd64        GStreamer plugin for PulseAudio
un  libao-pulse    <none>       <none>       (no description available)
un  libcanberra-pu <none>       <none>       (no description available)
ii  libpulse-mainl 1:4.0-0ubunt amd64        PulseAudio client libraries (glib
ii  libpulse-mainl 1:4.0-0ubunt i386         PulseAudio client libraries (glib
ii  libpulse0:amd6 1:4.0-0ubunt amd64        PulseAudio client libraries
ii  libpulse0:i386 1:4.0-0ubunt i386         PulseAudio client libraries
ii  libpulsedsp:am 1:4.0-0ubunt amd64        PulseAudio OSS pre-load library
ii  libpulsedsp:i3 1:4.0-0ubunt i386         PulseAudio OSS pre-load library
un  libsdl1.2debia <none>       <none>       (no description available)
un  libsox-fmt-pul <none>       <none>       (no description available)
un  pulseaudio     <none>       <none>       (no description available)
un  pulseaudio-eso <none>       <none>       (no description available)
ii  pulseaudio-uti 1:4.0-0ubunt amd64        Command line tools for the PulseA
ii  vlc-plugin-pul 2.1.6-0ubunt amd64        PulseAudio plugin for VLC
 

 

Would you please tell me what does those codes do ?



#34 A Future Pilot

A Future Pilot

  • Members
  • 78 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:TN, USA
  • Local time:04:14 PM

Posted 27 July 2016 - 12:01 PM

That lists what packages you have installed with the name 'alsa' or 'pulse' in them. It looks like pulseaudio has been uninstalled. Try re-installing it with

sudo apt-get install pulseaudio

Edited by A Future Pilot, 27 July 2016 - 12:32 PM.


#35 Tamimwm

Tamimwm
  • Topic Starter

  • Members
  • 181 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Cyprus
  • Local time:11:14 PM

Posted 29 July 2016 - 03:05 AM

Done, I enter the code and restarted my pc after it was done.

emty@Toshi-C50-A073 ~ $ sudo apt-get install pulseaudio
[sudo] password for emty:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
pavumeter paman paprefs pulseaudio-module-raop pulseaudio-esound-compat
Recommended packages:
pulseaudio-module-x11 gstreamer0.10-pulseaudio
The following NEW packages will be installed
pulseaudio
0 to upgrade, 1 to newly install, 0 to remove and 10 not to upgrade.
Need to get 692 kB of archives.
After this operation, 3,486 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main pulseaudio amd64 1:4.0-0ubuntu11.1 [692 kB]
Fetched 692 kB in 3s (221 kB/s)
Selecting previously unselected package pulseaudio.
(Reading database ... 173149 files and directories currently installed.)
Preparing to unpack .../pulseaudio_1%3a4.0-0ubuntu11.1_amd64.deb ...
Unpacking pulseaudio (1:4.0-0ubuntu11.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Setting up pulseaudio (1:4.0-0ubuntu11.1) ...
Adding user pulse to group audio
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...

 

I got the sound icon back, so i guess the audio drivers are running but it seems I am back to the first issue which is there is no sounds produced from my pc.

It works fine in windows but it doesn't produce any sound in Linux.



#36 A Future Pilot

A Future Pilot

  • Members
  • 78 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:TN, USA
  • Local time:04:14 PM

Posted 30 July 2016 - 03:39 PM

Hmmm...This is really odd!

 

Did audio work on the LiveCD?



#37 Tamimwm

Tamimwm
  • Topic Starter

  • Members
  • 181 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Cyprus
  • Local time:11:14 PM

Posted 31 July 2016 - 06:54 AM

it used to work, as far as I remember. Sometimes later it worked sometimes it didn't.

If I restarted my pc from windows and switched to linux it never works. If my computer is off and started into linux it might work. 

Nowadays it isn't working at all.



#38 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 13,561 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:08:14 AM

Posted 01 August 2016 - 05:30 PM

 

If I restarted my pc from windows and switched to linux it never works.

 For this to be an issue Windows would need to be able to access the Linux partition and change settings, and we all know thats not possible.  



#39 Tamimwm

Tamimwm
  • Topic Starter

  • Members
  • 181 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Cyprus
  • Local time:11:14 PM

Posted 03 August 2016 - 03:23 AM

Could it be an error that happened during the installation  ?

Will a clean new installation fix this issue ?



#40 cat1092

cat1092

    Bleeping Cat


  • BC Advisor
  • 7,018 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carolina, USA
  • Local time:05:14 PM

Posted 03 August 2016 - 04:15 AM

 

 

I'm not familiar with the Windows repair installation, and have never heard of such a thing in Linux. 

 

I'm very familiar with the first, as far as Linux goes, one has to reinstall. This can be done w/out the need to format the /home partition if needed, and why all Linux users should have a separate /home. The default option doesn't create this, at the installer must choose 'Something Else' & customize sizes of partitions. 

 

If there's a separate /home, one can perform what's known as a 'fresh upgrade', formatting the root or '/' partition only, though still choosing the existing /home & unchecking the Format tab, and also choose the existing Swap. While some settings may be retained, such as the wallpaper, others may not be, will have to check other custom settings to ensure these are like before (most aren't). 

 

We can assist with this if needed, in another Topic of course. :)

 

I also covered this below sometime back. 

 

http://www.bleepingcomputer.com/forums/t/579923/how-to-dual-boot-windows-ubuntu-based-linux-oss-mbr-method/

 

Cat


Performing full disc images weekly and keeping important data off of the 'C' drive as generated can be the best defence against Malware/Ransomware attacks, as well as a wide range of other issues. 


#41 Al1000

Al1000

  • Global Moderator
  • 7,979 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:Scotland
  • Local time:10:14 PM

Posted 03 August 2016 - 05:22 AM

Could it be an error that happened during the installation  ?


Going by what you have said, the problem is more likely to have been caused by what you subsequently did but that's academic now.

Will a clean new installation fix this issue ?


A new installation should work properly. I suggest installing Mint 18 since it's been released.

#42 pcpunk

pcpunk

  • Members
  • 6,103 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:Florida
  • Local time:05:14 PM

Posted 03 August 2016 - 12:00 PM

Tamimwm, if you haven't done a reinstall yet we might check a few things.  This is from Ubuntu.com, you might even start at #1 at the link I left at the bottom of this Post.

 

4. "Is the system recognizing your sound card?  In the Terminal check the outcome of this commad:"
sudo aplay -l
"The output of that command should look something like this:"
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC861VD Analog [ALC861VD Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

"If you see this:"

aplay: device_list:221: no soundcard found...
"That means that Ubuntu is not recognizing your sound card. Check that you have the proper modules installed."  Proceed to #5 on the list.
 
You can continue checking these things with some help from Advisers at the Link below, because I'm not real familiar with Sound issues.
 
There is also a link to see if your Card is supported at #7
 
 

sBCcBvM.png

Created by Mike_Walsh

 

KDE, Ruler of all Distro's

eps2.4_m4ster-s1ave.aes_pcpunk_leavemehere

 


#43 cat1092

cat1092

    Bleeping Cat


  • BC Advisor
  • 7,018 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carolina, USA
  • Local time:05:14 PM

Posted 04 August 2016 - 12:52 AM

 

 

A new installation should work properly. I suggest installing Mint 18 since it's been released. 

 

Add to that, one can still use their existing /home partition, to prevent data loss, just like in the link in #40. :)

 

If there's no /home partition, rather a directory in root, one can backup this data to an external (copying folders to an external is fine), then once installed, delete the folder with the same name & copy back. To a newbie this sounds harder than it is, after it's been done 2-3 times, makes it easy with each new install. One can upgrade to point releases (say 18.1 when shipped) w/out having to do this. 

 

Though still, it's good to keep backup copies on an external as often as feasible. Have a main folder named 'Linux Mint Backup', open the folder, and drag the main folders into this one. Do the same when copying back, and your files will always be there at each new install. 

 

To keep up with browser settings, I encourage to sign into the browser, both Firefox & Google Chrome (or most any browser built onto Chromium) has a way to create an account for this. If Chromium based, especially Google Chrome, this also gives one a GMail account with a whopping 15GB of storage. :)

 

Doesn't sound like a lot, yet it's plenty for one's important items, such as photo collections, drivers, the latest versions of Flash Player & more, to grab from any computer with a Chrome browser, plus my email. For Linux access, the Insync client is one way to access these, I get mine when free on promo, the initial install is one one computer, then one can freely install it on the rest of their Linux installs. 15GB storage is a lot if managed properly, though I don't store anything on any cloud site that I'd not want anyone to see. This applies to Dropbox & OneDrive also. 

 

Al makes a great point, may as well go with the latest Linux Mint, unless there's a specific reason not to, like if one wants more control over their AMD graphics cards, that's possible only with the 17 series for for a few more months, Mint 13, though if running 17.3, Mint 13 is a long step in reverse. :)

 

Cat


Edited by cat1092, 08 August 2016 - 12:44 AM.

Performing full disc images weekly and keeping important data off of the 'C' drive as generated can be the best defence against Malware/Ransomware attacks, as well as a wide range of other issues. 


#44 pcpunk

pcpunk

  • Members
  • 6,103 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:Florida
  • Local time:05:14 PM

Posted 04 August 2016 - 10:39 AM

I seen others with sound issues from the Audio info I got from Tamimwm's Speccy, so if wanted we could give it a try, what's to loose now?  And might need this info for the new install anyhow.

 

Tamimwm, did you try a LinuxLiveSession yet to see if Audio works?

 

If you provide the output of this also I'll do some digging.

lspci | grep Audio

Edited by pcpunk, 04 August 2016 - 12:02 PM.

sBCcBvM.png

Created by Mike_Walsh

 

KDE, Ruler of all Distro's

eps2.4_m4ster-s1ave.aes_pcpunk_leavemehere

 


#45 Tamimwm

Tamimwm
  • Topic Starter

  • Members
  • 181 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Cyprus
  • Local time:11:14 PM

Posted 05 August 2016 - 07:35 AM

Alright guys I don't mean to be rude but I don't want to go through the hassle of a new installation, I have tried  some of  the steps  on the ubuntu forum pcpunk had posted.

 

Step 4:

 

sudo aplay -l

 

gave

 

aplay: device_list:268: no soundcards found...

 

 

 

Step 1 and 2 weren't useful.

I created another user for step 3 but the issue wasn't resolved.

 

I tried step 5 and got a huge  list as mentioned on the forum , if it is needed I'll post it.

 

Step 6

lspci -v | grep -A7 -i "audio" 

gave

 

00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
    Subsystem: Toshiba America Info Systems Device fa32
    Flags: bus master, fast devsel, latency 0
    Memory at d3510000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>

00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
 

I found intel in the alsa list but I could see my particular chip nor similar ones.

 

 

lspci | grep Audio

 

00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
 

@pcpunk special thanks and according to what I understood is that this issue might remain even if I did a new clean installation ?

 

Thank you all for your help and suggestions.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users