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

Pages: 1 ... 160 161 [162] 163
Developers / Re: sqlCVS
« on: November 05, 2007, 09:22:24 pm »
Hi Guys,

i have a repo for testing online.
I need two or three helpful souls to test the following:

Alice has a fresh database
Bob does a checkin of some stuff (e.g. a dce template) with given credentials
Hari approves the batch
Alice pulls the update and verifies the dce template
Charlie modifies template wand commits with other credentials


the lazy guys can do a sqlCVS diff via web interface to see differences between the local database and the initial repository.



Developers / Re: Nokia 770 Orbiter
« on: November 05, 2007, 07:00:49 pm »
I apologise coming off snappish... just built up frustrations..
no prob, we are all human, are we?

anyway.. thanks for the suggestions.
hope this helps.

best regards,

Developers / Re: Nokia 770 Orbiter
« on: November 05, 2007, 06:43:59 pm »
Just for the record, I'm using a brand new Linksys 802.11N router/AP
Just for the record, i prefer the aironet line from this vendor. As you can read in my post: some vendors even don't manage it today.
I don't know if this model is affected. But cheapo hardware often doesn't get the trick..

and yes, I am an open source developer. But I've also been in situations where communities have inherited LARGE code-bases and have been ineffective in maintaining or extending them. This is my fear with this code-base.
I don't share your fears. But don't let this go off topic. Did you even try to disable power management with iwconfig? Maybe it's lunch time for trolls?

Step one: man iwconfig:
Examples :
                   iwconfig eth0 power period 2
                   iwconfig eth0 power 500m unicast
                   iwconfig eth0 power timeout 300u all
                   iwconfig eth0 power off
                   iwconfig eth0 power min period 2 power max period 4
Step two: iwconfig <interface> power off
Step three: test with ping (both sides), tcpdump and the debug settings recommended in this post

best regards,

Developers / Re: Nokia 770 Orbiter
« on: November 05, 2007, 06:11:27 pm »
Yes, I am being a bit snappy, it's the cause of much frustration built up over trying to use this damned thing as an orbiter...and all I've ever gotten from any of you, is "Gee, try another AP." THAT'S NOT A REAL ANSWER, and I really honestly, don't buy it... but I'll try....

I mean, really.. this version of the orbiter is somewhat hobbled, are we just waiting for Pluto to fix it? or is someone actively making changes to the code?


all people involved spend their leasure time to improve LinuxMCE. Use the source, Luke, and stop bit****.

The problem is the following: early 802.11b APs (and others, some vendors even don't manage it today) have big bugs in the power management routines. The AP should cache packets for the client while it is asleep for short periods. Bad APs didn't cache properly or simply sent the packets out while the client does not listen on the air.
So yes, the source of your flaky connection with the N770 is your AP. THIS IS THE ANSWER.

Step one: Deactivate power management and be stunned by the improvements
Step two: look at the source and improve the code
Step three: ?
Step four: profit ;)

best regards,

Developers / UPnP (Re: LMCE v0710 on PS3?)
« on: November 04, 2007, 06:13:12 pm »
i would prefer a generic upnp av server and control point implementation. I thought about using mediathomb and writing a dce device with perl and Net::UPnP, but its missing the control point features. The only free software i found is java based:

So one could control the DLNA features of the PS3 or any other UPnP media renderer with any orbiter. That would be cool.


Developers / Re: sqlCVS
« on: November 04, 2007, 06:01:38 pm »
Awesome work hari, and thank you very much for expanding the wiki page! 
that was easy after your preparations. What i don't get is how to list the pending batches on the server. The LinuxMCE Admin interface doesn't print the id after checkin. Maybe it will help to use the "View batches" scripts from the admin page on the server.

We need a work flow for updates:
1.) Contact the maintainer before submission
2.) Checkin changes and report batch id to maintainer (or maintainer gets batch id from repo)
3.) Maintainer approves batch

With a test system and two or three people submitting changes we should figure out proper row ownership for the repository. I wonder if we should assign ownership of new rows to a default user. Maybe i should further investigate the permission model of sqlCVS.

I think we should have a developement and a production repository. We could synchronize them with sqlCVS (or maybe with the sqlCVS diff admin interface ;)

@all: does anybody have information about the sqlCVS workflow @ pluto or contacts to pluto regarding sqlCVS?

@tschak909: do you have the slice ready? My public ip pool is empty, need a few days to free another ip and assign more cores and ram.

best regards,

« on: November 04, 2007, 01:56:21 pm »
I'm one of those that did not have a backup of the sql db and know my core is dead.

 Havent managed to find a way to get the db loaded from scratch.
you can use sqlCVS to fix the database. Instructions are in the Wiki.


