LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problems with sound and touchpad after shut down (https://www.linuxquestions.org/questions/linux-newbie-8/problems-with-sound-and-touchpad-after-shut-down-4175472970/)

jazzo 08-11-2013 05:21 AM

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)

goumba 08-11-2013 06:19 AM

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).

jazzo 08-11-2013 06:34 AM

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

goumba 08-11-2013 07:06 AM

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.

jazzo 08-11-2013 07:27 AM

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

goumba 08-11-2013 09:08 AM

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

jazzo 08-11-2013 11:18 AM

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

goumba 08-11-2013 11:57 AM

Quote:

Originally Posted by jazzo (Post 5007295)
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.

jazzo 08-11-2013 01:05 PM

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

jazzo 08-11-2013 01:12 PM

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

goumba 08-12-2013 06:22 AM

Quote:

Originally Posted by jazzo (Post 5007351)
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.

jazzo 08-12-2013 01:03 PM

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

goumba 08-13-2013 06:22 AM

Quote:

Originally Posted by jazzo (Post 5007936)
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').


All times are GMT -5. The time now is 08:39 PM.