MythTV and MythWEB on Fedora 14

I finally get everything working correctly… I don’t have a lot of time for this post, but I want to share how I corrected few problems I had.

1 – Sound problem. This one is cause by MythTV having problem dealing with PulseAudio. The solution was simple, and it was to set the MythTV FrontEnd audio device to ALSA:pulse … There’s no auto discovery for this.

The second problem was with MythWeb. I was unable to load the web interface.

Here’s the errors I got:

Apache logs:
PHP Fatal error:  Failed to open translation file:  modules_path/_shared/lang/English.lang in /usr/share/mythweb/classes/Translate.php on line 172
MythTV Backend:
MainServer, Warning: Unknown socket closing MythSocket

So I don’t think this is the best fix ever. But if you’re like me and totally pissed off do this:

# vim /usr/share/mythweb/classes/Translate.php

Modify this section (original) :

    // Load the primary language file, or English if the other doesn't exist.
        if (file_exists(modules_path.'/_shared/lang/'.$language.'.lang'))
            $path = modules_path.'/_shared/lang/'.$language.'.lang';
        else
            $path = modules_path.'/_shared/lang/English.lang';

After modification it should look like this:

       //if (file_exists(modules_path.'/_shared/lang/'.$language.'.lang'))
        if (file_exists('/usr/share/mythweb/modules/_shared/lang/English.lang'))
            $path = '/usr/share/mythweb/modules/_shared/lang/English.lang';
        else
            $path = '/usr/share/mythweb/modules/_shared/lang/English.lang';

And voila… everything is working now. Feel free to ask question I know there’s not a lot of detail in this post but I’ve run into a lot of problem with this setup, so I can probably help!

++

S2LQ Fedora presence report

The S2LQ is now over. We had two great days and a lot of people had come! There was more than 600 persons who sign up for the free event which make this event one of the top 3 biggest event in the computer industry in Quebec, Canada!

First, sorry for the delay of this report, there’s a lot of thing happening in my life those last weeks and unfortunately I don’t have all the time I want to invest in my community activities..

That said, here’s a picture of the booth ( and me ) at the S2LQ

Unfortunately we haven’t received the  Fedora 14 DVD and there was a bunch of F13 DVD/Live cd, so I gave those media to people and tell them to download the lastest version if they like it! I almost gave an entire box of DVD and LiveCD, I can’t tell you how many, but during those two days a lot of people come back home with Fedora media to try it :)The stickers and button were pretty popular too!

So what can I say regarding the event..

My main goal was:

  1. Position Fedora in Quebec city. Show to the people that there are people using Fedora and there’s help here in Quebec city if they have trouble!
  2. Put some visibility for the Fedora Project. This one was a success with all the media distributed and with the big Fedora vertical banner
  3. Explain to people the relationship between Redhat and the Fedora Project
  4. Create some connection between the member of other community in the Quebec area ( other distribution, project etc… )
  5. Publicize the fact that there’s two Fedora ambassadors in Quebec city, and where to look if they want to be informed of release party and other events.
  6. Explain what are the main goal of the Fedora as a Linux distribution, what are the differences with the other distributions etc..

All those objectives has been achieved! I’m really proud of this event, I’ve met a lot of people involved in very different way in Opensource and heard of project born here and we didn’t even know!

I event get a picture with Richard Stallman! Again not the best picture ever.. I don’t know what’s wrong with me an pictures ;)

Thanks for everyone who helped me for this event, I think about Larry Cafiero who sent me the vertical banner and the button, Jean-Francois Saucier who gave me the F13 media, ng who sent me Fedora t-shirt which I didn’t receive on time unfortunately :( ,Michael Lessard and Claude Reeves for all the talk during spare time between presentation! ;) Ho, and Thanks the Laurent Bounin and everyone from the APELL who make this event a success!

More photos of the event:

http://www.flickr.com/search/?q=s2lq&m=tags

http://s2lq.com/photos

Videos:

http://s2lq.com/zone-vid%C3%A9o

Thank you Redhat!

 

Sometimes you can recieve small gift that warm your heart!

That was one of those, redhat sent me a 5$ Starbucks gift card just because I was watching/listening to their webinar on rhel6! What a deal for attending a webinar you wanted to! :)

With the winter starting, this “FreeCofee” will be welcome!

Howto fix IRobot Roomba left or right wheel

