Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#217351 - 29/05/2004 17:04 Palantir Install... Tungsten not finding Empeg
mwest
old hand

Registered: 01/05/2003
Posts: 768
Loc: Ada, Oklahoma
I installed Palantir with relative ease for a nonprogrammer with no linux experience. However, just as I thought I had achieved nirvana my Tungsten returned an error. "Could not find a recieving handheld computer" Could I have done something wrong putting irattach in the lib file. Or maybe screwed up the read/write permissions?
_________________________
-Michael West

Top
#217352 - 30/05/2004 10:35 Re: Palantir Install... Tungsten not finding Empeg [Re: mwest]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
View the serial log when your player is booting and post it here. Empire should report a successful startup in the log, and we can test to make sure it is started correctly.

Also, you might have to hold your Palm fairly close to the IrDA port for it to work. Some have reported that their IR port on the Palm is pretty weak, my Tungsten C however can be used a few feet away. Try it at about 5 inches, inline.
_________________________
Mark Cushman

Top
#217353 - 03/06/2004 14:29 Re: Palantir Install... Tungsten not finding Empeg [Re: cushman]
mwest
old hand

Registered: 01/05/2003
Posts: 768
Loc: Ada, Oklahoma
Sorry this took so long... I can post the whole read out but I think I found the pertinent lines....

start_empire: Starting Empire...
/usr/local/bin/empire: error in loading shared libraries: libopenobex-1.0.so.0:
cannot open shared object file: No such file or directory
IrDA: Registered device irda0
_________________________
-Michael West

Top
#217354 - 03/06/2004 15:21 Re: Palantir Install... Tungsten not finding Empeg [Re: mwest]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3583
Loc: Columbus, OH
open a terminal connection and run this command:

ls -al /lib/libopen*

and paste the output here.
_________________________
~ John

Top
#217355 - 03/06/2004 16:17 Re: Palantir Install... Tungsten not finding Empeg [Re: JBjorgen]
mwest
old hand

Registered: 01/05/2003
Posts: 768
Loc: Ada, Oklahoma
empeg:/empeg/bin# ls -al /lib/libopen*
-rwxr-xr-x 1 0 0 28796 Oct 12 09:01 /lib/libopenobex-1.0.so.
0.0.0
empeg:/empeg/bin#
_________________________
-Michael West

Top
#217356 - 03/06/2004 16:26 Re: Palantir Install... Tungsten not finding Empeg [Re: mwest]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Give this a shot...

rw
cd /lib
cp libopen* libopenobex-1.0.so.0
ro

...and try it...
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#217357 - 03/06/2004 16:30 Re: Palantir Install... Tungsten not finding Empeg [Re: pgrzelak]
mwest
old hand

Registered: 01/05/2003
Posts: 768
Loc: Ada, Oklahoma
Woot! Thanks guys! You're the best!
_________________________
-Michael West

Top
#217358 - 03/06/2004 16:31 Re: Palantir Install... Tungsten not finding Empeg [Re: pgrzelak]
mwest
old hand

Registered: 01/05/2003
Posts: 768
Loc: Ada, Oklahoma
...by the way. What does cp do?

I just became an old hand... <sniff sniff> I never thought I'd make it.


Edited by mwest (03/06/2004 16:33)
_________________________
-Michael West

Top
#217359 - 03/06/2004 16:39 Re: Palantir Install... Tungsten not finding Empeg [Re: mwest]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

cp is the unix "copy" command. The directory listing (ls) you did of the /lib directory showed the library file. But it looked kind of odd that it seemed to span multiple lines with multiple zeros. So, you copied the file that looked like it had the wrong name to the proper name. That seemed to do the trick.

Congrats on the promotion!!! Did you ever get credit for you posts under your old username?

Edit: before anyone asks, I recommended the copy rather than the move (mv) because I was not sure if it was a typo or not, and wanted to keep the old file in place, just in case...


Edited by pgrzelak (03/06/2004 16:40)
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#217360 - 03/06/2004 16:50 Re: Palantir Install... Tungsten not finding Empeg [Re: pgrzelak]
mwest
old hand

Registered: 01/05/2003
Posts: 768
Loc: Ada, Oklahoma
Yes... Tony or Drakino transfered my post count and name color, which I greatly appreciated, considering the circumstances.
_________________________
-Michael West

Top
#217361 - 03/06/2004 20:54 Re: Palantir Install... Tungsten not finding Empeg [Re: mwest]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
Ye, you forgot to follow step 4 on the install instructions:

Use an FTP program to copy lib/libopenobex-1.0.so.0.0.0 from empire.zip to your /lib directory on the empeg. You will have to create a few symbolic links from the command line on the Empeg. Before creating the links, remember to mount your drives read/write. This can be done using a terminal program connected to the Empeg via the serial cable:

empeg:/empeg/bin# rw
empeg:/empeg/bin# cd /lib
empeg:/lib# ln -s libopenobex-1.0.so.0.0.0 libopenobex.so
empeg:/lib# ln -s libopenobex-1.0.so.0.0.0 libopenobex-1.0.so.0


This would have created symbolic links (shortcuts, kind of) to the library, fixing your problem.

Glad you got it working!
_________________________
Mark Cushman

Top
#217362 - 06/06/2004 18:29 Re: Palantir Install... Tungsten not finding Empeg [Re: cushman]
mwest
old hand

Registered: 01/05/2003
Posts: 768
Loc: Ada, Oklahoma
Ok... after leaving on a trip that I was trying to get Palantir ready for I realized that its not actually adding the songs to the playlist. It says that is but the songs don't show up and the number of songs in the playlist doesn't increase. I'll post the read out tomorrow.
_________________________
-Michael West

Top
#217363 - 07/06/2004 10:10 Re: Palantir Install... Tungsten not finding Empeg [Re: mwest]
mwest
old hand

Registered: 01/05/2003
Posts: 768
Loc: Ada, Oklahoma
Mounting proc
Mounting first music partition
Tried to mount /dev/hda4 as reiserfs but got error 19
Mounting second music partition
Remounting first music partition read-only
Remounting second music partition read-only
Press 'q' now to go into development mode. You Have Zero Seconds To Comply...
Starting player
Timezone: /usr/share/zoneinfo/Atlantic/South_Georgia
Hijack: intercepting config.ini

hijack_exec("", "exec /bin/bash -c "/usr/local/bin/start_empire 10 &""), rc=0 (o
kay)
hijack: removed menu entry: "Hard Disk Detection"
hijack: removed menu entry: "Serial Port Assignment"
khttpd: listening on port 80
kftpd: listening on port 21
start_empire: sleeping for 10 seconds...
player.cpp : 385:empeg-car 2.00 2003/04/01.
Prolux 4 empeg car - 2.1434 Mar 26 2003
Vcb: 0x4086d000
start_empire: Starting Empire...
IrDA: Registered device irda0
_________________________
-Michael West

Top
#217364 - 07/06/2004 10:15 Re: Palantir Install... Tungsten not finding Empeg [Re: mwest]
mwest
old hand

Registered: 01/05/2003
Posts: 768
Loc: Ada, Oklahoma
Never mind... Everything seems to be working now... I must not be sleeping enough.
_________________________
-Michael West

Top
#217365 - 07/06/2004 10:21 Re: Palantir Install... Tungsten not finding Empeg [Re: mwest]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
That looks ok. You say you actually get the message "Empire: Inserted xx songs into playlist" when you beam a playlist up? Can you keep the serial connection, beam a song, and post the log? Somewhere /proc/empeg_notify isn't getting the message if the playlist doesn't change.
_________________________
Mark Cushman

Top
#217366 - 07/06/2004 10:22 Re: Palantir Install... Tungsten not finding Empeg [Re: mwest]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
OK cool, did you maybe have Palantir set to "Append" instead of "Enqueue" or "Insert"?

Sometimes the total song number doesn't update quickly when you insert songs.
_________________________
Mark Cushman

Top
#217367 - 07/06/2004 10:33 Re: Palantir Install... Tungsten not finding Empeg [Re: cushman]
mwest
old hand

Registered: 01/05/2003
Posts: 768
Loc: Ada, Oklahoma
I think that was it... Could there be any difference in the way Palantir reacts to ac vs. dc power?
_________________________
-Michael West

Top
#217368 - 07/06/2004 10:46 Re: Palantir Install... Tungsten not finding Empeg [Re: mwest]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
Only one thing I can think of, in Hijack make sure that Serial Port Assignment is set to Player.

Force DC mode in Hijack to test.
_________________________
Mark Cushman

Top
#217369 - 07/06/2004 11:52 Re: Palantir Install... Tungsten not finding Empeg [Re: cushman]
eliceo
enthusiast

Registered: 18/02/2002
Posts: 335
I have used Palantir on my palm IIIxe, the range was very short and the angles were kinda awkward. Do any of the newer palm devices have better range/angles when used with Palantir?

Top
#217370 - 07/06/2004 12:33 Re: Palantir Install... Tungsten not finding Empeg [Re: eliceo]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
My Tungsten C has a range of a few feet with my player. I can't say what the range of the other new devices are. My old Vx had a range of about 10 inches.

The type of lens you have on your player may make a difference also. I'm using a bronze Filener lens.
_________________________
Mark Cushman

Top
#217371 - 07/06/2004 20:39 Re: Palantir Install... Tungsten not finding Empeg [Re: cushman]
mwest
old hand

Registered: 01/05/2003
Posts: 768
Loc: Ada, Oklahoma
That was it... I had the serial set to apps. Thanks for all your help Mark. The simplicity of your software has made my empeg even more popular with the non-techies I hang out with.
_________________________
-Michael West

Top
#217372 - 08/06/2004 02:09 Re: Palantir Install... Tungsten not finding Empeg [Re: cushman]
StigOE
addict

Registered: 27/10/2002
Posts: 568
Does that mean you can't have a GPS connected if you want to use Palantir? Guess I could just switch off the GPS feed if I install Palantir (and set the serial to Player) and only turn it on when I need it. The Empeg acts so funky if set to Player with GPS feed switched on...

Stig

Top
#217373 - 08/06/2004 05:51 Re: Palantir Install... Tungsten not finding Empeg [Re: StigOE]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
Pretty much. There was talk earlier of faking out the player to make it think it was connected to the physical serial port, and instead connecting it to a virtual serial port, allowing us to write serial commands to the player and also being able to open the serial port device from apps (gpsapp). I'm not sure what the conclusion was on that idea, but that would enable both Palantir (and Emphatic, I believe uses serial commands) to coexist with gpsapp.
_________________________
Mark Cushman

Top