Author Topic: Nokia 770 Orbiter  (Read 57084 times)

caiman

  • Veteran
  • ***
  • Posts: 119
    • View Profile
Re: Nokia 770 Orbiter
« Reply #15 on: August 15, 2007, 05:04:52 pm »
Thanks to both of you !

Indeed, xterm showed that it was missing libsdl-ttf, which the deb package had not forced me to install. I have installed it but still get an error related to the fonts:

Code: [Select]
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  8
  Current serial number in output stream:  10

progressing :-)

I have tried copying /usr/share/fonts/truetype/msttcorefonts/ from the core, but no luck.

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: Nokia 770 Orbiter
« Reply #16 on: August 15, 2007, 05:44:50 pm »
I remember there are a few more steps that needed to be taken when installing TrueTypeFonts, IIRC it goes a little like this, go to the directory with the fonts and do:
Code: [Select]
mkfontscale
mkfontdir
fc-cache
These might be outdated/obsolete/replaced by now though so your mileage may vary.
"Change is inevitable. Progress is optional."
-- Anonymous


nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: Nokia 770 Orbiter
« Reply #17 on: August 15, 2007, 08:54:05 pm »
Well, probably I forgot to add libsdl-ttf as Orbiter dependence. Thanks for reporting that. Regarding your error. It's strange a bit. Because msttcorefonts don't affect start of Orbiter. You just cannot see captions without them. But Orbiter should work. I tested the Orbiter (2.0.0.45) with LinuxMCE RC1 and It works fine. Can you post the full output here or send it to me by email: michael [at] stepanoff [dot] org
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

caiman

  • Veteran
  • ***
  • Posts: 119
    • View Profile
Re: Nokia 770 Orbiter
« Reply #18 on: August 16, 2007, 04:13:18 pm »
I could get rid of the fonts problem by suppressing the need for captions (I guess that was the one asking if I want to create a new orbiter), I just created the orbiter from LMCE web GUI after adding the new resolution to the SQL db as you explain on your blog (I should have RTFM better).

Now I get this:
Code: [Select]
~/MyDocs $ cat orbiter.log
10      08/14/08 15:58:18.141           Device: 104 starting
10      08/14/08 15:58:18.152           Orbiter 0x233bc0 constructor
01      08/14/08 15:58:33.405           Socket::ReceiveData-a 0x238f90 failed
05      08/14/08 15:58:33.419           Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Event Dev #104
05      08/14/08 15:58:33.419           Socket::SendReceiveMessage didn't get valid response
05      08/14/08 15:58:33.424           Socket::SendData socket is invalid
05      08/14/08 15:58:33.425           Socket::SendData socket is invalid
01      08/14/08 15:58:47.428           Socket::ReceiveData-a 0x23db90 failed
05      08/14/08 15:58:47.441           Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Event Dev #104
05      08/14/08 15:58:47.442           Socket::SendReceiveMessage didn't get valid response
05      08/14/08 15:58:47.442           InternalSendCommand cannot send with return message.  type 1 id 688 to -2000 Going to quit
05      08/14/08 15:58:47.443           Orbiter reloading...
05      08/14/08 15:58:47.443           Orbiter quiting...
05      08/14/08 15:58:47.444           Got an on quit.  Pushing an event into SDL
05      08/14/08 15:58:47.444           Got an on quit.  Pushing an event into SDL
10      08/14/08 15:58:47.446           WizardLogic::Setup using host 10.2.128.10 ((nil))
13      08/14/08 15:58:47.459           Exiting MessageQueueThread_DCECI thread...
01      08/14/08 15:58:47.476           Connect failed Access denied for user 'root'@'10.2.128.19' (using password: NO)
10      08/14/08 15:58:47.477           Added SDL_FULLSCREEN flag to the uSDLInitFlags
10      08/14/08 15:58:47.635           Initialized SDL
10      08/14/08 15:58:47.636           Added SDL_FULLSCREEN flag to the uVideoModeFlags
10      08/14/08 15:58:47.636           Inside WatchDogThread
05      08/14/08 15:58:47.638           Failed to set video mode (800 x 600): No video mode large enough for 800x600