My Roomba 530 started to spin around his right wheel few week ago. It happened few times and then more often and after that it was doing only this… So I tried all the iRobot suggested “repair” method, but there’s not a lot to do on iRobot  website regarding problem with your right or left wheel. So I was faced with the reality, I will have to buy a new right wheel module. It’s not that expensive you can find it on ebay for around 20$ shipped but I’m the kind of guy who don’t like to buy replacement part when I can fix it!

After few test and diagnostic, I confirmed that the problem was the right wheel. It was unable to spin, but if I just pushed a little bit the roomba, it start working. So I put the roomba on it’s back and tried to move both wheels and found out that the resistance on both wheel wasn’t the same and after a closer look I was pretty sure there was hairs stuck in the wheel module. Then I opened the roomba and I took few pics of my adventure in case that my idea will work, it can always help someone else! If your problem look like mine, you can follow those steps, maybe you will be able to fix it! If anyone found a way to open the wheel contained in the wheel module let us know I was unable to find anything on the net regarding this..

This is a “Try at your own risk” repair. This had fixed my wheel but I don’t know yet if it will last for weeks or months.. do this only if you’re desperate and you tried all other option suggested by iRobot support.

Ok so here’s the first step I tried before doing the main repair, you should probably try every step before, in case your problem is not the same as mine!

Try the iRobot suggested fix method

If you roomba say “Please Inspect and Clean Roomba’s left (or right) Wheel” or if, like me, your roomba spin around a wheel and if you push it a little bit it started to go straight and then restart to spin.

Try those url from iRobot support website :

http://homesupport.irobot.com/app/answers/detail/a_id/498

http://homesupport.irobot.com/app/answers/detail/a_id/805

Fixing hair stuck in the wheel module

If those steps fail for you, and you contacted iRobot support and they told you you’ll need a new wheel module or you feel a different resistance when you spin the wheel, maybe you’re like me and there’s hair or anything stuck in the wheel module. You can try those steps, again, at your own risk.

The idea I had was to used a hair removal mousse, to “soften” the hair stuck in the wheel mechanism. Here’s how to open your roomba 500 and insert the veet foam into the wheel and add oil for lubrication after that.

  • Put your roomba on it’s back. You can put a towel or something smooth under it if you don’t want to scratch the top. Unscrew the side brush and remove it with a flat screwdriver. On the main plate you can see 4 screw with arrow pointing, unscrew them.

  • Remove the plate, and you’ll see the battery. Pull out the battery carefully.

  • Now you should have removed battery and you should be able to locate both side wheels.

  • Remove those three screw.

 

  • Pull out the wheel module gently. Now you should have the wheel module in your hand. I took a picture to show you how to “open” the module but I didn’t remove it on this picture. you can do it like this but it’s hard to keep everything clean…
  • As you can see on the picture, take a thin knife and you have to insert the knife horizontally in the small crack between the inner plastic piece and the rubber wheel. You’ll feel the plastic moving.. be careful to don’t cut or damage the wheel or the plastic.. When your knife is between both parts, lift the knife as it is on the picture so you’ll see a small crack. this is where you’ll need to spray the hair removal mousse… I didn’t show it on the picture because it was already done, and I don’t want do this again.. it’s not easy as it could seem, you may need another hand to keep everything in place and put the hair removal foam… Put a decent amount of foam, you want it to reach the center of the wheel where the air are stuck.

  • After you put the foam into the wheel let it “work” for almost 10 minutes.
  • Roll the wheel and see if you still feel a resistance if you don’t it look good!
  • I wiped the extra foam and I added oil or something to lubricate the center of the wheel. Be careful don’t put too much oil or lubricant because hair and dust will stick to this!

That’s it, put everything back in place. and try your roomba. Mine took almost 5 minutes of “under supervision” first run. After that the wheel was fine!

Let me know if this helped you or if you have another trick to fix the wheels! This is certainly not the best way to do it, but maybe my wheel will survive 1-2 months more!

@+

Telus release Android 2.1-update1 for the Motorola Milestone, and no, there’s no OTA update available…

I think they released the Android 2.1-update1 yesterday.. I based this on the filename of the release note ;)

Here’s the Release Note: http://bit.ly/bv5gZX

To update

go to: http://direct.motorola.com/hellomoto/support/update/

And follow the instruction, or simply start the software updater on your not so favorite OS a.k.a. Windows.

