Op 14-12-2010 05:08, Hans Petter Selasky schreef:
> 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?
>
That does the trick, reading sensor data as user now works :) So on
Linux this reset line is harmless, but on FreeBSD it has to be removed.

Rene
-- 
http://www.rene-ladan.nl/

GPG fingerprint = ADBC ECCD EB5F A6B4 549F  600D 8C9E 647A E564 2BFC
(subkeys.pgp.net)
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to