Re: USB to VGA

2010-12-21 Thread Sameer Verma
On Mon, Dec 20, 2010 at 7:17 AM, Martin Langhoff
martin.langh...@gmail.com wrote:
 On Mon, Dec 20, 2010 at 9:53 AM,  jns-cmarsh...@comcast.net wrote:
 I don't think that is the problem.  The windows
 instruction manual lists resolutions up to 1920x1...@16bits

 Try it out if you want. I don't think you'll be impressed.

 You can push it past 1024x768 -- it's just not a happy place.



I know that on DisplayLink this is an issue where the Windows driver
uses a compression that isn't available on the Linux side. Could that
be an issue here?

Sameer


 m
 --
  martin.langh...@gmail.com
  mar...@laptop.org -- School Server Architect
  - ask interesting questions
  - don't get distracted with shiny stuff  - working code first
  - http://wiki.laptop.org/go/User:Martinlanghoff
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel



___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


compiling linuxwacom on 10.1.3 on XO-1

2010-12-21 Thread Chris Marshall
Hi-

I've been trying to get Colors! and the Wacom
Bamboo tablet working for my 2 nieces for Christmas.

I've been trying to build the driversr from the
latest linuxwacom sources at:

   http://prdownloads.sourceforge.net/linuxwacom/linuxwacom-0.8.8-10.tar.bz2

Following the mini-HOWTO from

   http://linuxwacom.sourceforge.net/index.php/minihowto

I've been able to get /./configure --enable-wacom'
to complete.  However, when I 'make' the build fails
in the wacom kernel driver module section with errors
like this:

   make[2]: Leaving directory `/home/olpc/linuxwacom-0.8.8-10/src/xdrv'
   Making all in 2.6.30
   make[2]: Entering directory `/home/olpc/linuxwacom-0.8.8-10/src/2.6.30'
   Building linuxwacom drivers for 2.6 kernel.
   ***Note: Drivers not enabled as modules in your kernel config but requested 
through configure are NOT built
   make -C /lib/modules/2.6.31_xo1-20101119.1249.1.olpc.3781c4e5eac361a/build 
M=/home/olpc/linuxwacom-0.8.8-10/src/2.6.30
   make[3]: Entering directory 
