Hi Chris, et al.

>> Some time ago you asked for some help investigating the usb device
>> permissions on OpenSuse.  I didn't see if you had any responses to that,
>> so I don't know if the following information will be any use...
>
> During my testing, it is obvious that Barry on Opensuse needs work. :-)
> The more help, the better.

This appears to be an issue in Fedora as well, 
https://bugzilla.redhat.com/show_bug.cgi?id=478851.  I tried the suggestion 
of chmod a+rwx /dev/bus/usb/<bus>/<device> as root, but after I've done 
this, I get the following error:
Usb::Error caught in main:
(-2, error submitting URB: No such file or directory): Error in 
usb_bulk_read
Has anyone seen this or know what it means?

>> It seems that udev has a rule in
>> /etc/udev/rules.d/50-udev-default-rules
>> SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", 
>> NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0644"

For what it's worth, I can't find anything like this in Fedora.

>> which sets the usb device to being read-only, and overrides the settings
>> provided in /etc/udev/rules.d/10-blackberry.rules
>>
>> The workaround I have implemented is to move the blackberry rules file to
>> later in the sequence,
>
> This is valuable to know.  In my tests, when I changed the sequence of
> 10-blackberry.rules, it took much longer for bcharge to run.  And one 
> time,
> I think it didn't run at all.  Did you run into any such problems?

I think I'm experiencing something similar to you Chris.  In my rules.d I 
have 51-packagekit-firmware.rules, and I can rename 10-blackberry.rules to 
51-blackberry.rules.  If I rename 10-blackberry.rules to anything higher 
than 51-blackberry.rules, bcharge won't run and MaxPower is 100mA.  However, 
I didn't run into the issue you mentioned of bcharge taking longer to run.

Chris 


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to