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.


Messages - elspic

Pages: 1 2 3 [4]
46
Installation issues / Re: Adding unknown TV for ir control
« on: August 03, 2007, 11:48:08 am »
The reason I was doing it the hard way is my remote isn't listed. In this case should I just add a generic device to get things installed? And I'm sorry, I should have been more clear:

On the LMCE machine that I'd actually like to use the usb-uirt with, none of the lirc stuff is installed, including irw, irrecord, or /etc/lirc so I can plug in the usb-uirt, but I can't check it with irw or irrecord
I have a laptop with ubuntu 7.04 on it and installed lirc in hopes of creating a config file that I could import into LMCE. I can get irrecord to run, and I can see the led on the usb-uirt lighting up, but the program never gets any input (no dots appear). I'm thinking this is more a problem for the lirc or usb-uirt forum though. -Ruben

47
Installation issues / Re: Adding unknown TV for ir control
« on: August 03, 2007, 08:48:28 am »
Yes, that is indeed what I needed, but now I've come across another problem. Even though the usb-uirt lights up when I press a button on the remote, I can't get irrecord or irw to see any of the input. I'm pretty sure they should be compatible because I hooked everything up to my windows pc and used eventghost to capture all of the raw ir codes (so I can hopefully make a config if nothing else works) and used the same codes back through the usb-uirt to control the tv. Everything worked fine. I noticed that my LMCE hybrid doesn't have any of the lirc stuff on it, is this a mistake? Thanks for the help! -Ruben

48
Installation issues / Adding unknown TV for ir control
« on: August 03, 2007, 12:43:47 am »
I just got my usb-uirt in and it's automatically detected but I'm not sure off how to add a tv to be controlled. My first instinct was "Wizard -> Devices -> A/V Equipment" but my tv isn't listed (I did add a manufacturer for it). What's the proper way to add a new tv/remote so that LMCE can control it through usb-uirt? -Ruben

49
Installation issues / Installing Linux MCE rc1 on raid 1 array
« on: August 01, 2007, 02:47:35 am »
My Configuration:

Hybrid:
 AMD 64 3500+
 MSI K9N6PGM-F Socket AM2 NVIDIA GeForce 6100
 1GB pc6400
 GeForce 7300GS
 2 500GB SATA hard drives in RAID 1 array

8 Port Netgear switch

Netgear wireless router (with dhcp disabled)

Sceptre 37" LCD TV

Windows XP pc orbiter

Warning: this is most probably not the best way to install a raid array, but it did work for me. Your mileage may vary.

Boot Kubuntu i386 Alternate cd
Follow the install instructions until it starts the disk partitioner.

This is where I'm pretty sure I do something wierd.

Partition and format just one of the drives for now. Select "Device for Raid" for each partition until you have your disk the way you want it (and be sure to make your boot partition bootable).

disk partitioner:

disk 1 (/dev/sda):
#1 primary 50MB Bootable
#2 primary 30GB   
#3 primary 469GB
#4 primary 560MB

Then "Configure Software Raid"
For some reason it automatically creates /dev/md0 with /dev/sda1 which is fine with me as it does it as raid 1. Create new md device. I had to select level 1 but other than that the default settings worked for me. When it asks what disks to add, you'll only chose one in the list for each md device that you create. When you finish you end up with something like:

/dev/md0 RAID 1 /dev/sda1 50MB
/dev/md1 RAID 1 /dev/sda2 30GB
/dev/md2 RAID 1 /dev/sda3 469GB
/dev/md3 RAID 1 /dev/sda4 560MB

Now partition each raid device the way you would any normal partition to get:

/dev/md0 RAID 1 /dev/sda1 50MB /boot
/dev/md1 RAID 1 /dev/sda2 30GB /
/dev/md2 RAID 1 /dev/sda3 469GB /home
/dev/md3 RAID 1 /dev/sda4 560MB swapspace

I select ext3 for all file systems and select the noatime option to improve performance a little, but I'm sure you can do what you normally do here. After that just follow the rest of the installer and let it reboot. Once you log in check to make sure your arrays are up (I don't see how you would have finished the install and rebooted otherwise, but still) with:

 cat /proc/mdstat

you should get something like:

Personalities : [raid1]
md3 : active raid1 sda4[0]
      546112 blocks [2/1] [U_]

md2 : active raid1 sda3[0]
      458494976 blocks [2/1] [U_]

md1 : active raid1 sda2[0]
      29294400 blocks [2/1] [U_]

md0 : active raid1 sda1[0]
      48064 blocks [2/1] [U_]

unused devices: <none>

The [U_] on each line tells us that one disk is up and the other is down, which is as it should be since we haven't told the system about it yet. Now here's a trick my grandpappy taught me:

 sfdisk -d

will print the partition info for a drive and sfdisk will partition a disk so combining the two we get:

 sfdisk -d /dev/sda | sfdisk /dev/sdb

will take the partition table from disk sda and use it to make sdb so. As far as I know that's the best way to be sure 2 partitions are the same size. Now that your drives are partitioned the same, you just have to tell the computer to use the second drive in the arrays:

 mdadm /dev/md1 --add /dev/sdb2
mdadm: added /dev/sdb2

now if you cat /proc/mdstat you should see something like:
Personalities : [raid1]
md3 : active raid1 sdb4[2] sda4[0]
      546112 blocks [2/1] [U_]
        resync=DELAYED

md2 : active raid1 sdb3[2] sda3[0]
      458494976 blocks [2/1] [U_]
        resync=DELAYED

md1 : active raid1 sdb2[2] sda2[0]
      29294400 blocks [2/1] [U_]
      [===============>.....]  recovery = 79.7% (23359488/29294400) finish=1.3min speed=73344K/sec

md0 : active raid1 sdb1[1] sda1[0]
      48064 blocks [2/2] [UU]

Notice the [UU] now and the "recovery ="? that means it worked. I think. Someone please tell me if I'm wrong, but once I let all the arrays do a full resync, I can put the cable on either drive (please don't pull both of them unless you're super cool and have a spare drive installed) and other than a short slowdown on the desktop, the system doesn't seem to be affected. I haven't figured out how to get the system to see the drive when I plug it back in without a restart though so if anyone knows that, I'd appreciate it.

Ok, now our base system is up and running and it's time to install linuxmce.

I go off the recommended path here again and upgrade a couple things because I'm lazy. First I comment the line for the cd out of /etc/apt/sources.list and run

 apt-get update

and

 apt-get install ssh smbfs

ssh because I wanted to get info to write this and I just kind of like being connected from my desktop and smbfs is because I can't be bothered to burn the LinuxMCE iso's and just copy them to the kubuntu desktop from the network (I've installed lmce many times trying to get it to work properly). I don't think you actually have to install smbfs since you can just use the network browser from the desktop without it, but I haven't had a problem with it so far.
 I then mount the iso of the packages cd (or just put the cd in)

mount -t iso9660 -o loop /home/ruben/Desktop/LinuxMCE\ 1.1\ RC1/linuxmce-1.1-packages.iso /media/media/

and run the installer .deb:

dpkg -i /media/media/mce-installer_2.0.1-1_i386.deb

which will put the install icon on the desktop. At this point we're at LMCE install proper and I've got to say that from the installer on I've been very impressed with the improvements in RC1 over the previous releases. It's not perfect yet, but it's made a great stride towards being something I would think belongs in a mainline distro or package. One problem I noticed still happening is that after I start the installation and it restarts for the nvidia driver, my screen resolution is a lot lower than it should be or was before. I finally traced this to the line:

Option         "UseEdid" "False"

in xorg.conf. By commenting it out, the specified resolution is used.
Log back in and restart the installer. I chose hybrid and Primarily a media PC and simply followed the prompts through until it asked for the cd's. Here I'll mention that if you tell it you have an iso on the drive (if you were cool enough just to copy the images to the local machine) for all 3 cd's (especially the kubuntu cd), it seems to take a LOT less time to cache them. I'm sure I had a couple errors in my install, however it finally finishes and asks me to restart. When it does it automatically loads up the core and MD software after a little while. I think this is where people are just getting impatient. With every install I've done, as long as I wait until I'm sure the system is ready for the next step, I haven't had any problems other people are reporting.
  As far as setup, I'd recommend just following the onscreen guide (good job with the videos, but I'd put a control so she doesn't keep repeating herself over and over) and connect your periphrials when you get to each screen. My air-mouse and hdhomerun were both detected automatically, as were my windows shares. I'm still waiting on my usb-uirt to come in so I can control the tv. Same with my z-wave controller, but I do have the z-wave system working with the ha07 remote on it's own, so I'm fairly certain it will work with little issue. I'll definitely post an update when everything comes in, but I'm really impressed so far. I've also got a nokia 770 I picked up intending to use it for a mobile orbiter so when I get that compiled and working, I'll be even happier. -Ruben

50
Installation issues / Re: System Settings Obliterated
« on: August 01, 2007, 02:26:04 am »
I'm going to go with Zaerc here and point out that if you installed on a fresh kubuntu install like the directions say, there shouldn't be any of "your" settings on there. This is meant to be an install for a new machine, definitely not for something already in use. As far as IPTables and bridging the connection, the getting started pages all state that the core should be setup as the router for your network. Turn off dhcp on your other router and put the LMCE device right after the modem and before it. That way the old router acts as a switch and LMCE does the actual routing. I'll say that I found the LMCE install did backup a lot of the changed settings files with the extension .pbackup or something similar. Even feeling fairly comfortable with LMCE at this point, I don't think I'd try to put the core anywhere other than as the router; it would just lead to too many issues trying to get all the devices to see each other. -Ruben

51
Users / Re: Home Automation Transmitter
« on: July 30, 2007, 09:12:13 pm »
I downloaded the first release of LMCE since it came out and have been playing around with it since then and I'll tell you that insteon was the first HA system I tried but I ran into 2 problems: I don't think LMCE actually supports it yet and 2.) my apartment building is pretty old and only has a 2-wire electrical system so I don't think the insteon stuff was even wired in correctly. With the z-wave it's 2 wires with a ground so it can be put in as a replacement in almost any situation I can think of. As far as the range, I'm not entirely sure of what it is, but do you think putting something like this: http://store.homeseer.com/store/Fixture-Modules-C107.aspx in the line between the playhouse and shop would help? -Ruben

52
Users / Re: Home Automation Transmitter
« on: July 30, 2007, 07:54:41 pm »
I bought one from here the other day, still waiting on it to come in, but I'm pretty sure it's the same model other people have had success with: http://bassburglaralarms.com/zcu000_usb_zwave_interface_103878_prd1.htm

as soon as I clean it up, I'm going to post my experience/tips using LMCE. -Ruben

Pages: 1 2 3 [4]