`/usr/src/kernels/2.6.31_xo1-20101119.1249.1.olpc.3781c4e5eac361a-i586'
 LD  /home/olpc/linuxwacom-0.8.8-10/src/2.6.30/built-in.o
 CC [M]  /home/olpc/linuxwacom-0.8.8-10/src/2.6.30/wacom_wac.o
   In file included from 
/home/olpc/linuxwacom-0.8.8-10/src/2.6.30/wacom_wac.h:12,
from 
/home/olpc/linuxwacom-0.8.8-10/src/2.6.30/wacom_wac.c:15:
   include/linux/types.h:4:23: error: asm/types.h: No such file or directory
   In file included from include/linux/types.h:14,
from 
/home/olpc/linuxwacom-0.8.8-10/src/2.6.30/wacom_wac.h:12,
from 
/home/olpc/linuxwacom-0.8.8-10/src/2.6.30/wacom_wac.c:15:
   include/linux/posix_types.h:47:29: error: asm/posix_types.h: No such file or 
directory
   In file included from 
/home/olpc/linuxwacom-0.8.8-10/src/2.6.30/wacom_wac.h:12,
from 
/home/olpc/linuxwacom-0.8.8-10/src/2.6.30/wacom_wac.c:15:
   include/linux/types.h:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ before ‘__kernel_dev_t’
   include/linux/types.h:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ before ‘dev_t’
   include/linux/types.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ before ‘ino_t’
   include/linux/types.h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ before ‘mode_t’
   and many more lines of same...

Any help would be greatly appreciated as I was
hoping to give my nieces the 10.1.3 upgrade and
the working (again) wacom table for drawing (I
had it working with 802).

Thanks in advance,
Chris

P.S. The activity thread I started with is at
  http://lists.sugarlabs.org/archive/sugar-devel/2010-December/029215.html
  and forward...

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [PATCH 0/3] olpc-battery: add properties needed by UPower

2010-12-21 Thread Anton Vorontsov
On Fri, Dec 10, 2010 at 11:05:18PM +0100, Sascha Silbe wrote:
 With these patches applied, UPower correctly calculates Percentage,
 TimeToEmpty and TimeToFull for OLPC batteries.
 
 Sascha Silbe (3):
   olpc-battery: add support for CHARGE_FULL_DESIGN
   olpc-battery: add support for CHARGE_NOW
   olpc-battery: add support for CURRENT_NOW and VOLTAGE_NOW
 
  drivers/power/olpc_battery.c |   82 
 ++
  1 files changed, 82 insertions(+), 0 deletions(-)

Technically, the patches look good. But I'm not sure about the
EC/Device-tree thing. Is there any consensus? Should I just
apply the patches, so the remaining issues could be fixed
later?

Thanks,

-- 
Anton Vorontsov
Email: cbouatmai...@gmail.com
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [PATCH 0/3] olpc-battery: add properties needed by UPower

2010-12-21 Thread Andres Salomon
On Wed, 22 Dec 2010 03:21:42 +0300
Anton Vorontsov cbouatmai...@gmail.com wrote:

 On Fri, Dec 10, 2010 at 11:05:18PM +0100, Sascha Silbe wrote:
  With these patches applied, UPower correctly calculates Percentage,
  TimeToEmpty and TimeToFull for OLPC batteries.
  
  Sascha Silbe (3):
olpc-battery: add support for CHARGE_FULL_DESIGN
olpc-battery: add support for CHARGE_NOW
olpc-battery: add support for CURRENT_NOW and VOLTAGE_NOW
  
   drivers/power/olpc_battery.c |   82
  ++ 1 files changed, 82
  insertions(+), 0 deletions(-)
 
 Technically, the patches look good. But I'm not sure about the
 EC/Device-tree thing. Is there any consensus? Should I just
 apply the patches, so the remaining issues could be fixed
 later?
 
 Thanks,
 


Given that OLPC machines out there currently have broken battery
information with UPower and friends, I think that the patches should be
applied.

Doing stuff in the EC or device-tree may be done in the future, but
even after it's written  debugged, it will still take some time for
people to upgrade their firmware.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [PATCH 0/3] olpc-battery: add properties needed by UPower

2010-12-21 Thread David Woodhouse
On Tue, 2010-12-21 at 16:43 -0800, Andres Salomon wrote:
 Given that OLPC machines out there currently have broken battery
 information with UPower and friends, I think that the patches should be
 applied.
 
 Doing stuff in the EC or device-tree may be done in the future, but
 even after it's written  debugged, it will still take some time for
 people to upgrade their firmware. 

Agreed. In the general case in future though, it would be really useful
if we could avoid having magic numbers like this in the kernel; we want
them to come from as close to the hardware as possible.

Given that we *have* a sane firmware on OLPC, we should be using it.

-- 
dwmw2

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


[Server-devel] Connecting the a Schoolserver via SSH

2010-12-21 Thread Dr. Gerald Ardito
Hello.

I have my schoolserver up and running (at last!).

I want to connect to it from one of the XOs using SSH.

I have read what is on the wiki, but I must be missing something.

Can someone provide some detailed instructions?

Thanks.
Gerald
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Server-devel Digest, Vol 44, Issue 8

2010-12-21 Thread Kevin Mauricio Benavides Castro
Hello.

 I have my schoolserver up and running (at last!).

 I want to connect to it from one of the XOs using SSH.


hello

how are you can use these steps to guide you

using SSH

http://wiki.laptop.org/go/Zamora_Teran/SSH_terminal_remoto





 I have read what is on the wiki, but I must be missing something.

 Can someone provide some detailed instructions?

 Thanks.
 Gerald

-- 
Abrazoss..

One Laptop Per Child - http://wiki.laptop.org/go/User:Kevin.benavides
--
Voluntary sugarlabs
Implementation of SOAS
http://wiki.sugarlabs.org/go/User:Kevin.benavides
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Connecting the a Schoolserver via SSH

2010-12-21 Thread Anna
On Tue, Dec 21, 2010 at 8:20 AM, Dr. Gerald Ardito
gerald.ard...@gmail.comwrote:

 Hello.

 I have my schoolserver up and running (at last!).

 I want to connect to it from one of the XOs using SSH.

 I have read what is on the wiki, but I must be missing something.

 Can someone provide some detailed instructions?

 Thanks.
 Gerald



Gerald:

Though you're supposed to use keys, and I still do from my main desktop,
it's convenient when you're sshing from multiple XOs or other computers to
go ahead and enable password based ssh login.  That way you don't have to
fool with keys all the time.  Since my XSs are exposed to the internet, I do
run ssh on a non-standard port, which keeps out the script kiddies.  If
you're worried about that, it's really simple to change the port.  Anyway,
it's just a config file edit to allow password based ssh logins.

As root, create a regular user on the XS.

adduser gerald
passwd gerald

You'll be prompted for the new password.  That's it for setting up a user.

Enable password authentication in /etc/ssh/sshd_config and /etc/ssh/
sshd_config.in  I think you're supposed to be able to edit only sshd_config
and then run make -f /etc/xs-config.make sshd_config to do up
sshd_config.in properly, but I just go ahead and make this minor change to
both files, as I've never gotten xs-config.make to work consistently for me.

In both those files, uncomment PasswordAuthentication yes and comment out
PasswordAuthentication no so it looks like this:

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication yes
#PermitEmptyPasswords no
#PasswordAuthentication no

Restart the ssh service.

service sshd restart

Now from an XO connected to the XS, you can

ssh ger...@172.18.0.1

or

ssh gerald@XS's hostname

Enter in your password and you should be greeted with the motd!  After you
successfully ssh in, you can su root.  Sometimes that's not root enough,
though and you might have to 'sudo su -' if it says you can't do something.

Anna Schoolfield
Birmingham
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Connecting the a Schoolserver via SSH

2010-12-21 Thread Dr. Gerald Ardito
Anna,

Thanks. I'll try this out tomorrow.

I have another question for you.
I was testing the server with about 12 XOs today. They all connected fine
and had internet connections. But the performance seemed slow. It took
several seconds for pages to load at times.
Also, when I tried to have shared Activities (I opened a chat session, for
example), the performance was horribly slow, and not every computer could
connect.
Do you have any ideas about why this might be happening and how to make it
better?

Thanks.
Gerald

On Tue, Dec 21, 2010 at 5:05 PM, Anna ascho...@gmail.com wrote:


 On Tue, Dec 21, 2010 at 8:20 AM, Dr. Gerald Ardito 
 gerald.ard...@gmail.com wrote:

 Hello.

 I have my schoolserver up and running (at last!).

 I want to connect to it from one of the XOs using SSH.

 I have read what is on the wiki, but I must be missing something.

 Can someone provide some detailed instructions?

 Thanks.
 Gerald



 Gerald:

 Though you're supposed to use keys, and I still do from my main desktop,
 it's convenient when you're sshing from multiple XOs or other computers to
 go ahead and enable password based ssh login.  That way you don't have to
 fool with keys all the time.  Since my XSs are exposed to the internet, I do
 run ssh on a non-standard port, which keeps out the script kiddies.  If
 you're worried about that, it's really simple to change the port.  Anyway,
 it's just a config file edit to allow password based ssh logins.

 As root, create a regular user on the XS.

 adduser gerald
 passwd gerald

 You'll be prompted for the new password.  That's it for setting up a user.

 Enable password authentication in /etc/ssh/sshd_config and /etc/ssh/
 sshd_config.in  I think you're supposed to be able to edit only
 sshd_config and then run make -f /etc/xs-config.make sshd_config to do up
 sshd_config.in properly, but I just go ahead and make this minor change to
 both files, as I've never gotten xs-config.make to work consistently for me.

 In both those files, uncomment PasswordAuthentication yes and comment out
 PasswordAuthentication no so it looks like this:

 # To disable tunneled clear text passwords, change to no here!
 PasswordAuthentication yes
 #PermitEmptyPasswords no
 #PasswordAuthentication no

 Restart the ssh service.

 service sshd restart

 Now from an XO connected to the XS, you can

 ssh ger...@172.18.0.1

 or

 ssh gerald@XS's hostname

 Enter in your password and you should be greeted with the motd!  After you
 successfully ssh in, you can su root.  Sometimes that's not root enough,
 though and you might have to 'sudo su -' if it says you can't do something.

 Anna Schoolfield
 Birmingham


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Connecting the a Schoolserver via SSH

2010-12-21 Thread Anna
On Tue, Dec 21, 2010 at 5:09 PM, Dr. Gerald Ardito
gerald.ard...@gmail.comwrote:

 Anna,

 Thanks. I'll try this out tomorrow.

 I have another question for you.
 I was testing the server with about 12 XOs today. They all connected fine
 and had internet connections. But the performance seemed slow. It took
 several seconds for pages to load at times.
 Also, when I tried to have shared Activities (I opened a chat session, for
 example), the performance was horribly slow, and not every computer could
 connect.
 Do you have any ideas about why this might be happening and how to make it
 better?

 Thanks.
 Gerald


The slow page load in either Firefox or Browse is usually helped quite a bit
by disabling ipv6.  In a (recent) Browse activity or Firefox, enter
about:config in the address bar.  Type ipv6 in the filter bar.  The
Preference Name you're looking for is network.dns.disableIPv6.  Double
click it to set the value to true.  That usually helps page load speed quite
a bit.

If activities seems really slow when they're shared over the XS versus the
XO-1 mesh, I don't know what that might be other than the throughput of your
AP.  If you suspect your XS setup, you can always connect to my test XS 0.6
running a semi-public Jabber to see if there's a difference.  In fact,
we've just been testing joining the XO Chat activity with regular XMPP
clients like Pidgin and Gajim.  Send me a private email if you'd like the
URL.  And that goes for anyone who's interested, not just Gerald.

Anna Schoolfield
Birmingham
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel