WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to run 'lshal'?  (Read 6840 times)

Offline banderlog

  • Newbie
  • *
  • Posts: 6
How to run 'lshal'?
« on: July 20, 2009, 04:34:20 AM »
I need to run 'lshal' from my pendrive. But didn't found hal in available modules. What can I do?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: How to run 'lshal'?
« Reply #1 on: July 20, 2009, 05:08:09 AM »
Hi,

I'm just working on to add HAL to TC. Actually there are some missing dependencies, old versions, etc. but will come as it is needed for my applications, including Xfce4.

I will post it for testing soon, hopefully.

« Last Edit: July 20, 2009, 05:09:55 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: How to run 'lshal'?
« Reply #2 on: July 20, 2009, 05:59:58 AM »
I compiled hal for tc - the problem is that it needs to replace a couple of items in the base - blkid and libblkid as I recall, that come from utils-linux-ng...

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: How to run 'lshal'?
« Reply #3 on: July 20, 2009, 06:08:30 AM »
I compiled hal for tc - the problem is that it needs to replace a couple of items in the base - blkid and libblkid as I recall, that come from utils-linux-ng...

You are right, there are many dependencies which also depend on the HAL version. This is good to use latest version, however PolicyKit and ConsoleKit must be disabled because of their dependencies and do not give real benefits in a TC environment. As soon as you disable it situations looks much better. If you are stepping back few versions you can keep many actual elements as well, I think.

Another issue is udev for example which doesn't fit correctly to HAL.

Anyhow, we need HAL for many reasons at least available as an extension and TC/MC base must have the necessary components to build HAL on them.

Let me play a bit with HAL and see the outcome. I need to support features in Xfce4.
« Last Edit: July 20, 2009, 06:11:31 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: How to run 'lshal'?
« Reply #4 on: July 20, 2009, 06:42:25 AM »
 :) I just got HAL 0.5.12 compiled succesfuly on top of TC 2.1

Of course need testing to see whether it works or not. But at least some success!
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline banderlog

  • Newbie
  • *
  • Posts: 6
Re: How to run 'lshal'?
« Reply #5 on: July 20, 2009, 08:40:41 AM »
bmarkus
Can you give me the link to compiled version, please?
I'll help you to test it at least on running lshal ;)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: How to run 'lshal'?
« Reply #6 on: July 20, 2009, 09:18:34 AM »
bmarkus
Can you give me the link to compiled version, please?
I'll help you to test it at least on running lshal ;)

Not yet. It must be tested inhouse before I can give it out for testing. Still the daemon do not starts due to missing directories, files, ownerships, etc.

Please be a patient a while  ;)

Added:

To run lshal requires HAL daemon itself up and running properly. If it is done, lshal works for sure. If daemon is not running, lshal dies with a message..
« Last Edit: July 20, 2009, 09:28:19 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline banderlog

  • Newbie
  • *
  • Posts: 6
Re: How to run 'lshal'?
« Reply #7 on: July 20, 2009, 10:05:13 AM »
Quote
Not yet. It must be tested inhouse before I can give it out for testing. Still the daemon do not starts due to missing directories, files, ownerships, etc.

Please be a patient a while  ;)

Added:

To run lshal requires HAL daemon itself up and running properly. If it is done, lshal works for sure. If daemon is not running, lshal dies with a message..


And when approximately? (Sorry for annoying!  :) )
I have a task to build small livecd distro supporting such function and terms are near to be up :(

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: How to run 'lshal'?
« Reply #8 on: July 20, 2009, 10:07:51 AM »
Why do you need lshal?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline banderlog

  • Newbie
  • *
  • Posts: 6
Re: How to run 'lshal'?
« Reply #9 on: July 20, 2009, 10:52:05 AM »
I need to run a script from livecd. It contains 'lshal', 'lsusb', 'lspci', etc and generates a logfile with predefined structure.

Offline banderlog

  • Newbie
  • *
  • Posts: 6
Re: How to run 'lshal'?
« Reply #10 on: July 27, 2009, 06:55:40 AM »
bmarkus
What about the topic?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: How to run 'lshal'?
« Reply #11 on: July 27, 2009, 08:09:21 AM »
bmarkus
What about the topic?

In progress
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: How to run 'lshal'?
« Reply #12 on: August 01, 2009, 01:54:01 PM »
New version of HAL is submitted with today's date. Now it works as expected, including lshal.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline banderlog

  • Newbie
  • *
  • Posts: 6
Re: How to run 'lshal'?
« Reply #13 on: August 03, 2009, 03:48:47 PM »
thats great!!!
i'll try it tomorrow.
thanks a lot!

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: How to run 'lshal'?
« Reply #14 on: August 04, 2009, 03:25:44 PM »
thats great!!!
i'll try it tomorrow.
thanks a lot!

Let me know the result when you tried it.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."