Java 在Linux中使用lejos for NXT

Java 在Linux中使用lejos for NXT,java,linux,nxt,mindstorms,lejos-nxj,Java,Linux,Nxt,Mindstorms,Lejos Nxj,我有一个Mindstorms NXT,只能用sudo闪现,对吗? 现在我想上传一个测试程序,但是: Initializing LeJOS JDK at /opt/lukas/lejos Linking ... Program has been linked successfully Uploading ... leJOS NXJ> Failed to find any NXTs leJOS NXJ> Failed to connect to any NXT No NXT found

我有一个Mindstorms NXT,只能用sudo闪现,对吗? 现在我想上传一个测试程序,但是:

Initializing LeJOS JDK at /opt/lukas/lejos
Linking ...
Program has been linked successfully
Uploading ...
leJOS NXJ> Failed to find any NXTs
leJOS NXJ> Failed to connect to any NXT
No NXT found - is it switched on and plugged in (for USB)?
uploading the program failed with exit status 1 
我使用eclipse和eclipse插件。
NXT已打开,也通过USB连接,我认为存在一些权限问题。你有什么想法吗?

你确定你有NXT的驱动程序内核模块吗?查看dmesg输出,检查连接NXT USB时显示的消息。[46418.380087]USB 4-2:使用UHCD的新全速USB设备编号10[46418.554116]USB 4-2:找到新USB设备,idVendor=0694,idProduct=0002[46418.554126]USB 4-2:新USB设备字符串:Mfr=0,Product=0,SerialNumber=1[46418.554134]usb 4-2:序列号:001653037901