Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Symbol epoll_module not found #22

Closed
lakenen opened this issue Sep 22, 2014 · 10 comments
Closed

Error: Symbol epoll_module not found #22

lakenen opened this issue Sep 22, 2014 · 10 comments

Comments

@lakenen
Copy link

lakenen commented Sep 22, 2014

I am getting the error:

Error: Symbol epoll_module not found

When I require('nrf');. I even went into the epoll dependency and ran node-gyp rebuild and that had no effect.

Any ideas?

@natevw
Copy link
Owner

natevw commented Sep 22, 2014

Hmm, will have to look into this. Whatever the problem is, I'm guessing it's shared by natevw/pi-pins#2 which just got reported too. What node version are you using?

@natevw
Copy link
Owner

natevw commented Sep 22, 2014

So this might be a little different than the other issue. Since the easiest way I can reproduce this is simply by trying on my Mac OS X machine, I have to ask — any chance you are trying to use on a Mac or Windows machine? Two of the node-nrf dependencies require Linux kernel modules for SPI and GPIO. So this is somewhat limited to what hardware (and distro!) you can use.

@lakenen
Copy link
Author

lakenen commented Sep 22, 2014

Yes, this is on OS X (10.9.4). Does the module simply not work on Mac?

@natevw
Copy link
Owner

natevw commented Sep 22, 2014

Short answer is there is no Mac support, because you "can't" connect an nRF24L01+ chip to a Mac.

Right now this driver assumes you are hooking the chip to an embedded Linux device with built-in SPI and digital I/O pins, e.g. Raspberry Pi or Beaglebone, and so it uses the standard Linux drivers to run the signal lines. (There's also a Tessel port of this library.)

Now there's actually a nRF24LU1+ chip with built-in USB that I'd love to program as an HID device and then drive with this library via a third hardware backend option. So then it would work on more platforms with just a USB dongle. I bought a dev board to play with this a while back, but it's not likely to happen any time soon. (Also an SDR backend would be fun, but that's even more spare time needed.)

Happy to give ideas if there's something specific you're trying to do.

@natevw
Copy link
Owner

natevw commented Sep 22, 2014

Ah! I think I understand better now…I noticed you've got some repos with 'johnny-five'.

I'd love to make a johnny-five backend for this too, but AFAICT the underlying Firmata protocol still doesn't support SPI yet which is pretty much a show stopper. Maybe @rwaldron knows a bit more about the roadmap(s) here?

@lakenen
Copy link
Author

lakenen commented Sep 22, 2014

Bingo! I was trying to use the nRF chip with johnny-five :)

I ended up just using the RF24 library and writing an arduino sketch instead of using node. But it would definitely be cool!

@rwaldron
Copy link

Seems possible, considering https://github.com/kraman/go-firmata

@rwaldron
Copy link

firmata/arduino#135

@rwaldron
Copy link

@natevw
Copy link
Owner

natevw commented Mar 1, 2015

Closing this in lieu of #34

@natevw natevw closed this as completed Mar 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants