Ubuntu 9.10 can not recognize intel sound card

At my LG P1 with an Intel sound card (Realtek ALC888 Intel 82801), after upgrading to Ubuntu 9.10 Karmic Koala, i had no sound.
The sound card wasn't even detected!

After running Google for a FEW hours, i discovered how to put the sound working without had to:
qaz@blue:~$ sudo alsa force-reload
or any other command.

$ sudo apt-get remove sl-modem-daemon
$ sudo apt-get install linux-backports-modules-alsa-karmic-generic
$ sudo gedit /etc/modprobe.d/alsa-base
And add:
options snd-hda-intel model=lg # for other brands: search google with "options snd-hda-intel model="; try laptop; And/or visit this page.
Then reboot!

qaz@blue:~$ lspci
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)

qaz@blue:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC880 Analog [ALC880 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC880 Digital [ALC880 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
  Subdevices: 1/1
  Subdevice #0: subdevice #0



via xkcd.


Open RAW (.cr2) images with Gimp

I have a Canon 400D, and today i tried to take some pictures and experiment some HDR effects on them. I took some pictures in RAW mode, with -2EV, 0EV and +2EV. Uploaded it to PC and boom! Gimp (or any other program) can't open CR2 files...

How to open *.cr2 files at Linux? Simple: install ufraw:
sudo apt-get install ufraw gimp-ufraw

Now, open ufraw (press ALT+F2 and type ufraw) and load the cr2 image. Then in the right bottom click at the Gimp button. Gimp will be launched and loads you image.

If you're interred on HDR effects, try qtpfsgui.