Raspberry Pi to NXT Problems with usbsock.py

63 views
Skip to first unread message

hubble...@gmail.com

unread,
Oct 2, 2013, 12:47:56 PM10/2/13
to nxt-p...@googlegroups.com
Hello everbody,
i have again problems :(
when i use the shell

>>>import nxt
>>>b=nxt.find_one_brick(debug=True)

The Output is:

Host: 00:16:53:15:27:5A Name: NXT Strict: True
USB: True BT: False Fantom: False FUSB: False FBT: False
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nxt/locator.py", line 118, in find_one_brick
    b = s.connect()
  File "/usr/local/lib/python2.7/dist-packages/nxt/usbsock.py", line 45, in connect
    self.handle.setConfiguration(1)
USBError: could not set config 1: Device or resource busy
Failed to connect to possible brick
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/nxt/locator.py", line 137, in find_one_brick
    raise BrickNotFoundError
nxt.locator.BrickNotFoundError

That shows that there is something with the usbsock.py. Can you help me?

Nice Greetings,
Hubble.Pixel
Reply all
Reply to author
Forward
0 new messages