Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - l3mce

Pages: 1 2 [3] 4
31
Developers / I made a monitoring tool for debugging.
« on: March 18, 2011, 10:30:31 pm »
For the install process (or really any changes you want to monitor that an executable produces), I have made a tool that monitors definable human readable files in a specific directory. You supply:
1 The folder to monitor, it will wait for it to exist to start if need be.
2 The pattern of files (eg *.conf) to read diffs from, if left blank will search all human readable files.
3 Where you want the diff files to live, default is /home/diffs.

You will have to run this, then execute your script in another terminal. I tried to launch scripts from it, and everything got gummed up.

It then spits out diff files whenever files change or are added, what script is running at that time, and what the difference is in which human readable file. I will tweak it more when I get some other things done. It needs to be recursive on demand. Need to be able to specify more folders.

diffmon1.6
Requires dialog and symlinks (local ubu repos)
Code: [Select]
#!/bin/bash
### This script is free.

#Needs to be the only instance running. Makes sure that happens but is name specific.
trap 'rm -r /tmp/difftmp' EXIT
procs=$(echo | ps -eo pid,user,args | grep 'diffmon.sh' | wc -l)
if (($procs > 3)); then echo "Multiple instances running. Terminating... please reload"; sleep 1; rm -r /tmp/difftmp; killall -v 'diffmon.sh'; fi

### Sets suffix numberer, installs dialog and cleans up after old operations
if [ -z $runonce ]; then
   suffix=1
   type -P dialog &>/dev/null || apt-get install dialog -y
   type -P symlinks &>/dev/null || apt-get install symlinks -y
   if [ -d /tmp/difftmp ]; then rm -r /tmp/difftmp; fi
   if [ -e /tmp/ast1.txt ]; then rm /tmp/ast1.txt; fi
   if [ -e /tmp/ast2.txt ]; then rm /tmp/ast2.txt; fi
   runonce=something
   getout=live
fi

