NXT+Ubuntu10.10=Connection?

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
jojoguy14
Posts: 155
Joined: 29 Sep 2010, 12:49
Contact:

NXT+Ubuntu10.10=Connection?

Post 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
Creator of LEGO-X TechN'XT! (http://lego-x.com http://techn-xt.blogspot.com)
Known as jojoguy10
tcwan
Posts: 186
Joined: 30 Sep 2010, 07:39

Re: NXT+Ubuntu10.10=Connection?

Post 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).
jojoguy14
Posts: 155
Joined: 29 Sep 2010, 12:49
Contact:

Re: NXT+Ubuntu10.10=Connection?

Post by jojoguy14 »

Thanks, but no thanks. I want to use Bricxcc. Thanks for the link though!

jojoguy10
Creator of LEGO-X TechN'XT! (http://lego-x.com http://techn-xt.blogspot.com)
Known as jojoguy10
roofone
Posts: 3
Joined: 30 Mar 2011, 03:47

Re: NXT+Ubuntu10.10=Connection?

Post 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.
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: NXT+Ubuntu10.10=Connection?

Post 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
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
mrblp
Posts: 82
Joined: 02 Oct 2010, 14:33

Re: NXT+Ubuntu10.10=Connection?

Post 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
Bye Marvin

- "I think you ought to know I'm feeling very depressed." - (Android Marvin in "The Hitchhiker's Guide to the Galaxy" by Douglas Adams, 1978)
jojoguy14
Posts: 155
Joined: 29 Sep 2010, 12:49
Contact:

Re: NXT+Ubuntu10.10=Connection?

Post 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
Creator of LEGO-X TechN'XT! (http://lego-x.com http://techn-xt.blogspot.com)
Known as jojoguy10
roofone
Posts: 3
Joined: 30 Mar 2011, 03:47

Re: NXT+Ubuntu10.10=Connection?

Post 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.
tropicalicecube
Posts: 1
Joined: 09 Apr 2011, 13:17

Re: NXT+Ubuntu10.10=Connection?

Post 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.
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 13 guests