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

Pages: 1 [2]
16
Users / GSD - sending simple sting to a serial interface
« on: February 05, 2008, 04:26:50 pm »
target: sending a simple string to a RS232 interface

followed to all tutorials and howto's which I've found but with no success so far.

my situation currently is:
I added a new device as Pluto Generic Serial Device as category Interface::Specialized like I've found on the forums and configured like it was recommended. Then added the ruby-code "conn_.Send("#01000001\r")" to the Process Receive Command For Child command.

I added the device as top-level device in my devices-tree and tried to send a command via the link but always says "delivery failed"... and the interface doesn't get the command. The log-file for my new device is not even created and the function "Follow Log" does say "file not found".

one thread stated that the package 'pluto-generic-serial-device' must be present. I checked and it wasn't present. I fetched it via aptitude on the core (where the serial device is connected to) and restarted everything. Do I need to include the new package somehow/somewhere?

as well I checked process-tree if something with Generic Serial is around... but nothing around. (command:  ps -elf). Did as well Quick Reload Router and whatever.

My Configuration for COM Port is: "/dev/ttyS0", BaudRate: "B9600" and parity "N81". As well I specified "RS232" as means of communication. I furthermore checked directly from KDE with cutecom if the configuration and port-name is correct and if the teststring really works -> that worked perfectly (and yes, I've closed the port in cutecom after testing again in lmce).

DCERouter.log has this when I try send command (64 is ID of the top-level device I created in device-tree)...
Code: [Select]
13      02/05/08 16:57:40.562           TCPIP: Accepting incoming connection on socket 64, port 3450, from IP 127.0.0.1. <0xb4407b90>
10      02/05/08 16:57:40.562           ServerSocket::Created 0x85b9a38 m_Socket: 64 <0xb4407b90>
10      02/05/08 16:57:40.562           Thread created for Incoming_Conn Socket 64 127.0.0.1 dev -1 ptr 0x85b9a38 <0xb4407b90>
10      02/05/08 16:57:40.562           Running socket 0x85b9a38... m_bTerminate: 0 <0xa468db90>
08      02/05/08 16:57:40.567           Received Message from 0 (^[[36;1munknown / ^[[0m) to 69 (^[[36;1mAdam#3 / Keller^[[0m), type 1 id 384 Command:^[[35;$
10      02/05/08 16:57:40.567           begin realsendmessage before lock <0xa468db90>
10      02/05/08 16:57:40.568           realsendmessage from 0 to 69 type 1 id 384  <0xa468db90>
10      02/05/08 16:57:40.568           realsendmessage after core release from 0 to 69 type 1 id 384  <0xa468db90>
05      02/05/08 16:57:40.568           ^[[33;1mThe target device 69 (routed to 69) has not registered.^[[0m <0xa468db90>
05      02/05/08 16:57:40.568           ^[[33;1mSender: 0 sent message type: 1 ID: 384 and expected a confirmation from 69^[[0m <0xa468db90>
10      02/05/08 16:57:40.568           realsendmessage - end <0xa468db90>
05      02/05/08 16:57:40.569           ^[[33;1mSocket::ReceiveData 0x85b9a38 failed, bytes left 0 start: 2080000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 64 Incomin$
13      02/05/08 16:57:40.570           Socket::Close() m_Socket 64 <0xa468db90>
13      02/05/08 16:57:40.570           Socket::Close() m_Socket 64 closesocket: 0 <0xa468db90>
05      02/05/08 16:57:40.570           ^[[33;1mSocket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 64 127.0.0.1^[[0m <0xa468db90>
05      02/05/08 16:57:40.570           ^[[33;1mTCPIP: Closing connection to -1003 (Router Dev #0) 0x85b9a38 m_Socket: -1^[[0m <0xa468db90>
10      02/05/08 16:57:40.570           Detected disconnect: detaching thread for -1003 <0xa468db90>
05      02/05/08 16:57:40.570           ^[[33;1mRouter::RemoveAndDeleteSocket 0x85b9a38 -1003^[[0m <0xa468db90>
10      02/05/08 16:57:40.571           Executed query UPDATE Device SET Registered=0,psc_mod=psc_mod WHERE PK_Device=-1003 (0 rows) <0xa468db90>
13      02/05/08 16:57:40.571           Socket::Close() m_Socket -1 <0xa468db90>
13      02/05/08 16:57:40.572           Removing socket 0x85b9a38 from socket listener <0xa468db90>
22      02/05/08 16:57:40.572           Stale Command handler (0x85b9a38) for ^[[34;1m-1003^[[0m closed. <0xa468db90>
22      02/05/08 16:57:40.572           Map server socket size 15, vector server socket size 45 <0xa468db90>
10      02/05/08 16:57:40.572           ServerSocket::~ServerSocket(): @0x85b9a38/-1 Is it running 0? <0xa468db90>
13      02/05/08 16:57:40.572           Socket::Close() m_Socket -1 <0xa468db90>
13      02/05/08 16:57:40.572           Socket::~Socket(): deleting socket @0x85b9a38 Incoming_Conn Socket 64 127.0.0.1 (socket id in destructor: m_Socket: $
1
so seems like the problem is that the device was not registered... that maybe because the GSD processes not running ...?

I can write much more detailed information if needed... just I would be glad to get some hints where to start checking and searching for the problem.

Thx in advance,
thomas

17
Users / server dies with oops
« on: November 17, 2007, 12:44:27 pm »
my linuxmce server crashes est. all 20 hours... I got a OOPS posted below. Seems it is a problem in mount.cifs - is there maybe a new version of this samba part, and can I patch mine? or am I on the wrong track?


here the oops details:
Message from syslogd@dcerouter at Sat Nov 17 11:58:57 2007 ...
dcerouter kernel: [64949.094847] Oops: 0002 [#1]

Message from syslogd@dcerouter at Sat Nov 17 11:58:57 2007 ...
dcerouter kernel: [64949.094849] SMP

Message from syslogd@dcerouter at Sat Nov 17 11:58:57 2007 ...
dcerouter kernel: [64949.094997] CPU:    0

Message from syslogd@dcerouter at Sat Nov 17 11:58:57 2007 ...
dcerouter kernel: [64949.094999] EIP:    0060:[<dee6fae0>]    Not tainted VLI

Message from syslogd@dcerouter at Sat Nov 17 11:58:57 2007 ...
dcerouter kernel: [64949.095001] EFLAGS: 00010246   (2.6.20-15-generic #2)

Message from syslogd@dcerouter at Sat Nov 17 11:58:57 2007 ...
dcerouter kernel: [64949.095023] EIP is at tconInfoFree+0x20/0x80 [cifs]

Message from syslogd@dcerouter at Sat Nov 17 11:58:57 2007 ...
dcerouter kernel: [64949.095028] eax: 00000001   ebx: d85855c0   ecx: dac8b200   edx: 00000002

Message from syslogd@dcerouter at Sat Nov 17 11:58:57 2007 ...
dcerouter kernel: [64949.095032] esi: c8b6126f   edi: 00000000   ebp: c952bc80   esp: d5f23cb0

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.095035] ds: 007b   es: 007b   ss: 0068

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.095039] Process mount.cifs (pid: 2676, ti=d5f22000 task=d4d7ca90 task.ti=d5f22000)

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.095042] Stack: 00000000 d85855c0 dee641ce d85855c0 ded14b20 000000c0 000000a8 00000050

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.095052]        00000003 d5f23d0c d5f23cf0 dad59b80 dac8b200 fffffffa 00014494 00000000

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.095061]        d9028034 ca1a2480 00000000 c8b61260 d9028022 00000000 00000000 52454344

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.095070] Call Trace:

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.095105]  [<dee641ce>] cifs_mount+0x63e/0x25a0 [cifs]

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.095586]  [idr_get_new+10/48] idr_get_new+0xa/0x30

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.095656]  [sget+681/784] sget+0x2a9/0x310

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.095763]  [<dee586f0>] cifs_get_sb+0x90/0x1e0 [cifs]

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.095887]  [vfs_kern_mount+182/304] vfs_kern_mount+0xb6/0x130

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.096003]  [do_kern_mount+57/96] do_kern_mount+0x39/0x60

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.096066]  [do_mount+762/1808] do_mount+0x2fa/0x710

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.096190]  [mntput_no_expire+36/160] mntput_no_expire+0x24/0xa0

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.096231]  [link_path_walk+101/192] link_path_walk+0x65/0xc0

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.096296]  [get_page_from_freelist+679/880] get_page_from_freelist+0x2a7/0x370

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.096506]  [__alloc_pages+79/832] __alloc_pages+0x4f/0x340

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.096809]  [error_code+124/144] error_code+0x7c/0x90

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.096956]  [copy_mount_options+64/336] copy_mount_options+0x40/0x150

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.097055]  [sys_mount+119/192] sys_mount+0x77/0xc0

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.097137]  [sysenter_past_esp+105/169] sysenter_past_esp+0x69/0xa9

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.097344]  =======================

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.097347] Code: cf e8 de 5f 89 d0 c3 8d 74 26 00 53 89 c3 83 ec 04 85 c0 74 46 b8 78 cf e8 de e8 3c ec 47 e1 90 ff 0d b8 cf e8 de 8b 13 8b 43 04 <89> 42 04 89 10 c7 43 04 00 02 20 00 c7 03 00 01 10 00 90 81 05

Message from syslogd@dcerouter at Sat Nov 17 11:58:58 2007 ...
dcerouter kernel: [64949.097399] EIP: [<dee6fae0>] tconInfoFree+0x20/0x80 [cifs] SS:ESP 0068:d5f23cb0

18
Users / cramfs: wrong magic ??
« on: November 12, 2007, 09:44:36 am »
Hi,

on my MD (HP ThinClient used as diskless device) when I switch to a terminal session the system automatically keeps typing "cramfs: wrong magic" all the time. Found no information about such an issue here or in another linux forum. So far it says that when it is displayed once during boot it can be ignored. But in my case I cannot type even user name and password without having typed those error messages automatically into between.

what does this message mean? it the harddisc having failures? or can it be hardware incompatibility with the ThinClient? However the station works so far, although it sometimes simply hangs and has to be restarted....

19
Users / Re: orbiter power-off not working
« on: November 10, 2007, 11:36:51 am »
hehe, yeah that worked. using "xset -display :0 dpms 20 20 20" does monitor standby after 20sec and can be run from terminal.

however this setting seems to be reset to off-state at start of orbiter. But when I run that statement after orbiter is fully started and monitor keeps on all the time.
For now I solved that via a cronjob which runs that statement every 30min. or so...
would there be a place where I can put this statement so that it's run only once at the end of orbiter launch?

20
Users / Re: orbiter power-off not working
« on: November 08, 2007, 10:57:46 pm »
tested and tried many things since my first post and I got a bit further, hope somebody can help me with the rest:

what my situation is like:
my station start directly MediaStation and Orbiter. When I start KDE desktop from LinuxMCE and there in a console window type "xset dpms 20 20 20" and click in taskbar on the LinuxMCE tab to return to orbiter screen, then after 20sec the monitor really powers off!

The question now is if I can automate this command. As KDE normally is not started I don't know where to put that line. Running it from another terminal not within KDE brings error (think because it isn't connect to xserver there because initlevel too low.. ).
can somebody help me with that?

21
Users / Re: What are the minimum requirements for a thin client?
« on: November 01, 2007, 10:42:55 am »
recently I tried a miniPC2 and miniPC3 from Flepo (DT Research model DT 166 and 168 if I'm not wrong) over a 100Mbit network. MiniPC2 was an AMD Geode 800 and miniPC3 was VIA C7 with 1Ghz Processor.

The VIA C7 one I didn't manage to get booting up to Orbiter - but maybe with special tuning and better know-how it would have been not much of a problem. However the AMD Geode one booted out of the box properly and worked fine so far. The reason why I returned it again was simply that it was too slow for playing a DVD over network from server (I couldn't try TV stream at that time so don't know)

I bought HP 5720 ThinClients then with 1,5G cpu and 512 RAM and they work properly so far

22
Users / Re: orbiter power-off not working
« on: October 30, 2007, 10:32:49 pm »
did that... display is cool now again - but the offtime option seems to be overridden although it's still there in xorg.conf - however monitor doesn't go to standby

23
Users / Re: orbiter power-off not working
« on: October 30, 2007, 05:32:37 pm »
thx, didn't want to make you mad, sorry if I did

I tried now with a normal PC monitor. Tried to put
Option "offtime" "3"
into xorg.conf - ServerLayout section like some thread recommend - and there I have the same behaviour

power-off is working well then - but the resolution is blown up... the LMCE manager window shows only in parts and the fonts are shown in huge letters...

hope anybody can point me to something helpful

24
Users / Re: orbiter power-off not working
« on: October 30, 2007, 04:46:48 pm »
thank you for reply...

maybe I missed some information:
the touchscreen display is MediaDirector & Orbiter. I use a HP ThinClient and ELO touchscreen.

is it really that the screen has to run 24h on the screensaver images in current version?

and why the resolution screws up when I activate the power off in system settings... can that be prohibited?

25
Users / orbiter power-off not working
« on: October 30, 2007, 01:55:02 pm »
Hi,

have a touchscreen via usb (ELO product) and got it working so far. The problem ist that the power-off function seems to be ignored and the screen-saver is shown for days (but I didn't change anything in the configuration of orbiter manually - all is default).

So I start to KDE, open System Settings -> Monitor & Display and activate Power-Off function there. Now the power-off works. BUT after a reboot the screen resolution is screwed totally. The MediaDirectory setting for "Video Setting" says 2048 1536/60 but 800 600/60 would be the one I did chose before. Even KDE desktop isn't shown properly anymore (only part of the screen so that I cannot turn power-off anymore). FullRegen doesn't do a change either. I can set manually the Video Setting to 800 600/60 but after a reboot it's somehow automatically changed to 2048 1536/60 again.

Hope anybody has idea which could help me, thx in advance
Thomas

26
Users / Re: hardware recommendation for MediaDirector miniPC
« on: July 30, 2007, 05:42:46 pm »
Hi Thomas,

Any of the C7/CN700 or C7/CX700 mini-itx fanless motherboards should be fine (eg VIA EX15000 and NX12000 or Jetway J7F2) and  there are numerous mini-itx compatible enclosures that will mount behind and LCD/Plasma screen using VESA mountings. We have several on test here and they work nicely using the Openchrome drivers under UI1.

For good UI2 performance your best bet is to go with the fire-station back mounted C7 based box below. They are expensive though...

http://www.fiire.com/fiire-station.php

Hope the above helps you.

Regards

Andrew

would you be so kind an tell me what system you got working with these motherboards already? Did you use PXE boot or installed ubuntu on harddisk?
.. maybe this question is very silly... but don't know right now where to start with a try to get UI1 installed on my miniPC. Can you point me to the starting-point maybe?

27
Users / Re: hardware recommendation for MediaDirector miniPC
« on: July 30, 2007, 01:31:44 pm »
hey, thx for the posts. But my situation is that I have already the touchscreen wall mounted (in-wall) and I want and have to keep that one. What I was asking for was a mini-PC for the purpose stated in my first post. The TabletPC is nice but I don't want to mount a display somewhere in the corner under the table where nobody will see it. Should just have a working mini PC system...
?

thomas

28
Users / hardware recommendation for MediaDirector miniPC
« on: July 29, 2007, 12:00:20 pm »
...searched the forum for quite a while and got partly answers but none so far could convince me so far...

I'm searching hardware to be used as media director together with a 12'' Touchscreen. The MD should be mounted in the room so a fanless, less power consumption system would be appreciated. I came over DTResearch product and ordered a DT160 with VIA C7 cpu (1 GHz). But that one running embedded XP (no ressources for linux so far) and the video output is quite poor... (although video quality is not too much important to me but I don't want to forget about video comletely either...)

can anybody give an advise whether it would be better to send this one back and recommend me another similar product?

thanks in advance,
thomas

29
Users / Re: are there some suggestions for MD/Orbiter for a newbie
« on: April 30, 2007, 06:03:01 pm »
for nr. 2: how would I solve the audio problem - when I don't want to use the built-in speakers, any idea for that one?

30
Users / are there some suggestions for MD/Orbiter for a newbie
« on: April 28, 2007, 02:05:49 pm »
Hi,

I'm right now building a new house and would like to do best integration of linuxMCE. Can sombody give me good suggestions on the following questions please?

Let's say I have a server and a wired network already - so what's missing are the MediaDirectors for

LivingRoom
Bedroom
Bathroom

1) In LivingRoom I have a quite good LCD TV screen. What will feed my TV screen best - is there any little cool box which connects to LinuxMCE server with bluetooth support? Should that one be able to boot by PXE? or best to set up there a normal Desktop PC and use the TV screen as monitor?

2) In Bedroom actually mostly used for audio and light control. Read about WebPads - can somebody recommend one? And please suggest as well all the things whch never would have come into my mind otherwise... And isn't Audio a problem when I don't want to use the built-in speakers but the one installed in my bedroom?

3) Bathroom - ok I know the water is a problem as well as the voltage and whatever else.. I thought cool would be to have a wall-mounted touchscreen used as a MediaDirector to control light, hear audio and watch the news on the little screen.


Yet many many thanks for any help!
Thomas

Pages: 1 [2]