Fedora 15 with XBMC in Wetab (ENGLISH)

In this post I’ll explain how to use Fedora 15 in our Wetab full working, well, almost …

Works everything except: automatic screen rotation, light sensor, screen brightness and front button. I’m working on these things, but the truth is that in general the tablet is perfectly usable.

During the whole procedure is needed to have a USB keyboard, and maybe a mouse. We also need at least a usb flash.

Downloads needed that you will find in google:

Fedora iso

unetbootin

With unetbootin copy fedora iso in the flash usb and start the installation from usb, if you have doubts with this search in this blog. Continue with the installation providing the information requested on the screen. Be careful when in the partition phase, because if you have triple boot or similar you will have to modify the partitions carefully. Also be aware that fedora is installing its own grub, so after installation the boot loader will be in /boot and there you will find the configuration files. Another thing to consider in the installation, is that when creating the user, must be selected auto login, otherwise we will have to have a keyboard to enter your password each time you boot.

Once installed fedora, It boots straight into gnome-shell, which is much better than Unity (Ubuntu default desktop) for use with touchscreens. So connect the wetab to your wifi, go to applications and launch System Updates, then wait (depending on the connection takes more or less).

Okay, you have updated teh wetab with the latest fedora packages. Reboot, go to applications and launch add/remove software. Once inside, do a search for gnome-shell-extensions and install all the packages that have the version 3.0.2 (if you want to do it clean, look for what is worth every package and install only those you wish to obtain). Install too the user-install-themes package so you can to change themes before. Once completed, choose to install gnome-tweak-tool, and also install all gnome-shell-theme packages.

Reboot, and we’ll see more icons at the top depending on which pakages you installed. The next step is optional, as it is to change the themes. So start the gnome-tweak-tool (shown as advanced-settings in applications), and then in the shell section, select the theme that you like. Also we advise selecting display all the buttons (All) in the corresponding section.

Now we will install the RPM Fusion repository, which are compiled packages for Fedora, but no-official. So we go to RPM Fusion page and follow the steps to install the repository http://rpmfusion.org/Configuration.

Next step, install and configure the screen gestures. Open the package installer, search easystroke and install it. Then start it and will appear at the bottom right of the screen an icon, click it for the configuration.

This is my config for easystroke:

– Mark for auto start at boot
– Use button 1 (left), that is what we use when we touch the screen
– There are a couple of gestures necessary for the proper functioning of the table, one is the right button, so we created a gesture (the one we want) and assign a button, which will be the button3 (right click). With this we have a way to right click, taking into account that the tablet has been considered that we right click where the gesture ends. For example we want to right click on a file and choose a C as a gesture, the gesture ends just have to match above the file. The other necessary gesture is the password. This gesture is necessary because when we get a “enter root password” window (to install packages, for example) and have no physical keyboard, we can not write it as the virtual keyboard does not work, but gestures do, so we created a new action, with the gesture you want, select text and in the relevant field we put your password, so that when we need to write your password with the appropriate gesture is enought. This is not very secure because anyone who enters the application can see the password and anyone who knows the gesture can make it, but it is the only solution I’ve found to this problem. If anyone finds other than bring a keyboard with you, tell me.

We also advise installing florence, a virtual keyboard better than the default one. When installing you have to click ok in the window that come out, and then in system settings, the icon of the white man in the blue circle, take off the onscreen keyboard. You will need to start Florence by hand, but is much better than other keyboards. Also I advise to add it in the dock on the right (if you have installed this extension of gnome) so you have it near when you need it.

With this we have the tablet almost full working, but I also wanted to install XBMC that is a multimedia center which is great, so are look for xbmc in the package installer and install it,you will need too kernel-devel and gcc-c + + packages (the latter two are needed to compile the crystalhd card drivers). Once installed, you will have to download these 2 files:

http://content.wuala.com/contents/djtoll/xbmcdjtoll/Confluence%20touch%20me!/Confluence%20touch%20me!%20(MOD-054).rar?dl=1&lang=en (skin for xbmc with touchscreen support in XBMC)

http://git.wilsonet.com//crystalhd.git?a=snapshot;h=HEAD;sf=tgz (crystalhd driver)

Whith this last file, unpack it wherever you want, and edit the following (as root):

In /usr/src/kernels/2.6.40.6-0.fc15.i686/Makefile have to change the line “-Werror-implicit-function-declaration \” with “#-Werror by-implicit-function-declaration \” (you have to put a #)

In Makefile in the folder where we extracted the drivers have to delete the word Werror of the only line that appears.
Once these changes, follow these steps to install (in bold what you have to write,wait for finish before write the next line):

$ cd drivers/linux
$ autoconf
$./configure
$ make
$ sudo make install

With this we have the module ready for operation, but we need a library for linux, so go back to the drivers folder and run:

$ cd linux_lib/libcrystalhd
$ make
$ sudo make install

Once done, if there is not failure, we must edit again the file /usr/src/kernels/2.6.40.6-0.fc15.i686/Makefile to undo the last change, so delete # from the line where Werror appears.

Then reboot. When back in, open up a terminal again and run dmesg | grep crystalhd and we should have a line that indicates that the module is loaded with a 3.something version (if you get a previous version did not work well.)

Okay, as root, edit the file /usr/bin/xmbc and change the following (in bold, the lines that should be added and i add some lines to see where you have to add them, as orientation is around the beginning and the end of the file):

LIBDIR=”/usr/lib”
# FIX BY CORVUS
export SDL_MOUSE_RELATIVE = 0
killall easystroke
# END FIX

and

LOOP = 0
“$ LIBDIR / xbmc / xbmc.bin” $ SAVED_ARGS
RET = $?

# FIX BY CORVUS
/ Usr / bin / easystroke
# END FIX

if [$ (($ ret == 65)) = “1”]

Now we run xbmc and test that all is working. We only need to install the skin. Go to system, add-on and install add-on in zip. Select the file where you downloaded and install it. The when asked reply yes to use the new skin.

Well, we have finished installing XBMC on Fedora and Wetab.

Corvus.

    • Daniel
    • 15/12/11

    Hey dude Is there a way to change the screen sensitivty with root access?
    I got my smartq v7 but is too sensitive, scrolling menu and suddenly open app the I dont want, Can that be done?thanks

    • Not in this blog… see in smartq forums, but i dont know if there is any way

  1. No trackbacks yet.

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

A %d blogueros les gusta esto: