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

Pages: [1] 2 3 ... 6
1
Users / Re: Roku 2 XS and or boxee
« on: September 13, 2011, 05:13:13 pm »
I also have a Roku, the original base model.  I was able to control it via the ethernet connection.  I used a Hauppauge HD PVR to bring the video into LinuxMCE.  The HD PVR was flaky and the video would freeze at times.  Also, like joerod mentioned, when you do this there is a delay between when the remote is pressed and when the effect of the remote button is seen on screen.  This can be minimized by hooking the Roku directly up to your screen and having LinuxMCE change the screen's inputs to the input the Roku is attached to - but when doing this you lose a lot of the benefits of LinuxMCE (i.e. being able to watch the same thing on multiple screens).

Note: I haven't tried using the Roku with any of the latest releases of LinuxMCE or with the newer Roku devices. I believe the last version I used was around released around the December/January time frame.

2
Users / Re: Roku Netflix Player - MAC address
« on: July 12, 2011, 04:37:11 am »
Thom,

Sorry I haven't been around for a while. I won't have a computer to debug with for several more months, but the nfsend function can be seen in sqlCVS (ir) #399.  Not sure why it isn't showing up in the Ruby code listing.

--esev

3
Installation issues / Re: Gyration Remote keys all wacky
« on: March 04, 2011, 09:17:35 pm »
esev! dude, where have you been? :)

We need dev help! :)

-Thom

I'm been pretty tight on free time for the last few months. I'm moving this summer and also have a baby coming in the next few weeks. Between my day job, finding a new house 600 miles away, and helping out around the house there isn't much time leftover. :( I'll take a peek at Trac tonight to see if there are any little projects I can help with. I'm hesitant to take on anything big at the moment because I don't want to slow up anybody who really needs those fixes/features.

Thanks for asking! :)

About the remotes...  I have several of these gyration air remotes working in my setup. There are a few buttons (the green windows button in particular) that aren't decoded by the stock HID driver.  The patched HID module from the wiki/Trac is the one I'm using.

--esev

4
Installation issues / Re: Gyration Remote keys all wacky
« on: March 04, 2011, 07:47:47 pm »
I have the gyration music remote, the one with the little lcd screen at the top, it works fine apart from the windows button.  This doesn't bring up the main menu like it does with the windowsMCE remote.  Does anybody else have a gyration remote where the windows button works, is there a fix for this, or is it just mine?  Its a real problem when my media freezes and I have to go find a keyboard to plug in to get the menu up so that I can switch the media off.

The music remote isn't supported in older kernels.  You need a newer HID driver.  See here: http://wiki.linuxmce.org/index.php/Gyration_GYR4101US

5
Users / Re: Roku Netflix Player - MAC address
« on: February 14, 2011, 03:36:49 pm »
I"m having trouble getting my roku setup.  First off, my MAC is of the range: 00:0d:4b:5d:XX:XX

But I manually added the Roku as a child device of my core and have the picture exporting to a PVR150 over composite.  The picture works just fine, but I cannot get LMCE to send commands to my device.  I telnet in on port 8080 and am able to manually send commands to the device, but no buttons pressed on my MD or orbiters work.

Under "Device Data" for the Roku player in the admin pages, "COM port on PC" is left as "Please select".

Any help would be greatly appreciated-


There are two Roku templates.  One for IR control and one for TCP/telnet control.  Are you using template #2049 NetflixPlayer_telnet?  If so, you should only need to fill in the IP address.

6
Users / Re: Zwave device stops working and fails to restart
« on: January 15, 2011, 03:35:33 pm »
Just curious.. did anyone look at the files and logs I provided?

I took a look at them, but wasn't able to figure out why it is locking up for you.  At this point, I think we might need to make the soft-reset optional.  I'll have some time to look into this on Monday.

7
Users / Re: Zwave device stops working and fails to restart
« on: January 10, 2011, 06:21:48 pm »
That is interesting.  It locks up right after sending the soft-reset.  Can you share your /var/log/kern.log and /var/log/kern.log.0 with us?  The output of the following would be helpful too:

