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 ... 24 25 [26] 27 28 29
376
Users / Re: Huge amounts of mythtv logging
« on: November 29, 2007, 06:26:48 pm »
That is only relevant for SQL logging. The problem is here:

dcerouter_34954:~# ps aux | grep mythfrontend
root      6045  0.0  0.1   2896   764 pts/22   R+   17:00   0:00 grep mythfrontend
root      9254  0.0  0.1   2568   968 pts/10   S    15:55   0:00 /bin/sh /usr/bin/mythfrontend -v all -w mythfrontend -geometry 1024x768
root      9272  1.0  8.9 160580 45976 pts/10   Sl   15:55   0:39 /usr/bin/mythfrontend.real -v all -w mythfrontend -geometry 1024x768


How can I remove the v flag?

377
Users / Re: Switching user in Orbiter does not show private media
« on: November 29, 2007, 06:22:52 pm »
Glad someone else has seen it. Seems like a pretty core function so I was doubting myself!

Thanks,

Chris

378
Users / Re: Switching user in Orbiter does not show private media
« on: November 29, 2007, 03:04:04 pm »
If nobody can help can anyone indicate that they have this working?

379
Users / Dallas 1-wire sensors using Linki45
« on: November 29, 2007, 02:59:14 pm »
I have been using a simple passive serial to Dallas 1-wire bus adapter to read a few temp sensors using command line linux tools:

http://www.digitemp.com/software.shtml

According to the following post it is possible to add this functionality to LMCE:

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

I have added a Linki45 device but can't find any field for the serial port. I am therefore guessing this is not a device for the simple passive serial interface. Does anyone have eny experience with this?

Thanks,

Chris

380
Users / Re: Energy consumption of core
« on: November 29, 2007, 02:49:31 pm »
You can't spin down disks in LMCE as it stands as every few minutes a load of scripts get fired off to snoop around the system, e.g. UpdateMedia etc.

If you set the hard drives to spin down (even using laptop_mode to cache writes) you will find they spin up again really quickly. This constant spin up/down is very damaging as a HD has a finite number of spin ups.


381
Users / Re: LinuxMCE and Misterhouse
« on: November 29, 2007, 02:41:25 pm »
Hi,

I think that you don't have to choose - you can use both of them - I also plan to do the same. Misterhouse is really nice backend, quite easy to learn and customize... LMCE is great GUI, with probably crippled backend functionality, so I guess using both of them would make a nice combination...

See http://wiki.linuxmce.com/index.php/Misterhouse

I can help, if you decide to go that route...

Regards,

Bulek....


Can you flesh out the wiki page a bit more if you have some experience? It would be good to see how to:

1. Add misterhouse to LMCE as a parent (this already seems to be covered)
2. Add a light to a room, controlled by MH parent
3. Configure MH to listen for the right commands and control light
4. Finally be able to turn light on/off and dim from the floorplan on LMCE

I can add my MH configuration which shows how to do motion detection firing lights in MH, as this is currently not something I can do in LME (which is why I am still running MH).

Chris

382
Developers / Re: Nokia 770 Orbiter
« on: November 28, 2007, 01:21:38 pm »
from what i'm seeing with the orbiter, i think memory is becoming a wee bit tight, and causing the whole system to slow down.

-Thom


This makes a lot more sense to me. I'm not seeing any problems with network connectivity while web browsing or conducting a ping test, but as soon as I launch orbiter the device becomes unstable and eventually hangs completely. I am going to go back to 2006 and see if this helps.

Chris

383
Developers / Re: Nokia 770 Orbiter
« on: November 26, 2007, 09:04:14 pm »
I tried disabling power management using iwconfig but my problems persist. Running a constant ping test shows my pings are between 2-3ms most of the time but perhaps 1% are in the region of 10-14ms. Can having 1 ping every now and then which takes 14ms really explain why the Orbiter keeps freezing and crashing?

Several times now the orbiter has quite back to the connection screen, or shut down the device altogether. When it is running it's not much use as it will work fine for 30 secs then suddenly stop responding.

To the people using the suggest APs - does this stop the orbiter crashing? What version of the OS are you using?

Thanks,

Chris



384
Users / Huge amounts of mythtv logging [edit: how to disable -v flag?]
« on: November 26, 2007, 06:27:53 pm »
Despite setting LogLevels in /etc/pluto.conf to 1 I am still getting huge amounts of mythtv logging. It seems the log level setting is ignored. How else can I fix this?


# cat /var/log/pluto/Spawn_mythfrontend_27798.log

2007-11-26 16:46:50.589 Using runtime prefix = /usr
2007-11-26 16:46:50.638 DPMS is disabled.
2007-11-26 16:46:50.884 New DB connection, total: 1
2007-11-26 16:46:50.887 Connected to database 'mythconverg' at host: dcerouter
2007-11-26 16:46:50.888 Total desktop dim: 1024x768, with 1 screen.
2007-11-26 16:46:50.916 Using screen 0, 1024x768 at 0,0
2007-11-26 16:46:50.928 Overriding GUI, width=1024, height=768 at 0,0
2007-11-26 16:46:50.928 Setting 'RunFrontendInWindow' being forced to '1'
2007-11-26 16:46:50.928 user: 0 effective user: 0 before privileged thread
2007-11-26 16:46:50.929 user: 0 effective user: 0 after privileged thread
2007-11-26 16:46:50.929 user: 0 effective user: 0 run_priv_thread
2007-11-26 16:46:50.929 Disabling Settings Cache.
2007-11-26 16:46:50.929 Clearing Settings Cache.
2007-11-26 16:46:50.930 MSqlQuery: SELECT data FROM settings WHERE value = 'DBSchemaVer' AND hostname = 'moon109' ;
2007-11-26 16:46:50.931 MSqlQuery: SELECT data FROM settings WHERE value = 'DBSchemaVer' AND hostname IS NULL;
2007-11-26 16:46:50.931 Current Schema Version: 1160
2007-11-26 16:46:50.932 MSqlQuery: SELECT data FROM settings WHERE value = 'MythFillFixProgramIDsHasRunOnce' AND hostname = 'moon109' ;
2007-11-26 16:46:50.932 Enabling Settings Cache.
2007-11-26 16:46:50.932 Clearing Settings Cache.
2007-11-26 16:46:50.932 mythfrontend version: 0.20.20070821-1 www.mythtv.org
2007-11-26 16:46:50.932 Enabled verbose msgs: all
2007-11-26 16:46:50.939 MSqlQuery: SELECT data FROM settings WHERE value = 'LCDServerHost' AND hostname = 'moon109' ;
2007-11-26 16:46:50.940 MSqlQuery: SELECT data FROM settings WHERE value = 'LCDServerHost' AND hostname IS NULL;
2007-11-26 16:46:50.941 MSqlQuery: SELECT data FROM settings WHERE value = 'LCDServerPort' AND hostname = 'moon109' ;
2007-11-26 16:46:50.941 MSqlQuery: SELECT data FROM settings WHERE value = 'LCDServerPort' AND hostname IS NULL;
2007-11-26 16:46:50.957 MSqlQuery: SELECT data FROM settings WHERE value = 'LCDEnable' AND hostname = 'moon109' ;
2007-11-26 16:46:50.958 MSqlQuery: SELECT data FROM settings WHERE value = 'Language' AND hostname = 'moon109' ;
2007-11-26 16:46:51.001 MSqlQuery: SELECT DISTINCT recgroup from recorded;
2007-11-26 16:46:51.002 MSqlQuery: SELECT DISTINCT category from recorded;

385
Users / Re: Disk_Drive device never starts
« on: November 24, 2007, 08:07:40 pm »
Yes it's there. The problem is worse than I thought. My diskless MD is pretty much useless:

# tail 98_LaunchOrbiter.sh.log
1       11/24/07 18:14:08       98 (spawning-device)    Starting... 1
1       11/24/07 18:14:08       98 (spawning-device)    Found /usr/pluto/bin/LaunchOrbiter.sh
05      11/24/07 18:14:10.152           will overwrite wm window id // void X11wrapper::Assign_WmWindow(Window) <0xb67d7b10>
05      11/24/07 18:14:10.833           Creating child 99 <0xb67d7b10>
05      11/24/07 18:14:10.885           Creating child 101 <0xb67d7b10>
05      11/24/07 18:14:10.926           Creating child 102 <0xb67d7b10>
05      11/24/07 18:14:10.966           Creating child 103 <0xb67d7b10>
05      11/24/07 18:14:11.056           Creating child 104 <0xb67d7b10>
05      11/24/07 18:14:11.086           Creating child 105 <0xb67d7b10>
05      11/24/07 18:14:43.293           Continuing anyway with 5 devices not registered: 97,102,103,105,130, <0xb67d7b10>


Those devices are the app server, mythtv, disk drive, external media indentifier, and the lirc device. Again, the logs do not give any clues at to why they are not being started. I might rebuild the MD and see what happens.


Regards,

Chris

386
Users / Re: Disk_Drive device never starts
« on: November 24, 2007, 07:43:35 pm »
Ok, it's working, though I have to start the device manually. I wrote a little script to do this in an endless loop so that it survives a router reload. Is there anything else I can do?

