On Wed, Dec 23, 2009 at 12:59 PM, Nathanael Noblet <
nathanaelnob...@gmail.com> wrote:

>
>
> On Tue, Dec 22, 2009 at 7:40 PM, Chris Frey <cdf...@foursquare.net> wrote:
>
>> On Sat, Dec 19, 2009 at 01:15:06AM -0700, Nathanael Noblet wrote:
>> >
>> http://sourceforge.net/mailarchive/message.php?msg_name=20090630093818.GA31202%40foursquare.net
>>
>> Thanks!  Yep, that's the June 30 thread.  Good, we're on the same page.
>> :-)
>>
>>
>> > In anycase, it works, I just need to fix the permissions and I'm not
>> sure
>> > why. No rush if you are busy, but if you have any ideas, that'd be great
>> too
>> > ;)...
>>
>> You might try finding what permissions are currently being set.  Try
>> plugging
>> your device, and as root, running:
>>
>>        strace -e trace=open bidentify
>>
>
Both the command above and btool -l end with
Usb::Error caught: (-1, error sending control message: Operation not
permitted): Probe: GetConfiguration failed



>
>> This should show a bunch of open() calls, opening files like
>> /dev/bus/usb/001/001 or maybe under /sys or /proc.
>>
>> Match that against the bus & device number in 'lsusb''s output:
>>
>>  Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>>  Bus 001 Device 004: ID 0fca:0004 Research In Motion, Ltd.
>>  Bus 001 Device 003: ID 0fca:0001 Research In Motion, Ltd. Blackberry
>> Handheld
>>  Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>>
>> And check the actual owner, group, and permissions on those files:
>>
>>        ls -l /dev/bus/usb/001
>>
>
 crw-rw-r--. 1 root root 189, 8 2009-12-23 13:04 /dev/bus/usb/001/009
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to