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 - twodogs

Pages: 1 2 3 [4] 5 6 ... 15
46
Users / Re: 1wire support
« on: January 25, 2012, 11:36:08 pm »
No luck here either. I rebooted the system. I expected a "some devices failed to load" error but did not get one. I saw the 1-wire device load during the start sequence. So I had some hope, but the template still only has serial ports showing (like in the picture above). I tried
Code: [Select]
cd usr/pluto/bin
sh UpdateAvailableSerialPorts.sh 
It appeared to run without error but the template still showed only rs232 ports. My 1-wire log shows the exact same error 22 that Techstyle reported in post 153. Plugging or unplugging the temp sensor to the adapter has no effect - still get error 22.

47
Users / Re: 1wire support
« on: January 25, 2012, 03:08:27 pm »
The shot is my 0810 installation, but it appears to be the exact same template in 1004.

48
Users / Re: 1wire support
« on: January 25, 2012, 01:43:56 pm »
Here are a few pictures. The adapter plugs into the USB port, then a phone cable with sensors plugs into the adapter. I only have one temp sensor on a short pigtail right now, but the house is wired for temp sensing in almost every room. My plan is to use this info to make decisions for the HVAC system.

One of the problems is that the template won't allow me to select the ttyUSB port the adapter is connected to. It only allows me to select ttyS0-3 (rs232 ports).







49
Users / Re: 1wire support
« on: January 25, 2012, 02:56:00 am »
I plugged my adapter into my working 0810 installation and got the same result. Looks like things are trying to work - apparently the device is recognized and assigned to a USB port. The 1-wire software appears to attempt a handshake but can't quite get there. So maybe there is hope for us. I had just about resigned myself to finding a new rs232 adapter.

50
Users / Re: 1wire support
« on: January 24, 2012, 07:20:08 pm »
Damn! If only I'd held out a little longer, you'd be floundering and I'd be watching.

Forgot to mention that I've set this up on a 1004 test rig (not my installed 0810 system).

Twodogs

51
Users / Re: 1wire support
« on: January 24, 2012, 07:00:21 pm »
It is a DS9490R that I bought from Hobby Boards some time ago.

http://www.hobby-boards.com/catalog/product_info.php?products_id=1503

Hari's comment that the 1-wire adapters usually show up as serial devices was interesting. I think I have one of the few that actually show up as USB devices. The output of "LSUSB is...

Code: [Select]
Bus 002 Device 003: ID 04fa:2490 Dallas Semiconductor DS1490F 2-in-1 Fob, 1-Wire adapter

I wanted to see if I could get this device running on my Ubuntu 11.04 desktop. The following links were helpful - the first shows how to install the software, and the second shows how to bring the DS9490R to life. Combining the instructions got things working.

https://help.ubuntu.com/community/1wireSoftware
http://apartment-automation.blogspot.com/2009/09/installing-1-wire-usb-adapter-ds9490r.html

To prepare, insert the DS9490R into the USB port (without the temperature sensor)
download latest owfs tar from sourceforge. Paste in /usr/src and extract.
Then...
Code: [Select]
sudo apt-get install automake autoconf autotools-dev gcc g++ libtool libusb-dev fuse-utils libfuse-dev swig python-dev tcl8.4-dev php5-dev
cd /usr/src/owfs-2.8p14
./configure
make
sudo make install
sudo mkdir /media/1-wire
sudo /opt/owfs/bin/owfs --allow_other -u /media/1-wire

-u key means USB and "/media/1-wire" is mountpoint and --allow_other means that non-root users can read 1-wire directory.
Plug the temp sensor into the DS9490R
Open the folder /media/1-wire and look for a folder named 10.E66CE1010800 or similar. It should contain a "temperature" file that shows the Celsius readout.

So awesome, now I've got it working in Ubuntu. Next question is how much effort to make it work with LMCE? Maybe I have to  change some configuration file to contain the -u option for USB? Also maybe change the LMCE 1-wire template so that it gives me something other than serial port options? As always, I'm feeling like a weak swimmer in deep waters!

52
Users / Re: 1wire support
« on: January 24, 2012, 01:23:14 am »
It also looks like DragonK might not have completed the install of his USB 1-wire system.

53
Users / Re: 1wire support
« on: January 23, 2012, 08:27:41 pm »
I've reread this topic many times, and still completely confused. I have a USB 1-wire adapter as shown in the picture. When I go to add the interface, there is only a single option (1wire template 2161). When I pick the template, it seems that the correct software downloads. However when I go to configure the device, the only options I get are rs232 ports, not USB. The wiki seems to indicate that only rs232 adapters are supported. But earlier in this thread, both _if_ and Gangsingen state that they have USB devices working (see links). How can I get my USB device to work?

Twodogs

http://forum.linuxmce.org/index.php/topic,11328.msg86425.html#msg86425
http://forum.linuxmce.org/index.php/topic,11328.msg79599.html#msg79599
http://wiki.linuxmce.org/index.php/1-Wire_Basics




54
Installation issues / Re: [SOLVED] Cisco 7970 - All click and No Orbit
« on: January 22, 2012, 03:00:35 pm »
Working now. This thing is pretty slick!

