LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-11-2013, 06:21 AM   #1
jazzo
Member
 
Registered: Jul 2012
Posts: 192

Rep: Reputation: Disabled
problems with sound and touchpad after shut down


Chaps, a few days ago I started a thread on this forum, about problems with the touchpad http://www.linuxquestions.org/questi...15#post5006715
Well it turned out that it is not the touchpad but there is more to that. (I have a dell xps17 running ubuntu 12.04 and windows 7) Like I said in that post, all the problems started after I shut down the laptop from the console. When I logged in again the following day the touchpad was dead and also the sound is gone, it's as if the laptop has been muted. I checked in sound settings and under Output it reads: Play sound through Dummy Output.
I don't' know what it is but something has gone terribly wrong with my machine and I have no idea if it is a hardware or software problem. SO now not only I can't use the touchpad but I can't even listen to anything. Can you guys help me to resolve this please, I really don't know what to do - not being a great expert in linux.
All I can say is that everything works ok under Windows, and everything was working fine under ubuntu till I had the brilliant idea of shutting the machine down using
Code:
shut down -p now
(I am not sure the things are related I can only assume they are)
 
Old 08-11-2013, 07:19 AM   #2
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Sid. Arch. In the process of converting to and learning FreeBSD
Posts: 1,026
Blog Entries: 6

Rep: Reputation: 237Reputation: 237Reputation: 237
Did you install any updates in the session before shutting down? If you're not sure, at least check if you have automatic updates enabled. It's possible that an update broke something (especially with the kernel).
 
Old 08-11-2013, 07:34 AM   #3
jazzo
Member
 
Registered: Jul 2012
Posts: 192

Original Poster
Rep: Reputation: Disabled
Not that I remember goumba. With the updates, I usually have a pop up windows notifying me of any update. If that is the cause, is there anyway I can go back to a point in time before the latest updates took place?
If not is there any other way to find out what it is that is not working? I wouldn't want to go throught the trouble of reinstalling the all OS because I have a large number of programs to reinstall
thanks
 
Old 08-11-2013, 08:06 AM   #4
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Sid. Arch. In the process of converting to and learning FreeBSD
Posts: 1,026
Blog Entries: 6

Rep: Reputation: 237Reputation: 237Reputation: 237
We may not have to go through all of that.

Can you post the output of

Code:
lspci | grep Audio
?

I am suspecting you have an ICHXX device, and these seem to get easily broken. We may be able to find a parameter use to fix this.
 
Old 08-11-2013, 08:27 AM   #5
jazzo
Member
 
Registered: Jul 2012
Posts: 192

Original Poster
Rep: Reputation: Disabled
Thanks. Here it is:
Code:
antobbo@antobbo-xps17-ubuntu:~$ lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
antobbo@antobbo-xps17-ubuntu:~$
Also, I remember that it isn't the first time that this has happened, but I remember in previous occasions under "sound settings" I had more than one device, so selecting a different one got everything working again. This time like I said there is only "Dummy Output", never see that before. And there are other things that make me think that something went terribly wrong, like the touchpad issue mentioned before and also - sorry I forgot to mention it earlier - some the keys on my keyboard seem to have "moved": like the @ sign is not under @ but now I have to press shift+2 to get the "@", and the same for thedouble quotes, they have now moved to where the @ symbol was...very weird. Needless to say a restart doesn't change things
thanks
 
Old 08-11-2013, 10:08 AM   #6
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Sid. Arch. In the process of converting to and learning FreeBSD
Posts: 1,026
Blog Entries: 6

Rep: Reputation: 237Reputation: 237Reputation: 237
You can try a new kernel, I see some people had a similar problem which a kernel fixed. Worth a try.

http://askubuntu.com/questions/25761...el-to-3-5-0-23
 
Old 08-11-2013, 12:18 PM   #7
jazzo
Member
 
Registered: Jul 2012
Posts: 192

Original Poster
Rep: Reputation: Disabled
ok thanks for the tip. A couple of questions about kernel update though:
1)if I update the kernel does it mean that I will have to reinstall all the applications?
2)on your link they talk about new kernel
Code:
sudo apt-get install linux-image-generic-lts-quantal
and new x stack:
Code:
sudo apt-get install xserver-xorg-lts-quantal
which one should I do?
Also the warning says
Quote:
If you are using the xorg-edgers PPA, do not install the xserver-xorg-lts-quantal package as this will most likely result in breakage.
Needless to say I have no idea which one I am using, how do I find out?
Also I have 64 bits version of ubuntu, does it make any difference at all?
thanks for your help
 
Old 08-11-2013, 12:57 PM   #8
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Sid. Arch. In the process of converting to and learning FreeBSD
Posts: 1,026
Blog Entries: 6

Rep: Reputation: 237Reputation: 237Reputation: 237
Quote:
Originally Posted by jazzo View Post
ok thanks for the tip. A couple of questions about kernel update though:
1)if I update the kernel does it mean that I will have to reinstall all the applications?
No, the kernel does not affect most of your applications.

Quote:
2)on your link they talk about new kernel
Code:
sudo apt-get install linux-image-generic-lts-quantal
This is the one you will perform. The other is for updating X, which you're not concerned with right now.

Quote:
Quote:
If you are using the xorg-edgers PPA, do not install the xserver-xorg-lts-quantal package as this will most likely result in breakage.
Also the warning says Needless to say I have no idea which one I am using, how do I find out?
Also I have 64 bits version of ubuntu, does it make any difference at all?
thanks for your help
If you don't know which you are using, then likely this does not affect you. Besides, you're only updating the kernel, so you can safely ignore this for now.
 
Old 08-11-2013, 02:05 PM   #9
jazzo
Member
 
Registered: Jul 2012
Posts: 192

Original Poster
Rep: Reputation: Disabled
Ok thanks, all done. Here's the output:
Code:
antobbo@antobbo-xps17-ubuntu:/$ sudo apt-get install linux-image-generic-lts-quantal
[sudo] password for antobbo: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.2.0-32 firefox-globalmenu linux-headers-3.2.0-32-generic libllvm3.0:i386
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  linux-image-3.5.0-37-generic
Suggested packages:
  fdutils linux-lts-quantal-doc-3.5.0 linux-lts-quantal-source-3.5.0 linux-lts-quantal-tools
