Frankie's Blog

6.02.2008

Worked on trying to get a couple of my windows machines go to sleep when not being used and have the file server automatically wake them up when doing backups or virus scans. Hopefully this will save considerable power. Figured out how to get automount to work for the samba shares (mainly just setting up /etc/auto.misc). My only problem now is that my rsnapshot backup utility lets me run a script before running the entire backup, but not before each host. Changed my preexec script this morning to not only wake up the machines, but to also cd into the directories so that rsnapshot would see them as existing. Hopefully this will work better tonight.

I'm also having problems with my Dell Dimension 9150 staying asleep. I guess I'll just have to keep fiddling with settings.

Also, made my way into the garage for a bit to try and set up the old software for P.E.A.R.T. from long ago. Let's just say we weren't exactly creating a commecial software product!! After I get the software working, I still need to get a drum set, and a bunch of mic stands.

Labels: , ,

9.11.2007

I installed Ubuntu Gutsy Tribe 5 (an alpha release) on my ASUS G2S. Things all seem to be working except the NVIDIA driver. Actually, it looks like the NVIDIA driver is working, but I just can't get the xorg.conf settings correct. Not sure what the problem is. For now, I fell back to running the VESA driver at 1920x1200.

Wow that's a big resolution. It really hits home when you start typing in a terminal :)

Sound seems to work. Also, wireless is detected and is working, but for some reason, my encryption key is not being accepted for my WEP encrypted wireless network. I haven't tried my network without encryption yet, so I don't know if this is a Ubuntu software problem, a configuration problem, or a wireless driver problem. It does detect the wireless networks though, so it seems like the wireless driver is working.

If anyone gets their G2S running with the NVIDIA proprietary driver, please let me know.

Labels: , ,

1.20.2007

ok, i fixed the clock problem... turns out I had to run tzconfig as root instead of running tzselect.

Labels: , , ,

I have been building/tinkering with a HTPC in my house for a few months now. My initial goal was to get a really nice mythTV setup in the house, but I have come to realize how young mythTV and linux drivers are (when it comes to HDTV that is... many of the regular tuners work much better since you can actually do decoding on the card and the hardware issues are much more familiar to developers).

After trying a few different mythTV setups on various OSes, I ran with mythTV on a xubuntu install for a while. I eventually punted, installed windows XP, and tried out the new open source contender for windows, Media Portal. I believe this project is from the same guy who started the XBMC (Xbox Media Center) project, which I absolutely love.

I tried Media Portal for a while, but it only detected one of my tuners (I am using a Kworld ATSC 110 and an Avermedia a180 - both HDTV tuners). Also, after watching TV playback for a while, it would freeze. The advantages of having windows drivers was obvious though: the performance was much better and CPU usage much lower. I wish it would have worked better.

My next thought was to buy an OEM copy of Windows Media Center Edition. I have heard good things about it and it would be nice to have this integrate seamlessly with other computers in the house, especially once Vista rolls around. But, then something changed my short-term plans... the Saints are playing in the NFC championship!!! The friggin' Saints!!! I needed something ready so I can watch the game on my big screen, and since Media Portal had the lockup issues, that was out of the question. The game will be played on Fox, which is one of the channels that the mythTV setup played well, so I decided to go back to the mythTV setup temporarily so I could watch the game.

I decided to try KnoppMyth for the second time. I had tried it once in the past and it was a nightmare for me. Of course, at that time, I knew nothing about the driver support for my tuners and nothing about mythTV. This time around, things were different. I managed to get things working pretty well and now some of my previous mythTV issues are gone as well!!! Maybe I will stick with mythTV a little longer.

To get things working in KnoppMyth (I am using the R5E50 release), I did have to do some work. First off, my first tuner was getting detected as a "V-Stream Studio TV Terminator"!!!

dmesg output:

saa7133[0]: subsystem: 1461:1044, board: V-Stream Studio TV Terminator [card=65,insmod option]


After quite a bit of digging, I noticed that one of the init scripts, /etc/init.d/KnoppMyth-tv, was calling a script way down at the bottom called "/usr/local/bin/tvterm.sh". Looking at that script, I saw:

/usr/local/bin/tvterm.sh:
#!/bin/bash
lspci | grep SAA7133/SAA7135 > /tmp/tvterm
if [ ! -s /tmp/tvterm ]; then
exit
else
echo -e "\033[1mSetting up Studio TV Terminator.\033[0m"
rmmod saa7134 &> /dev/null
modprobe saa7134 card=65
fi



Well, duh! The script greps lspci output for 7133/7135 chipsets and then assumes it is a Studio TV Terminator card!! At least I guess you could say the script is appropriately named though, as it did terminate my tv experience. :)

To fix, I simply commented out the call to tvterm in the KnoppMyth-tv init script. Then, I set up an init script to call "modprobe saa7134-dvb". I did some other stuff in there that is probably unnecessary, but here it is (I put it in /etc/init.d, then ran update-rc.d to include it as an init script):

/etc/init.d/saa7134-dvb-install.sh:
#! /bin/sh

echo "In my saa7134 installer script ..."

echo "Loading module saa7134 ..."
modprobe saa7134

echo "Running depmod -a"
depmod -a

echo "Loading module saa7134-dvb ..."
modprobe saa7134-dvb



Next, I had to get my xorg.conf set up for my projector. I got the modeline setting for my InFocus SP-4805 projector off the web, but after putting it in, I was getting the wrong screensize even though the projector was reporting an 854x480 resolution. Finally, I fixed it by removing 800x600 as an option in the screen section. Now, my "Monitor" and "Screen" sections in my xorg.conf look like this:

/etc/X11/xorg.conf:
...
Section "Monitor"
        Identifier   "SDM-M51D"
        Option      "VendorName" "Infocus SP4805"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "NoDDC" "1"
        Option      "IgnoreEDID" "true"
        Option      "UseEdidFreqs" "false"
        Option      "DPMS" "false"
        HorizSync   25 - 80.0
        VertRefresh 50.0 - 85.0
        Modeline    "848x480" 37.293 848 936 984 1104 480 508 509 563 +hsync +vsync
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "Generic Video Card"
    Monitor        "SDM-M51D"
    DefaultDepth    24
    SubSection "Display"
        Depth        1
        Modes        "848x480" "720x400" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        4
        Modes        "848x480" "720x400" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        8
        Modes        "848x480" "720x400" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        15
        Modes        "848x480" "720x400" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        16
        Modes        "848x480" "720x400" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        24
        Modes        "848x480" "720x400" "640x480"
        #Modes        "720x400" "640x480"
    EndSubSection
EndSection
...



After that, things are working pretty well. I believe I am all set up for the big Saints game at least. I still have a problem with my clock setting. I cannot understand why after all these years it is still as hard and complicated as it is to set the darned time on a linux box.

If anyone is having any problems with their KWorld ATSC 110 or the AverMedia a180, let me know and I can see if I can help. Also, if anyone has gotten their Kworld remote to work, please pass the info along. I hear there is a kernel patch floating around to enable support for it, but I am hesitant to try patching the kernel right now since things are working.

Labels: , , ,



Archives

Atom news feed RSS news feed


Last Modified: 08.07.08    Powered by Blogger