jueves, 31 de julio de 2008

Sobre el micrófono

Weirdly enough, "front mic" is the external mic, and "ATAPI mic" is
the built-in mic.
Finally, by adjusting the volume to the max, I am able to hear
something when I record my voice. Got to try it with a Skype call.

Pantalla táctil

Make sure your xorg.conf has these lines

### Touch Configuration Begin ###
Section "InputDevice"
Identifier "EETI"
Driver "egalax"
Option "Device" "/dev/input/event2"
Option "Parameters" "/var/lib/eeti.param"
Option "ScreenNo" "0"
EndSection
### Touch Configuration End ###

Fuente: http://ubuntuforums.org/showthread.php?p=5434798

miércoles, 30 de julio de 2008

Más paquetes...

msttcorefonts

"You can get a bunch of Microsoft fonts (including Times New Roman) by
installing the msttcorefonts package.
msttcorefonts has an amusing history; Microsoft licensed the fonts for
anyone to freely use (regardless of OS) to help boost the market share
of IE. When they won the first browser wars, they removed the files
from their site… but the license says you can freely redistribute them
so that's how we can legally use them."

Fuente: http://ubuntuforums.org/showthread.php?t=589588

Montar unidades desde el inicio

Comando para identificar particiones:

sudo fdisk -l

Well, you need to add lines in fstab for each of the partitions on
your internal hard drive that you want mounted automatically.

1) Use the following command to create a mount point for this drive
(change mountpoint to a name that is not already in use and will be
easy to recognize and remember):

sudo mkdir /media/mountpoint

2) Use the following command to back a back up of your fstab file in
case something goes wrong:

sudo cp /etc/fstab /etc/fstab.bak

3) Use the following command to open fstab for editing:

sudo gedit /etc/fstab

Add one of the following line (depending on filesystem type) to your
fstab to cause it to automatically mount (replace sda# with the name
of the device you wish to mount and mountpoint with the mountpoint you
created in step 1):

For ext3:

/dev/sda# /media/mountpoint ext3 defaults,errors=remount-ro 0 1

For NTFS:
/dev/sda# /media/mountpoint ntfs-3g defaults,nls=utf8,umask222 0 0

For Fat32 or Fat16:
/dev/sda# /media/mountpoint vfat user,utf8,fmask=0111,dmask=0000 0 0

Reboot.

Fuente: http://ubuntuforums.org/archive/index.php/t-669962.html

paquetes útiles

usbmount
automatically mount and unmount USB mass storage devices
This package automatically mounts USB mass storage devices (typically
USB pens) when they are plugged in, and unmounts them when they are
removed.

Archivo swap

How do I add more swap?

* Usually, people associate swap with a swap partition, maybe
because they've been proposed to create a swap partition on install.
In fact any file can be used as a swapping device, be it a partition
or a conventional file. If you're considering responsiveness, my
advice: add more RAM. Swapping to a partition or a file won't change
anything.
* We will add more swap by adding a swap file.

Adding more swap is a four-step process :
o a- Creating a file the size you want.
o b- Formatting that file to create a swapping device.
o c- Adding the swap to the running system.
o d- Making the change permanent.

We will consider (as an example) a 512 Mb swap need.

a- Creating a file the size you want :

We will create a /mnt/512Mb.swap swap file.

sudo dd if=/dev/zero of=/mnt/512Mb.swap bs=1M count=512

What is important here is count=512, which means we want our file to
contain 512 blocks of bs=1M, which means block size = 1 MegaBytes.
Be careful *not* to do this dd of=/mnt/512Mb.swap bs=1M seek=512 count=0
Though the file grows to 512Mb immediately,it will have holes that
makes it unusable.

b- Formatting that file to create a swapping device :

sudo mkswap /mnt/512Mb.swap


c- Adding the swap to the running system :

sudo swapon /mnt/512Mb.swap

You can see with "cat /proc/meminfo" that your additionnal swap is
now available.