The following NEW packages will be installed
  linux-image-3.5.0-37-generic linux-image-generic-lts-quantal
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 40.6 MB of archives.
After this operation, 157 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main linux-image-3.5.0-37-generic amd64 3.5.0-37.58~precise1 [40.6 MB]
Get:2 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main linux-image-generic-lts-quantal amd64 3.5.0.37.43 [2,380 B]                                               
Fetched 40.6 MB in 16s (2,503 kB/s)                                                                                                                                       
Selecting previously unselected package linux-image-3.5.0-37-generic.
(Reading database ... 704193 files and directories currently installed.)
Unpacking linux-image-3.5.0-37-generic (from .../linux-image-3.5.0-37-generic_3.5.0-37.58~precise1_amd64.deb) ...
Done.
Selecting previously unselected package linux-image-generic-lts-quantal.
Unpacking linux-image-generic-lts-quantal (from .../linux-image-generic-lts-quantal_3.5.0.37.43_amd64.deb) ...
Setting up udev (175-0ubuntu9.4) ...
Removing 'diversion of /sbin/udevadm to /sbin/udevadm.upgrade by fake-udev'
update-initramfs: deferring update (trigger activated)
Setting up linux-image-3.5.0-37-generic (3.5.0-37.58~precise1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.5.0-37-generic /boot/vmlinuz-3.5.0-37-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.5.0-37-generic /boot/vmlinuz-3.5.0-37-generic
Error! Your kernel headers for kernel 3.5.0-37-generic cannot be found.
Please install the linux-headers-3.5.0-37-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located
Error! Your kernel headers for kernel 3.5.0-37-generic cannot be found.
Error! Please install the linux-headers-3.5.0-37-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located
Your kernel headers for kernel 3.5.0-37-generic cannot be found.
Please install the linux-headers-3.5.0-37-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.5.0-37-generic /boot/vmlinuz-3.5.0-37-generic
update-initramfs: Generating /boot/initrd.img-3.5.0-37-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.5.0-37-generic /boot/vmlinuz-3.5.0-37-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.5.0-37-generic /boot/vmlinuz-3.5.0-37-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.5.0-37-generic /boot/vmlinuz-3.5.0-37-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.5.0-37-generic
Found initrd image: /boot/initrd.img-3.5.0-37-generic
Found linux image: /boot/vmlinuz-3.2.0-51-generic
Found initrd image: /boot/initrd.img-3.2.0-51-generic
Found linux image: /boot/vmlinuz-3.2.0-49-generic
Found initrd image: /boot/initrd.img-3.2.0-49-generic
Found linux image: /boot/vmlinuz-3.2.0-48-generic
Found initrd image: /boot/initrd.img-3.2.0-48-generic
Found linux image: /boot/vmlinuz-3.2.0-45-generic
Found initrd image: /boot/initrd.img-3.2.0-45-generic
Found linux image: /boot/vmlinuz-3.2.0-44-generic
Found initrd image: /boot/initrd.img-3.2.0-44-generic
Found linux image: /boot/vmlinuz-3.2.0-43-generic
Found initrd image: /boot/initrd.img-3.2.0-43-generic
Found linux image: /boot/vmlinuz-3.2.0-41-generic
Found initrd image: /boot/initrd.img-3.2.0-41-generic
Found linux image: /boot/vmlinuz-3.2.0-40-generic
Found initrd image: /boot/initrd.img-3.2.0-40-generic
Found linux image: /boot/vmlinuz-3.2.0-39-generic
Found initrd image: /boot/initrd.img-3.2.0-39-generic
Found linux image: /boot/vmlinuz-3.2.0-38-generic
Found initrd image: /boot/initrd.img-3.2.0-38-generic
Found linux image: /boot/vmlinuz-3.2.0-37-generic
Found initrd image: /boot/initrd.img-3.2.0-37-generic
Found linux image: /boot/vmlinuz-3.2.0-36-generic
Found initrd image: /boot/initrd.img-3.2.0-36-generic
Found linux image: /boot/vmlinuz-3.2.0-34-generic
Found initrd image: /boot/initrd.img-3.2.0-34-generic
Found linux image: /boot/vmlinuz-3.2.0-33-generic
Found initrd image: /boot/initrd.img-3.2.0-33-generic
Found linux image: /boot/vmlinuz-3.2.0-32-generic
Found initrd image: /boot/initrd.img-3.2.0-32-generic
Found linux image: /boot/vmlinuz-3.2.0-31-generic
Found initrd image: /boot/initrd.img-3.2.0-31-generic
Found linux image: /boot/vmlinuz-3.2.0-30-generic
Found initrd image: /boot/initrd.img-3.2.0-30-generic
Found linux image: /boot/vmlinuz-3.2.0-29-generic
Found initrd image: /boot/initrd.img-3.2.0-29-generic
Found linux image: /boot/vmlinuz-3.2.0-27-generic
Found initrd image: /boot/initrd.img-3.2.0-27-generic
Found linux image: /boot/vmlinuz-3.2.0-26-generic
Found initrd image: /boot/initrd.img-3.2.0-26-generic
Found linux image: /boot/vmlinuz-3.2.0-23-generic
Found initrd image: /boot/initrd.img-3.2.0-23-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda2
done
Setting up linux-image-generic-lts-quantal (3.5.0.37.43) ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.5.0-37-generic
Is that ok? Is there anything I need to in addition to this? There are a couple of errors in it...not sure if it is bad or not
 
Old 08-11-2013, 02:12 PM   #10
jazzo
Member
 
Registered: Jul 2012
Posts: 192

Original Poster
Rep: Reputation: Disabled
woa! looks like it is working again now, which is great! But I am thinking, is there anyway to find out what had happened? I mean, I know I keep going on about the fact that I switched the lappy off using the console, could that be somehow related to it? I am just trying to find out what it is that I shouldn't do again next time to avoid the problem!
thanks
 
Old 08-12-2013, 07:22 AM   #11
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Sid. Arch. In the process of converting to and learning FreeBSD
Posts: 1,026
Blog Entries: 6

Rep: Reputation: 237Reputation: 237Reputation: 237
Quote:
Originally Posted by jazzo View Post
I mean, I know I keep going on about the fact that I switched the lappy off using the console, could that be somehow related to it?
Likely not. It's the same to the system either way, in a DE or console. All buffers are supposed to be flushed, files closed, etc etc.

What happened? No idea, but there are bugs in the kernel, just like any desktop application, that get fixed over time. Some devices get improved support.

The errors are because you did not install the headers package. Perhaps some module you have installed needs to be rebuilt, but if everything is working, it is safe to ignore for now. If something doesn't work in the future, install the kernel header package that matches your new kernel, and run dpkg-reconfigure <package> as root - that should fix it.

Last edited by goumba; 08-12-2013 at 07:25 AM.
 
Old 08-12-2013, 02:03 PM   #12
jazzo
Member
 
Registered: Jul 2012
Posts: 192

Original Poster
Rep: Reputation: Disabled
ok thanks for that goumba. Just to be clear then, when I get this for example
Code:
run-parts: executing /etc/kernel/postinst.d/dkms 3.5.0-37-generic /boot/vmlinuz-3.5.0-37-generic
Error! Your kernel headers for kernel 3.5.0-37-generic cannot be found.
and you say install the header package, you mean
Code:
sudo app install 3.5.0-37-generic
correct?
thanks
 
Old 08-13-2013, 07:22 AM   #13
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Sid. Arch. In the process of converting to and learning FreeBSD
Posts: 1,026
Blog Entries: 6

Rep: Reputation: 237Reputation: 237Reputation: 237
Quote:
Originally Posted by jazzo View Post
and you say install the header package, you mean
Code:
sudo app install 3.5.0-37-generic
correct?
thanks
Code:
apt-get install linux-headers-3.5.0-37
or thereabouts. I don't use ubuntu, and therefore do not know the exact name of the package. You're looking for a package name having 'headers' and your kernel version (minus 'generic').
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot shut off touchpad puppy linux lucid 528 klingon Linux - Newbie 0 12-13-2012 05:45 AM
How to shut off streaming sound Tillus Debian 2 08-27-2007 03:49 PM
possible bug in kernel 2.6.17.3 - problem with sound and shut down nass Linux - Kernel 0 09-26-2006 07:32 AM
shut down problems tekmorph Linux - Newbie 1 09-06-2004 06:10 PM
Problems with slackware 9.1 shut down unwrittenlaw Slackware 3 11-29-2003 05:40 PM


All times are GMT -5. The time now is 09:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration