Subject: Re: Blackberry Curve, USB, and NetBSD?
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Christos Zoulas <christos@zoulas.com>
List: tech-kern
Date: 09/28/2007 09:57:33
On Sep 28,  1:14pm, smb@cs.columbia.edu ("Steven M. Bellovin") wrote:
-- Subject: Re: Blackberry Curve, USB, and NetBSD?

| On Fri, 28 Sep 2007 12:55:24 +0000 (UTC)
| christos@astron.com (Christos Zoulas) wrote:
| 
| > In article <20070928020839.1acf6daf@berkshire.machshav.com>,
| > Steven M. Bellovin <smb@cs.columbia.edu> wrote:
| > >On Thu, 27 Sep 2007 23:28:52 +0200
| > >Anders Hjalmarsson <hjalmar@hjalmar.to> wrote:
| > >
| > >>
| > >> 
| > >> My Ericsson phone is similar, I get the 'drive offline' message,
| > >> but I can mount it without problems anyway.
| > >> Part of dmesg:
| > >> 
| > >> umass0 at uhub4 port 2 configuration 1 interface 8
| > >> umass0: Sony Ericsson Sony Ericsson K750, rev 2.00/0.00, addr 5
| > >> umass0: using ATAPI over Bulk-Only
| > >> atapibus1 at umass0: 2 targets
| > >> sd0 at atapibus1 drive 0: <Sony Eri, Memory Stick, 0000> disk
| > >> removable sd0: drive offline
| > >> sd0: fabricating a geometry
| > >> 
| > >The "drive offline" seems to be a common transient; I get that with
| > >my iPod nano, too, but it always mounts immediately.
| > 
| > We should also add a driver so that it can charge. It is pretty
| > simple.
| > 
| Hmm -- could you explain?  I've never had any trouble charging my iPod,
| since it goes online immediately.  However, I can't charge my
| Palmpilot, since NetBSD only recognizes it when I start a hotsync
| operation, causing uvisor0 to appear.

>From glancing at the linux driver one needs to send out some packets
to the phone before it starts charging, otherwise the phone complains
that there is not enough power to charge it.

christos