Re: [9fans] Raspberry Pi help

2012-12-17 Thread Adrian McMenamin
On Tuesday, December 11, 2012 9:36:38 AM UTC, Luke Evans wrote:
 Of course, maestro Richard Miller will no doubt help you figure this out 
 properly, but by way of confirmation that it does all work...
 
 
 
 I have a Rev 1, RasPi 'B'.
 
 - with an el cheapo keyboard (deliberately no USB hub to keep the power 
 requirement as low as possible as the Rev 1 is pretty miserly about USB 
 power).  My keyboard is a Dynex (i.e. economy store brand).
 
It seems my problems were fundamentally about power. Quite strange that a 
powered USB hub appears to break the boot. Meaning my purchase of these things 
was a waste of money :(

The mouse is now live but seems to be stuck in the top left hand corner - I am 
sure I can fix that with further fiddling.

Thanks



Re: [9fans] Mouse inverted Y-axis

2012-12-17 Thread Pavel Klinkovsky
 Ok recompiling the kernel after modifying kb.c did the job,
Great.

 nusb was documented as userspace program so I never thought of it
I discovered it a some time ago when I had needed to fix the wheel direction of 
my IBM mouse.

Pavel



Re: [9fans] Raspberry Pi help

2012-12-17 Thread Adrian McMenamin
On Tuesday, December 11, 2012 9:36:38 AM UTC, Luke Evans wrote:
 Of course, maestro Richard Miller will no doubt help you figure this out 
 properly, but by way of confirmation that it does all work...
 
 
 
 I have a Rev 1, RasPi 'B'.
 
 - with an el cheapo keyboard (deliberately no USB hub to keep the power 
 requirement as low as possible as the Rev 1 is pretty miserly about USB 
 power).  My keyboard is a Dynex (i.e. economy store brand).
 with ethernet connected to an Apple Airport Express

Thought I had posted a reply yesterday, but cannot see it, so apologies if this 
turns up twice.

It seems my fundamental problem was one of power. Plainly the powered USB hub I 
was using was close to useless - or worse than that, delivered enough power to 
boot the RasPi but not enough to run any peripherals.

Now have a working keyboard and network connection but the mouse is stuck in 
the top left hand corner. I will look at the various solutions suggested for 
that and see if I can get it work properly.



Re: [9fans] Raspberry Pi help

2012-12-17 Thread Richard Miller
 The mouse is now live but seems to be stuck in the top left hand corner

The latest kernel in contrib/miller/9pi should fix that.




Re: [9fans] Raspberry Pi help

2012-12-17 Thread Bakul Shah
On Mon, 17 Dec 2012 09:40:38 GMT Adrian McMenamin adrianmcmena...@gmail.com  
wrote:
 
 It seems my fundamental problem was one of power. Plainly the powered USB hub
 I was using was close to useless - or worse than that, delivered enough power
 to boot the RasPi but not enough to run any peripherals.

Rev 1 boards have polyfuses (labelled F1 and F2) with a large
voltage drop @ 500mA that creates such problems.  You can
short them (or better, use 1 ohm resistors) -- there is a post
or two about this on the pi forum.



[9fans] ape/errno.h

2012-12-17 Thread Jeff Sickel
I'm not familiar with the full history of /sys/include/ape/errno.h, but it 
looks like EISCON should be EISCONN to fit with other systems that at least 
pretend to be POSIX compliant.  SunOS 5.11 did have EISCON, but...


e.g.:

FreeBSD 9.0 /usr/include/errno.h  Mac OS X 10.8 (POSIX-compliant now) 
/usr/include/sys/errno.h both have:

#define EISCONN 56  /* Socket is already connected */



/sys/include/ape/errno.h:

#define EISCON  53




Re: [9fans] ape/errno.h

2012-12-17 Thread erik quanstrom
On Mon Dec 17 17:38:33 EST 2012, j...@corpus-callosum.com wrote:
 I'm not familiar with the full history of /sys/include/ape/errno.h, but it 
 looks like EISCON should be EISCONN to fit with other systems that at least 
 pretend to be POSIX compliant.  SunOS 5.11 did have EISCON, but...

makes sense to me; there are no references to EISCON
on the system other than the include file.

- erik



Re: [9fans] ape/errno.h

2012-12-17 Thread Jens Staal
In my porting of stuff using APE, I often notice that many applications
assume more members of the struct stat in sys/stat.h, especially
st_blocksize. Is there any reasonable similar information available
elsewhere in the system that could be used in a local rpl_stat struct for
those ports?

other annoying stuff are normally related to malloc/alloca and sys/mtio.h
stdint.h is normally easily just redirected to inttypes.h and stdbool.h can
also easily included.


2012/12/18 erik quanstrom quans...@quanstro.net

 On Mon Dec 17 17:38:33 EST 2012, j...@corpus-callosum.com wrote:
  I'm not familiar with the full history of /sys/include/ape/errno.h, but
 it looks like EISCON should be EISCONN to fit with other systems that at
 least pretend to be POSIX compliant.  SunOS 5.11 did have EISCON, but...

 makes sense to me; there are no references to EISCON
 on the system other than the include file.

 - erik




Re: [9fans] ape/errno.h

2012-12-17 Thread Lyndon Nerenberg

On 2012-12-17, at 10:08 PM, Jens Staal wrote:

 In my porting of stuff using APE,

The spec speaks.