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

Pages: 1 ... 4 5 [6] 7 8 ... 10
76
Installation issues / Re: alpha 2.28 issues
« on: August 14, 2009, 01:37:16 pm »
I have now updated to 2.29 and still have issues adding an MD.

huh
What version are you running. 

Pigdog.
Have you tried adding your MD's yet. I will do a reload if it works for you.

gadget

77
Users / Re: How to Install D-Link DNS-323 on LinuxMCE-810
« on: August 12, 2009, 02:21:13 pm »
I have updated my /usr/pluto/bin/Network_Setup.sh script to add  "client lanman auth = yes" so that any changes made to networking will not lose the setting. I have attached it here as it will be required for anyone who wants username/password security with 8.10.

My understanding is that once the DNS-323 is setup as per the wiki it is going to be PnP as a normal samba share. How is a device template going to improve/help with making it PnP???

gadget

78
Installation issues / alpha 2.28 issues
« on: August 12, 2009, 02:00:40 pm »
I have upgrade to alpha 2.28 and have now got the following issues.

1. From an MD i was unable to connect to the Internet. I was able to fix it with the following command
Code: [Select]
echo 1 >> /proc/sys/net/ipv4/ip_forwarding

2. I am now unable to create a new MD. The PXE boot process starts but just after the network comes up I get a message that it can't connect to the router and reboots.

gadget

79
Installation issues / Re: Adding stuff - howto change IPTABLES?
« on: August 12, 2009, 01:56:07 pm »
Hi Wierdbeard,

In the admin site under advanced - > Network is the Firewall rules page. These rules are will generate IPTABLES rules.

gadget

80
Users / Re: Mounting (NAS-323) Windows Share on 810.A2.26
« on: August 04, 2009, 02:13:36 pm »
Hi Pigdog,

You are correct. I did a test with smbclient using smbclient - u ""%"" and lanman auth is not required.
However i still think the Network_Setup.sh script requires the lanman auth for anyone adding a NAS that would like it to be secure by using a username/password.

gadget

81
Installation issues / Re: Mythtv frontend won't load
« on: August 04, 2009, 01:48:26 pm »
You say you haven't hooked up a cable yet so have you configured Myth as per the wiki. TV wont work until the cards have been defined.
http://wiki.linuxmce.org/index.php/MythTV

gadget

82
Users / Re: Mounting (NAS-323) Windows Share on 810.A2.26
« on: August 04, 2009, 01:25:10 pm »
I don't know if this is related but I have a Fedora 11 box that i have configured as a NAS server. Once I got passed the configuration stage of letting LMCE create the folder structure my Media was not visible on the orbiter. I did some digging around in the storage/network scripts and had to add  "client lanman auth = yes"  to the script "Network_Setup.sh", or you can add it directly to smb.conf.

I found that StorageDevices_StatusRadar.sh checks if a device is online using the smbclient as follows, and was always failing.
Code: [Select]
smbclient -U $Share_Username%$Share_Password "//$Device_IP/$Share_Name" -c 'pwd' 1>/dev/null 2>/dev/null


to test if your NAS device is online run this script from the core. If it returns 1 then your device is online.
Code: [Select]
/usr/pluto/bin/StorageDevices_StatusRadar.sh background


This solved my problem, hope it helps.

gadget

83
Installation issues / Re: GC100 vs USB-UIRT
« on: July 14, 2009, 03:13:38 pm »
I have done some further testing using "simpleir" from the global cache website and transmitting the pronto code with it also doesn't work, so there must be an issue with the GC100 itself. I know port 1 of the GC100 works as i am controlling my receiver with it. I have also switched the ports and it still doesn't work.

gadget

84
Installation issues / Re: New device not showing on media tab
« on: July 14, 2009, 02:18:54 pm »
I have managed to get my cable box displaying as an option now in the media tab. I originally had the template configured with a single input with no control. Once I changed it to mutiple discrete inputs but only select 1 (Live TV) i got my device and can now control it from my PDA orbiter.

gadget