d- Making the change permanent :

edit your /etc/fstab:

sudo gedit /etc/fstab

and add this line at the end of the file:

/mnt/512Mb.swap none swap sw 0 0

save and reboot


Fuente: https://help.ubuntu.com/community/SwapFaq

martes, 29 de julio de 2008

comandos

cat /proc/bus/input/devices

muestra los dispositivos de entrada

El micrófono

Depués de leer aquí y allá, parece ser que se trata de un bug de Ubuntu...

lunes, 28 de julio de 2008

El micrófono

Pensaba que el sonido estaba funcionando bien, ya que me la paso escuchando musiquilla en Last.fm. Sin embargo, cuando intenté utilizar Skype me encontré con que el micrófono no está funcionando correctamente; al realizar la llamada de prueba escucho bien, pero al reproducir mi mensaje solo escucho un pitido inmundo. Pensé que era cuestión de la configuración de Skype, pero después de mucho ensayar decidí intentar en la grabadora de sonidos que se instala con Ubuntu. Ahora sé que el problema es general y aún no logro resolverlo...
x-(

La pantalla táctil

La verdad es que no esperaba que la pantalla táctil funcionara, pero para mi sorpresa encontré este hilo (http://www.ubuntu-es.org/index.php?q=node/87270) en los foros de Ubuntu y me animé a intentarlo.

Para averiguar la versión del Kernel y de xorg se utilizan estos comandos respectivamente:
sudo uname -r/dev/input/event2
sudo X -version

Con esta información procedí a descargar el archivo correspondiente de la página de EETI:
http://home.eeti.com.tw/web20/TouchKitDriver/linuxDriver.htm

Y ahora sí, a seguir las instrucciones del foro.
Después de todo el proceso, el único problema que encontré fue a la hora de calibrar la pantalla utilizando la aplicación TouchKit. Intenté primero con la opción de calibración de 4 puntos pero no me funcionó, así que seguí con la de "clear parameter" que por fortuna si me dio resultado.
Ahora puedo utilizar la pantalla táctil, aunque con los menús del panel no me sirve ya que no se quedan desplegados...
Pero bueno, ¡¡¡no me quejo!!!

Instalación

Ubuntu 8.04 Hardy Heron en una tablet hp tx1320es

Primeras impresiones:

La instalación fue fácil. El disco duro ya estaba particionado: una partición para Vista, otra para la recuperación de HP, otra para los datos (FAT) y la última para Ubuntu.
Después de instalar, el primer problema (¡¡adivinen!!): la tarjeta integrada de red inalámbrica, una Broadcom BCM4312 rev 02. Por cierto, el comando para averiguar el modelo de la tarjeta:
lspci |grep 802.11
(en realidad lo que va después de grep es lo que se está buscando, así que se puede poner Broadcom o network o algo así).

Así que tocó conectarse con cable para buscar soluciones.
Después de actualizar todo el sistema, incluyendo versión de kernel, y después de mucho buscar en los foros, encontré este hilo:
http://ubuntuforums.org/showthread.php?t=766560&highlight=broadcom+4312

Ahora era cuestión de seguir las instrucciones y pronto estaría navegando libremente... por lo menos eso esperaba. Aunque los enlaces de las instrucciones no están actualizados, no tuve mayor problema para encontrar los archivos y después de terminar el largo proceso y reiniciar... nada.
Seguí buscando, y encontré otro foro donde decía que hacía falta instalar este paquete con el Synaptic package manager:
libstdc++5

Así que lo instalé, reinicié y por fin podía ver las redes inalámbricas... pero no conectarme. Cuando me salía el cuadro de diálogo para ingresar la passphrase (la red es WEP) ingresaba la clave y parecía que trataba de conectarse, pero me volvía a aparecer el cuadro de diálogo.
Error tonto: estaba seleccionando la opción WEP passphrase cuando en realidad era WEP ASCII.
Y colorín colorado, la niña se ha conectado :)