Hi Craig,
        Thanks for testing the driver.  Sorry it has taken a little while to 
get back to you.  I have been camping in Ontario, Canada with very intermittent 
internet access. 
 
        I have tested it with an 8830, 8100, and an 8703e but nit with the 8700 
so far.  I'll have to look around work and I'm sure I can dig up an 8700 to 
test with.
 
        Are you sure that it is charging at 500mA rate without the do_charge 
routing in there?  You can check this with the 'usbdevs -v' command.  It should 
show 500mA power rate.  The problem with the Blackberries is that they do not 
tell the USB bus to turn on the 500mA charge until you enable it on the device. 
 Then the device disconnects and reconnects to the buss with the higher charge 
rate enabled.  That might be why you are seeing it detach and reattach.  
 
       It gets even harder with the "pearl" type Blackberry.  I'm not yet sure 
what models have the "pearl" features in them but it seems like it was added 
for a removable storage card.  The 8100 (the real pearl), 8800, and the 8830 
all have this feature.  When these devices connect to the buss, they id 
themselves as a pearl type blackberry. The driver then needs to turn on the 
high charge rate and tell them to go into dual mode. The dual mode allows them 
to charge and also expose the memory card to the umass USB driver so it can be 
mounted. 
 
      There is still one bug that I am tracking down and that is in the way the 
umass device is handling the memory card.  The blackberry exposes the memory 
card to the umass device right away but doesn't let it use it until the user 
types in there password on the blackberry.  The umass device does like this 
tries to repeatedly query the card.  Once you type the password in then 
everything seems to be OK.  I'm sure it's just a matter of setting up the right 
QUIRKS string in the umass driver but I haven't yet had a chance to start 
working on this.
 
      Any more feedback or testing is always welcome.
 
--- Kirk

________________________________

From: Craig Boston [mailto:[EMAIL PROTECTED]
Sent: Thu 8/9/2007 3:26 PM
To: Kirk Davis
Subject: Re: (Please test) New blackberry (uberry) driver.



On Thu, Aug 09, 2007 at 03:01:42PM -0500, Craig Boston wrote:
> After those changes it compiled cleanly, but unfortunately it doesn't
> work quite right with my 8700.  It gets detected, but continually
> detaches and reattaches.

A quick followup to my last message, if I comment out the do_charge
stuff completely it no longer detaches and reattaches constantly.  So it
appears that on the 8700 at least, the only change from the OpenBSD
version that is necessary to enable 500mA charging is changing
UBERRY_CONFIG_NO from 0 to 1.

Craig


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to