Friday, January 10, 2014

The new TV is almost here

Now that summer has hit, it is time to head indoors and tinker with the TV. Some clever planning when I last upgraded the disk in my CentOS-4 machine meant that the required partitions and space for CentOS-6 was available without having to alter anything.

That meant that installing CentOS-6 was relatively easy. (I did it the hard way and PXE booted off the work server via VPN). After a minimal install I configured the machine in puppet and managed to leverage most of my Linux SOE config.

After that was finished, I had a workstation but not a TV. Next step XBMC. That installed without any trouble but would not play any audio and the video kept going choppy. Not what I was expecting.

The choppy video was being caused by high load caused by the sosreport program. I don't know what crashed, and I don't much care. There is no point sending me an email about it.

I remember wrestling with this in the past without any satisfactory result. This time, rpm --erase sos did the trick. (I have to make sure puppet does not put it back.).

The audio seemed to be a problem with PulseAudio. I don't much care for this either. I have never needed it before and it does not appear to support S/PDIF / EC958 which I need so it has to go. Once again, no satisfactory instructions so rpm --erase alsa-plugins-pulseaudio seems required.

After a restart (I hate that!), all traces of pulseaudio are gone and XBMC is offering me S/PDIF again. Audio and video now working.

Next hurdle, Remote Controls. I have lots of experience with LIRC in the past because I had to make some modifications to the old version to get it to do everything I wanted. As hoped, there has been some improvement in this area but alas, also some steps backwards.

The first remote is a DVICO Fusion remote. This is a supported model but requires configuration in /etc/sysconfig/lirc and /etc/lirc/lircd.conf
/etc/sysconfig/lirc wants to know the device but it is a dynamically assigned USB HID device. This means UDEV rules ahead. It would be ideal if LIRC came with these but it seems not. Luckily I have my old EL4 rule but the new new udev uses a new format for rules. This was what I came up with in the end:
/etc/udev/rules.d/20-dvico.rules
SUBSYSTEM!="usb", GOTO="end"
KERNEL!="hiddev*", GOTO="end"
ATTRS{idVendor}=="0fe9", ATTRS{idProduct}=="9010", SYMLINK+="dvico"
LABEL="end"


Now I can configure lirc and it should work reliably (unless I have two receivers, which I do but I only use one!).

Copy the lircd.conf config file from the files supplied in lirc-remotes and that is ready to go.

It seems I still need to build a Lircmap.xml file for XBMC before it will work there. Lets hope I can find a sample on the internet. Writing XML by hand is not what I call fun.

The next challenge with LIRC is my IR Blaster which controls the stereo. This uses the kernel driver called lirc_serial. I understand that this is not an enterprise solution but if lirc_dev can be in the kernel, why no lirc_serial? Well, no worries, perhaps I'll find a package which has the driver. I do require that the driver will work after a kernel update so the atrpms package is no good. And is is only version 0.8 and I am using LIRC 0.9 (may not be an issue but I want them to match).

I guess I'll just build one myself.  Enter a world of 'lirc_serial: disagrees about version of symbol' errors. Briefly, some lirc drivers are now in the EL6 kernel. lirc_serial depends on lirc_dev. The lirc_dev in the kernel is back ported so checking kernel version numbers for the correct API does not work reliably. Also, modversions seem to be cached so once the errors are fixed, the resulting module still does not work.

Finally, I abandoned the LIRC build scripts and went straight to the kernel Makefile. After tweaking a few #defines I had a working build. I then packages in into an elrepo style kmod package and now I have a working ilrc_serial driver (which you can download from http://www.chrysocome.net/download). LIRC does not come with the definition for Panasonic remotes but I have the old one on hand which still works (yay). The LIRC init script does not handle starting multiple instances so I will have to hack that up too. At least I can specify the location of the .pid file which I think was a show stopper in the old version.

The next job is to work out if I can use my IR Blaster to turn the TV on too. For a SMART TV, there are not many options for turning it on...


44 comments:

  1. It's almost here! Last year, I picked up "Lethal Weapon," "MacGyver," "Speechless," "Riverdale" and "This Is Us." And "The Great Indoors,"

    blog post

    ReplyDelete
  2. Have you faced any difficulty in the installation of CentOS-6? Please tell us step wise guide to install it.
    Geek Squad Tech Support

    ReplyDelete
  3. CentOS-6 is very useful thing if we use it at the right time. Please share with us your experience with it.
    McAfee setup

    ReplyDelete
  4. CentOS-6 is full of feature packed and I am looking forward to check the display and color quality in it.
    Windows 8 product key

    ReplyDelete

  5. how to get sharpie out of clothes
    Thanks for such a good articles it really helped me after reading your posts.

    ReplyDelete
  6. Thanks for posting really such interesting post. I would recommend your site to my friends click here to download

    ReplyDelete
  7. I found your website perfect for my needs. It contains wonderful and helpful posts. avast safeprice

    ReplyDelete
  8. If an individual strategies an issue with a negative attitude it is doubtful they will get a positive outcome. A can do demeanor goes far in helping someone settle issues for an incredible duration. The extremely significance of oppression as a steady disease doesn't set a person up to win concerning overcoming their substance dependence. Language used thusly urges an aficionado to crash and burn. Individuals can gain ground with long stretch drug rehab programs.
    florida rehab center
    outpatient drug rehab florida

    ReplyDelete
  9. You land on the home page for YesPornPlease, and there you may see the latest updates with huge sample pictures and dates. Index pages are numbered, and navigating between sets of films is easy. A pinnacle menu takes you to the Episodes which you may reorder, and each video has linked tag phrases to additionally help navigation. A web page of Categories is a further help, and when you need to discover your community, you will find a drop-down listing of websites to apply. Simply click one, and it opens within the equal web page and not using a need to re-input your details. I determined navigation turned into easy, and there had been no technical troubles.
    yespornplease
    yespornplease.com

    ReplyDelete
  10. Recherchez des sonneries téléphoniques gratuites de haute qualité ici.

    ReplyDelete
  11. I want to we appreciate you this passion you cash in on throughout establishing the next few paragraphs. I am trustworthy identical best work from you when you need it at the same time
    한국야동

    ReplyDelete

  12. I love what you guys are up too. Such clever work and exposure! Keep up the very good works guys I’ve incorporated you guys to my own blogroll.
    일본야동

    ReplyDelete

  13. So informative things are provided here,I really happy to read this post,I was just imagine about it and you provided me the correct information I really bookmark it,for further .
    한국야동

    ReplyDelete
  14. Thanks for a very interesting blog. What else may I get that kind of info written in such a perfect approach? I’ve a undertaking that I am simply now operating on, and I have been at the look out for such info.

    한국야동

    ReplyDelete
  15. What your declaring is entirely genuine. I know that everyone need to say the exact same factor, but I just believe that you put it in a way that all of us can comprehend. 국산야동


    ReplyDelete
  16. This comment has been removed by the author.

    ReplyDelete
  17. Thanks for posting really such interesting post. I would recommend your site to my friends klingeltöne

    ReplyDelete
  18. It seems like you have done a lot of work on this. To be honest, I'm not really familiar of the stuff you did but thank you for sharing anyway. Also, please check out this concrete company website and discover services that might help you improve your home's curb appeal in Bendigo, VIC.

    ReplyDelete
  19. I hope it will be helpful for almost all peoples that are searching for this type of topic. I Think this website is best for such topic. good work and quality of articles Thanks. Click on The Link:- Change Roadrunner Password

    ReplyDelete
  20. Very efficiently written information. It will be beneficial to anybody who utilizes it, including me. Keep up the good work. For sure i will check out more posts. This site seems to get a good amount of visitors property manager seattle

    ReplyDelete
  21. Is this what they call smart TV? Just wondering. Anyway, if you have electrical needs for your home in Adelaide, I would recommend you check the electricians from https://getfusedelectrical.com.au/.

    ReplyDelete
  22. An interesting discussion is worth comment. I think that you should write more on this topic, it might not be a taboo subject but generally people are not enough to speak on such topics. To the next. Cheers

    Ttunnel.it
    Information
    Click Here
    Visit Web

    ReplyDelete
  23. Online tlc izle is the most famous dec for program sweethearts who like narrative taste. As of late, TV darlings who need to watch various projects other than TV series on live TV channels have been watching this channel every now and again. We are exceptionally satisfied to present to you the full HD continuous transmission of this channel nonstop.
    You can watch the live transmission of the TLC observe live channel from this page, which we have arranged with extraordinary exertion for you, without the need to sign in to youtube or blu television and with free access.

    Dmax izle streaming choice is presented free of charge and continuous on this page. NTV Sports, which does quality transmissions in the interest of sports in our nation, has as of late become known as dmax. , which additionally showed its achievement in the field of sports as a news channel.
    NTV, which is rolling out essential improvements in sports media as an undeniably significant piece of the creating and changing games world consistently, is doing very well known transmissions. The station, which is essential for the Dou broadcasting bunch, is likewise effectively open by means of the Turksat 4A satellite and through all stages and versatile applications situated in our country. NTV Spor, which is a significant and driving telecom station of the games local area, begun its telecom life as a games station on March 17, 2008.

    ReplyDelete
  24. Merci pour le partage, super article. Sonnerie gratuite iphone est pour mais vous vous ennuyez avec les sons par défaut.

    ReplyDelete
  25. Merci pour le partage, votre article est super. J'ai trouvé des sonneries vraiment cool sur Msonneries.com

    ReplyDelete
  26. Finances in our world were given an online existence and backed with digital cryptography, it is now known as cryptocurrency. To make crypto easily accessible to the entire world, crypto exchange platforms came to life along with crypto wallets to provide a safe space for your crypto funds.
    Coinbase.com login |
    Pro.coinbase.com Login |
    Coinbase Wallet

    ReplyDelete
  27. This is one of the largest crypto exchanges that are being used by a lot of Americans to trade with digital currency. On the Coinbase login exchange, you cannot only trade with crypto but also store the purchased crypto by signing up for a Coinbase wallet. coinbase down | crypto.com login | pancake swap

    ReplyDelete
  28. There is visibly a bundle to know about this. I think you made certain good factors in features also. 파워볼사이트

    ReplyDelete
  29. I always prefer to read the quality content and this thing I found in you post. 바카라사이트

    ReplyDelete
  30. https://sonneriesvip.com/ est l'un des principaux sites Web spécialisés dans la fourniture des dernières sonneries de téléphone aujourd'hui.

    ReplyDelete
  31. hatik eternel absolutely free music download with excellent music quality

    ReplyDelete
  32. Very attractive blog post. Thanks for sharing with us! Pro Link Building Solutions

    ReplyDelete
  33. I wonder how this TV module looks like right now.
    https://cincinnati-seo.org/

    ReplyDelete
  34. Thanks for the article. Thank you for the help and your work.

    Weather

    ReplyDelete
  35. Thank you for sharing this article, a really great article, visit https://ringchill.com to download the best ringtones.

    ReplyDelete
  36. Wow, it sounds like you've gone through quite the adventure getting your CentOS-6 machine set up with XBMC and LIRC! Your detailed explanation of the steps and challenges you faced will be incredibly helpful for anyone attempting a similar setup. It's impressive how you tackled issues like the choppy video and audio problems. And building your own lirc_serial driver is quite a feat! Thanks for sharing your experience – it's bound to be a valuable resource for others in the same situation. Happy tinkering!

    Anyway, hire the best pavers in Port St Lucie at https://www.portstluciepavers.com/: Reliable and Trusted!

    ReplyDelete
  37. Nice post, you can download best ringtones free at: sonneriessamsung.com

    ReplyDelete
  38. Waterproof Binoculars, the perfect solution for all your outdoor adventures. These binoculars are designed to withstand any weather conditions, ensuring clear and crisp vision even in the rain or near water bodies. With their durable construction and waterproof feature, you can now explore nature without worrying about damaging your binoculars. Whether you're hiking, birdwatching, or enjoying water sports, these waterproof binoculars are your ideal companion for capturing every detail of the world around you.

    ReplyDelete