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

Pages: 1 [2] 3
16
Users / Windows Orbiter Error
« on: March 23, 2008, 04:05:24 am »
Gang--

I've had a windows orbiter running on an XP machine for some time.  I picked up a new tablet to use as a touchscreen orbiter.  It's running windows Vista.  I installed the Windows orbiter, but when trying to run it, I get an error message that says
Code: [Select]
"Unable to download UpdateBinary to 'UpdateBinary.exe' folder. Please check if the 'Path' device data is correct."
Clicking the OK button starts the orbiter correctly.

Looking at the XP machine, it has a file named updatebinary.exe in the Pluto folder, but this file is not present on the Vista machine.  Has anyone seen this before?

Thanks a lot!
-Pete

17
Developers / MySQL error when trying to create new codeset
« on: March 10, 2008, 01:01:01 am »
I'm getting an error when trying to generate a new codeset from the webadmin with 0710 b4. 

The Mantis report is here:
http://mantis.linuxmce.org/view.php?id=4038

I'm fairly certain this was working in 0704 (my previous) installation.  I'm getting the same problem with the AMD64 build installing from both the DVD and CDs.  Can anyone confirm this issue? I'd like to see if this is present in the x86 versions, and it's going to take me some time to download that version.

Thanks,
-Peter

18
Users / Alternative source for .torrents?
« on: February 09, 2008, 03:05:40 am »
It looks like the pirate bay links from the download section aren't working (http://www.thepiratebay.org is down, though pings are working). Curiously, it looks like the direct file links to the older .torrent files on the mirrors page seem to work.  Does anyone have the direct links to the current .torrent files?

19
Developers / Starting a device
« on: November 26, 2007, 12:06:43 am »
I'm having a problem getting my Insteon device to start when starting LinuxMCE.  I can start the executable correctly by executing

/usr/pluto/bin/Insteon -d 63


63 is the device number of the Insteon Interface.  It won't run correctly if I don't add the -d parameter.  I'm not sure this is correct, but  I got it working this way and haven't gotten around to looking at this until now. 

The LMCE launch manager tries to launch the device, but the status window says that it timed out waiting for the Insteon device to register.

The device logs shows:

== ATTEMPT FRESH START ==
1   11/25/07 14:24:07   /usr/pluto/bin/Spawn_Device.sh 63 (spawning-device)   21116 Dev: 63; Already Running list: 15,16,17,18,27,37,
== FRESH START ==
1   11/25/07 14:24:07   /usr/pluto/bin/Spawn_Device.sh 63 (spawning-device)   device: 63 ip: localhost cmd_line: Insteon
0   11/25/07 14:24:07   63 (spawning-device)   Entering 63
========== NEW LOG SECTION ==========
1   11/25/07 14:24:07   63 (spawning-device)   Starting... 1
1   11/25/07 14:24:07   63 (spawning-device)   Found ./Insteon
Return code: 126
3   11/25/07 14:24:07   63 (spawning-device)   Device died... count=1/50 dev=63
Sun Nov 25 14:24:07 PST 2007 died
========== NEW LOG SECTION ==========



I need to get this working for release, so any help is appreciated.

20
Developers / Problems communicating using GC100 with a GSD
« on: November 18, 2007, 09:15:23 am »
Hi gang

I'm having some trouble controlling my Denon receiver connected to a GC100.  The GC100 setup scripts are a little loopy with the new (3.0) firmware version, but I hacked around and managed to get gc-100-serial-bridge-sh functioning correctly.  It basically creates a socket to the GC100's serial port (at port 4999 on its IP address) and maps it to a serial device (/dev/TTYS_89_0) on the core.  Now, I can echo commands to the port and they work to control the device. For example, when I type:

Code: [Select]
echo -en "PWON\r" >> /dev/ttyS_89_0
It turns on.  The problem that I'm having is that, using the Denon AVR template, which has Ruby codes for the device, I can't get it to work.

Here's the command response:
Code: [Select]
Message Sent succesfully.
/usr/pluto/bin/MessageSend localhost -r 0 93 1 193 97 ""
Response was:
RESP: OKMessage Sent succesfully.
/usr/pluto/bin/MessageSend localhost -r 0 93 1 193 97 ""
Response was:
RESP: OK

The device number is 93.

The logs show:
 
Code: [Select]
31:05 11/17/07 23:54:09.742 GSDMessageTranslator isCmdImplemented = true <0xb6096b90>
05 11/17/07 23:54:09.743 #### Pre-Process Queue = 1 <0xb6096b90>
05 11/17/07 23:54:09.758 _QueueProc Pre - 193 : 0 <0xb7899b90>
05 11/17/07 23:54:09.758 GSD-Sleep Pre 193 : 0 <0xb7899b90>
05 11/17/07 23:54:09.759 Process Queue = 1 <0xb7899b90>
05 11/17/07 23:54:09.779 Parameter:  <0xb5895b90>
05 11/17/07 23:54:13.783 GSD-Sleep Post 193 : 4000 <0xb7899b90>
05 11/17/07 23:54:13.783 _QueueProc Post - 193 : 4000 <0xb7899b90>

Anyone have any ideas on where I go from here to debug?

Thanks,
-PeteK




21
Developers / GC100 v3.0 not working
« on: November 14, 2007, 09:00:44 am »
Hi--

I got a new GC100 the other day, with firmware version 3.0.  I plugged the unit in, verified that it got an IP via DHCP, but when I reset it to factory defaults and press "Add GC100," I get a failure message.  Something must have changed in the new firmware version.  My prime suspect is that the default is now to enable DHCP.  This is the mode it reverts to when it's factory reset (I'm guessing, as that is how it's shipped from the factory).  Does anyone know how the detection script works?

Zaerc?

Thanks,
-Pete

22
Users / CD Ripping script does not use quality subsettings set in webadmin
« on: November 11, 2007, 10:07:08 pm »
Hey guys--

I noticed that the CD ripping script, ripDiskWrapper.sh, is not using the quality settings set in the web admin when ripping CDs.  These settings affect MP3 and OGG encoding quality.  Currently, the arguments to the encoders are hard-coded in the script.  While the encoding type is passed in as an argument to the script, the quality subsettings are not.

I just wanted to point this out so someone doesn't rip an entire collection at a quality level that they didn't want.

I've filed a mantis report here:
http://mantis.linuxmce.org/view.php?id=3637

In the meantime, the way to correct it on your system is to modify ripDiskWrapper.sh to hard-code your desired bitrate/Bitrate arguments for lame and ogg

For mp3s: modify the following line in ripDiskWrapper.sh

            OutputFile='>(lame -h --tt "$FileName" --ta "$DARTIST" --tl "$DALBUM" --tn "$TrackNumber" --ty "$CDYEAR" --tg "$CDGENRE" - "$Dir/$FileName.'"$FinalExt"'.in-progress")' # encoder


You'll want to change the line that begins with "OutputFile='>(lame "
and add your quality settings there.  For example, add "-b bitrate"  where bitrate is your desired bitrate.  You could also add "-V"  for VBR encoding.

Similarly, modify the following line for .ogg encoding

            OutputFile='>(oggenc -Q --artist "$DARTIST" --album "$DALBUM" --date "$CDYEAR" --genre "$CDGENRE" --tracknum "$TrackNumber" -o "$Dir/$FileName.'"$FinalExt"'.in-progress" -)' # encoder

You'll want to change the line that begins with "OutputFile='>(oggenc"
and add your quality settings there.  For example, add "-q quality"  where quality is your desired quality level, -1 to 10.

Note that until the fix is added to LMCE, you'll have to check this script after updates (or lock the script file).

I haven't verified my arguments to the encoders, so you may want to verify that those are correct on a disk or two before ripping your entire collection.

-Pete




23
Developers / sqlcvs
« on: October 14, 2007, 09:41:24 pm »
Hi gang--

I've got a fairly stable initial Insteon plug-in developed, and I'd like some way of capturing and versioning my setup.  If I understand correctly, Pluto is using sqlcvs to version the sql db where things like commands, templates, etc. are kept.  For peace of mind, I'd like to capture this working system before I break it with further development.  I'd like to use a local repository until the development setup for the main distribution is established.  My question is: has anyone here used sqlcvs?  The wiki information doesn't quite contain practical instructions for how to use it with pluto/LMCE, and I'd rather not waste a bunch of time figuring it out if someone can explain it to me in a few simple steps.

Thanks for the help.
-Pete

24
Developers / Child Device/Interface communications via Zwave
« on: September 23, 2007, 09:00:51 am »
Hi--

I sent this question to the Pluto ZWave developer because it's a Z-wave question, but it might be generic enough that someone else here can answer:

Thank you for your help with this.  I've been moving forward with
creating the Insteon interface.  One issue that I am unclear about is
the mechanism for a lighting device (i.e a #38 Dimmable Switch) to
create, say a Zwave job, when it receives a message from DCERouter.

For example, on the lights page of the control html page, It has 'ON'
'OFF' and '50%'.   If i understand correctly, these send a DCE Message
to the light device.  How does the light device then trigger the
creation of a Zwave Job?

Thank you for your help

25
Compatible Products & Services / Z-wave HA-22 compatibility
« on: August 30, 2007, 09:36:57 am »
I was looking at the fiire.com page today and noticed that they are selling the Intermatic HA22 Z-wave adapter.  I didn't think this was compatible with LMCE.  Is that now the case?  I didn't see any recent changes to the Zwave source, so I don't think so, but maybe they know something I don't

26
Users / Found some ZCU000 Z-wave contollers
« on: August 19, 2007, 05:32:00 am »
OC Automation (http://www.ocautomation.com) had some in stock as of about a week ago.  I was able to get one from them and they seem to have a a few more in stock.  They show the ZCS000 on their website as well.  This might be the last of them until the replacements come out.  When I talked with ACT(Homepro) last, they were through Beta on their replacement units (ZCU101 and ZCS101), and they were taking wholesale pre-orders, but they didn't have a ship date.  My guess would be mid Q4 of this year.  Again I don't think there are any guarantees that they will work right off the bat.

Hope this helps.

-Pete

27
Users / Bring up Mythweb under Plutohome/LinuxMCE
« on: June 20, 2007, 07:37:24 pm »
http://smart-home-blog.com/archives/656

From the smart-home-blog, an excellent site with some very neat Pluto development/useful feature explanation.  I believe this is applicable to LinuxMCE, but I haven't tried it yet.


28
Users / IP Phones Plug-N-Play
« on: June 08, 2007, 12:43:05 am »
Does anyone have a list of the IP phones that LinuxMCE will automatically recognize (by MAC address) and configure?  I know Cisco phones work.  Any others?

thanks,
-Pete

29
Note-- Cross posted in the developer's forum

Hey everyone--
I was kind of annoyed that when LinuxMCE ripped CDs, it wouldn't embed any information on the title, album, etc in the files themselves, instead using the .id3 files in the directories and the database.  That's great for LinuxMCE, but if I'm going to rip all my CDs, I want to have the information in the files themselves for flexibility.

I was able to get LinuxMCE to embed Artist/Album/Track/Genre/Date information into the music files when ripping a CD.  You can now see the information on the Squeezebox when playing back ripped files from the core.  After digging around inside LinuxMCE, I've modified the shell file that performs the ripping.

So far I've got it working for the Ogg and Flac encoders.  I hope to get it working for WAV and MP3 files shortly.

I'd appreciate it if anyone was interested in trying it out and letting me know how it works for them.  I'm not a scripting expert by any means, so any input would be appreciated.  I don't think this is the ideal solution, as it requires another CDDB lookup in addition to the one perfomed by UpdateMedia, but it works for now while I try to understand exactly the process the Pluto gang put in place for ripping a CD.  I hope to move on to getting Pluto to work with a more modern (6.5.x) version of Slimserver next.

The attached file goes in your /usr/pluto/bin directory.  Please remember to save the existing ripDiskWrapper.sh to a different name first, so you can go back if it gets screwy.

Thanks everyone,
-PeteK

30
Developers / Embedding tags when ripping CDs
« on: May 31, 2007, 08:46:05 am »
Hi-

I'd like to use LinuxMCE to rip my CDs to flac.  I tried a few, and it looks like LinuxMCE uses the ripDiskWrapper.sh script to manage the ripping and encoding of CD audio. From digging into this file, it looks like it calls cdparanoia and pipes the output directly to the chosen encoder (in my case the flac encoder).  Unfortunately, this method doesn't tag the files with artist, album information, etc. LinuxMCE obviously does access cddb to get the information to generate file names and to load the database. I would like to use that information to tag the  files as well.  This would avoid having to re-rip if I wanted to reload LinuxMCE or use the files elsewhere.

I was wondering if anyone understands and could explain the exact sequence of events in getting CD information.  I was thinking of using a tool like xmcd to get cddb information, but I would like to use the same source of information that is used for populating the database. I'll keep digging until I can understand it, but I'd appreciate any advice.
 
Thanks!

-Pete

Pages: 1 [2] 3