Lost Photo images after upgradeing[fixed]

I booted without the cd and run it all went through did’nt return any errors looks like it done a lot of installing… I checked theres no sound but I think you expected that?

If it installed updates, apt and dpkg must be working…

Now to the sound card then… can you send the output from these 4 commands entered into a terminal:

sudo lshw -C multimedia

and

sudo aplay -l

and

cat /proc/asound/card0/codec#* | grep Codec

and

lsmod | grep snd

output

snd_hda_codec_idt 60537 1

snd_hda_intel 24113 2

snd_hda_codec 90901 2 snd_hda_codec_idt,snd_hda_intel

snd_hwdep 13274 1 snd_hda_codec

snd_pcm 80042 2 snd_hda_intel,snd_hda_codec

snd_seq_midi 13132 0

snd_rawmidi 25269 1 snd_seq_midi

snd_seq_midi_event 14475 1 snd_seq_midi

snd_seq 51291 2 snd_seq_midi,snd_seq_midi_event

snd_timer 28659 2 snd_pcm,snd_seq

snd_seq_device 14110 3 snd_seq_midi,snd_rawmidi,snd_seq

snd 55295 13 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device

soundcore 12600 1 snd

snd_page_alloc 14073 2 snd_hda_intel,snd_pcm

[sudo] password for theporter2000:

**** List of PLAYBACK Hardware Devices ****

card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]

Subdevices: 1/1

Subdevice #0: subdevice #0

Codec: SigmaTel STAC9227

snd_hda_codec_idt 60537 1

snd_hda_intel 24113 2

snd_hda_codec 90901 2 snd_hda_codec_idt,snd_hda_intel

snd_hwdep 13274 1 snd_hda_codec

snd_pcm 80042 2 snd_hda_intel,snd_hda_codec

snd_seq_midi 13132 0

snd_rawmidi 25269 1 snd_seq_midi

snd_seq_midi_event 14475 1 snd_seq_midi

snd_seq 51291 2 snd_seq_midi,snd_seq_midi_event

snd_timer 28659 2 snd_pcm,snd_seq

snd_seq_device 14110 3 snd_seq_midi,snd_rawmidi,snd_seq

snd 55295 13 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device

soundcore 12600 1 snd

snd_page_alloc 14073 2 snd_hda_intel,snd_pcm

And the other 2 commands ?

also… if this is a laptop, can you state the make/model.

theporter2000@theporter2000-desktop:~$ sudo umunt /mnt/natty/proc
[sudo] password for theporter2000:
sudo: umunt: command not found
theporter2000@theporter2000-desktop:~$ sudo umount /mnt/natty/proc
umount: /mnt/natty/proc: not found
theporter2000@theporter2000-desktop:~$ sudo umount /mnt/natty
umount: /mnt/natty: not mounted
theporter2000@theporter2000-desktop:~$

NO… you only sent the output from 2 of these 4 commands -

sudo lshw -C multimedia

and

sudo aplay -l

and

cat /proc/asound/card0/codec#* | grep Codec

and

lsmod | grep snd

So I still need the output from:

sudo lshw -C multimedia

and

cat /proc/asound/card0/codec#* | grep Codec

2 questions…

a) If this is a laptop… what is the make/model ?

b) is this the same PC where we dealt with the sound issue here:
http://linuxforums.org.uk/general-help-advice/getting-sound-and-video/

no its a full size dell
yes I’ve only ever had one pc with linux

sorry I must have missed that my fault

theporter2000@theporter2000-desktop:~$ sudo lshw -C multimedia
[sudo] password for theporter2000:
-multimedia
description: Audio device
product: 82801H (ICH8 Family) HD Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=HDA Intel latency=0
resources: irq:47 memory:50420000-50423fff
theporter2000@theporter2000-desktop:~$ cat /proc/asound/card0/codec#
| grep Codec
Codec: SigmaTel STAC9227
theporter2000@theporter2000-desktop:~$

Run this command:

gedit /etc/modprobe.d/alsa-base.conf

when gedit opens, see if there is a line that reads:

options snd-hda-intel model=ref

towards the bottom, and let me know.

no there is no line like that

OK, run:

sudo gedit /etc/modprobe.d/alsa-base.conf

When gedit opens, add a NEW LINE at the bottom that reads:

options snd-hda-intel model=ref

SAVE the file, and exit gedit.

Now run:

sudo alsa force-reload

is your sound now working ?

sudo gedit /etc/modprobe.d/alsa-base.conf

autoloader aliases

install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

Cause optional modules to be loaded above generic modules

install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }

Workaround at bug #499695 (reverted in Ubuntu see LP #319505)

install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }

install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }

Cause optional modules to be loaded above sound card driver modules

install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)

install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }

Prevent abnormal drivers from grabbing index 0

options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2

Ubuntu #62691, enable MPU for snd-cmipci

options snd-cmipci mpu_port=0x330 fm_port=0x388

Keep snd-pcsp from being loaded as first soundcard

options snd-pcsp index=-2

Keep snd-usb-audio from beeing loaded as first soundcard

options snd-usb-audio index=-2

sudo alsa force-reload

theporter2000@theporter2000-desktop:~$ sudo alsa force-reload

[sudo] password for theporter2000:

lsof: WARNING: can’t stat() fuse.gvfs-fuse-daemon file system /home/theporter2000/.gvfs

  Output information may be incomplete.

Terminating processes: 1386lsof: WARNING: can’t stat() fuse.gvfs-fuse-daemon file system /home/theporter2000/.gvfs

  Output information may be incomplete.

2331lsof: WARNING: can’t stat() fuse.gvfs-fuse-daemon file system /home/theporter2000/.gvfs

  Output information may be incomplete.

2346lsof: WARNING: can’t stat() fuse.gvfs-fuse-daemon file system /home/theporter2000/.gvfs

  Output information may be incomplete.

2361lsof: WARNING: can’t stat() fuse.gvfs-fuse-daemon file system /home/theporter2000/.gvfs

  Output information may be incomplete.

(with SIGKILL:) 2376lsof: WARNING: can’t stat() fuse.gvfs-fuse-daemon file system /home/theporter2000/.gvfs

  Output information may be incomplete.

(failed: processes still using sound devices: 2391(pulseaudio)).

lsof: WARNING: can’t stat() fuse.gvfs-fuse-daemon file system /home/theporter2000/.gvfs

  Output information may be incomplete.

/sbin/alsa: Warning: Processes using sound devices: 2391(pulseaudio).

Unloading ALSA sound driver modules: snd-hda-codec-idt snd-hda-intel snd-hda-codec snd-hwdep snd-pcm snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device snd-page-alloc (failed: modules still loaded: snd-hda-codec-idt snd-hda-intel snd-hda-codec snd-hwdep snd-pcm snd-timer snd-page-alloc).

Loading ALSA sound driver modules: snd-hda-codec-idt snd-hda-intel snd-hda-codec snd-hwdep snd-pcm snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device snd-page-alloc.

theporter2000@theporter2000-desktop:~$

WHAT ARE YOU DOING ?

That’s twice now you’ve double posted, and I’ve had to remove the duplicates.

Nor did I ask for any output in my last posting… READ IT AGAIN.

I’ve cleary got lost sorry, please can you tell me again so I get the wright one, but it will have be tomorrow night now sorry again

OK, let’s do this a different way…

Open a terminal, and enter:

sudo cp -v /etc/modprobe.d/alsa-base.conf /etc/modprobe.d/alsa-base.conf.bak

Hit enter, and your password when asked.

Now enter:

sudo sh -c "echo options snd-hda-intel model=ref >> /etc/modprobe.d/alsa-base.conf"

Hit enter, and your password if/when asked.

Now REBOOT.

When your PC restarts, does your sound work ?

ubuntu@ubuntu:~$ sudo cp -v /etc/modprobe.d/alsa-base.conf /etc/modprobe.d/alsa-base.conf.bak
/etc/modprobe.d/alsa-base.conf' -> /etc/modprobe.d/alsa-base.conf.bak’
ubuntu@ubuntu:~$ sudo sh -c “echo options snd-hda-intel model=ref >> /etc/modprobe.d/alsa-base.conf”
ubuntu@ubuntu:~$
it did’nt ask me for a password or to hit enter at any time?

You’re not doing this from the LiveCD are you ?

Yes I was should have relised with you saying paswd sorry!
I’ve run it again through the hard drive heres the output

theporter2000@theporter2000-desktop:~$ sudo cp -v /etc/modprobe.d/alsa-base.conf /etc/modprobe.d/alsa-base.conf.bak
[sudo] password for theporter2000:
/etc/modprobe.d/alsa-base.conf' -> /etc/modprobe.d/alsa-base.conf.bak’
theporter2000@theporter2000-desktop:~$ sudo sh -c “echo options snd-hda-intel model=ref >> /etc/modprobe.d/alsa-base.conf”
theporter2000@theporter2000-desktop:~$ It wasn’t working at first then I rebooted now it dos thank you

No problem :slight_smile: