On Sat, 2008-11-08 at 05:37 -0500, Chris Frey wrote: > On Sat, Nov 08, 2008 at 05:11:23AM -0500, Rick Scott wrote: > > > In reading through the code, it appears that the desktop support is not > > > finished yet. Is this correct? > > > > Is software ever really finished :) How so? > > :-) > > I saw a desktop_write() but I didn't see a desktop_read(), so I assumed > that meant it was not quite functional.
That one had me going for a while also :) Read is handled by the tty layer, all we need to do is stuff the flip_buffer. I've been using it for my daily syncs for a couple weeks now. Most of the problems I was having were with the device resetting when using pppd, but that seems solid now also. > > > > Only one program would have desktop0 open. That's not really > > accurate ... Only one program would be reading/writing desktop at a > > time, other programs/threads may have it open to monitor the modem > > lines. > > Hmmm... I was hoping for sharing of the socket. > > I suppose if one program is in the middle of a full database download, the > socket would need to be "busy". Still, I was hoping that it would be possible > to do a sync at the same time as having a FUSE filesystem loaded, since > normally there's lots of idle time between USB commands. Interesting idea. Sort of makes me think of fsck'ing a disk while it is mounted though .... With the right FUSE layout the sync could be done with it, think opensync's file sync. That way we wouldn't have to deal with an opensync plugin for the rim. Dealing with opensync is not a great deal of fun, as I'm sure you are aware .... > > Is there any way of telling which file descriptor is talking to the tty, > in the kernel module? I'd like to know that it is theoretically possible, > even if it isn't yet implemented. I'm new to the kernel also :) I think the file descriptor would probably be the same, but you could burrow down to find the pid of the process, somehow. fd, pid would probably be a unique indicator. Your patches break my build :( Not terribly bad though. Moving in the right direction :) > > Thanks, > - Chris ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel