Lego NXT brick communication error with libusb

Hans Petter Selasky hselasky at c2i.net
Tue Dec 14 04:07:55 UTC 2010


On Monday 13 December 2010 21:23:51 Rene Ladan wrote:
> Op 13-12-2010 11:51, Hans Petter Selasky schreef:
> > On Sunday 12 December 2010 23:40:54 Rene Ladan wrote:
> >> Hi,
> >> 
> >> I am writing a port [1] to control the Lego NXT brick with ROS, but when
> >> I run a test program it fails (permissions for the USB device are 666).
> > 
> >> This is on:
> > What dmesg is shown? Are other [kernel] drivers hooking into the USB
> > interfaces used by your user-land driver?
> 
> dmesg shows just:
> ugen3.2: <vendor 0x0694> at usbus3
> Vendor 0x0694 is Lego.
> 
> I don't have other drivers hooking into the USB device I think:
> % kldstat -v | grep usb
> 		276 usbus/uhub
> 		275 uhub/usb_linux
> 		273 uss820/usbus
> 		272 musbotg/usbus
> 		271 at91_udp/usbus
> 		270 xhci/usbus
> 		269 ehci/usbus
> 		268 uhci/usbus
> 		267 ohci/usbus
> 
> > What is output from usbconfig -d X.Y dump_device_desc
> > dump_curr_config_desc
> 
> Attached.
> 
> Rene

What happens if you remove that device reset line from your driver?

--HPS


More information about the freebsd-usb mailing list