[maemo-developers] Howto switch get fullscreen withought using hildon?

2005-11-03 Thread Eero Tamminen
Hi,

 I would like to create a Xlib only program which should be able to runin
 fullscreen withought using the hildon APIs at all.Is this possible at
 all, since the only documentation I found was howto switch to fullscreen
 when writing a hildon based application.

Just use the standard APIs:
http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html

AFAIK Maemo documentation contains only Maemo specific APIs.


- Eero

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Problems with flasher and usbnet

2005-11-03 Thread Adam Laurie

[EMAIL PROTECTED] wrote:

Hello,When I use the flaser,it says Suitable USBdevice not found.
waiting.However my N770 has connected to the computer,
my ubuntu 5.10  can detect other USB device such as a usb disk or a
PDA.What's wrong ?


power the 770 on *after* you run flasher.


At the same time I setup the usbnet following the steps in
http://www.maemo.org/platform/docs/howtos/howto_usb_networking.html
however it says No Such device when I input ifup usb0,but I do have
install the usbnet.0 module?


if you're running the developer rootstrap usb networking should be 
enabled. however, if you're running the standard nokia distribution, you 
need to unload the file storage kernel module and load the usb ether 
module. i posted some scripts to this list a few days ago that will do 
that for you. you'll also need to install ssh and xterm.


cheers,
Adam
--
Adam Laurie Tel: +44 (0) 20 7605 7000
The Bunker Secure Hosting Ltd.  Fax: +44 (0) 20 7605 7099
Shepherds Building  http://www.thebunker.net
Rockley Road
London W14 0DA  mailto:[EMAIL PROTECTED]
UNITED KINGDOM  PGP key on keyservers
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Questions to HOWTO:Set up CPU transparency with your device and sbrsh

2005-11-03 Thread Timo Steuerwald

Marcelo_Guara wrote:


hi all,

tryes to compile the file main.c inside of directory hello-world directly
using gcc, for example:

# gcc -o hello main.c
# ./hello

 


Compilation works, but on execution I get this:

[sbox-ARM: ~/hello-world]  ./hello
sbrsh: Permission denied

If I look at config.log as stated by autoconf.sh, I find this Permission 
denied statement again:


snip
configure:2105: checking whether the C compiler works
configure:2111: ./a.out
sbrsh: Permission denied
configure:2114: $? = 1
configure:2123: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
snip

Of course, I already read the scratchbox documentation, but my settings 
seem to be correct.

In the home directory of the scratchbox user:
snip
[sbox-ARM: ~]  cat .sbrsh
ARM 192.168.2.15 myPassword
nfs 192.168.2.14:/scratchbox/users/timo/targets/ARM  / rw,nolock,noac
nfs 192.168.2.14:/scratchbox/users/timo/home /home rw,nolock,noac
bind/dev  /dev
bind/dev/pts  /dev/pts
bind/proc /proc
bind/tmp  /tmp
snip

I already changed the first line to ARM [EMAIL PROTECTED] myPassword
This have i already seen in the scratchbox documentation, but it doesn't 
change a thing. :-(

On the device:
snip
~ $ cat .sbrshd
192.168.2.14 myPassword
snip

Both user have the name timo.
On my ubuntu machine /etc/exports looks like this:
snip
[EMAIL PROTECTED]:/ # cat /etc/exports
# /etc/exports: the access control list for filesystems which may be 
exported

#   to NFS clients.  See exports(5).
/scratchbox/users/timo/targets/ARM 
192.168.2.15(rw,all_squash,anonuid=1000,anongid=1000,sync)
/scratchbox/users/timo/home 
192.168.2.15(rw,all_squash,anonuid=1000,anongid=1000,sync)

snip

Any ideas what I have done wrong?
Please help!

Cheers,

Timo
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Questions to HOWTO:Set up CPU transparencywith your device and sbrsh

2005-11-03 Thread valtteri
On Thu, 3 Nov 2005 [EMAIL PROTECTED] wrote:

 On Thu, 3 Nov 2005, Timo Steuerwald wrote:

  [EMAIL PROTECTED] wrote:
 
  Did you remember to make a hole for the CPU transparency device
  to the Ubuntu firewall?
  I heard some stories that with Ubuntu it's needed...
  
  
  
  Hmmh, I'm not sure if I understand you right, but there are AFAIK no
  firewall rules defined. If I execute iptables --list there won't be
  displayed any rule. The contact to the device itself (for example via
  ssh) works perfect through the USB network.
 
  Cheers,
 
  Timo

 I think that by default Ubuntu makes nfs listen only 127.0.0.1. I don't
 remember how this could be changed (I found solution in Ubuntu
 documentation)  but you can propably grep it under your hosts etc... Might
 be also in Scratchbox wiki or if not someone should put it there.

In addition to previous mail:
http://www.ubuntulinux.org/support/documentation/faq/nfs-server

-- 
Valtteri Rahkonen
[EMAIL PROTECTED]
http://www.rahkonen.org
+358 40 5077041
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Questions to HOWTO:Set up CPU transparencywith your device and sbrsh

2005-11-03 Thread Timo Steuerwald




[EMAIL PROTECTED] wrote:


  
I think that by default Ubuntu makes nfs listen only 127.0.0.1. I don't
remember how this could be changed (I found solution in Ubuntu
documentation)  but you can propably grep it under your hosts etc... Might
be also in Scratchbox wiki or if not someone should put it there.

  
  
In addition to previous mail:
http://www.ubuntulinux.org/support/documentation/faq/nfs-server

  

Thanks a lot for this information, but this isn't the problem. The file
/etc/default/portmap doesn't exist on my machine. I also have found a
german description (may be it is interesting for german language
speakers: http://wiki.ubuntuusers.de/NFS and
http://www.ubuntuusers.de/viewtopic.php?t=894). To verify that it isn't
a NFS problem, I tried to mount my scratchbox home from the nokia 770
and this worked without problems. So it must be a scratchbox problem?

Cheers,

Timo


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Questions to HOWTO:Set up CPU transparency with your device and sbrsh

2005-11-03 Thread Riku Voipio
On Wednesday 02 November 2005 19:54, Timo Steuerwald wrote:
 - I've set my new target to sbrsh and the rest the same as described in 
http://www.maemo.org/platform/docs/tutorials/Maemo_tutorial.html#Building-for-ARM

how did you configure sbrsh (in sbox) and sbrshd (on target machine) ?

You need to follow this document:

http://scratchbox.org/download/files/sbox-releases/0.9.8/doc/installdoc.html#cputransp

 checking whether the C compiler works... configure: error: cannot run C
 compiled programs.
 If you meant to cross compile, use `--host'.
 See `config.log' for more details.

So what does config.log say?

You can also try sbrsh targetname --mount directly to see if you have 
problem in nfs mounting or somewhere else. If mounting works, but apps still 
dont, try tcp networking or
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers