On Sat, Jan 26, 2008 at 03:02:53PM -0800, Pete Zaitcev wrote:
> Hi, Greg:
> 
> I think the berry_charge is your baby. Please direct me to the
> right person if it's not so.
> 
> I have a bug in Fedora:
>  https://bugzilla.redhat.com/show_bug.cgi?id=379341
> 
> It's pretty long, but the summary is this. When Blackberry is hooked
> to a hub, it seems to try to re-initialize again and then something
> (khubd ?) spams udevd with add/remove events without actually
> disconnecting. The box melts down as a result.

Hm, I just tried this and my blackberry melted down, powering itself
off, and then on, and now it is sitting and spinning with an hourglass.
Linux sees that it is connected just fine:

T:  Bus=04 Lev=02 Prnt=03 Port=01 Cnt=01 Dev#= 63 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=ff MxPS=16 #Cfgs=  1
P:  Vendor=0fca ProdID=0001 Rev= 1.04
S:  Manufacturer=Research In Motion
S:  Product=BlackBerry Device
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

> My question is, do you have one of those things? Would you hook
> it to a hub, check what happens then? I suspect the Berry manages
> to detect that it's on a hub (how?!) and supplies wrong descriptors.
> Then, berry_charge fails this:
>    if ((udev->actconfig->desc.bMaxPower * 2) == 500)

It could detect that it doesn't have as much power being given to it as
it wants to possibly.  I really don't know, it's a wierd, undocumented
little device from a company that ACTIVELY goes out of its way to not be
helpful to Linux (my employeer has signed 2 NDAs with them, and they
still refuse to give me any information, despite meeting everyone of
their legal requests...)


I just tried it again, and it did the same thing, resetting like you
describe, until it resets itself and then the device dies, Linux works
just fine.

I really don't know what to suggest here, anyone have any ideas?

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to