ecto / duino

:bulb: Arduino framework for node.js
958 stars 214 forks source link

Hi, need an especific port #25

Open sherlockholmes opened 11 years ago

sherlockholmes commented 11 years ago

1345814061925 duino info attempting to find Arduino board 1345814061952 duino info found board at undefined 1345814061953 duino info binding serial events

events.js:48 throw arguments[1]; // Unhandled 'error' event

                   ^

Error: EACCES, open '/dev/usbmon0'

Hi, mi arduino its connect on /dev/ttyACM0, but duino can't open that.

ecto commented 11 years ago

Ah yes, I've been meaning add the option to specify the port. I'll add this tonight if it's not too late?

j0x0j commented 11 years ago

1345952817951 duino info attempting to find Arduino board 1345952818046 duino info found board at undefined

:( same here, is this in the npm ... or do in need to clone the repo?

sherlockholmes commented 11 years ago

Well I tried to hardcoding and in other computer works, when change the command "ls /dev | grep usb" because on my ubuntu linux works with UPPERCASE "ls /dev | grep USB" , but on another machine works with "ls /dev | grep ACM", well the problem can be the versión of your node.js, I recomend, make a clone of github and compile. the version v.0.8.8.., well try yourself :)

j0x0j commented 11 years ago

Im on a mac, nvm'd to v0.8.8 ... ls /dev | grep usb, shows cu.usbmodemfd121 tty.usbmodemfd121

still 1345959722373 duino info found board at undefined

and I cant get the arduino to respond with the basic example

jelmerdemaat commented 11 years ago

I might have a similar problem, is there any update on this?

setola commented 11 years ago

if you really need to configure the usb port you can check my fork: https://github.com/setola/duino I hope ecto will merge it soon :)

cheers

ktal90 commented 10 years ago

i'm seeing this as well. any help?