I did not do a factory reset. Just went into the phone's menu "Settings - Network Settings - DHCP" I hit **# to unlock, then I pressed "erase settings". This seemed to get rid of the previous locked and stored IP address. I added the mac address into the LMCE Cisco 7970 template (per the wiki). There were already a bunch of addresses, but I left these and added mine at the bottom.  I did not do a factory reset or anything else except plug into LMCE. The 7970 screen stayed black, and it seemed to power cycle about 30 times (I think this is what the phone does when it is loading software). Then the screen flashed a few times, then the software load box appeared in LMCE, then it requested to reload orbiter a few times. Then the phone stayed on for good and tried to register for a few minutes. After it registered I did another reload router and the orbiter screen popped up.

Twodogs

55
Installation issues / [SOLVED] Cisco 7970 - All click and No Orbit
« on: January 20, 2012, 11:36:03 pm »
Trying to install my 7970 (actually it is a 7971G-GE). Have high hopes for making this an awesome phone and orbiter, but following the wiki only got me a few flashing buttons and clicking noises. I have downloaded the 101 page users guide and the 257 page admin guide and dug through endless websites trying to figure this thing out. It appears to retain its configuration from its previous owner. It also shows a locked padlock icon at upper right of the screen. I checked the admin guide and found that **# unlocks the settings. I also found the procedure for a factory reset on page 9-16 as follows:

Quote
When you perform a factory reset of the Cisco Unified IP Phone, the following information is erased or
reset to its default value:
• CTL file—Erased
• LSC—Erased
• User configuration settings—Reset to default values
• Network configuration settings—Reset to default values
• Call histories—Erased
• Locale information—Reset to default values
• Phone application—Erased (phone recovers by loading the appropriate default load file
     (term75.default.loads, term71.default.loads, term70.default.loads, term65.default.loads, or
    term45.default.loads) depending on the phone model)

Before you perform a factory reset, ensure that the following conditions are met:
• The phone must be on a DHCP-enabled network.
• A valid TFTP server must be set in DHCP option 150 or option 66 on the DHCP server.
• The default load file for your phone model and the files specified in that file should be available on
   the TFTP server that is specified by the DHCP packet.

Does LMCE meet the conditions required for a reset or is there additional software that I must load? Is a factory reset a bad idea? I don't want to make work for myself. Maybe I only have to manually enter a few configuration fields and the rest is automatically rewritten when it connects to LMCE. Also, the wiki says I must enter the converted MAC address (using the script) into the template. I notice there are many other MAC addresses in the template - should I delete all of these or add mine to them?

-Twodogs





56
Users / Re: General NAS Questions
« on: January 19, 2012, 08:11:36 pm »
Thom, very interesting to know that this is feasible. Klovell, I hear what your are saying about the on/off cycling and the boot time. I guess it depends upon frequency of use. We sometimes go a week or more without watching a movie on LMCE so cycling would not be a terrible problem for us. Leaving the freenas box on 24/7 would increase my automation system energy use by over 50%

LMCE box - 70 watts (idle)
Network equipment - 18 watts
Synology NAS - 17 watts (idle)
FreeNAS box - 53 watts (idle)

As for boot time, I came up with an idea that might make this more bearable, or even fun. When "video" is selected, the NAS boot sequence would be initiated. During the boot interval, a "short" would begin to play. Cartoons, Three Stooges, SNL digital shorts, etc. could be stored on the LMCE machine and picked at random. Hmmm.

A different energy-efficient use for the FreeNAS box might be to install two drives (non-raid), and have it boot once per week to rsync from NAS drive A to NAS drive B, then rsync from LMCE to NAS drive A. That would give me the latest and next-to-latest backups of my LMCE setup (a little like Apple's time machine).

57
Users / Re: General NAS Questions
« on: January 19, 2012, 04:58:05 pm »
Very helpful replies. I had never messed with port forwarding, but it only took about a minute to set up - works great.

58
Users / Re: General NAS Questions
« on: January 19, 2012, 06:30:56 am »
Will do. I also set up a FreeNAS box in addition to my Synology, so I'll have a go at each of them. Another issue I noticed tonight is that I can't log into the NAS from my laptop. When I enter 192.168.80.132:80 into Firefox on my desktop (LMCE internal net) I get right in. Trying this on my laptop doesn't work. The wireless router (WRT54) is on the external net, but I have the LinuxMCE firewall disabled (the router's firewall is on). See attached picture. Maybe this is a permissions issue?




59
Users / Re: Best use for a NAS?
« on: January 18, 2012, 08:47:14 pm »
Is this wishful thinking or is it possible (or even easy)?
  • All video stored on NAS
  • NAS normally off
  • Select "Video" on LMCE orbiter
  • NAS wakes on LAN and plays movie
  • After movie is over, the NAS times out and turns itself off

60
Installation issues / Re: Phone line admin page is missing in 1004
« on: January 15, 2012, 09:09:59 pm »
Thanks Dave. Seems like were having the same problems. I'll call this thread solved since the admin page is working. I'll keep an eye on your thread for solutions to the asterisk problems. For now, I'll just keep going with my 0810 installation because I rely on my VOIP phone.

Foxi, I know you're doing a lot of work on 1004 telecom - looks like you're making good progress. Thanks for doing it.

Twodogs

Pages: 1 2 3 [4] 5 6 ... 15