85
Developers / Re: Help with Ruby Code
« on: July 14, 2009, 02:10:12 pm »
My device has stopped working now and I get the following error when the device initializes or when  i do a Messagesend.
Code: [Select]
========== NEW LOG SECTION ==========
1 07/14/09 22:03:52 107 (spawning-device) Starting... 1
1 07/14/09 22:03:52 107 (spawning-device) Found /usr/pluto/bin/Generic_Serial_Device
01 07/14/09 22:03:54.346 GSD Port is not specified. Instantiating non-IO Wrapper. <0xb60ddb90>
RCODE:
   0:require 'Ruby_Generic_Serial_Device'
   1:class Command < Ruby_Generic_Serial_Device::RubyCommandWrapper
   2:end
   3:class Device_107 < Ruby_Generic_Serial_Device::RubySerialWrapper
   4:#### 192 ####################################################################
   5:def cmd_192(pk_pipe, pk_device_pipes, cmd=nil)
   6:@returnParamArray.clear
   7:conn_.Send("(PWR1)")
   8:
   9:return @returnParamArray
  10:end
  11:#### 193 ####################################################################
  12:def cmd_193(pk_pipe, cmd=nil)
  13:@returnParamArray.clear
  14:conn_.Send("(PWR0)")
  15:
  16:return @returnParamArray
  17:end
  18:#### 355 ####################################################################
  19:def cmd_355(cmd=nil)
  20:@returnParamArray.clear
  21:# Initialize --- Date: 22.06.2009
  22:
  23:initok=false
  24:
  25:
  26:# It doesn't respond to anything but power on when it's off.  Before turning it on and off
  27:# See if it responds to something it normally would while it's on
  28:
  29:for iRetry in 0...4
  30: print "Initializing unit\n"
  31: conn_.Send("(PWR?)")
  32: buf = conn_.Recv(200, 1000)
  33: if( !buf.nil? && !buf.index("(PWR1)" ).nil? )
  34:        print "Initialized ok\n"
  35: initok=true
  36: break
  37: else
  38: print "Query to device responds On Already \n"
  39: end
  40:end
  41:
  42:# if initok==false
  43:# for iRetry in 0...4
  44:# print "Initializing unit\n"
  45:# conn_.Send("(PWR1)")
  46:# sleep(3);
  47:# conn_.Send("(PWR?)")
  48:# buf = conn_.Recv(200, 4000)
  49:# if( !buf.nil? && (!buf.index("(PWR1)").nil? ))
  50:# print "Initialized ok from off state\n"
  51:# initok=true
  52:# break
  53:# else
  54:# print "Failed to initialize\n"
  55:# end
  56:# print "Failed to initialize.  Wait 1 secs and try again\n"
  57:# sleep(1)
  58:# end
  59:#end
  60:
  61:if initok==false
  62: # DisableDevice( device_.devid_, true )
  63: print "The device wouldn't respond. Disabling it.\n"
  64: return
  65:end
  66:
  67:print "Initialized ok, doing log\n"
  68:
  69:$logFile = File.new("/var/log/pluto/InfocusIN74.log", "w")
  70:return @returnParamArray
  71:end
  72:#### START SETTERS ####################################################################
  73:def initialize()
  74:super
  75:@returnParamArray=Array.new
  76:end
  77:####  END  SETTERS ####################################################################
  78:end
 80:01 07/14/09 22:03:54.412 Error while calling method: Cannot call class method: cmd_355
error: undefined local variable or method `conn_' for #, line: 31
backtrace:
in: (eval): 31
from (eval):31:in `cmd_355'
from (eval):29:in `each'
from (eval):29:in `cmd_355'


86
Installation issues / New device not showing on media tab
« on: July 08, 2009, 01:28:05 pm »

I have been creating some new device templates for my Receive/DVD/Projector and Cable box and i am unable to get the cable box to display as a device on the media tab. I do have the radio for my receiver and TV/DVD for my DVD player but cannot get the cable box to show.

If i go to the resend codes the device is however there, but i don't get a nice orbiter controller window.
which of the options in the template result in a device being added to the media tab.

gadget

87
Installation issues / Re: GC100 vs USB-UIRT
« on: July 03, 2009, 04:23:44 pm »
Hi Thom,

This is the log of the 2 devices when sending the 'ON' command.

Code: [Select]
GC100