Code: [Select]
ls -al /proc/5376/fd
It would also help to have a copy of the ZWave process in its stuck state.  You can create a complete snapshot of that process with gcore.  Here is how to run it:
Code: [Select]
gcore <processID>The last line of output after running gcore will be the filename containing the process state.  If you can get us a copy of that file and of your /usr/pluto/bin/ZWave executable that would help us a lot!

8
Users / Re: Zwave device stops working and fails to restart
« on: January 09, 2011, 02:52:53 pm »
Z-Stick:
Still fails to restart.
See the complete log here:
http://www.thorland.org/112_ZWave.log
and here:
http://www.thorland.org/112_ZWave.log.1

Is the Z-Stick still stuck?  If so, can you get us some more information about it?  Login to your linuxmce computer as root and do the following:

First, figure out which process ID belongs to the ZWave driver.
Code: [Select]
ps -ef | grep 112_ZWaveYou should see a line like this:
Code: [Select]
root     23937 23870  0 Jan08 pts/22   00:00:05 /usr/pluto/bin/ZWave -d 183 -r localhost -l /var/log/pluto/183_ZWave.logIn the example above, 23937 is the process ID.

Next, run the following:
Code: [Select]
cd /usr/pluto/bin
gdb ZWave -p <processID>
thread apply all bt full

Keep pressing enter at each of the prompts.  When you get back to the (gdb) prompt, press q to exit and detach from the process.

Paste in the results of running thread apply all bt full, that'll help us track down the problem.  It should look something like this
Code: [Select]
root     23937 23870  0 Jan08 pts/22   00:00:05 /usr/pluto/bin/ZWave -d 183 -r localhost -l /var/log/pluto/183_ZWave.log
root     27399 26904  0 08:42 pts/0    00:00:00 grep ZW
dcerouter_:~# cd /usr/pluto/bin/
dcerouter_:/usr/pluto/bin# gdb ZWave -p 23937
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Attaching to program: /usr/pluto/bin/ZWave, process 23937
Reading symbols from /usr/pluto/lib/libSerializeClass.so...done.
Loaded symbols for /usr/pluto/lib/libSerializeClass.so
Reading symbols from /usr/pluto/lib/libDCECommon.so...done.
Loaded symbols for /usr/pluto/lib/libDCECommon.so
Reading symbols from /usr/pluto/lib/libPlutoUtils.so...done.
Loaded symbols for /usr/pluto/lib/libPlutoUtils.so
Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 0xb71b66c0 (LWP 23937)]
[New Thread 0xb5ffeb90 (LWP 23949)]
[New Thread 0xb67ffb90 (LWP 23947)]
[New Thread 0xb71b5b90 (LWP 23946)]
Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/tls/i686/cmov/libm.so.6...done.
Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/i686/cmov/libc.so.6...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /usr/lib/libmysqlclient_r.so.15...done.
Loaded symbols for /usr/lib/libmysqlclient_r.so.15
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/tls/i686/cmov/libcrypt.so.1...done.
Loaded symbols for /lib/tls/i686/cmov/libcrypt.so.1
Reading symbols from /lib/tls/i686/cmov/libnsl.so.1...done.
Loaded symbols for /lib/tls/i686/cmov/libnsl.so.1
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/tls/i686/cmov/libnss_files.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2
0xb782a430 in __kernel_vsyscall ()
(gdb) bt
#0  0xb782a430 in __kernel_vsyscall ()
#1  0xb7687bf7 in pthread_join () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x080589cf in main ()
(gdb) thread apply all bt full

