Page 1 of 1

NXT+Ubuntu10.10=Connection?

Posted: 28 Mar 2011, 01:07
by jojoguy14
Hello!

Has anyone had any luck with connecting the NXT to Ubuntu? I can run bricxcc (Using WINE), but when i connect my NXT brick, nothing happens.

Any ideas? Experiences?

jojoguy10

Re: NXT+Ubuntu10.10=Connection?

Posted: 28 Mar 2011, 05:13
by tcwan
I think bricxcc depends on the Fantom Drivers, which are not available for Linux.

You can take a look at http://code.google.com/p/nxt-python/, which depends on libusb and pyusb.

I've tried using Fedora with nxt-python before but it is not very reliable since it installs the libusb-0.12.x (old libusb).

Re: NXT+Ubuntu10.10=Connection?

Posted: 28 Mar 2011, 13:24
by jojoguy14
Thanks, but no thanks. I want to use Bricxcc. Thanks for the link though!

jojoguy10

Re: NXT+Ubuntu10.10=Connection?

Posted: 30 Mar 2011, 03:52
by roofone
On my crunchbang development box I use Bricxcc via VirtualBox for development and nexttool and nbc to communicate with my brick from the linux host. Here's a decent guide on setting up nbc and nexttool: http://wiki.zenerves.net/index.php/Nxt::usb.

Re: NXT+Ubuntu10.10=Connection?

Posted: 31 Mar 2011, 16:09
by afanofosc
I have made some progress toward an editor with integrated compiler along with the nxt tools for Linux GUI. This is definitely not done yet (by a long shot) but it seems to at least work for editing programs and compiling/downloading to the NXT.

http://bricxcc.sourceforge.net/nxtcc.zip

I would love to have a few Linux users help me test this as I work toward getting everything implemented and working correctly.

John Hansen

Re: NXT+Ubuntu10.10=Connection?

Posted: 31 Mar 2011, 16:48
by mrblp
Hello,
I can run bricxcc (Using WINE), but when i connect my NXT brick, nothing happens.
This is due to limitations with wine. wine does not support any usb connections. So you have to connect and send the compiled files manually. You can use the command line tool nxt-tool via scripting for this. Alternatively you can use the binary John posted before.

Hope this helped!

Bye - marvin

Re: NXT+Ubuntu10.10=Connection?

Posted: 31 Mar 2011, 22:58
by jojoguy14
afanofosc wrote:I have made some progress toward an editor with integrated compiler along with the nxt tools for Linux GUI. This is definitely not done yet (by a long shot) but it seems to at least work for editing programs and compiling/downloading to the NXT.

http://bricxcc.sourceforge.net/nxtcc.zip

I would love to have a few Linux users help me test this as I work toward getting everything implemented and working correctly.

John Hansen
I'd love to help!
I tried the one you gave me the link to and it doesn't really work for me at all. Don't I need some kind of driver? If so, where is it for Ubuntu?
It looks great! Kind of like the mac version.

jojoguy10

Re: NXT+Ubuntu10.10=Connection?

Posted: 01 Apr 2011, 03:16
by roofone
Seems solid enough for my real use. The NXT explorer function caused it to crash and the line numbers in the editor aren't right, but I was able to edit, compile and communicate with the brick.

Very excited for this to continue to develop.

Re: NXT+Ubuntu10.10=Connection?

Posted: 09 Apr 2011, 13:39
by tropicalicecube
Thanks roofone for mentioning my little wiki.

[So I took 10 minutes to tidy it up]


- I too report that bricxcc 'just' simply work with wine;
it's then just a matter of keeping a terminal at hand with this simple script for instance.

- jojoguy You DO have to do the whole black magic described there - -or your machine won't know what to do with that strange USB device. I just re-did it this morning on my new Arch box, and both NexTTool and nxtcc do work, as regular user not root.


- Indeed the file explorer crashes the thing ...But, the piano works :lol:


Cheers
Lola out.