4 reasons why I’m moving back to Fedora from Freebsd

I had FreeBSD as a home server working well. One day I decided to merge my 2 computers, as I’m concerned about global warming and climate change. I had a workstation with Fedora and my home server with FreeBSD. I decided to leave FreeBSD as single OS (big mistake!).

After 1 month of being used FreeBSD as a desktop, today I decided to move all my data back from ZFS/UFS to ext4, and install Fedora on it.

These are the problems that I had:

  • Kozumi ktv-01c TV synthesizer not working. These was obvious I didn’t expect it to work, I tried the driver that freebsd has called bktr, tried all possible configurations without success.
  • Sound card working partially!!. My sound card HDA Analog Devices AD1986A is working partially. The spearkers works ok. The front input and output for headsets are not. The mic in just have white noise. The line in was not working also. After posting in the FreeBSD forum and sending emails to the mailing list, they help me to change some kernel parameters to be able to record from line. But anyway, sound was not being routed to speakers, so I could not use my mixer and listen what I was mixing.
  • Sometimes I got a kernel panic or something like that. I had to hard reboot my PC. After the reboot I could have 2 ugly behaviors. 1. I have a RAID1 mirror with all my data, after the crash a resynchronization started. While it was resynchronizing I could not use my keyboard. Furthermore, I could not use my computer. 2. UFS is a girl, it remembered as ext2, for anything it’s requires an fsck, and I didn’t enjoy to fsck a filesystem will all my data on it.
  • A ugly bug with my network nvidia card. Sometimes when I rebooted my PC I got a message and my network card was useless. I had to turn off my PC, unplug the power core so all the buffers were clean and boot it again.

Conclusion:

I wouldn’t use FreeBSD as a desktop any more. I will miss features like jails that make me feel secure, it was great to run applications that I don’t trust like tranmission or aMule inside a jail, but it’s no big deal comparing that with all the cons I found.

How to setup kozumi KTV-01C (chip bt878 rev11)

I have setup this card with gentoo 2008. In some others distributions like Ubuntu or Fedora, I’m sure it should be easier.

The card that I’m writing about is:

It works with module bt878

make && make modules_install

after that we edit /etc/modprobe.conf or /etc/modprobe.d/bttv and we add the following lines:

Now we can try the card with:

We can check if they loaded successfully:

# dmesg | grep tuner
bttv0: tuner type=38
tuner’ 0-0060: chip found @ 0xc0 (bt878 #0 [sw])
tuner-simple 0-0060: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))

Install tvtime:

You should set it to the norm of you country, I set it to PAL-Nc:

And if everything went well, we should see something like this:

Last, but not least, we have to add to /etc/modules.autoload.d/kernel-2.6 tuner:

Remote Control

In order to setup the remote control you have to edit a few lines in the kernel module. We are going to edit $source/drivers/media/common/ir-keymaps.c:

Anf where it says IR_KEYTAB_TYPE we remove all the keys and we leave it like this:

EXPORT_SYMBOL_GPL(ir_codes_pixelview);

Then, in the kernel source directory, we run:

make && make modules_install y listo.

I got some hints from:

http://www.linuxforums.org/forum/peripherals-hardware/91984-remote-controller-bt878-kozumi-ktv-01c.html

Como configurar placa capturadora kozumi KTV-01C (con chip bt878 rev11)

Me llevo un par de días asi que lo comparto con ustedes, ya que le puede beneficiar a alguien mas

En este caso yo lo configure con gentoo 2008, quizás haya distribuciones, en las que les sea aun mas fácil configurar este dispositivo.

La placa en cuestión es:

Que funciona con el modulo bt878

Editamos /etc/modprobe.conf o /etc/modprobe.d/bttv y agregamos los datos del modulo:

Ahora podemos probar con:

Podemos verificar que los modulos esten arriba:

Instalamos tvtime:

configuramos la norma PAl-Nc para nuestro usuario:

Y si todo salio bien, deberíamos ver una salida como esta:

Por ultimo agregamos a /etc/modules.autoload.d/kernel-2.6 tuner:

Y ya esta, para configurar el control remoto, hay que editar el mapeo de las teclas dentro del modulo del kernel compilado (haga una copia de seguridad de este antes de editar el modulo):

editamos
$source/drivers/media/common/ir-keymaps.c:

Y donde esta definido IR_KEYTAB_TYPE ir_codes_pixelview[IR_KEYTAB_SIZE]:

borramos todas las keys y lo dejamos asi:

luego en la raiz del

Eso fue todo.

Ya pueden usar su placa con cualquier programa de captura de video, pueden usar Tvtime, ya que sabemos que detecto los canales.

D.

Un poco de ayuda de:

http://www.linuxforums.org/forum/peripherals-hardware/91984-remote-controller-bt878-kozumi-ktv-01c.html