Thread 4 (Thread 0xb71b5b90 (LWP 23946)):
#0  0xb782a430 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb74d9df1 in select () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x0806e609 in ReadSerialStringEx ()
No locals.
#3  0x08079ce4 in ZWApi::ZWApi::receiveFunction ()
No locals.
#4  0x0807a532 in start ()
No locals.
#5  0xb768750f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#6  0xb74e1a0e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 3 (Thread 0xb67ffb90 (LWP 23947)):
#0  0xb782a430 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb768b075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0xb76c802b in PlutoLock::CondWait (this=0xb67ff33c) at MultiThreadIncludes.cpp:532
iResult = 154139124
#3  0xb778ba76 in DCE::Command_Impl::ProcessMessageQueue (this=0x92ff8f8) at Command_Impl.cpp:827
copyMessageQueue = {
  <std::_List_base<DCE::Message*, std::allocator<DCE::Message*> >> = {
    _M_impl = {
      <std::allocator<std::_List_node<DCE::Message*> >> = {
        <__gnu_cxx::new_allocator<std::_List_node<DCE::Message*> >> = {<No data fields>}, <No data fields>},
      members of std::_List_base<DCE::Message*, std::allocator<DCE::Message*> >::_List_impl:
      _M_node = {
        _M_next = 0xb770922c,
        _M_prev = 0xb77c9ff4
      }
    }
  }, <No data fields>}
