agosto 19, 2009

Fedora 11 en un Dell Latitude E6400

Evaluación general
Un paseo! Poner el DVD, seleccionar las particiones y a disfrutar. Es la primera vez que tengo un portátil con cámara "web" incorporada y quedé más que gratamente impresionado cuando vi la cámara funcionar (vía cheese) out-of-the-box!

Pasos de la instalación
Poner el DVD seleccionar paquetes a gusto y Next, Next, Next.

Enchular usando
Habilitar RPM Fusion

rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

Para asegurarse de usar poco ancho de banda al instalar/actualizar.

yum -y install yum-presto

Para multimedia y similares

yum -y install xorg-x11-xfs.i586 gstreamer-plugins-bad.i586 gstreamer-plugins-bad-extras.i586 gstreamer-plugins-base.i586 gstreamer-plugins-farsight.i586 gstreamer-plugins-flumpegdemux.i586 gstreamer-plugins-good.i586 gstreamer-plugins-schroedinger.i586 gstreamer-plugins-ugly.i586 totem-gstreamer.i586 gstreamer-ffmpeg.i586

Para OpenOffice en español

yum -y install openoffice.org-langpack-es.i586

Más tonteras multimedia

yum -y install gecko-mediaplayer brasero-nautilus swfdec-gnome totem-nautilus

Para virtualizar

yum -y install VirtualBox-OSE-guest VirtualBox-OSE

Para hacer "monitos"

yum -y install dia

Para conectarse al Exchange (cof cof)

yum -y install evolution-exchange

Flash para Firefox

rpm -Uvh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
yum -y install flash-plugin

Actualizar

yum -y update

Y listo, llegar y disfrutar.
Es /increible/ todo (wifi, efectos escritorio, sonido, luces del teclado, video a 1440x900, todo lo que he probado) funciona!

lspci

00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03)
00:1f.2 RAID bus controller: Intel Corporation Mobile 82801 SATA RAID Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
03:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
03:01.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
03:01.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
03:01.3 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev ff)
0c:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100


Enchuladas finales

chkconfig atd off
chkconfig avahi-daemon off
chkconfig ip6tables off
chkconfig irqbalance off
chkconfig mdmonitor off
chkconfig netfs off
chkconfig nfslock off
chkconfig portreserve off
chkconfig rpcbind off
chkconfig rpcgssd off
chkconfig rpcidmapd off


Link del notebook

Have fun!

agosto 07, 2009

Videos para el E71

El Nokia E71 tiene soporte MP4 y una pantalla interesante (320x240) por lo que vale la pena pasar algunos videos a este cachureo. Para este propósito lo que mejor (ejem, lo único) resultados me ha dado es usar ffmpeg. Ffmpeg está disponible en los repositorios RPM Fusion y tenerlos habilitados es la única complicación en esta historia.
Para generar los videos basta con un

ffmpeg -y -i ~/Videos/big_buck_bunny_720p_stereo.ogg -f mp4 -vcodec mpeg4 -b 250000 -r 15 -s 320x240 -acodec libfaac -ar 24000 -ab 64k -ac 2 ~/tmp/mp4s/big_buck_bunny_720p_stereo.mp4

Luego lo mandas al E71 vía bluetooth y listo!

agosto 03, 2009

Problemas con el snd_intel8x0 y el 2.6.29.6-213.fc11.i686.PAE

Desde la última actualización del sistema (Fedora 11 sobre un Thinkpad T43) comencé a tener problemas con el audio. Cualquier cosa que se conectara a pulseaudio a los 10 - 15 segundos dejaba de reproducir (casi colgaba la máquina con un 100% de uso CPU)

En la aplicación aparecía algo del estilo
$ totem Videos/big_buck_bunny_720p_stereo.ogg
0:01:28.925240226 2882 0x83305e8 ERROR totem bacon-video-widget-gst-0.10.c:326:bvw_error_msg: message = pa_stream_writable_size() failed: Connection terminated
0:01:28.925323897 2882 0x83305e8 ERROR totem bacon-video-widget-gst-0.10.c:328:bvw_error_msg: domain = 2851 (gst-resource-error-quark)
0:01:28.925341986 2882 0x83305e8 ERROR totem bacon-video-widget-gst-0.10.c:329:bvw_error_msg: code = 1
0:01:28.925357421 2882 0x83305e8 ERROR totem bacon-video-widget-gst-0.10.c:330:bvw_error_msg: debug = pulsesink.c(1160): gst_pulseringbuffer_commit (): /GstPlayBin:play/GstBin:abin/GstBin:audiosinkbin/GstPulseSink:audio-sink
0:01:28.925375090 2882 0x83305e8 ERROR totem bacon-video-widget-gst-0.10.c:331:bvw_error_msg: source =
0:01:28.925405401 2882 0x83305e8 ERROR totem bacon-video-widget-gst-0.10.c:332:bvw_error_msg: uri = file:///home/casep/Videos/big_buck_bunny_720p_stereo.ogg
** Message: Error: pa_stream_writable_size() failed: Connection terminated
pulsesink.c(1160): gst_pulseringbuffer_commit (): /GstPlayBin:play/GstBin:abin/GstBin:audiosinkbin/GstPulseSink:audio-sink

Y en /var/log/messages
Aug  3 19:37:09 localhost pulseaudio[2279]: alsa-sink.c: Increasing wakeup watermark to 30.00 ms
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: snd_pcm_avail() returned a value that is exceptionally large: 4294951828 bytes (24347799 ms).
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: Most likely this is a bug in the ALSA driver 'snd_intel8x0'. Please report this issue to the ALSA developers.
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: snd_pcm_dump():
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: Hardware PCM card 0 'Intel ICH6' device 0 subdevice 0
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: Its setup is:
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: stream : PLAYBACK
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: access : MMAP_INTERLEAVED
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: format : S16_LE
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: subformat : STD
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: channels : 2
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: rate : 44100
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: exact rate : 44100 (44100/1)
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: msbits : 16
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: buffer_size : 16384
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: period_size : 16384
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: period_time : 371519
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: tstamp_mode : ENABLE
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: period_step : 1
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: avail_min : 16384
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: period_event : 0
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: start_threshold : -1
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: stop_threshold : 1073741824
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: silence_threshold: 0
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: silence_size : 0
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: boundary : 1073741824
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: appl_ptr : 1445748
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: hw_ptr : 1425497
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: snd_pcm_delay() returned a value that is exceptionally large: 363048 bytes (2058 ms).
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: Most likely this is a bug in the ALSA driver 'snd_intel8x0'. Please report this issue to the ALSA developers.
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: snd_pcm_dump():
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: Hardware PCM card 0 'Intel ICH6' device 0 subdevice 0
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: Its setup is:
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: stream : PLAYBACK
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: access : MMAP_INTERLEAVED
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: format : S16_LE
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: subformat : STD
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: channels : 2
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: rate : 44100
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: exact rate : 44100 (44100/1)
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: msbits : 16
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: buffer_size : 16384
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: period_size : 16384
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: period_time : 371519
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: tstamp_mode : ENABLE
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: period_step : 1
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: avail_min : 16384
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: period_event : 0
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: start_threshold : -1
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: stop_threshold : 1073741824
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: silence_threshold: 0
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: silence_size : 0
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: boundary : 1073741824
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: appl_ptr : 1521159
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: hw_ptr : 1430397
Aug 3 19:37:12 localhost pulseaudio[2279]: asyncq.c: q overrun, queuing locally


Nos quedamos con la parte de
"
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: Most likely this is a bug in the ALSA driver 'snd_intel8x0'. Please report this issue to the ALSA developers."

Según lspci (es un Thinkpad T43)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)


De momento a quedarse con el kernel-PAE-2.6.29.5-191.fc11.i686, con el que no tengo este tipo de problemas. En el Compaq 6510b (
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03) 
) no tengo el problema.

Alguien más por ahí con el mismo problema (no lo he pillado aún en bugzilla)