I also noticed that LMCE cannot rip to an external device. The device is mounted as HDD2 [71] which gets split up and appears in the logs as /home/public/data/videos/HDD2  71 / giving a disk full error. I suspect this is because my root partition does not have space for a DVD and it falls back to ripping it there.

Chris

387
Users / Re: Disk_Drive device never starts
« on: November 24, 2007, 07:14:44 pm »
What do you see when you do "sudo screen -r"?

EDIT:

And are there any errors in that log file you mentioned?

There is no screen open for the Disk Drive. I created one manually like this:

 screen -d -m -S DISK_DRIVE /usr/pluto/bin/Disk_Drive -d 26 -l /var/log/pluto/26_Disk_Drive.log

And now I see the same thing in the log as for the diskless MD (event not fired). However, I think perhaps this is normal as the DCERouter registers something:

Received Message from 0 (unknown / ) to Media Plug-in(10), type 1 id  391 Command:Add Media Attribute, retry none, parameters: <0x615c2b90>
08      11/24/07 17:51:59.881             Parameter 5(Value To Assign): * <0x615c2b90>
08      11/24/07 17:51:59.881             Parameter 122(EK_AttributeType): 30 <0x615c2b90>
08      11/24/07 17:51:59.881             Parameter 145(EK_File): 10948 <0x615c2b90>
05      11/24/07 17:51:59.933           Socket::ReceiveData 0x8857da8 failed, bytes left 0 start: 3000000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 191 Incoming_Conn Socket 191 192.168.1.1 <0x615c2b90>
05      11/24/07 17:51:59.933           Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 191 192.168.1.1 <0x615c2b90>
05      11/24/07 17:51:59.933           TCPIP: Closing connection to -1003 (Router Dev #0) 0x8857da8 m_Socket: -1 <0x615c2b90>
05      11/24/07 17:51:59.933           Router::RemoveAndDeleteSocket 0x8857da8 -1003 <0x615c2b90>

388
Users / Re: Disk_Drive device never starts
« on: November 24, 2007, 07:07:09 pm »
The log is empty. I tried adding another disk drive device to the core and nothing happens. No log for the device appears. grep -R Disk /var/log/pluto/Spawn_Device.log returns nothing so it's not even trying to start the disk drive.

I did a bit of investigation on the second PC - a diskless MD - which also will not play from DVD and found that the drive is actually being recognised but has an error in the log:

more /var/log/pluto/103_Disk_Drive.log
== ATTEMPT FRESH START ==
1       11/24/07 17:33:52       Spawn_Device.sh 103 (spawning-device)   10243 Dev: 103; Already Running list: 97,98,
== FRESH START ==
1       11/24/07 17:33:52       Spawn_Device.sh 103 (spawning-device)   device: 103 ip: 192.168.1.1 cmd_line: Disk_Drive
0       11/24/07 17:33:52       103 (spawning-device)   Entering 103
========== NEW LOG SECTION ==========
1       11/24/07 17:33:53       103 (spawning-device)   Starting... 1
1       11/24/07 17:33:53       103 (spawning-device)   Found ./Disk_Drive
01      11/24/07 17:34:16.059           FindFirstRelatedDeviceOfCategory 115 dev 105 never registered <0xb76cf6d0>
05      11/24/07 17:34:16.060           Disk_Drive_Functions::Disk_Drive_Functions warning m_pDevice_MediaIdentifier 105 isn't registered <0xb76cf6d0>
05      11/24/07 17:34:17.347           Disc of type 3 was detected <0xb76cf6d0>
05      11/24/07 17:34:17.347           Not firing the event <0xb76cf6d0>

389
Users / Disk_Drive device never starts
« on: November 24, 2007, 04:48:44 pm »

The Disk_Drive device on my core and media directors never starts. If I look at the modification date for the log file I see it has not worked for a month:

# ls -l 26_Disk_Drive.log
-rw-r--r-- 1 root root 74 2007-10-05 17:21 26_Disk_Drive.log

I'm not sure what this is started by. It's a child of the orbiter so I looked in the orbiter logs but can't see anything interesting (searched for Disk and disk and found nothing). The App server log also contains no references.

How can I fix this or get Disk_Drive to start manually?

Thanks,

Chris

390
Developers / How can I add av sync controls to xine?
« on: November 24, 2007, 01:27:59 pm »

I wish to add controls to allow Xine_player to receive av sync +/- controls, equivalent to n/m keys when using the normal xine with a keyboard (this does not work with the LMCE version).

I understand that I need to add data to the RemoteMapping table to redirect lirc keypresses to pluto messages, but am not sure what I need to do to get Xine_player to intercept them.

Is anybody else doing any work on this particular feature btw?

Cheers,

Chris

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