itMessageQueue = {
  _M_node = 0xb67ff3b8
}
---Type <return> to continue, or q <return> to quit---
mq = {
  m_sFileName = {
    static npos = 4294967295,
    _M_dataplus = {
      <std::allocator<char>> = {
        <__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
      members of std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider:
      _M_p = 0x930a73c "Command_Impl.cpp"
    }
  },
  m_Line = 822,
  m_LockNum = 104,
  m_bReleased = true,
  m_bLog = false,
  m_bLogErrorsOnly = false,
  m_bGotLock = true,
  m_bIgnoreDeadlock = false,
  m_sMessage = {
    static npos = 4294967295,
    _M_dataplus = {
      <std::allocator<char>> = {
        <__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
      members of std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider:
      _M_p = 0xb767c694 ""
    }
  },
  m_pMyLock = 0x92ffa34,
  m_tTime = 0,
  m_thread = 3061840784
}
#4  0xb77889b0 in MessageQueueThread_DCECI (param=0x92ff8f8) at Command_Impl.cpp:48
p = (warning: RTTI symbol not found for class 'DCE::ZWave'
warning: RTTI symbol not found for class 'DCE::ZWave'
class DCE::Command_Impl *) 0x92ff8f8
#5  0xb768750f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#6  0xb74e1a0e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 2 (Thread 0xb5ffeb90 (LWP 23949)):
#0  0xb782a430 in __kernel_vsyscall ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#1  0xb74d9df1 in select () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb7775289 in DCE::Socket::ReceiveData (this=0x92ff8f8, iSize=1, pcData=0xb5ffd258 "\n", nTimeout=-1) at Socket.cpp:760
tv = {
  tv_sec = 0,
  tv_usec = 696000
}
tv_select_1 = {
  tv_sec = 1294580542,
  tv_usec = 723432
}
tv_select = {
  tv_sec = 0,
  tv_usec = 999664
}
iRet = 0
rfds = {
  fds_bits = {128, 0 <repeats 31 times>}
}
tv_total = {
  tv_sec = -662,
  tv_usec = 993200
}
tv_select_2 = {
  tv_sec = 1294580542,
  tv_usec = 723430
}
nInternalReceiveTimeout = 0
iBytesLeft = 1
sSM = {
  m_sFileName = {
    static npos = 4294967295,
    _M_dataplus = {
      <std::allocator<char>> = {
        <__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
      members of std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider:
      _M_p = 0x934e73c "Socket.cpp"
    }
  },
  m_Line = 689,
---Type <return> to continue, or q <return> to quit---
  m_LockNum = 861,
  m_bReleased = false,
  m_bLog = 177,
  m_bLogErrorsOnly = true,
  m_bGotLock = true,
  m_bIgnoreDeadlock = true,
  m_sMessage = {
    static npos = 4294967295,
    _M_dataplus = {
      <std::allocator<char>> = {
        <__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
      members of std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider:
      _M_p = 0xb767c694 ""
    }
  },
  m_pMyLock = 0x92ff948,
  m_tTime = 1294579881,
  m_thread = 3053448080
}
clk_start = 3300000
clk_select1 = 0
clk_select1b = 0
clk_select2 = 0
clk_select2b = 0
#3  0x080692fc in DCE::Command_Impl::ReceiveData ()
No locals.
#4  0xb77748c8 in DCE::Socket::ReceiveString (this=0x92ff8f8, sRefString=@0xb5ffe374, nTimeout=-1) at Socket.cpp:884
acBuf = "\n\000\000\000??b?\224?/\t\000\000\000\000\000\000\000\000\000???\000\000?e\000\000\000?\001\000\000\000?????????\204^\177\022?5@\002", '\0' <repeats 11 times>, "?\237U?\000\000\000\000?ZS?\220???\004\000\000\000\003\000\000\000@?U?0???????????\003\000\000\0000?4\tt\vG??\237g?0?4\t\224?/\t?????\204^\177\022?5@????0?4\t@?U?\002\000\000\000\030\000\000\000d?S?.", '\0' <repeats 15 times>, "????\f\000\000\000\006\000\000\000\000\000\000\000\000???\000\000\000\000\003\000"...
pcBuf = 0xb5ffd258 "\n"
iLen = 4095
#5  0x0806917b in DCE::Command_Impl::ReceiveString ()
No locals.
#6  0xb77a26f7 in DCE::HandleRequestSocket::RunThread (this=0x92ff8f8) at HandleRequestSocket.cpp:125
sMessage = {
  static npos = 4294967295,
  _M_dataplus = {
    <std::allocator<char>> = {
---Type <return> to continue, or q <return> to quit---
      <__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
    members of std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider:
    _M_p = 0x93509e4 "MESSAGE 67", ' ' <repeats 12 times>
  }
}
#7  0xb77a25d7 in BeginHandleRequestThread (HRqSock=0x92ff8f8) at HandleRequestSocket.cpp:31
pCS = (warning: RTTI symbol not found for class 'DCE::ZWave'
warning: RTTI symbol not found for class 'DCE::ZWave'
DCE::HandleRequestSocket *) 0x92ff8f8
#8  0xb768750f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#9  0xb74e1a0e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Thread 1 (Thread 0xb71b66c0 (LWP 23937)):
#0  0xb782a430 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7687bf7 in pthread_join () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x080589cf in main ()
No locals.
#0  0xb782a430 in __kernel_vsyscall ()
(gdb) q
The program is running.  Quit anyway (and detach it)? (y or n) y
Detaching from program: /usr/pluto/bin/ZWave, process 23937

9
Users / Re: Zwave device stops working and fails to restart
« on: December 14, 2010, 10:35:25 pm »
i'd suspect that we should not try to acquire the mutex a 2nd time in dropSendQueueJob()...

When I added dropSendQueueJob(), I changed the mutex so that it is recursive.  dropSendQueueJob() should be able to acquire the mutex a second time from the same thread, as should zwSoftReset().
seen that but it looks like it hangs there..

I'm not understanding.  Are you saying the mutex is getting corrupted?

I see in the log it prints out "ERROR: Three dropped commands in a row, soft-resetting controller".  In dropSendQueueJob() this happens after the mutex is unlocked.  Then there is the "Soft-resetting the Z-Wave chip" from zwSoftReset().  Then I see the "Sending job..." which occurs from WriteSerialStringEx() back in the main receiveFunction() loop.

I was thinking the mutex was okay, otherwise the receiveFunction() wouldn't be able to acquire it again before calling WriteSerialStringEx().  But maybe, since this is all happening in the same thread, the mutex doesn't get unlocked as many times as it is locked - and then outside threads cannot add new things to the queue.

I was pretty sure there was a matching unlock for every mutex lock, but I'll take another look at the code again tonight.  Hari, if you could take a look too I'd appreciate having a second set of eyes looking at the code too.  It was from changeset 23385

10
Users / Re: Zwave device stops working and fails to restart
« on: December 14, 2010, 05:59:23 pm »
i'd suspect that we should not try to acquire the mutex a 2nd time in dropSendQueueJob()...

When I added dropSendQueueJob(), I changed the mutex so that it is recursive.  dropSendQueueJob() should be able to acquire the mutex a second time from the same thread, as should zwSoftReset().

11
Users / Re: Zwave device stops working and fails to restart
« on: December 14, 2010, 03:12:07 am »
I wonder why the last send attempt does not run into a timeout (after the soft reset)..

Another question is why are there no more "Sending job" messages after the soft reset and no more 30 second polls.  It's like the main send/receive thread stopped working.

12
Users / Re: Zwave device stops working and fails to restart
« on: December 13, 2010, 04:45:38 pm »
Well then back to the original thread :-)

Believe this is where it "dies"...
Have been away for a few days and now it is no0t working again..
If it were a sleep issue I believe it would have appeared the first night...

Quote from log:
Code: [Select]
01 12/08/10 13:05:30.671 ERROR: Three dropped commands in a row, soft-resetting controller <0xb71a2b90>
36 12/08/10 13:05:30.671 Soft-resetting the Z-Wave chip <0xb71a2b90>
40 12/08/10 13:05:30.771 Sending job 0xa3df8c8 (cb 0) - 0x1 0x3 0x0 0x8 0xf4 (#####) <0xb71a2b90>
36 12/08/10 15:34:55.061 Received command for child <0xb61a0b90>
36 12/08/10 15:34:55.061 ON RECEIVED FOR CHILD 19/0 <0xb61a0b90>

Is it possible that the serial port goes away temporarily when the Z-Wave chip is reset?  I never encountered this when testing the soft-reset on Tricklestar hardware.  Do you see any Plug-and-play events happening around the same time as the soft-reset took place?

Just curious, do you have any wireless devices in your house operating around 900 MHz?  Maybe a cordless phone, wireless speakers, or a video monitor?

13
Installation issues / Re: Rookie in need of some help
« on: November 15, 2010, 09:24:47 pm »
Ok after removing the quiet splash and rebooting the md I end up with a prompt saying network is unreachable after a whole bunch of other information.

I should have warned you about information overload on those screens.  :D Could you provide us with the exact error you are getting?  Or maybe upload a picture of the error screen with enough detail so we can read the error?

14
Installation issues / Re: Rookie in need of some help
« on: November 15, 2010, 08:25:45 pm »
Which kubuntu bar are you getting?  The one that moves back and forth across the screen, or the one that moves from left to right?  If it's the former I'd say this is a kernel issue and maybe it is not properly connecting back to the core correctly after initially downloading the kernel.

Try this...  In a terminal window type:
  ls /tftpboot/pxelinux.cfg/

You should see a file named after the MAC address of your MD.  Edit that file
  sudo nano /tftpboot/pxelinux.cfg/<mac_address>

Inside the file you'll see a line that looks like this:
APPEND initrd=50/initrd.img ramdisk=10240 rw root=/dev/nfs boot=nfs nfsroot=192.168.80.1:/usr/pluto/diskless/50 quiet splash

Modify that line by removing the quiet and splash from the end.  This will turn off the splash screen and let you see any errors coming from the kernel.

15
Installation issues / Re: Rookie in need of some help
« on: November 15, 2010, 06:53:50 pm »
Cableing issue taken care of media director showing up in dhcp leases as moon 40. But whenever I try to net boot I get it to load up to the kubuntu bar and then it goes to a blinking white cursor? I have been chasing this thing all day now and am running out of ideas.

I don't have a Revo so I don't think I can help too much, but... Does your Acer Revo have a wireless card?  If so, check out the wiki page for instructions on disabling it.

Pages: [1] 2 3 ... 6