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

Pages: 1 ... 23 24 [25] 26 27 ... 29
361
Users / Re: Dallas 1-wire sensors using Linki45
« on: December 04, 2007, 07:12:13 pm »
I already have MH sending temp values to MH which are just random number at the moment. It is also intercepting info from motion detectors and controlling X10 devices from LMCE. So adding 1-wire devices here is pretty simple.

What else were you suggesting? An external script which connects to LMCE and sends temp values every few minutes? Could be very simple in perl.


362
Users / Re: Security breach?
« on: December 04, 2007, 07:09:43 pm »
Found this:

tail -f /var/log/pluto/pluto.log
1       12/04/07 17:44:02       /usr/pluto/bin/SetupRemoteAccess.sh (server)    Crontab entry (special) already present. Not adding.
1       12/04/07 17:44:02       /usr/pluto/bin/RA_ChangePassword.sh (server)    User 'remote' already exists. Not adding.
1       12/04/07 17:44:02       /usr/pluto/bin/RA_ChangePassword.sh (server)    Setting password for 'remote' user
1       12/04/07 17:44:02       /usr/pluto/bin/SetupRemoteAccess.sh (server)    SSH_pf tunnel already present. Not enabling.
1       12/04/07 17:44:03       /usr/pluto/bin/SetupRemoteAccess.sh (server)    SSH_ph tunnel enabled.
1       12/04/07 17:44:03       /usr/pluto/bin/SetupRemoteAccess.sh (server)    Web_pf tunnel already present. Not enabling.
1       12/04/07 17:44:03       /usr/pluto/bin/SetupRemoteAccess.sh (server)    Web_ph tunnel enabled.


# more /etc/cron.d/SetupRemoteAccess
*/1 * * * * root /usr/pluto/bin/SetupRemoteAccess.sh

# more /etc/cron.d/SetupRA-Special
*/10 * * * * root /usr/pluto/bin/SetupRA-Special.sh

363
Users / Re: Dallas 1-wire sensors using Linki45
« on: December 04, 2007, 06:27:37 pm »
The best solution is going to be to add them to misterhouse and then get MH to initiate a connection with the core and update temp values. I will write a wiki article when I've got this going in the next few weeks.

364
Developers / Re: Xine_Player: what is it really doing?
« on: December 04, 2007, 06:24:42 pm »
Is there any documentation anywhere which describes how Xine_player take the audio output setting in the admin interface and uses this to select an alsa output device?

I am desperately trying to get Xine to output 5.1 via my ADAT out on device hw:0,1 but having little luck modifying /etc/asound.conf. I am also trying to tell xine that I have a 5.1 setup and that it should decode AC3/DTS but it seems Xine_Player rewrites the config.

365
Developers / Re: Appliance vs Package vs Distro
« on: December 04, 2007, 06:21:21 pm »
Exactly. Development effort is being watered out adding more features which only partly work, rather than getting the current software to work properly. Though if the community want this then there's no real sense arguing about it. I guess people are voting by deciding to code things like mplayer support!


366
Developers / Re: Taking mythtv preview thumbs as cover art
« on: December 04, 2007, 04:04:55 pm »
Ok. I'll get the recording list from the db (pluto_media/File). What table is the cover art stored in and how is it linked back to the File table?



367
Developers / Taking mythtv preview thumbs as cover art
« on: December 04, 2007, 02:23:04 pm »
I am going to write a script to scan tv recordings folders for .png files with the same name then assign them as cover art if none exists already. What db tables do I need to be looking at?

Thanks,

Chris

368
Developers / Re: How can I add av sync controls to xine?
« on: December 04, 2007, 02:05:48 pm »
So any commands you add will be converted to key presses by the Xine wrapper? What is this table called? I can't seem to find anything very helpful in the database schema.

What commands were you adding btw?

Thanks,

Chris