I’ve just updated, nothing new.. I didn’t had a lot of problem with my phone anyway.. but if this could fix the music problem I’ll be just happy… The only bad thing with this update is that they just started to release OTA (Over The Air) updates on the Motorola Droid and you know what ? They are recieving froyo, yeah Android 2.2… So let’s dream about the end of Septembre where we are “supposed” (  unconfirmed Rumor I think ) to recieve the update for our Milestone!!!

So now I get:

Version : 2.1-update1

GAS_NA_SHOUTELUS_P012

Kernel: 2.6.29-omap1

Have fun with your updates!

Howto update / change hostname of a system using RHEL/Centos in RHN, Satellite or Spacewalk

Today I had to update a system profile in RHN. The system is a RHEL 4 and was added to RHN few years ago and the hostname had changed since then. You can change the system name in RHN but you cannot change the hostname or the ipaddress. I just wanted to share with everyone how to update the RHN profile of a host.

Once your hostname is changed, you just have to execute this command:

# up2date --hardware

If you are using spacewalk and CentosOS6/RHEL6 you’ll see that up2date is not there anymore. You’ll need to have the rhn tool installed and sync the profile with:

# rhn-profile-sync

And voila, you should see the updated hostname on RHN/Spacewalk/Satellite.

@++

Fedora 13 Release party – Québec

Yesterday it was my first release party as an organizer. I was a little bit nervous, because I had to burn few live cd by hand because our official Fedora 13 media are stuck at the custom by UPS. I’ve made a quick presentation assisted by Jean-Francois with the new features of Fedora 13 and videos was playing during people was talking to each other.

Jean-Francois and me arrived at 16h to install the setup and wait for people to come. Around 17h people start to show up and everyone was naturally talking together. I would like to thanks RedHat folks, Michael Lessard and Claude Reeves, for taking time to come and talk with people, Michael come often to other LUG or release party it’s a little bit easier for him, he’s from Québec city.. But Claude is from Montreal so it was really great to see both of them at our event! Thanks again to both of you for your presence!

I think the event was a success, there was around 12-13 persons at the peak, it’s a little bit less than Ubuntu release get here in Québec city, but they are doing release party since few years, so they already have their “returning people”. This is what Jean-Francois and me will focus on the next year, trying to bring more new peoples and new faces to release party and other events!

Here are few pictures I took:

This it the “chat” room! Oops empty pitcher… Need refill!

I’ve installed my laptop with a projector, playing different videos from RedHat YouTube channel I’ve downloaded using youtube-dl. Fedora 13 Launch as you can see Paul Frields on the screen, the famous Truth Happens, How code makes it into RHEL, RedHat MRG demo and a remix of truth happens was playing in a loop on the screen. It was the first time we tried this approach and I think people liked it, the video was playing when people was talking, not too loud so people who want to listen was able to and other people around are able to talk with each other without problem. So this is definitely a “Will do it again”. Plus as you can see on the picture we had a “live usb station” which enabled us to create bootable usb stick for people. This wasn’t a really popular approach, but it’s not really a big setup, so I think we will provide it anyways in the next events.

I was trying to find a new way to provide url to people after a presentation or if they ask us on how to get involved in Fedora project or anything else. I bought a Motorola Milestone few months ago which led me to test few software available on the Android market, and I discovered few bar code reader apps after that I started to read about bar code and “how it worked”. I’ve discovered the possibility of new generation of 2D bar code, so I created few QR Code pointing to Fedora 13 Release notes, How to get involved in Fedora project etc… Plus a QR Code for my contact information. To be honest, this way to share url have made a lot of hand to rise, people was asking how it works etc… It was the first time we used this, so I explained to a lot of person how it worked and how they can probably get a barcode reader for their phone, for yesterday this wasn’t a lot helpful and people didn’t really used it. But I’m pretty sure the next time a lot of people will have downloaded the software needed to read those and they will probably start to use it! I think this is a really good way to make a presentation “Interactive” or to share our contact information, a new kind of business card… And a new way to give people “readable stuff” after the presentation!

Here’s another goodies, the Cheat Cube. Not so helpful for long-time Linux user, but new comer tend to like this one really bad! I wasn’t able to translate the whole thing in french, it’s almost always longer to write something in french… But I’ll try to finish this at least for the next release because people really like this, even if they don’t really use it, they build it and let it on their desk, so it make people talk about Fedora and Linux overall, which is not a bad thing at all! ;)

So this is it for my report of our Fedora 13 Release party. I’m pleased to see that people liked it and we really had good feedback regarding the organisation, we will certainly continue in this way for the next release!

@++

René Jr Purcell

Follow

Get every new post delivered to your Inbox.