Re: [9fans] discrepency between plan9 and ixpc

2012-01-21 Thread Eli Cohen
On Jan 21, 2012 2:50 PM, "Anthony Martin"  wrote:
>
> Eli Cohen  once said:
> > % echo b115200 > /dev/eiaU0/eiaUctl
> > % mount -ncC /dev/eiaU0/eiaU /n/anything
> > % ls /n/anything
> > anything
> >
> > the output of ls is just whatever directory i mount it in, though
accessing
> > arductl and ardudata works fine despite their absence from the directory
> > listing.
> >
> > anyone have any ideas what i might be doing wrong?
> >
> > the source code is at https://github.com/echoline/NinePea
>
> Without looking at the code it sounds like
> you're not getting the Rstat correct.  Does
> the root qid return "/" for the stat name?
>
> You can use iostats(4) to help investigate.
>
> Cheers,
>  Anthony
>

thanks!  that let me resolve the issue.


Re: [9fans] Intel X4500 Integrated Graphics support

2012-01-21 Thread Akshat Kumar
It is indeed weird that we see two video devices.
I'm still not sure what that's about.

But just for the record, I've updated to the latest
9pc kernel (build on Oct. 12, 2011 iirc), and the
performance is far better. :-)

I also tried 9pcatom, and the performance is
great there as well. The only complaint I would
have here is that usbd on 9atom starts up too
late - after inputting boot, root, vga, etc. information.
So I have to go back and forth between my laptop
and keyboard.


Thanks,
ak

On Fri, Dec 30, 2011 at 8:32 AM, erik quanstrom
 wrote:
> sorry for the slow response.  vacation.  i'll try
> to look at this today.  but my time is being consumed
> by a puppy, so my bandwidth might be poor.
>
> one thing i notice is that there are two different video devices.
> that's kind of wierd.
>
> - erik
>



Re: [9fans] discrepency between plan9 and ixpc

2012-01-21 Thread Anthony Martin
Eli Cohen  once said:
> % echo b115200 > /dev/eiaU0/eiaUctl
> % mount -ncC /dev/eiaU0/eiaU /n/anything
> % ls /n/anything
> anything
> 
> the output of ls is just whatever directory i mount it in, though accessing
> arductl and ardudata works fine despite their absence from the directory
> listing.
> 
> anyone have any ideas what i might be doing wrong?
> 
> the source code is at https://github.com/echoline/NinePea

Without looking at the code it sounds like
you're not getting the Rstat correct.  Does
the root qid return "/" for the stat name?

You can use iostats(4) to help investigate.

Cheers,
  Anthony



[9fans] discrepency between plan9 and ixpc

2012-01-21 Thread Eli Cohen
hello everyone, i have been working on a 9P arduino library.  it works now
with ixpc from libixp, modified slightly to communicate over the serial
port:

> ixpc ls /
arductl
ardudata

however, i am getting this on plan9:

% echo b115200 > /dev/eiaU0/eiaUctl
% mount -ncC /dev/eiaU0/eiaU /n/anything
% ls /n/anything
anything

the output of ls is just whatever directory i mount it in, though accessing
arductl and ardudata works fine despite their absence from the directory
listing.

anyone have any ideas what i might be doing wrong?

the source code is at https://github.com/echoline/NinePea

ps.
and sorry for calling you a grinch