369
Developers / Re: Appliance vs Package vs Distro
« on: December 04, 2007, 02:01:29 pm »
Can you summarize the good reasons for using Xine for playback of non-HD video, when MPlayer could do it instead (or maybe it can't)?

Because Xine is doing it already? Why fix it if it's not broken?

My thoughts on the whole appliance/package separation effort is that right now I'd be happier to see development effort going into fixing all the annoying bugs and terrible GUI problems which make even simple operations almost impossible - e.g. girlfriend wants to find episode of Heroes called "5 years ago", or wants to watch an in progress recording - both of these things are actually quite difficult. The fact that under the hood a peice of code has been changed to be distro agnostic is at this stage in time wholly unimportant to me. I appreciate that is the goal, but surely that is the FINAL goal. In between we actually need to get the think to play TV/movies and do HA reliably and intuiively, which right now it doesn't really do.

Anyone agree?


370
Users / Disk is umounted and remounted a few times a minute
« on: December 03, 2007, 09:00:49 pm »
My second internal hard drive in the core is unmounted and remounted a few times a minute. Anyone else seen this?

From /var/log/messages:

Code: [Select]
Dec  3 19:35:09 dcerouter kernel: [351708.768290] EXT3 FS on hdb1, internal journal
Dec  3 19:35:31 dcerouter kernel: [351731.241902] EXT3 FS on hdb1, internal journal
Dec  3 19:35:34 dcerouter kernel: [351734.583380] EXT3 FS on hdb1, internal journal
Dec  3 19:35:46 dcerouter kernel: [351746.642541] EXT3 FS on hdb1, internal journal
Dec  3 19:35:59 dcerouter kernel: [351759.244301] EXT3 FS on hdb1, internal journal
Dec  3 19:36:12 dcerouter kernel: [351772.383059] EXT3 FS on hdb1, internal journal
Dec  3 19:36:25 dcerouter kernel: [351785.494768] EXT3 FS on hdb1, internal journal
Dec  3 19:36:26 dcerouter kernel: [351786.062511] EXT3 FS on hdb1, internal journal
Dec  3 19:36:38 dcerouter kernel: [351797.863389] EXT3 FS on hdb1, internal journal
Dec  3 19:36:51 dcerouter kernel: [351811.584782] EXT3 FS on hdb1, internal journal
Dec  3 19:36:56 dcerouter kernel: [351815.806408] EXT3 FS on hdb1, internal journal
Dec  3 19:37:09 dcerouter kernel: [351828.796895] EXT3 FS on hdb1, internal journal


371
Users / Re: LinuxMCE and Misterhouse
« on: November 30, 2007, 04:11:34 pm »


Found this:

http://forum.linuxmce.org/index.php?topic=391.0

So I leant some perl today and wrote this bit of code you can add to the above piece:

Code: [Select]
if (my $msg = said $pluto_device_event_receiver) {
        print_log "Pluto Device Message received: $msg\n";

        $msg =~ s/[\"\']//g;    # remove quotes before splitting on whitespace

        if ($msg =~/(\w*)\s(\w*)\s(\w*)\s(\w*)\s(\w*)\s(\w*)\s(\w*)\s(\w*)/ ) {
                print_log "DeviceFrom: $1";
                print_log "DeviceTo:: $2";
                print_log "MsgType: $3 (1=Command, 2=Event)";
                print_log "MsgId: $4";
                print_log "param1id: $5";
                print_log "param2value (X10 Device): $6";
                print_log "param2id: $7";
                print_log "param2value (X10 Command): $8";
                if ($8 == '192') {
                  print_log "Turn $6 ON";
                  set $6 ON;
                }
                if ($8 == '193') {
                  print_log "Turn $6 OFF";
                  set $6 OFF;
                }
        }
}

It works! You can add lights and control from LMCE. Working on getting motion detectors to feed into LMCE now, it is finished and just needs testing.

Chris

372
Users / Security breach?
« on: November 29, 2007, 07:44:34 pm »
I have just seen the following when typing "screen -r"

        9876.RemoteAssistance_SSH_NoMon_pf      (Detached)
        9828.RemoteAssistance_Web_pf    (Detached)
        9771.RemoteAssistance_SSH_pf    (Detached)

I have never seen these before and certainly haven't enabled remote assistance. Has my system been compromised?

Thanks,

Chris

373
Users / Re: Lots of devices never start
« on: November 29, 2007, 07:43:25 pm »
I'm getting somewhere I think. Here's the log of the orbiter on my working (recently rebuilt) MD:

Code: [Select]
== ATTEMPT FRESH START ==
1       11/29/07 15:21:15       /usr/pluto/bin/Spawn_Device.sh 41 (spawning-device)     8685 Dev: 41; Already Running list: 40,
== FRESH START ==
1       11/29/07 15:21:15       /usr/pluto/bin/Spawn_Device.sh 41 (spawning-device)     device: 41 ip: dcerouter cmd_line: LaunchOrbiter.sh
0       11/29/07 15:21:16       41 (spawning-device)    Entering 41
========== NEW LOG SECTION ==========
1       11/29/07 15:21:16       41 (spawning-device)    Starting... 1
1       11/29/07 15:21:17       41 (spawning-device)    Found /usr/pluto/bin/LaunchOrbiter.sh
05      11/29/07 15:21:23.804           will overwrite wm window id // void X11wrapper::Assign_WmWindow(Window) <0xb6a6fb10>
05      11/29/07 15:21:26.587           Creating child 42 <0xb6a6fb10>
05      11/29/07 15:21:26.717           Creating child 44 <0xb6a6fb10>
05      11/29/07 15:21:27.076           Creating child 45 <0xb6a6fb10>
05      11/29/07 15:21:27.325           Creating child 46 <0xb6a6fb10>
05      11/29/07 15:21:27.400           Creating child 47 <0xb6a6fb10>
05      11/29/07 15:21:27.487           Creating child 48 <0xb6a6fb10>
== ATTEMPT FRESH START ==
1       11/29/07 17:55:33       /usr/pluto/bin/Spawn_Device.sh 41 (spawning-device)     8539 Dev: 41; Already Running list: 40,
== FRESH START ==
1       11/29/07 17:55:34       /usr/pluto/bin/Spawn_Device.sh 41 (spawning-device)     device: 41 ip: dcerouter cmd_line: LaunchOrbiter.sh
0       11/29/07 17:55:34       41 (spawning-device)    Entering 41
========== NEW LOG SECTION ==========
1       11/29/07 17:55:34       41 (spawning-device)    Starting... 1
1       11/29/07 17:55:35       41 (spawning-device)    Found /usr/pluto/bin/LaunchOrbiter.sh
05      11/29/07 17:55:41.843           will overwrite wm window id // void X11wrapper::Assign_WmWindow(Window) <0xb6acbb10>
05      11/29/07 17:55:44.591           Creating child 42 <0xb6acbb10>
05      11/29/07 17:55:44.861           Creating child 44 <0xb6acbb10>
05      11/29/07 17:55:45.005           Creating child 45 <0xb6acbb10>
05      11/29/07 17:55:45.285           Creating child 46 <0xb6acbb10>
05      11/29/07 17:55:45.358           Creating child 47 <0xb6acbb10>
05      11/29/07 17:55:45.482           Creating child 48 <0xb6acbb10>

And here is the log of the orbiter on my broken core:

Code: [Select]
== ATTEMPT FRESH START ==
1       11/29/07 17:53:05       /usr/pluto/bin/Spawn_Device.sh 20 (spawning-device)     13665 Dev: 20; Already Running list: 15,16,17,18,27,69,
== FRESH START ==
1       11/29/07 17:53:05       /usr/pluto/bin/Spawn_Device.sh 20 (spawning-device)     device: 20 ip: localhost cmd_line: LaunchOrbiter.sh
0       11/29/07 17:53:05       20 (spawning-device)    Entering 20
========== NEW LOG SECTION ==========
1       11/29/07 17:53:05       20 (spawning-device)    Starting... 1
1       11/29/07 17:53:05       20 (spawning-device)    Found /usr/pluto/bin/LaunchOrbiter.sh
05      11/29/07 17:53:07.893           will overwrite wm window id // void X11wrapper::Assign_WmWindow(Window) <0xb71756d0>
05      11/29/07 17:53:09.460           XRecordExtensionHandler::recordingThreadMainFunction(): XRecord extension not available. <0xb464db90>
05      11/29/07 17:53:09.460           XRecordExtensionHandler::recordingThreadMainFunction(): pDisplay_ControlConnection=149170296, pDisplay_DataCon
nection=149188552 ->Closing <0xb464db90>
05      11/29/07 17:53:09.460           XRecordExtensionHandler::recordingThreadMainFunction(): pDisplay_ControlConnection=149170296, pDisplay_DataCon
nection=149188552 ->Closed <0xb464db90>

I am using an old ATI card (7000) with the open source driver.


374
Users / Re: Lots of devices never start
« on: November 29, 2007, 06:38:06 pm »
Just noticed something about these failing devices. It looks like they are all children of the orbiter device.

375
Users / Lots of devices never start
« on: November 29, 2007, 06:33:50 pm »

I have a number of devices which never start on my system. At first it was the disk drive on my core, then a load of devices on my diskless MD which I then had to rebuild. See:

http://forum.linuxmce.org/index.php?topic=3299.msg16724#msg16724

Now I have lost the screen saver, mythtv player and xine player on my core. I can start these manually from the command line and have no problems, e.g:

/usr/pluto/bin/Photo_Screen_Saver -d 28

Works fine. But I cannot see any fail logs or Spawn logs. The app server has no mention of them.

Is anyone else seeing this? It seems very odd that only I am experiencing it.

I really hope the answer isn't going to be that I have to flatten and reinstall the system.

Thanks,

Chris

Pages: 1 ... 23 24 [25] 26 27 ... 29