Page 1 of 1

HDDtemp and windowing

Posted: Sat Mar 21, 2009 1:05 am
by bluehash
I was testing out some features of domotiga. In case of hddtemp,
I always get a connection refused no matter what.
However I can always get a response on the console as root or user.

I thing something is wrong with my windows. It doesn't look proper. I have gtk installed. See attached screenshot.

Can't seem to upload jpeg files. Get the following error
Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument: 'Mid'
/outputFile.asp, line 29

HDDtemp and windowing

Posted: Sat Mar 21, 2009 11:30 am
by RDNZL
What do you get if you do:

$ telnet localhost 7634

I get:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
|/dev/sda|ST980210AS|36|C|Connection closed by foreign host.

Which is good since I only have on drive.

What do your HDDTemp settings say?

And maybe you made a wrong setting while installing it:
What do you see if you do:
$ netstat -an |grep 7634

This is my output:
tcp 0 0 0.0.0.0:7634 0.0.0.0:* LISTEN

About the windows, DomotiGa uses QT, but maybe you can get it look better by trying out the tips in the faq:

http://www.domotiga.nl/projects/domotig ... motiga/Faq

Regards,
Ron.

HDDtemp and windowing

Posted: Sat Mar 21, 2009 5:29 pm
by bluehash
For some reason I needed to start the hddtemp daemon
hddtemp -d /dev/sda1

After that I get
[bluehash@localhost ~]$ telnet localhost 7634
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
|/dev/sda1|FUJITSU MHV2060AH|42|C|Connection closed by foreign host.

But on Domotiga, with debug on, I get
2009/03/20 23:23:53 [HDDTemp] Connected to socket localhost:7634
2009/03/20 23:23:53 [HDDTemp] Got string: |/dev/sda1|FUJITSU MHV2060AH|42|C|
2009/03/20 23:23:53 [HDDTemp] Device /dev/sda1 has temp 42C
2009/03/20 23:23:53 [Devices] No device with address /dev/sda1 found for interface HDDTemp Socket!
2009/03/20 23:23:53 [HDDTemp] Device /dev/sda1 not found!

I having problems installing polymer. Although I have qt libraries, configure always errors out.

checking for Qt root directory... /usr/lib/qt-3.3
checking for multithreaded Qt3 library... yes
checking for moc... /usr/lib/qt-3.3/bin/moc
checking for uic... /usr/lib/qt-3.3/bin/uic
checking for lupdate... /usr/lib/qt-3.3/bin/lupdate
checking for lrelease... /usr/lib/qt-3.3/bin/lrelease
checking if a small Qt program runs... no
configure: error: Qt library not found

HDDtemp and windowing

Posted: Sat Mar 21, 2009 8:35 pm
by RDNZL
You just have to create a device in DomotiGa (or change the demo hddtemp device), and set it's address to /dev/sda1 and interface to HDDTemp Socket.

I have no Fedora running, but maybe its better to look for a rpm or package of polymer, could be part of a gnome theme package.
That way all prerequired packages come with it automatically.