10 07/03/09 23:58:39.885 Sending IR to port '2:1', code '0000 006D 0022 0002 0155 00AB 0016 0015 0016 0040 0016 0015 0016 0015 0016 0040 0016 0015 0016 0040 0016 0040 0016 0040 0016 0015 0016 0040 0016 003F 0016 0015 0016 0040 0016 003F 0016 0015 0016 0015 0016 0015 0016 0040 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 003F 0016 0040 0016 0015 0016 003F 0016 0040 0016 0040 0016 003F 0016 0040 0016 05BB 0155 0055 0016 0E35' <0xb71c0b90>
10 07/03/09 23:58:39.885 SendIR wrapper: Port = 2:1 code = 0000 006D 0022 0002 0155 00AB 0016 0015 0016 0040 0016 0015 0016 0015 0016 0040 0016 0015 0016 0040 0016 0040 0016 0040 0016 0015 0016 0040 0016 003F 0016 0015 0016 0040 0016 003F 0016 0015 0016 0015 0016 0015 0016 0040 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 003F 0016 0040 0016 0015 0016 003F 0016 0040 0016 0040 0016 003F 0016 0040 0016 05BB 0155 0055 0016 0E35 <0xb71c0b90>
10 07/03/09 23:58:39.885 SendIR_Loop: Port = 2:1, Times = 1 <0xb71c0b90>
10 07/03/09 23:58:39.885 SendIR: Port = 2:1 <0xb71c0b90>
10 07/03/09 23:58:39.885 convert_pronto: Total code length is 379, expecting 379 <0xb71c0b90>
10 07/03/09 23:58:39.885 SendIR: Result of Pronto conversion was: 38000,2,69,341,171,22,21,22,64,22,21,22,21,22,64,22,21,22,64,22,64,22,64,22,21,22,64,22,63,22,21,22,64,22,63,22,21,22,21,22,21,22,64,22,21,22,21,22,21,22,21,22,21,22,63,22,64,22,21,22,63,22,64,22,64,22,63,22,64,22,1467,341,85,22,3637 <0xb71c0b90>
21 07/03/09 23:58:39.885 lock(0x84f6310) (>358) gc100: gc100.cpp:1307  <0xb71c0b90>
21 07/03/09 23:58:39.885 acquired(0x84f6310) #0 (>358) gc100 gc100.cpp:1307  <0xb71c0b90>
10 07/03/09 23:58:39.885 Sending command sendir,2:1,1,38000,2,69,341,171,22,21,22,64,22,21,22,21,22,64,22,21,22,64,22,64,22,64,22,21,22,64,22,63,22,21,22,64,22,63,22,21,22,21,22,21,22,64,22,21,22,21,22,21,22,21,22,21,22,63,22,64,22,21,22,63,22,64,22,64,22,63,22,64,22,1467,341,85,22,3637

 <0xb71c0b90>
10 07/03/09 23:58:40.256 Reply received from GC100: completeir,2:1,1 <0xb61beb90>
10 07/03/09 23:58:40.256 Finished sending IR <0xb71c0b90>

USB-UIRT
10 07/04/09 0:00:39.038 UsbUirt Sending with repeat 1: 0000 006D 0022 0002 0155 00AB 0016 0015 0016 0040 0016 0015 0016 0015 0016 0040 0016 0015 0016 0040 0016 0040 0016 0040 0016 0015 0016 0040 0016 003F 0016 0015 0016 0040 0016 003F 0016 0015 0016 0015 0016 0015 0016 0040 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 003F 0016 0040 0016 0015 0016 003F 0016 0040 0016 0040 0016 003F 0016 0040 0016 05BB 0155 0055 0016 0E35 <0xb5fa6b90>

The pronto codes are the same but the GC100 seems to convert it before sending.

gadget

88
Installation issues / Re: GC100 vs USB-UIRT
« on: July 02, 2009, 04:15:01 pm »
Hi Thom

I have only been checking the GC100 log so will check what i get from the others this weekend. I have noticed that there is a lot more logging in the GC100 source. How do i enable more logging?.

gadget

89
Installation issues / Re: GC100 vs USB-UIRT
« on: July 01, 2009, 12:59:02 pm »
Hi Thom,

Yes, I am using 810 because of the GC100 not working in 710. The strange thing is that it "was" working on port1 with my amplifier and port 3 to my cable box initially. I then got a new cable box which required the learning hence the purchase of the USB-UIRT to do the learning. Somewhere in between it stopped working. I have rebooted with and without the USB-UIRT without luck.

I have a development VM built and I will attempt to look at the GC100 code , but have no C++ experience. If you can point me to where approx in the code or which function to focus on i may be able to find something.   

gadget

90
Installation issues / Re: GC100 vs USB-UIRT
« on: July 01, 2009, 05:01:35 am »
I have switched the controlled via back to the GC100 ( and selected port) but it doesn't do anyhthing. light on port an IR do show activity though. When I then switch the controlled by to the USB-UIRT it works OK.

gadget

Pages: 1 ... 4 5 [6] 7 8 ... 10