Date: Mon, 13 Dec 2010 21:23:51 +0100 From: Rene Ladan <rene@freebsd.org> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Lego NXT brick communication error with libusb Message-ID: <4D0680D7.10007@freebsd.org> In-Reply-To: <201012131151.25655.hselasky@c2i.net> References: <4D054F76.1080401@freebsd.org> <201012131151.25655.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------010208030409090005090606 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 -- http://www.rene-ladan.nl/ GPG fingerprint = ADBC ECCD EB5F A6B4 549F 600D 8C9E 647A E564 2BFC (subkeys.pgp.net) --------------010208030409090005090606 Content-Type: text/plain; name="lego.desc" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="lego.desc" ugen3.2: <product 0x0002 vendor 0x0694> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x0694 idProduct = 0x0002 bcdDevice = 0x0000 iManufacturer = 0x0000 <no string> iProduct = 0x0000 <no string> iSerialNumber = 0x0001 <0016530CA81C> bNumConfigurations = 0x0001 Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0020 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x00c0 bMaxPower = 0x0000 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x00ff bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x00ff iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0001 <OUT> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 <IN> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 --------------010208030409090005090606--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D0680D7.10007>