Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Thursday, May 9, 2013

ATI Remote Wonder and Linux XBMC

Controlling XBMC from your couch can be achieved in many ways. The easiest solution would be to just get a wireless keyboard/mouse combo but us Linux users don't often go for what's easiest. We enjoy tinkering around and learning new things otherwise we'd just be using Windows in the first place. We like to innovate, at least I do. The next easiest thing to do would be to install an XBMC Remote control app on your smartphone, the Official XBMC Remote control app from joethefox is FREE within the Apple Store. There are other paid XBMC remote apps but the FREE one works just fine when tested on my iPhone 4S running iOS 6.1.  However this post will be about getting an old ATI Remote Wonder working in Linux XBMC. I believe there are a couple different variations of the remote but the one that I have is pictured below, if yours looks different then your mileage may vary.


First let me inform you what versions of everything I am performing this on.
Ubuntu = Ubuntu 12.04.2 LTS (running mythbuntu-desktop cause I dislike Unity)
Kernel = 3.2.0-40-generic i686
XBMC = 2:12.2~git20130502.1706-frodo-0precise (obtained from team-xbmc PPA)



This tutorial will mostly be done using a terminal session, if you're scared of the terminal don't be. I will try to explain what each command does and why sudo (root priveleges) are required. When you first plug in your ATI Remote Wonder usb receiver most likely the kernel will automagically load the "ati_remote" module and what that does is basically make the remote act like a mouse. If you used the large circular pad towards the top of the remote you'll see it moving your mouse and such. We don't want that so let's remove that module by issuing the following command. Sudo is required due to removing a module which interacts with the kernel but don't worry as that kernel module was only loaded because it sensed the usb reciever when it was plugged in. Normally that's a good that the kernel automagically loads modules when hardware is plugged in but in this case we don't want that functionality. Whenever you use sudo it asks for your users password, enter it and press the 'enter' key. It doesn't show you that you're entering any letters but you are in fact typing in your password.
sudo rmmod ati_remote
If it says it can't remove it because it's in use then just ignore that and continue on with the tutorial. Now we need to make it so when we reboot the machine that module doesn't automagically load, this is done by editing a configuration file. Since this config is located within the /etc/ directory and is owned by root, we'll again need root privileges so we'll be using sudo but since we're opening a GUI (Graphical User Interface) application, we want to actually use 'gksudo'. This is the command (NOTE: gedit is the default GUI text editor for Ubuntu, if you're using Kubuntu it is kate I believe. I am using Mythbuntu so the GUI text editor is actually called mousepad for me. Replace the gedit command with whatever GUI text editor your distribution uses.
gksudo gedit /etc/modprobe.d/blacklist.conf
Once the file opens in your GUI text editor we're going to add the following text in red to the very bottom of the file
#to get ATI Remote Wonder working
blacklist ati_remote
The pound symbol is used for comments and isn't read as a configuration line. Save the file and close the text editor. Restart your computer ONLY if you previously couldn't remove the ati_remote module. When you restart it won't load this time because you blacklisted it. Now we need to install lirc which stands for 'Linux Infra-red Remote Control'. We again will do that from the terminal session and require sudo because installing software requires root privileges. Type in the following command:
sudo apt-get install lirc
Choose 'Y' if it asks you if you're sure you want to install the software. If lirc was already installed and you'd like to reconfigure it you would use the following command:
sudo dpkg-reconfigure lirc
It will bring up a debconf window. Debconf stands for debian configuration, most applications within Ubuntu are of the .deb extension and is the common package management tool used within Debian based Linux distributions. Within the debconf window using the up and down arrow keys, highlight the ATI/NVidia/X10 RF Remote (userspace) option and then click tab so that the '<Ok>' option is highlighted, then click the 'enter' key on your keyboard. The next window that appears is for a transmitter but we aren't transmitting anything so highlight 'None', click tab so that the '<Ok>' option is highlighted, then click the 'enter' key on your keyboard. If everything went ok lirc should have been installed and the proper config files should be in place. Now we just have to let XBMC know that we'll be using a remote instead of a keyboard to control it and that's done using a config file, Lircmap.xml which will need to be stored within your users .xbmc folder. To do this we don't need root privileges because we're writing the file within our own home directory which we have write access to. The tilde (~) is a short way of entering your users home directory, which is /home/yourusernamehere/, so the whole path is actually /home/yourusernamehere/.xbmc/userdata/. The command is as follows:
gedit ~/.xbmc/userdata/Lircmap.xml
I uploaded my Lircmap.xml to pastebin, you can download the file from this link: Lircmap.xml
Note the 'L' is capital, that's important for the filename. So that button presses don't register twice I had to edit the advancedsettings.xml file located within my users home directory .xbmc/userdata/ and add the following lines. You may or may not already have an advancedsettings.xml file, if you don't have one just create it, if you already have one just add the single line for the remotedelay as you probably already have the top and bottom <advancedsettings> lines.
<advancedsettings>
<remotedelay>10</remotedelay>
</advancedsettings>

That should be it, fire up XBMC and your ATI Remote Wonder should now be working. If you want to know which button on the remote does what within XBMC just look at the Lircmap.xml file with a text editor. Example being the "back" command in XBMC is performed with the remote button 'c' as per the following in the Lircmap.xml file <back>c</back>.

-Ubu out






Thursday, February 14, 2013

Steam for Linux Celebration Sale - 50% to 75% Off

Steam is having a huge Sale in Celebration for Steam for Linux. Linux game titles are from 50% all the way up to 80% off. Despite the sale stating it was as high as 75% off, I saw Serious Sam 3 BFE for 80% off, which brings it down to a mere $7.99 which is normally a $39.99 game.



There are now 100 items within Steam's Linux section. I am very excited about this. Here is just some of the games on sale;
Intrusion 2 = 66% off brings it to $3.50
Serious Sam 3 BFE = 80% off brings it to $7.99
4th Year Anniversary World of Goo = 75% off brings it to $2.49
Trine 2 = 75% off brings it to $3.74
Half Life = 75% off brings it to $2.49
Counter Strike Source = 75% off brings it to $4.99
Bastion = 75% off brings it to $3.74
Amnesia = 75% off brings it to $5.00

This is an awesome sale and I picked up Intrusion 2 and Bastion for a mere $7.24. What will you be picking up?

-Ubu out

Monday, January 7, 2013

Valve to release Linux powered SteamBox, dubbed 'Piston'

Valve has kept pretty quiet regarding a console in development. There has been rumors for a while now that Valve will integrate it's digital platform Steam into a console-like piece of hardware.

In December 29th of 2012, German site Golem.de claims they attended a conference where Ben Krasnow, a Valve electronics engineer, gave a talk on the company's plans for the console. I used Google Translate to understand some of the article;
The Valve developed PC-game-console Steam Box will seemingly be based on Linux, not Windows. And it's not the only exciting hardware project, that Valve will present in 2013.
It doesn't come off as a huge surprise, considering that Valve-boss Gabe Newell views Windows 8 as a catastrophe: Steam Box will not be based on Windows, but on Linux instead. This was confirmed by Ben Krasnow, one of Valve's hardware developers,
But according to him, there's more than just the introduction of the Steam Box: "the hardware lab has some secret projects that will be released in 2013. We have a good group of electronic- and mechanical-engineers and we are glad to build some really cool things", says Krasnow. In summer of 2012 Valve's higher up critised a frustrating lack of innovation in the area of computer hardware - in a job offer. In that they also wrote: ".....we want to change this."
Image Source: Polygon
Image Source: Polygon
Basically the key points are that; Valve's Steambox is scheduled to come out this year and it will run Linux at its core. So what version of Linux will it run? Given how closely Canonical and Valve have worked together over the last 12 months, and that Canonical has a vested commitment to Ubuntu as a platform, the logical choice would be Ubuntu. Ubuntu can be run free of a GUI but would also free Valve from the duties of distribution maintenance.

A prototype is actually being revealed at CES 2013 (Consumer Electronics Show) in Las Vegas, Nevada. It is being dubbed, "Piston". Valve has teamed up with hardware vendor Xi3 to build the miniature modular PC.

Are you excited for this console or will you be keeping an eye out for the newer Xbox or Playstation models?

--Ubu out

Wednesday, December 26, 2012

Why should you try Linux?


Many people use operating systems such as Windows or OS X merely because it came installed on the computer they purchased. Have you ever considered using Linux? There are many reasons to give Linux a try and below I will go over 5 of the main reasons I feel someone should at least try Linux at some point or another.

It works on old hardware. If you have an older computer that you're not quite sure what to do with, Linux can give it new life. You might for instance, use a Linux distribution to turn an older computer into a media file server to have a centralized location for all your media.

It's highly customizable. As with other operating systems, it's possible to customize Linux to look the way you would like it to look. If you don't like the desktop environment that came with the Linux distribution you installed then you can just install a different one without having to do a total new installation.

Tinkering with it provides an opportunity to learn. I will be the first to admit that the learning curve for Linux is pretty high BUT the community of the more popular Linux distributions are great and many are eager to help out newby usrs. For instance, Ubuntu has a great community over at their forums.

There's a wide variety of distributions available. If you downloaded one and didn't like the way it looked or for whatever reason, there are so many different Linux distributions out there that there will certainly be something for everyone. As I mentioned already, if you don't like just a few things within it you can customize it.

It's FREE to download and use. You can't really argue with FREE. All that one has to do is download the .iso file and write the image to a cd, dvd, or usb stick depending on the size of the .iso.

I hope that the reasons I have explained above convince you in at least trying a Linux distribution at some point and something I didn't mention is that you can just "try" them out from a live cd or a live usb without affecting your currently installed OS at all.

-Ubu out

Sunday, December 23, 2012

Dropbox 2.0 for iOS

Those that aren't familiar with Dropbox, it's a personal cloud storage location for any type of file you would like to store in the cloud. There are Dropbox clients for Windows, OS X, Linux, and mobile. Dropbox can keep all those devices in sync with each other.

They just released an updated version for iOS which now incorporates a dedicated Photos tab. The panel organizes photos by the time taken and offers a full-screen mode for showing photos off to friends. There is even a setting to have your photos taken auto-upload to a Dropbox folder if you so choose. The Android client with this feature is currently only in BETA form.


I use Dropbox to store files I may need with me out in the world so at any time I can log in to a web browser and retrieve my files if needed. And since I have it installed on my iPhone 4S I can always email or send any file from my iPhone to anyone I want. Example would be sending your resume and references to a potential employer. Dropbox has a referral program so if you do sign up for Dropbox mention that you were referred by me, ubuntuaddictedubu@gmail.com and I will receive extra free storage space I would be very grateful.

-Ubu out

Saturday, December 22, 2012

Shank 2 - Let's Play

I had mentioned previously that I purchased the Humble Bundle 7 for $15 US dollars. I am really enjoying Shank 2, a side-scroller type game where you engage enemies along the way.

I have decided since I am enjoying it so much that I would capture my journey on video and upload to my YouTube channel so that you too can join in on the fun so to speak.


If you enjoy the Let's Play please be sure to LIKE the videos and share with your friends as it lets me know my subscribers interest.

-Ubu out

Friday, December 21, 2012

Humble Bundle 7 - Linux Games

Those who aren't familiar with what the Humble Bundle is, it's a series of collections of video games, music albums, ebooks, or videos that are sold and distributed online at a price determined by the purchaser. In lamens terms that means, YOU get to pay what you want for the bundle of items. They are generally cross platform as well meaning they are many times compatible with Windows, OS X, and Linux. You can divide up the money you pay between the developers, the EFF and Child’s Play Charity, and the Humble Indie Bundle operation itself.

Humble Bundle 7 was released on December 19, 2012. It has 6 games and 1 movie: Snapshot, The Binding of Isaac, Closure, and Shank 2 are the bundle’s core games, and Indie Game: The Movie is a full-length documentary about the process of making an indie game. You can pay what you want, but if you pay more than the average you’ll get Dungeon Defenders and Legend of Grimrock as well. You also get the game soundtracks.

I paid $15 for the bundle and tried out Snapshot, Shank 2, Closure, and Legend of Grimrock which makes my $15 investment well worth it. Closure opens but only displays a black screen so I am not sure of it's compatibility with Linux. The other games all worked within Xubuntu 12.04. I was able to easily install them by clicking on the link which then opens them up within the Ubuntu Software Center.

Unfortunately Dungeon Defenders is over Ubuntus current size limit and Binding of Isac declined to make the game available. Either way you get 3 games (that work in Xubuntu 12.04), an Indie Game movie, and the game soundtracks all for whatever you want to pay. Seems like a great deal to me. You can get your bundle as well HERE.

-Ubu out

Thursday, December 20, 2012

Steam for Linux BETA now open to public

On December 13th I mentioned that the BETA Steam for Linux was going to be opening up to the public, well now it's official.

Steam for Linux BETA requires Ubuntu 12.04 or higher. Over time, the client will be available for other Linux distro's as well.

Current users will need to update their application, while new users can download from the Steam Linux website.

-Ubu out

Thursday, December 13, 2012

Steam for Linux finally opening up the BETA

Steam for Linux is finally opening up the BETA to the public next week after a short month+ long limited BETA.

Valve is stating that the stability of the client is allowing them to open up the BETA to more users. In a message they wrote to the closed Steam for Linux Mailing List they state, "The Open BETA will be available to the public and will increase the current population from 80K to a higher number."

System requirements for some Linux games are now being listed within the Steam Store.
Game developers are being encouraged to submit their "minimum" and "recommended" System Requirements to Valve for publishing 'ASAP'. Below is a list of just some of the titles that are available for Linux currently;
     -Amnesia
     -Dynamite Jack
     -Eversion
     -iBomber Attack
     -Killing Floor
     -Red Orchestra: Ostfront 41-45
     -Serious Sam 3: BFE (I already purchased this one for a mere $9.99)
     -Sword & Sworcery
     -The Book of Unwritten Tales: The Critter Chronicles
     -World of Goo

I am very excited to see Steam come to Linux which will only make Linux gaming increase as a whole

-Ubu out

Thursday, November 29, 2012

Control Ubuntu remotely from iDevice or Android

Have you ever been far away from your Ubuntu Linux server and the only device you had on hand was your Android or Apple iOS device? Well, Splashtop is working on Splashtop Streamer for Linux.

The beta Splashtop Streamer, when used with Splashtop 2, a remote desktop applicaton for Android devices, iPad, iPhone, and iPod Touch, will enable you to connect remotely to Ubuntu 12.04 systems. Unfortunately it does not currently cover other versions of Linux or Ubuntu.

Splashtop is claiming that for Ubuntu users, Splashtop Streamer offers a supercharged, high-performance alternative to VNC (Virtual Network Computing) and other remote desktop software. Due to it's efficient protocol, algorithms and optimaizations, Splashtop has been shown in performance benchmarks to deliver up to 15x higher video frame rates and up to 10x lower latency times then it's competition.

Splashtop Streamer for Ubuntu is designed to enable users to remotely connect to an Ubuntu computer and do the following:
-View and edit files remotely (no transferring or syncing)
-Run favorite programs
-Stream music collection
-Watch videos at up to 30 frames per second with low latency
-Perform on the fly trans-coding of various video and audio formats
-Play graphics intensive games
-Use input methods for typing characters in various languages

I can't wait to try this out with my iPhone 4S and my Sony Vaio laptop which runs 12.04. It would be hilarious if I randomly turned on some music while my girlfriend was sitting next to the laptop, it surely would scare her to death.

-Ubu out