Re: [Barry-devel] Blackberry Pearl (8100) and bcharge problems

2007-05-17 Thread Chris Frey
On Sun, May 13, 2007 at 05:39:30PM -0600, John Anderson wrote: > On 5/13/07, John Anderson <[EMAIL PROTECTED]> wrote: > > > >Hey, I have the blackberry pearl (8100) v4.2.0.73 Platform 2.2.0.4 and > >> when I run bcharge -o I get: > >> > >> Scanning for Blackberry devices... > >> Found device #003.

Re: [Barry-devel] sync format for calendar

2007-05-17 Thread Chris Frey
On Mon, May 14, 2007 at 05:14:02AM -0600, Brian Edginton wrote: > I briefly glanced at how sync works for calendars and it appears that it uses > RFC2445. Since I haven't looked at the details for barry is this correct? If > it is, when I add Class and FreeBusy to the records I'll convert to stri

Re: [Barry-devel] Barry version 0.7 (alpha) released

2007-05-17 Thread Chris Frey
On Tue, May 15, 2007 at 09:46:09AM -0400, raj wrote: > Thanks, I'll try that.. > > Meanwhile, on my desktop at work (fc6, 2.6.20-1.2948.fc6) - bcharge and > mass storage seem to work fine together.. I have the barry-util 0.7 rpm > installed, working on the -gui dependencies next. Troy is corre

Re: [Barry-devel] Blackberry Pearl (8100) and bcharge problems

2007-05-17 Thread John Anderson
Hi John, Thanks for your testing and feedback. You can setup udev or hotplug rules, depending on your system, to change the permissions of the devices so you don't need to be root. The latest CVS has the proper udev rules in the udev/ directory, if you want a starting point. Also, the bina

[Barry-devel] [patch] berry_charge.c updated with Blackberry Pearl support, and other bugfixes

2007-05-17 Thread Chris Frey
Hi, Below is a patch with the following changes to the berry_charge.c module: 1) kzalloc() is called, but memory is never freed Is this a memory leak? I'm not sure, but the buffer is only a dummy buffer to hold return data that is never used, so I suspect a stack variabl

Re: [Barry-devel] Blackberry Pearl (8100) and bcharge problems

2007-05-17 Thread Chris Frey
On Thu, May 17, 2007 at 12:56:00PM -0600, John Anderson wrote: > It doesn't charge and I was mistaken when I said btool finds it, btool > crashes with Usb:Error caught: Timeout in usb_bulk_reader I just got another report today of similar behaviour... hopefully I can test the device in person tomo

Re: [Barry-devel] Patch for Calendar and a little for Contact I missed

2007-05-17 Thread Chris Frey
On Wed, May 16, 2007 at 05:58:11AM -0600, Brian Edginton wrote: > Here is a patch to add FreeBusy and Class information to Calendar and add > some > of the clear() I missed in Contact. Thanks very much for your work on this. Some comments: > +/// > +/// Free Busy Flag > +/// > +

Re: [Barry-devel] Patch for Calendar and a little for Contact I missed

2007-05-17 Thread Brian Edginton
On Thursday 17 May 2007 07:26:48 pm Chris Frey wrote: > On Wed, May 16, 2007 at 05:58:11AM -0600, Brian Edginton wrote: > > Here is a patch to add FreeBusy and Class information to Calendar and add > > some of the clear() I missed in Contact. > > Thanks very much for your work on this. Some commen

[Barry-devel] Source of value for GetDefaultRecType() (in record.h)

2007-05-17 Thread Brian Edginton
Where does this value come from? I can't see any real correlation between it and any of the other information that gets dumped. -edge pgpMeRtDvywsA.pgp Description: PGP signature - This SF.net email is sponsored by DB2 Expr

Re: [Barry-devel] Patch for Calendar and a little for Contact I missed

2007-05-17 Thread Brian Edginton
Here is the updated patches with the suggestions from Chris. Index: src/record.cc === RCS file: /cvsroot/barry/barry/src/record.cc,v retrieving revision 1.21 diff -u -r1.21 record.cc --- src/record.cc 11 May 2007 19:58:20 - 1.21 ++

Re: [Barry-devel] Source of value for GetDefaultRecType() (in record.h)

2007-05-17 Thread Chris Frey
On Thu, May 17, 2007 at 08:19:25PM -0600, Brian Edginton wrote: > Where does this value come from? I can't see any real correlation between it > and any of the other information that gets dumped. You'll notice that each database-oriented class in record.h has a field called RecType, a uint8_t. T

Re: [Barry-devel] Patch for Calendar and a little for Contact I missed

2007-05-17 Thread Chris Frey
On Thu, May 17, 2007 at 08:00:18PM -0600, Brian Edginton wrote: > Sounds good. I struggled with this and probably moved them in and out of the > code a half dozen times. I think what finally made me pull them was the fact > that the ordering I was seeing didn't seem to follow my interpretation of