6/5/08
Tonight I spent probably 10 - 14 hours straight getting MythBuntu up and running properly on the “TiVo” computer. It’s not much of a TiVo computer anymore though: the tuner card doesn’t work so it can’t record or stream television. It did work when it was on Windows but honestly, the computer is too slow to record and transcode cable. It’s a year old eMachine piece of crap. So now it’s more of a media center now. Looking back at the project today I can’t help but be filled with an immense sense of satisfaction: it was a lot of work but it really paid off.
The MythBuntu installation fought me every step of the way. I spent a day and a half trying to get the built-in LIRC to work with my Evation IrMan remote I bought years ago (which I’ve had working on Windows) but it never worked. I enlisted the help of my roommate, Alex, and he couldn’t get it working either. Frustrated, we took off to BestBuy to buy a MCE remote. They didn’t carry any and were pointed to RadioShack (who also didn’t carry them). We ended up having to find Circuit City and spend about a half hour in the store searching for it. We finally came home with a Microsoft certified Gyration remote which doubled as a wireless mouse and universal remote. It was a really nice piece of equipment and not too expensive too.
However, I hadn’t realized that the Gyration remote was actually a wireless keyboard and not a traditional remote in the sense that it wouldn’t work with LIRC. Out of the box it worked pretty well with MythTV, many of the buttons worked like they should and there was enough basic functionality to work it. We got the universal remote aspect working on my TV, but we never managed to get it to work on the wide-screen Insignia TV despite trying every code we could and spending another half hour trying to get the media center remote to learn from the TV’s remote.
I wasn’t satisfied with the button-mapping on the remote under MythTV: the back button didn’t work and you had to hit the clear button at the bottom of the remote to exit out of menus. Pausing didn’t work either as well as the menu function. So I went into LIRC and started remapping buttons, nothing worked. I deleted a bunch of lines in the LIRC configuration and it didn’t do anything. I turned LIRC off and the remote still worked. I restarted after each of these steps and it still didn’t stop working or change the button mappings. I finally turned LIRC off after two or three hours of tinkering with it and checked google for the remote. That’s when I figured it out: the Gyration remote worked like a wireless keyboard and wireless mouse.
Wonderful. How do I remap a keyboard? So I kept searching around and ended up with a simple solution: use ‘xev’ to get the keycode for each of the keys, and then use xModmap to remap the keymaps to different keystrokes. It was a lot of work but I finally fine-tuned the remote like I wanted.
Then came the external hard-drives (all three of them) that contained the media (which, I am proud to say, is quite an extensive collection of Movies, TV Shows, and Anime now: about 900GB of compressed movie files with 820MB a movie and 120MB an episode on average). I plugged them in and added them to the MythTV database and everything was working pretty good. Then the hard-drives spooled down for some reason and the files all disappeared. I had to restart the computer, at which point the drives RENAMED themselves to new auto-mount points. I had to make permanent entries in the fstab file to keep this from happening again. Then I struggled with whether or not I needed to ‘\’ escape the spaces in directory names in MythTV’s setup. The bright side is all the research I did at this point led me to a script that automatically ran through the movie collection I had and retrieved information and posters for each from iMDB. This led to a fantastic looking movie collection.
Using the monitor connector to the high-def TV definitely boosted our quality: all of our stuff finally looked DVD quality. The S-Video->Composite solution we were using before led to a fair picture quality but still noticeably less than that of regular TV, let alone a DVD. That alone made this whole thing a worthwhile endeavor. I was also able to FTP things to the server, Kyle was able to also, and I was apt-get installing something through a putty client from my laptop on the server while watching a movie/TV show and it DIDN’T LAG AT ALL. This is quite an improvement over the previous solution with XP which lagged if anything happened at all behind the scenes.
I finally spent the last three hours of the project on getting emulation working properly again. This was the biggest pain in the ass to take on at the very end of the project when I was so tired. First I installed FCEU (for NES games) and the Gamepad wouldn’t work at all. Then I installed a couple joystick configuring programs to make sure it was working. It worked and helped in the long run but FCEU still didn’t accept the keys properly. I looked up a few things and tinkered with the arguments at the end of the FCEU command to no avail. So I started to consider moving to “NESticle” until I realized it was a CVS project and not in the repository for Ubuntu. Then, suddenly, FCEU started working perfectly for no reason at all. Next was zSNES (for SNES games, naturally) which I had a lot of experience with. I got it up and working in no time! Except… The sound didn’t work at all. So I had to install libsdl1.2debian-oss and try that. Then libsdl1.2debian-esd. Then libsdl1.2debian-alsa. Then I gave up and started considering SNES9x which didn’t have any interface under linux, which was again frustrating. I finally went back to zSNES and tooled with the arguments (-ad in particular) for the executable while cycling through libsdl1.2debian-alsa, libsdl1.2debian-oss and libsdl1.2debian-oss and FINALLY it all worked with libsdl1.2debian-alsa and -ad esl. Finally was XMAME, which pretty much worked flawlessly out of the box. All the emulators were pretty laggy though, until I realized it was because I left VNC up and running on my laptop. As soon as I closed the remote desktop connection the emulators sped right up to an acceptable framerate.
So, it was a fun and educating project. I’m glad it’s pretty much over now. It should provide high-quality entertainment for everyone and, eventually, a good solution for storage for everyone. I have to be honest, I’m not looking forward to doing it all over again when I finally replace the piece of crap eMachine or when I have to move back from the monitor cable to the S-Video solution again over Summer. At least now I’ll know how to do it all and maybe there won’t be so many roadblocks.
6/6/08
Well, I’ve resolved myself to Buddhist-like practices to help center myself and stay productive. I plan to make some sort of meditation part of my daily routine. I don’t really like the whole chanting thing too much, it’s kinda lost its meaning over time with me repeating it to myself. And it’s still kind of creepy to me. Along with this I’ve streamlined my morning and afternoon routines. Each morning will consist of killing my alarm(s), taking 100mg caffeine, opening the blinds and turning on the light, running, doing my abdominal exercises, taking my multi-vitamin, eating breakfast, catching up with the internet, taking my shower, and meditating to prepare myself for the rest of the day. It’s a lot to do but it should effectively wake me up and fully prepare me for the day. Nights simply consist of the 20min workout on TuThSa, brushing my teeth and washing my face, setting the alarms and charging various electronic devices, writing a nightly journal for the night (which is what this is), and reading a book/article until I get tired.
I’ve also started the first step to actually tackling my trip journal: I transcribed it all into an OpenOffice document and split some of it into chapters. I had planned to do this back when I first took the LSD for the first time but I got a little too busy (and lazy, if that makes sense) during that period. Maybe some day I will actually finish this thing that’s supposed to document my trips in all their glory. I feel less inclined to write it because after some time sober the subject loses a lot of its appeal.
Today I didn’t accomplish much because I slept most of the middle of it away. I stayed up the whole night prior all the way through to the morning finishing up the media center. Now I’m all out of whack with my sleeping schedule so I’m putting a strict 7 hour restriction on my sleep tonight to make sure I wake up during acceptable hours for the finals week. The only downside is I have to call it a night early tonight while I’m still wide awake, which also means I accomplished a lot less today than I wanted to. Oh well, that vast to-do list will be waiting for me in the morning.
6/7/08
Tonight I finally took photos of stuff I tripped on during acid: System of a Down poster, GoodFellas poster, the carpet’s design, the imperfections in the wall, the hallway immediately outside my apartment, the stars (or at least I attempted to, oh well), the rows of cars in the parking lot, the wilderness/hill on the way to the parking lot, the ladder we climbed, the platform we looked at the stars from, and the drop from the platform. I’m sure I looked like an idiot taking pictures of random stuff like that but I hope to apply photoshop to each image to give an idea of what I saw on the LSD. Example: the rows of cars went on for eternity, the platform seemed gigantic, the poster came to life and leaned out of the wall, etc.
Also planned out the rest of the weeks studying. I’m going to be busy all damn day tomorrow and the day after up until the MATH241 final. Then I might get a little break before the next solid day and a half study session on EE211. GEOG150 should prove to be a good wind-down from the quarter as there isn’t such a dense, cumulative set of coursework to study.
6/8/08
Not much to write tonight: I’ve been busting my ass doing all of my MATH241 homework for the last month or so in order to prepare myself for the final tomorrow. I’ve been working on it all since 8 this morning, and I’ve still got 3 or 4 more assignments left to do at midnight. After this one I’m working on I’m probably going to crash, wake up at 7, and finish up the rest before the test. I don’t think I’ve honestly EVER done this much homework (legitimately) in such a short amount of time. It’s a nice taste of productivity that I haven’t sampled in some time when it comes to schoolwork. Anyway, back to homework. Hope I do well on this final. Oh, and the rest of the finals this week. I’m still in shock that it’s the end of this school year.