Author Topic: Lost Photo images after upgradeing[fixed]  (Read 2846 times)

0 Members and 1 Guest are viewing this topic.

Offline theporter2000

  • Full Member
  • ***
  • Posts: 173
  • Karma: 1
  • Gender: Male
    • View Profile
    • Awards
Re: Lost Photo images after upgradeing
« Reply #30 on: October 07, 2011, 12:16:18 am »

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:~$
I have Ubuntu 12.04. LTS,  Nautilus 3.4.2, Google Chrome 21.0.1180.57 and Firefox 13.0.1,

TTFN
theporter2000

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 12436
  • Karma: 306
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Lost Photo images after upgradeing
« Reply #31 on: October 07, 2011, 12:27:45 am »
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.
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline theporter2000

  • Full Member
  • ***
  • Posts: 173
  • Karma: 1
  • Gender: Male
    • View Profile
    • Awards
Re: Lost Photo images after upgradeing
« Reply #32 on: October 07, 2011, 12:54:03 am »
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
I have Ubuntu 12.04. LTS,  Nautilus 3.4.2, Google Chrome 21.0.1180.57 and Firefox 13.0.1,

TTFN
theporter2000

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 12436
  • Karma: 306
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Lost Photo images after upgradeing
« Reply #33 on: October 07, 2011, 01:16:43 am »
OK, let's do this a different way...

Open a terminal, and enter:
Code: [Select]
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:
Code: [Select]
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 ?
« Last Edit: October 07, 2011, 02:04:51 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline theporter2000

  • Full Member
  • ***
  • Posts: 173
  • Karma: 1
  • Gender: Male
    • View Profile
    • Awards
Re: Lost Photo images after upgradeing
« Reply #34 on: October 07, 2011, 05:42:44 pm »
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?
I have Ubuntu 12.04. LTS,  Nautilus 3.4.2, Google Chrome 21.0.1180.57 and Firefox 13.0.1,

TTFN
theporter2000

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 12436
  • Karma: 306
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Lost Photo images after upgradeing
« Reply #35 on: October 07, 2011, 06:10:59 pm »
You're not doing this from the LiveCD are you ?
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline theporter2000

  • Full Member
  • ***
  • Posts: 173
  • Karma: 1
  • Gender: Male
    • View Profile
    • Awards
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

« Last Edit: October 07, 2011, 06:34:44 pm by theporter2000 »
I have Ubuntu 12.04. LTS,  Nautilus 3.4.2, Google Chrome 21.0.1180.57 and Firefox 13.0.1,

TTFN
theporter2000

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 12436
  • Karma: 306
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Lost Photo images after upgradeing
« Reply #37 on: October 08, 2011, 04:33:59 am »
No problem :)
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal