On Sat, Mar 31, 2012 at 16:31, Michael Dillon <mikedillo...@gmail.com> wrote: > Hello all, > > I'm running node 0.6.14 on a BeagleBone with Angstrom linux. The > BeagleBone provides 5 serial ports through device files (/dev/ttyO1 - / > devttyO5). > To enable the ports for uart operation (they are muxed with other > functionality) I have to write some config bits to two files which > sets the operation > mode to uart. > > Thats the gist of what I'm trying to accomplish, however when ever I > try and write to one of these files I get this unknown error. The > files get opened > properly, but as soon as I try to write anything it is game over. I > posted a question on stackover flow and heres the link to that, which > has better > formatting for posting code etc. http://stackoverflow.com/q/9951529/586035 > > If you don't want to visit stackoverflow, here is my repo view of the > file: > https://github.com/michaelcdillon/BonescriptSerial/blob/master/BonescriptSerial.js. > > If anyone has any ideas on where to look in the native code just to > see when and where this error is getting generated I would be very > thankful.
Michael, can you post the output of `strace node yourscript.js`? -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en