### Sets the directory to monitor
thedir () {
   searchdir1=$(dialog --title "Directory to Monitor" --stdout --inputbox "Please choose a folder to monitor
   (eg /etc/asterisk ) cannot be blank" 14 48)
   if [ $? = 1 ]; then exit 0; fi
}
if [ -z $searchdir1 ]; then thedir; fi

### Figures out if the directory to monitor exists already and makes sure you didn't typo
if [ ! -d $searchdir1 ]; then dialog --title "Confirm" --yesno "The directory $searchdir1 does not exist. Are you expecting it to be created by the process?" 10 48; fi

### Sets the file pattern to monitor
#filemon=$(dialog --title "File Pattern" --stdout --inputbox "Please indicate a file pattern to monitor (eg *.conf, or for all readable files leave blank)" 14 48)

### Sets the output folder for diff files/deleted files
difhome=$(dialog --title "Output" --stdout --inputbox "Please specify a folder to put diff files in. If it does not exist it will be created. If left blank will default to /home/diffs" 14 48)
if [ -z $difhome ];then difhome=/home/diffs; fi

### Main loop
rundiff () {
   getin=die
   symlinks -dr $searchdir1
   ### Waits for directory to exist and creates the temporary environment.
   while [ ! -d $searchdir1 ]; do sleep 1; done
   if [ ! -d $difhome ]; then mkdir $difhome; chmod 777 $difhome; fi
   if [ ! -d /tmp/difftmp ]; then mkdir /tmp/difftmp; chmod 777 /tmp/difftmp; rsync -rtv --links $searchdir1/ /tmp/difftmp; fi
   while true; do
      if [ ! "$getout"="$getin" ]; then echo "-1"; break; fi
     
      ### Figures out if files are trying to be deleted by something, and moves them for review. If they come into existence then that is noted, but not read in diff.
      home=$(ls -R $searchdir1 | wc -l)
      target=$(ls -R /tmp/difftmp | wc -l)
      if [ "$home" -lt "$target" ]; then
         if [ ! -d $difhome/deleted ]; then mkdir -p $difhome/deleted; fi
         mover=$(diff -r $searchdir1 /tmp/difftmp | grep Only | sed -e 's/Only in /rsync -avb --remove-source-files /g;s/\: /\/*/g')
         movdir=$(echo "$mover $difhome/deleted")
         #   remover=$(diff -r $searchdir1 /tmp/difftmp | grep Only| sed -e 's/Only in /rm -r /g;s/\: /\/*/g')
         $movdir
         #   cleanrm=true;
      fi
     
      ### Finds diffs and spits them into format
      if (diff -r $searchdir1 /tmp/difftmp); then sleep 1; else
         if [ -z $filemon ]; then filemon=$(find $searchdir1 -name '*' -prune -readable -type f | sed 's_.*/__'); fi
         if [ ! -e /tmp/ast1.txt ]; then
            echo | ls -l $searchdir1 > /tmp/ast1.txt;
            input_variable=$"diffmon"${suffix}
            iv2=$input_variable;
            echo "" > $difhome/$iv2
            echo "" >> $difhome/$iv2
            echo "                ************** $iv2 ***************" >> $difhome/$iv2
            echo "" >> $difhome/$iv2
            echo "Files added > or removed <" >> $difhome/$iv2
            (echo | diff /tmp/ast1.txt /tmp/ast2.txt >> $difhome/$iv2);
            iv1=$(ls $searchdir1/$filemon);
            echo "" >> $difhome/$iv2
            echo  "****** Scripts running during change " >> $difhome/$iv2
            (echo | ps -eo pid,user,args | grep 'bin/bash' >> $difhome/$iv2);
            for iv1diff in $iv1; do
               if ! diff -r $searchdir1/$iv1diff /tmp/difftmp/$iv1diff; then
                  echo "" >> $difhome/$iv2
                  echo  "********* Changes in $searchdir1/$iv1diff"  >> $difhome/$iv2
                  (diff -r $searchdir1/$iv1diff /tmp/difftmp/$iv1diff >> $difhome/$iv2)
               fi
            done
            echo "Diff $difhome/$iv2 written";
            rsync -azdr $searchdir1/ /tmp/difftmp
            if [ -e /tmp/ast2.txt ]; then rm /tmp/ast2.txt; fi
            let suffix=$suffix+1
         else
           
            ### Redundant function allowing two files to always be contrasted and never confused
            echo | ls -l $searchdir1 > /tmp/ast2.txt;
            input_variable=$"diffmon"${suffix}
            iv2=$input_variable;
            echo "" > $difhome/$iv2
            echo "" >> $difhome/$iv2
            echo "                ************** $iv2 ***************" >> $difhome/$iv2
            echo "" >> $difhome/$iv2
            echo "Files added > or removed <" >> $difhome/$iv2
            (echo | diff /tmp/ast1.txt /tmp/ast2.txt >> $difhome/$iv2);
            iv1=$(ls $searchdir1/$filemon);
            echo "" >> $difhome/$iv2
            echo  "****** Scripts running during change " >> $difhome/$iv2
            (echo | ps -eo pid,user,args | grep 'bin/bash' >> $difhome/$iv2);
            for iv1diff in $iv1; do
               if ! diff -r $searchdir1/$iv1diff /tmp/difftmp/$iv1diff; then
                  echo "" >> $difhome/$iv2
                  echo  "********* Changes in $searchdir1/$iv1diff"  >> $difhome/$iv2
                  (diff -r $searchdir1/$iv1diff /tmp/difftmp/$iv1diff >> $difhome/$iv2)
               fi
            done
            echo "Diff $difhome/$iv2 written";
            rsync -azdr $searchdir1/ /tmp/difftmp
            if [ -e /tmp/ast1.txt ]; then rm /tmp/ast1.txt; fi
            let suffix=$suffix+1
         fi
         
         ### Backup insist one contrast file exist at all times.
         if [ ! -e /tmp/ast1.txt ] && [ ! -e /tmp/ast2.txt ]; then echo | ls -l $searchdir1 > /tmp/ast1.txt; fi
      fi
      sleep 1
   done
}

### Confirms input information is correct before launching
dialog --title "Confirm" --yesno "Choose ok to begin, or cancel to exit and start over" 10 48;
if  [ $? = 0 ]; then clear
   rundiff
fi
else
exit 0


I would appreciate feedback

32
Developers / Findings while working on alternative install DVD...
« on: February 26, 2011, 01:34:00 am »
This is less than a perfect process... but the results are really neat. I need to test more to find more that is broken, but, rather unusually, I have solutions for the things I have found thus far which are not happy... if not a graceful implementation.

Let me tell you the results before I bore you with the details. Using the following methodology I have created an alternative "livecd" LMCE installer. The install option installs the system all the way to the AVWizard without requiring internet access, you never see KDE... the first screen you see after the 15 min install is AVWizard. As an unexpected surprise, which may be the only realistic benefit of the experiment, the "live" boot also boots to AVWizard, and allows you to configure and run a system from a disk or thumbdrive, creating a portable version of the system without touching the native drive. This installer is as hardware independent as I have access to, with better results on non-supported hardware than I have been able to achieve through regular installs, and supported hardware installs with some minor issues I will address at the end. I like my good news first... esp when the bad news isn't that bad.

Current method: 810
Follow the standard install until changing sources, making this addition.
Code: [Select]
deb http://www.geekconnection.org/remastersys/repository ubuntu/We will remove it before install is made. As root:
Code: [Select]
apt-get update
apt-get install remastersys

Install LMCE. When you get to AVWizard, tty2 and root up:
Code: [Select]
cp -r  /home/USER_NAME/*? /etc/skel(This makes these folders appear when a new user is created from future installs, -remastersys. Obviously substitute whatever your current user name is for USER_NAME)
Edit sources.list and get rid of that repo.
Code: [Select]
dist-upgrade
remastersys dist cdfs
remastersys dist LMCE.iso
burn the iso
Code: [Select]
apt-get install 'dvd+rw-tools'
growisofs -Z /dev/dvd=/home/remastersys/remastersys/LMCE.iso
Most of the work is done. I now create some scripts to deal with the problems and add them to the .iso.
Code: [Select]
growisofs -M /dev/dvd /tmp/fixbroken.shI will put it up here, but they need a bit of tweaking. I just figured all this out early this morn, and have been working all day, so bare with me. I am working on a graphical kicker for install, but for now you get 4 text options in isolinux. Boot live, boot forcing vesadrivers, install... and boot to hd.

Now the bad news. Building this way, on a normal system, breaks KDE. However there is documentation on how to build this in an Ubuntu server environment which preserves all the pesky hidden KDE stuff. The gparted installer also pukes about 12 errors about not being able to mount nd1, nd3... etc. Choose cancel on each warning. Also warns you that language packs are not available for install. Default values are all over the map, but easily changed when going through install process.

Installing or booting live, there are no nics in /etc/network/interfaces. Stealing from the new-installer scripts, I grep for existence of eth0 /etc/network/interfaces, and if not use chunks from the single/dual nic auto configuration script in one of the installers. For now if you are anxious, just edit (for dual nic)  to read:
Code: [Select]
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet static
address 192.168.80.1
netmask 225.225.225.0
Or single nic
Code: [Select]
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth0:1
iface eth0:1 inet static
address 192.168.80.1
netmask 225.225.225.0
Then
Code: [Select]
/etc/init.d/networking restart
As I said, I will post a cleanup script once I have time to create/test them again to automate them.

There are also permission errors in some /var dir (watch boot)... I can't remember off the top of my head. This will also be addressed this weekend with a cleanup script, but for now change them.

Firefox has remembery issues, but I believe that may have been solved dumping into /etc/skel
I know there is more... but this is a fun start. I can't push a 4gb file from my homemade giant aluminum foil antenna I get internet on... so I encourage others to play with this along with me. I will add more after more napping, but the installed system works with everything I have, behaving nicely.

33
Developers / Kubuntu prep script for 8.10 installs
« on: February 19, 2011, 06:24:30 am »
This is a little script I wrote for those of us who install a lot.
It looks for references in sources.list that should not be there and changes them.
It then removes any duplicates.
It then performs update and then dist-upgrade.
It then starts the LMCE install.
This is not fully tested as of this second (am fresh installing now)... but it will not do any harm if it bombs.
Feel free to test, and post your results.

Code: [Select]
#!/bin/bash
n1=$(grep -e 'security.' -e 'archive.' /etc/apt/sources.list | wc -l) #looks for references that shouldn't be there and counts them
o1=0;
if [ "$n1" -gt "$o1" ] ; then echo "Changing Repositories"
sed -i.backup -e 's/us.archive/old-releases/' -e 's/security.ubuntu/old-releases.ubuntu/' -e 's/\/archive/\/old-releases/' /etc/apt/sources.list; #changes us.archive, security.ubuntu, and /archive to old-releases
sort -u /etc/apt/sources.list > /etc/apt/sources.tmp; #removes duplicates in temp file
cat /etc/apt/sources.tmp > /etc/apt/sources.list; #rewrites sources.list without duplicates
else
  echo "Repositories Correct, Running update, and dist-upgrade"
fi
apt-get update && apt-get dist-upgrade -ydu --force-yes
#echo "Installing LMCE"
#env
#sad=$SUDO_USER
#sh /home/$sad/Desktop/LinuxMCE

Save as something.sh
Code: [Select]
sudo chmod +x something.sh
sudo ./something.sh
Any feedback is welcome.
Spawning the installer appears to break things, so have commented out.
http://svn.linuxmce.org/trac.cgi/ticket/1003



34
Developers / Avermedia PCIE combo capture card (AverTV combo m780 b)
« on: February 14, 2011, 08:38:10 pm »
So I have a bunch of these Window$ MCE only cards around. ATSC/QAM/NTSC (note low profile adapter)

"Additional benefits of the Avermedia M780 TV card is that one can watch the Analog channel or the HD channel while recording the other. Alternatively, two channels can be recorded while a program which was previously recorded is watched, all at the same time. Other features of the product include a 32- bit as well as a 64- bit driver support, a stereo sound, Analog TV (NTSC) as well as digital TV (ATSC). It also has a HDTV quality support. It is worth noting that the HDTV will work only if the signal of the TV is HDTV format. Other requirements for HDTV include a VGA card which supports DirectX 9.0c as well as DxVA."

I got it working by first grabbing the firmware and installing mercurial:
Code: [Select]
sudo -s
apt-get install mercurial -y
apt-get install linux-firmware-nonfree -y
hg clone http://kernellabs.com/hg/~dheitmueller/ngene3
cd ngene3
Lately I have had to get rid of some bad code in ngene3/v4l/firedtv-1394.c so I just
Code: [Select]
echo > v4l/firedtv-1394.c
make
make install
reboot
This loads up a bunch of experimental drivers.

MythTV then picks it up as DVB DTV capture card (v3.x).


Have not got audio going, but the picture/change is fantastic. I would like some help getting it going right, so we can make this happy. I know there are a gazillion of these cards out there, they were pretty inexpensive for the quality... still are. Gateway shoved them into their media pc's for a while... so... calling all dingos...


*Mandingo, I will gladly send you a card

35
Users / Samsung PN50B550 Plasma upgrade
« on: February 14, 2011, 05:44:36 pm »
It is a cheap TV that performs well, though woefully shy of an RS232 port. Just wanted to pass along some things I worked out and am trying to work out.

Service menu:
On factory remote, press MUTE, 1, 8, 2, and power in quick succession while the tv is off.This will open up the service menu. Go to options, and then model... change it to the 560. This enables hardware that allows 24p playback. They are the same tv, with different hardware access. I have been looking around trying to figure out if I can turn "overscanning" or some derivative of it off so that KDE will be the right size.


I also know that the 650b service code is INFO, MENU, MUTE, Power.

I also know that you shouldn't go around screwing with things you do not understand in these menus. Use at your own risk, but I can tell you that the upgrade works on the 550.

36
Users / KDE oddities
« on: February 13, 2011, 04:03:39 pm »
On all of the 1080p TVs I have set up, during AV Wizard I have to drop the viewing area 5 sizes (-), the result leaves the KDE screen too large to display everything. In the beginning I tried screwing with video settings with some fairly disastrous results. Switching back and forth is also odd, and after a few log ins... NOTHING will kill KDE by itself. It will not "log off", init 3 doesn't stop it... kde stop doesn't kill it, /etc/init.d/kdm stop returns:
"Stopping K Display Manager: kdm not running (/var/run/kdm.pid not found)." And indeed it is not. If I hit ctrl alt backspace KDE dies but takes LMCE with it. For these reasons I do not ever enter the desktop environment. I am curious if others have had this experience, as it is always the same for me, regardless of the equip I use. I am going to try and develop, at the very least, a widget that switches from the desktop back to LMCE gracefully. I did this a long time ago, but was lost in one of many re-installs.

37
Developers / LMCE in Dolphin's Places
« on: February 13, 2011, 08:18:13 am »
Thom thought it would be convenient for KDE users to have a folder in Dolphins "Places" generated by the system, so I thought it would be an easy opportunity to write my first bash script. Of course it should have been a perl script, but I spent too much time learning the one to move. So this is my solution. I would appreciate review, laughter, whatever the case may be.
http://svn.linuxmce.org/trac.cgi/attachment/ticket/986/t4.sh

It works. I have tried to make it not work, but it always works. Dolphin is very lenient on order.
It will download an icon set. I will make something nice if people think that is a good idea. I don't get butt hurt at criticism. Thanks for your time.

This is a fresh 0810 bookmarks.xml file.

Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xbel>
<xbel xmlns:bookmark="http://www.freedesktop.org/standards/desktop-bookmarks" xmlns:mime="http://www.freedesktop.org/standards/shared-mime-info" xmlns:kdepriv="http://www.kde.org/kdepriv" dbusName="kfilePlaces" >
 <bookmark href="file:///home/mcc" >
  <title>Home</title>
  <info>
   <metadata owner="http://freedesktop.org" >
    <bookmark:icon name="user-home" />
   </metadata>
   <metadata owner="http://www.kde.org" >
    <ID>1297542459/0</ID>
    <isSystemItem>true</isSystemItem>
   </metadata>
  </info>
 </bookmark>
 <bookmark href="remote:/" >
  <title>Network</title>
  <info>
   <metadata owner="http://freedesktop.org" >
    <bookmark:icon name="network-workgroup" />
   </metadata>
   <metadata owner="http://www.kde.org" >
    <ID>1297542459/1</ID>
    <isSystemItem>true</isSystemItem>
   </metadata>
  </info>
 </bookmark>
 <bookmark href="file:///" >
  <title>Root</title>
  <info>
   <metadata owner="http://freedesktop.org" >
    <bookmark:icon name="folder-red" />
   </metadata>
   <metadata owner="http://www.kde.org" >
    <ID>1297542459/2</ID>
    <isSystemItem>true</isSystemItem>
   </metadata>
  </info>
 </bookmark>
 <bookmark href="trash:/" >
  <title>Trash</title>
  <info>
   <metadata owner="http://freedesktop.org" >
    <bookmark:icon name="user-trash" />
   </metadata>
   <metadata owner="http://www.kde.org" >
    <ID>1297542459/3</ID>
    <isSystemItem>true</isSystemItem>
   </metadata>
  </info>
 </bookmark>
</xbel>

This is the result of the code. The bottom entry is new, and will generate without any conflicts or odd behavior no matter how many things or separators are there... of course ideally it would be run before Dolphin ever mounted anything.
Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xbel>
<xbel xmlns:bookmark="http://www.freedesktop.org/standards/desktop-bookmarks" xmlns:mime="http://www.freedesktop.org/standards/shared-mime-info" xmlns:kdepriv="http://www.kde.org/kdepriv" dbusName="kfilePlaces">
 <bookmark href="file:///home/rec">
  <title>Home</title>
  <info>
   <metadata owner="http://freedesktop.org">
    <bookmark:icon name="user-home"/>
   </metadata>
   <metadata owner="http://www.kde.org">
    <ID>1289787488/0</ID>
    <isSystemItem>true</isSystemItem>
   </metadata>
  </info>
 </bookmark>
 <bookmark href="remote:/">
  <title>Network</title>
  <info>
   <metadata owner="http://freedesktop.org">
    <bookmark:icon name="network-workgroup"/>
   </metadata>
   <metadata owner="http://www.kde.org">
    <ID>1289787488/1</ID>
    <isSystemItem>true</isSystemItem>
   </metadata>
  </info>
 </bookmark>
 <bookmark href="file:///">
  <title>Root</title>
  <info>
   <metadata owner="http://freedesktop.org">
    <bookmark:icon name="folder-red"/>
   </metadata>
   <metadata owner="http://www.kde.org">
    <ID>1289787488/2</ID>
    <isSystemItem>true</isSystemItem>
   </metadata>
  </info>
 </bookmark>
 <bookmark href="trash:/">
  <title>Trash</title>
  <info>
   <metadata owner="http://freedesktop.org">
    <bookmark:icon name="user-trash"/>
   </metadata>
   <metadata owner="http://www.kde.org">
    <ID>1289787488/3</ID>
    <isSystemItem>true</isSystemItem>
   </metadata>
  </info>
 </bookmark>
<bookmark href="file:///home/public/data" >
 <title>LMCE_Data</title>
 <info>
  <metadata owner="http://freedesktop.org" >
   <bookmark:icon name="folder-lmce" />
  </metadata>
  <metadata owner="http://www.kde.org" >
   <ID>1289787488/4</ID>
   <isSystemItem>true</isSystemItem>
  </metadata>
 </info>
</bookmark>
</xbel>

I have figured a lot out the last few days and would like a more difficult task. Thanks.

38
Users / Cool Droid toy
« on: August 22, 2010, 06:40:23 pm »
For the fellow droid heads... RemoteDroid turns your droid into a touchscreen mouse/keyboard over your wireless network.

Phone part here



Server side here

39
Users / zwave metadata
« on: June 05, 2010, 06:46:47 am »
I think this question is for hari... but will take an answer from anyone.

Can anyone tell me the limitations on zwave metadata? Google is not my friend on this issue. I think what I am needing to create is a zwave on/off contact strip which reports current draw to the system.

40
Installation issues / Myth .23 tip (latest snapshot install)
« on: June 04, 2010, 01:35:47 am »
I have an HDHomeRun (HDHR t1 us), and this device only has one usable tuner, though LMCE detects 2. I presume the second is some sort of fake to allow recording one thing and watching another. I have a couple of crap cards that do the same thing, though I know there is only one usable tuner. Snapshot 22982 (or later) with the MythTV .23 shoehorn prioritizes the fake tuner and will not access the correct one before crashing. Deleting the tuners and redefining the single usable tuner gets overwritten as soon as the changes are applied (presumably after mythfilldatabase is run).

In order to prevent this, or more accurately allow your changes in MythTV Setup to be applied and not overwritten, in the web admin drop to device tree/Core/DCERouter/Myth TV Plugin. Towards the bottom of the page is a checkbox which says "Dont autoconfigure"

Then delete all, define card/input, and when it says mythtv is ready... it is. I am sure many of you are already aware of that checkbox... but it cost me almost 2 days... so naturally I think it's discovery is like finding Atlantis. Hope this helps someone having troubles.

41
Developers / Project VLC
« on: January 31, 2010, 10:35:39 pm »
I have decided to try and write a DCE wrapper for VLC, because in my belief it will fix a number of issues. I am also going to be looking real hard for a solution to asterisk prob.

I tried for many days to get 8.1 rolling during the avenard fiasco, and am still unsuccessful. I will go at that some more later. For now I will be trying to develop for 7.10 and 8.10 concurrently.

So I have set up a dev box and would like to know some info. I have a lot of reading ahead of me, but if someone could help me with a couple of basic "where do i find"s that would be great.

1. I am green to linux. Where do I get avail source code? For instance if I wanted to look at the xine wrapper... where would I find that? Is it even available?

2. I am comfortable in java. I need to learn c++ anyway, have for about 20 years and just never got around to it. Any suggested reading? It is still object oriented... I should be able to get the swing pretty quick.

3. I just found the svn part of the site. How is that managed, I see assignments... but do not know if they are self or admin assigned. Because I am just above useless, should I try and tackle things related to features and not function... as the more experienced guys are more likely to find a quicker solution?

Any rules, tips, suggestions are welcome. I have never developed outside of contract before, so I am new to the community.

42
Users / Theoretical single nic solution
« on: January 30, 2010, 03:32:29 pm »
The idea was with a virtual adapter serving functions where duality is required. I would think a gb nic could do most of the pushing of a small system.

I am curious if those who know more how the DB calls are made and why think this might be a viable solution and something that would be worthwhile. I would be happy to go at it nothing immediately jumps to mind prohibiting the possibility.

43
So because of my location I cannot get "real" internet. My only options are a verizon mifi2200, and a tethered droid. All of the warnings to use eth0 are correct. You need to do that. So after a lot of renaming/disabling etc I realized faking it doesn't work so much. My only option to get the WWAN to eth0 was using windows ICS (internet connection sharing). This seemed to bring up a host of new problems, and this is how I dealt with them.

Asus m3n78-ev
phenom II... cant rememb clock
4GB ram ddr2 800
128 gb SSD for OS
LSI Megaraid 150-6 (cheap, slow, but effective. Shame I dont have a board running around with pcix) caps logical drive size to 2tb, I don't care what the firmware update says.
4x2tb in raid5 + HSS
HDHomerun

routers/switches
Done this install with many different types, at least 6, all w same problem.

OSs using ICS (not at same time)
xp pc
vista pc
7 pc

Here is the problem.
update typically stalls out downloading
dist-upgrade always stalls out downloading
lmce always stalls out downloading

These failures occur on files of any size... in different places. Now what it looks like to me is that IPv6 is querying the piss out of the router and after enough of that the connection is lost until broken and re-tried. The bugs related to this are supposed to have been fixed in karmic... and it seems to only be an issue for me on the ICS side of downloading.


Except the ttf-mscorefonts. That fails on any connection.


Now when these scripts are done, some of them do cleanup which removes things necessary for the install. The broken packages show as existing, and do not install further.


So, my advice, if you are forced to use this sort of setup, is firstly, during update/dist-upgrade,  to drop the 2nd nic from the router/switch/hub. Then save the output of any term sessions. Go back and find the broken dl links, apt-get remove them... --purge does not work out so clean, so avoid if possible. I don't know why. I am sure it is due to my ignorance in linux. Then apt-get install them again.

Once the AVWizard comes alive, this stalling out nonsense seems to fix itself, so plug your 2nd nic back in.


Mythtv components are AWESOME at committing suicide on dl. You have to watch them, in particular, very carefully.



ICS SEEMS to be happier on XP... but I could be making that up.

Lastly, wtg guys on beta 2. I want to be like you when I grow up.



44
Developers / Project: Ranged I/O interpretation.
« on: October 26, 2009, 12:54:52 pm »
I am new to linux/LMCE as are so many of us. I have, until recently, used linux like the speech function on Stewie's mac. "It installed... Yay". I compiled some java a long time ago with it... and then LMCE gave me motivation.


A great number of automation products provide 4-20mA feedback, with range sets that trigger different events. It is my goal to build such a thing for LMCE. This way I can implement modular projects which are not tied to specific control modules, and use cat5 for power, feedback and control.

I will begin here.
http://www.pcconnection.com/IPA/Shop/Product/Detail.htm?sku=6263101&oext=1038A&ci_src=14110944&ci_sku=6263101

And note my progress.

45
Users / 0810 beta mouse control
« on: October 26, 2009, 10:27:44 am »
So I spent some money on some controllers. The gyration is still the sexiest way I have to navigate... but there is a contender.



It is about the length of a US dollar. It is the Logitech DiNovo Mini.

The round pad is a mouse or directional key depending on either a switch or using the function button. In 710, the mouse did not function natively, but after some modprobing I was able to get that working successfully. It operates like a touch pad, and is not nearly as fluid as the gyration... but functional. Moreover, when you adjusted the mouse acceleration in KDE it was reflected in LinuxMCE... this is no longer the case. Curious if anyone had any pointers (no pun intended) on mouse acceleration in LinuxMCE. Currently it takes about three full swipes to move from one end to the other at 1024x768.

http://wiki.linuxmce.org/index.php/Logitech_Dinovo_Mini

Pages: 1 2 [3] 4