Developers / Re: sqlCVS server set up (Re: sqlCVS)
« on: November 03, 2007, 10:27:24 pm »
The procedure is documented in the wiki:

The LinuxMCE webinterface for sqlCVS works fine. If there is demand i would host a master database for testing.


Developers / sqlCVS server set up (Re: sqlCVS)
« on: November 03, 2007, 04:38:12 pm »
Well I got a little further, I copied /usr/pluto/database/dce.sqlcvs from an existing installation, and this seems to have been the missing file.  I've dropped the database to start fresh again first.

based on your findings i set up a sqlCVS server. The procedure is documented in the wiki:


Compatible Products & Services / New ACT Z-Wave Interface
« on: November 01, 2007, 08:14:21 pm »
Hi Folks,

has anybody tried the new ACT Z-Wave USB Interface ZCU[1,2]01 (
They seem to pop up in shops now.

best regards,

Developers / Re: Slimserver as IR Transmitter
« on: October 21, 2007, 08:42:25 am »
Are you trying to use  a Squeezebox as an IR blaster?
yes, the IR signal is transmitted by the Squeezebox (optional IR transmitter needed).

Developers / Re: Slimserver as IR Transmitter
« on: October 11, 2007, 10:30:24 am »
That would be a nice feature to have.  I think the slimserver streamer object is currently the only one that accesses the CLI for slimserver, so that may be what needs to be modified, as opposed to writing a GSD interface from scratch.

i see no problem in extending "./src/SlimServer_PlugIn/SlimServer_PlugIn.cpp". My first idea is to put the call in "SlimServer_PlugIn::ReceivedCommandForChild". So i can get the player-mac from "*pDeviceData_Impl", can't i?
But how to configure the core to use the players as IR Transmitters?


Developers / Re: Reorganizing development for scalability
« on: October 11, 2007, 10:17:49 am »
I agree, that we should discuss the matter of the right repository - espacially if it turns out that SVN does not work as expected. But please, don't discuss everything until it's dead :/

so true..

Developers / PNP without DHCP
« on: October 11, 2007, 10:17:03 am »
Hi Folks,

i investigated the DHCP PNP process and had the idea of using arpwatch for pnp detection. It produces log entries like this:
Oct 11 13:38:18 dcerouter arpwatch: new station de:ad:be:ef:0:4 eth0

derive from

dcerouter_37298:~# diff -u  /usr/pluto/bin/ /usr/pluto/bin/
--- /usr/pluto/bin/       2007-03-01 04:15:34.000000000 +0100
+++ /usr/pluto/bin/    2007-10-11 13:40:04.000000000 +0200
@@ -23,7 +23,7 @@
                log) Type="00" ;;
-       printf "%s\n" "$Type $(date -R) $Data" >>/var/log/pluto/dhcp_pnp.log
+       printf "%s\n" "$Type $(date -R) $Data" >>/var/log/pluto/arpwatch_pnp.log
@@ -57,16 +57,16 @@
        line=$(parse "$inline")
        tag=$(extract_field 5 "$line")
        op=$(extract_field 6 "$line")
-       mac_found=$(extract_field 10 "$line")
+       mac_found=$(extract_field 9 "$line")
        ip_sent=$(extract_field 8 "$line")
-       if [[ "$tag" != "dhcpd:" || -z "$mac_found" ]]; then
+       if [[ "$tag" != "arpwatch:" || -z "$mac_found" ]]; then
        case "$op" in
-               "DHCPACK")
-                       log_plugin log "DHCP : MAC '$mac_found' IP '$ip_sent'"
+               "new")
+                       log_plugin log "ARPWATCH : MAC '$mac_found' IP '$ip_sent'"
                        Q="SELECT PK_Device FROM Device WHERE MACaddress='$mac_found' AND IPaddress='$ip_sent'"
                        R=$(RunSQL "$Q")

seems to work:

+ read mac ip garbage
+ RetrySend de:ad:be:ef:0:4
+ local MAC=de:ad:be:ef:0:4 IP=
+ /usr/pluto/bin/MessageSend localhost 1 -1001 2 65 52 3 53 2 5 de:ad:be:ef:0:4 28

Caveats: boot options for media directors and stuff have to be specified in the standalone DHCP server.

I think this would be a nice fallback for PNP when the internal dhcp server is deactivated. What do you think about it?


Developers / Re: Reorganizing development for scalability
« on: October 10, 2007, 09:47:07 pm »
To be honest, I'm surprised that nobody responded to this post (or the one beeing about two weeks older). I remember a lot of people asking where to get sources, to submit patches and so on. However, none of them gave any comments :(
Now, this repository is ready to go with the 0704 sources, there's Trac up and running (though not fully configured yet).
can you make the url public?

best regards,

Pages: 1 ... 160 161 [162] 163