and the orbiter sometimes just exits or otherwise segfaults.
The resolution in the orbiter definition is 800x480 and not 800x600, don't know why it tries to set it at 800x600

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: Nokia 770 Orbiter
« Reply #19 on: August 16, 2007, 06:17:07 pm »
Strange ... It seems that you didn't reload router after the orbiter was generated. Be sure that you have correct resolution of the Orbiter's page - Size - 800 x 480, UI - Normal Horizontal, Skin - Basic. Try to re-build the Orbiter and reload router after that.
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

dopey

  • Guru
  • ****
  • Posts: 223
    • View Profile
Re: Nokia 770 Orbiter
« Reply #20 on: August 19, 2007, 04:47:23 am »
I just wanted to mention that I did manage to get the latest deb installed on Hacker Edition. I'm not sure exactly why it wasn't working before, but it is now...

I still have to configure everything. I'm thinking I'll do that tomorrow (if not tomorrow the soon after) and then report back my results.

caiman

  • Veteran
  • ***
  • Posts: 119
    • View Profile
Re: Nokia 770 Orbiter
« Reply #21 on: August 20, 2007, 03:27:52 pm »
Starting via Xterm showed the error. My WIFI network is on the outside interface of linuxMCE, and I was connecting the orbiter to the outside IP. This works fine with the windows orbiter, but on the 770 I was getting permission errors. I did not realize that there was a direct mysql connection form the orbiter to the core. Changing the destination address to the internal IP of the core fixed the problem.

The latest package worked well on on my OS2007 hacker edition and works also after I reverted to the official OS2006.

Many thanks, Michael, for putting this together. I'd like to send you some Belgian beers as a small gift  :)

Sam

caiman

  • Veteran
  • ***
  • Posts: 119
    • View Profile
Re: Nokia 770 Orbiter
« Reply #22 on: August 21, 2007, 01:41:10 pm »
I spoke a bit too quickly. It's working ok, except for text within the orbiter. Example: the title of the songs in the playlists etc are not shown at all. I only get a colored rectangle.

The package initially would not install because of a failing dependency on libsdl-ttf2, although that package was installed. So I had to dpkg -i --force-depends. Anyone else having this problem ?

(the offer for beers still holds though :)

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: Nokia 770 Orbiter
« Reply #23 on: August 22, 2007, 02:49:06 pm »
I spoke a bit too quickly. It's working ok, except for text within the orbiter. Example: the title of the songs in the playlists etc are not shown at all. I only get a colored rectangle.

The package initially would not install because of a failing dependency on libsdl-ttf2, although that package was installed. So I had to dpkg -i --force-depends. Anyone else having this problem ?

(the offer for beers still holds though :)


Just copy MS true type fonts from your core to Nokia770:
Code: [Select]
cp -r /usr/share/truetype/msttcorefonts root@<your_nokia_IP>:/usr/share/truetypeBy default, nokia has root password 'rootme'. So, if you didn't change it yet it's time to do that :)
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: Nokia 770 Orbiter
« Reply #24 on: August 22, 2007, 03:00:08 pm »
Starting via Xterm showed the error. My WIFI network is on the outside interface of linuxMCE, and I was connecting the orbiter to the outside IP. This works fine with the windows orbiter, but on the 770 I was getting permission errors. I did not realize that there was a direct mysql connection form the orbiter to the core. Changing the destination address to the internal IP of the core fixed the problem.

The latest package worked well on on my OS2007 hacker edition and works also after I reverted to the official OS2006.

Many thanks, Michael, for putting this together. I'd like to send you some Belgian beers as a small gift  :)


Thanks, Sam. Nice to see that you Nokia works fine with LinuxMCE!
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

caiman

  • Veteran
  • ***
  • Posts: 119
    • View Profile
Re: Nokia 770 Orbiter
« Reply #25 on: August 22, 2007, 08:50:55 pm »
Indeed, copying the font files fixed it. I had forgotten to do that after re-flashing to OS2006.   
Thanks a million... This is really a superb orbiter    :)

dopey

  • Guru
  • ****
  • Posts: 223
    • View Profile
Re: Nokia 770 Orbiter
« Reply #26 on: August 24, 2007, 07:29:52 am »
I did test the Orbiter on Sunday, but it failed and I haven't the time to do anymore until now...

All the dependencies (that I aware of) are installed and I copied the fonts over. I still can't figure it out though. The only error message before the terminate says it couldn't find xset, but I'm pretty sure it was doing that before when I got it working.

Any ideas:
Code: [Select]
sh: /usr/bin/X11/xset: not found
sh: /usr/bin/X11/xset: not found
Copyright (C) 2004 Pluto, Inc., a Florida Corporation
www.plutohome.com
Phone: +1 (877) 758-8648
This program is distributed according to the terms of the Pluto Public License, available at:
http://plutohome.com/index.php?section=public_license
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the Pluto Public License for more details.
-----

terminate called recursively
10      08/23/07 20:48:01.158           Device: 99 starting
10      08/23/07 20:48:01.207           Orbiter 0x233bc0 constructor
01      08/23/07 20:48:01.740           Badly formed message
01      08/23/07 20:48:01.740           **** dwStart: 1869488242
01      08/23/07 20:48:01.741           **** m_dwPK_Device_From: 1868963956
01      08/23/07 20:48:01.741           **** m_dwPK_Device_To: 6581877
01      08/23/07 20:48:01.741           **** m_dwPK_Device_Group_ID_To: 0
01      08/23/07 20:48:01.741           **** m_dwID: 0
01      08/23/07 20:48:01.742           **** m_dwPriority: 6789
01      08/23/07 20:48:01.742           **** m_dwMessage_Type: -256
01      08/23/07 20:48:01.742           **** m_dwPK_Device_Category_To: 47615
01      08/23/07 20:48:01.742           **** m_dwPK_Device_Template: 176633856
01      08/23/07 20:48:01.743           **** m_bIncludeChildren: 0
01      08/23/07 20:48:01.743           **** m_eBroadcastLevel: 2358792
01      08/23/07 20:48:01.743           **** m_bRelativeToSender: 0
01      08/23/07 20:48:01.743           **** m_eExpectedResponse: 1325400064
Aborted

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: Nokia 770 Orbiter
« Reply #27 on: August 24, 2007, 09:55:48 am »
dopey, it seem that you run wrong version of the Orbiter. For LinuxMCE you should use LinuxMCE package not Plutohome 2.0.0.44! That's why there is a message:
Quote
Badly formed message
Be sure that you delete previous installed Plutohome Orbiter (if it was) or if you run the Orbiter from xtem check $LD_LIBRARY_PATH. Maybe it points to wrong Orbiter's libraries.
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

dopey

  • Guru
  • ****
  • Posts: 223
    • View Profile
Re: Nokia 770 Orbiter
« Reply #28 on: August 25, 2007, 12:07:34 am »
I could swear that I deleted the old version and installed the new one... I'll re-install and see if I just deleted the wrong file on accident... which is definitely possible...

Edit: I just double checked and application manager says I have 2.0.0.45-1 installed... I'm going to re-download and re-install now anyhow and see if that helps...

Edit2: I guess I'll have to do that later as garage.maemo.org seems to be down...
« Last Edit: August 25, 2007, 12:49:10 am by dopey »

dopey

  • Guru
  • ****
  • Posts: 223
    • View Profile
Re: Nokia 770 Orbiter
« Reply #29 on: August 25, 2007, 04:50:46 am »
I saw that you uploaded linuxmceorbiter-1.1-02_armel.deb a couple days ago so I gave that a try and it worked! It did crash after about 2 minutes, but it's definitely a start. I'm beginning to think that although 2007 Hacker Edition is more stable for some of the apps (like the Opera browser), but more unstable in other areas. I might give the standard 2006 a try and see if that makes the orbiter more stable.

I know that the WiFi connection can cause instability if it temporarily loses connection, but I'm about 6 feet away from my Access Point when I test so I doubt that's the issue.