[Barry-devel] Kernel driver questions

2008-11-07 Thread Chris Frey
Hi Rick, Got some questions for you: :-) In reading through the code, it appears that the desktop support is not finished yet. Is this correct? It also looks like the interface, from a userspace perspective, is reading and writing to the desktop0 tty, and using the Blackberry serial protocol.

[Barry-devel] [PATCH] desktop_open: added connected check

2008-11-07 Thread Chris Frey
It appears that open() will not fail if for some reason the device does not go into the connected state. This patch checks for that. --- These patches are from studying the code, so far, and therefore untested, except for a compile check on 2.6.26.5. - Chris kernel/init.c |3 ++- 1 files

[Barry-devel] Kernel driver license details

2008-11-07 Thread Chris Frey
Hi Rick, I notice that your license text for your kernel module indicates "GPL v2 only" while the code indicates "GPL v2 or later." If you really do mean "GPL v2 only", you may wish to apply the following patch. This is based on the comments in include/linux/module.h. - Chris diff --git a/ker

[Barry-devel] [PATCH] Fixed allocation size error for device_map; Added negative num_devices c

2008-11-07 Thread Chris Frey
--- kernel/init.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/kernel/init.c b/kernel/init.c index a151866..4e33e3a 100644 --- a/kernel/init.c +++ b/kernel/init.c @@ -1811,7 +1811,13 @@ int i; err("%s(%d) - num_devices = %i, reset to 127.", __FUNCTION_

[Barry-devel] Barray sync hangs BlackBerry 8700c

2008-11-07 Thread Xizeng Mao
Hi guys, I am syncing Evolution to my blackberry 8700c, which is hung. Some logs are follows. Could any body help to investigate why? Xizeng --- .. BulkWrite to endpoint 4: : 08 00 07 00 41 00 00

Re: [Barry-devel] kernel driver notes

2008-11-07 Thread Chris Frey
On Fri, Nov 07, 2008 at 08:04:54PM -0500, Rick Scott wrote: > > I grabbed your latest CVS and noticed you added ifdefs. I was still having > > trouble compiling against 2.6.26.5, so I'm moving the crypto stuff into > > its own API... I think we only need sha1 right? > > That's all I know about, s

[Barry-devel] [PATCH] Port to kernel 2.6.26.5, as well as using new crypto SHA1 API

2008-11-07 Thread Chris Frey
This has not been tested, as I haven't been able to test until compiling. This is only a compile patch for 2.6.26.5. --- This is patch 2 of 2. It changes 3 things: - the URB callback mechanism changed - the work queue API changed... it no longer takes a pointer to data,

[Barry-devel] [PATCH] Added crypto.{h, c} to split SHA1 functionality into its own API

2008-11-07 Thread Chris Frey
This module handles the conflicts between various kernel versions. The main split, currently, is between 2.6.18 and anything newer. --- This is 1 of 2 patches for compiling only. I haven't tested these... in fact, I haven't tested any of the functionality yet, since I use a newer kernel. :-) Wit

Re: [Barry-devel] kernel driver notes

2008-11-07 Thread Rick Scott
On Fri, 2008-11-07 at 18:47 -0500, Chris Frey wrote: > On Fri, Nov 07, 2008 at 07:03:42AM -0500, Rick Scott wrote: > > I just pulled back 2.6.27. I think I see the differences, more > > reading :( Would it help in the short term if I just #ifdef out the > > password stuff?? > > I grabbed your late

Re: [Barry-devel] kernel driver notes

2008-11-07 Thread Chris Frey
On Fri, Nov 07, 2008 at 07:03:42AM -0500, Rick Scott wrote: > I just pulled back 2.6.27. I think I see the differences, more > reading :( Would it help in the short term if I just #ifdef out the > password stuff?? I grabbed your latest CVS and noticed you added ifdefs. I was still having trouble

[Barry-devel] Sync Error

2008-11-07 Thread James Wright
Hi I am having a problem syncing I think it's the same problem as another post: http://sourceforge.net/mailarchive/forum.php?thread_name=1225802556.7107.5.camel%40laptop&forum_name=barry-devel The device is 8320 version 4.5.0.52 and here is the sync log: ##

Re: [Barry-devel] kernel driver notes

2008-11-07 Thread Rick Scott
On Fri, 2008-11-07 at 02:14 -0500, Chris Frey wrote: > On Thu, Nov 06, 2008 at 08:41:25PM -0500, Chris Frey wrote: > > The digest_alg API (not sure if that's the one you want to use) seems to > > have stabilized at the 2.6.17 kernel release. > > Are you in patch-accepting mode if I happen to cook

Re: [Barry-devel] kernel driver notes

2008-11-07 Thread Rick Scott
On Fri, 2008-11-07 at 02:14 -0500, Chris Frey wrote: > On Thu, Nov 06, 2008 at 08:41:25PM -0500, Chris Frey wrote: > > The digest_alg API (not sure if that's the one you want to use) seems to > > have stabilized at the 2.6.17 kernel release. > > Are you in patch-accepting mode if I happen to cook

Re: [Barry-devel] kernel driver notes

2008-11-07 Thread Rick Scott
On Thu, 2008-11-06 at 20:41 -0500, Chris Frey wrote: > Hi Rick, > > Starting a new thread for commentary on the kernel, and various questions > and notes. > > In November 2006, the crypto_digest* family of functions was removed > from the kernel: > > commit cc44215eaaa5e4032946b962353526ae

Re: [Barry-devel] Calendar/Address Book - All = sync failure

2008-11-07 Thread Rick Scott
On Thu, 2008-11-06 at 18:04 -0500, Chris Frey wrote: > On Thu, Oct 23, 2008 at 10:43:11AM +1100, Jason Thomas wrote: > > [EMAIL PROTECTED]:/tmp/trace$ btool -t | grep Calendar > > Database: 0x18 'Calendar Options' (records: 1) > > Database: 0x1a 'Calendar' (records: 7) > > Database: 0x3

Re: [Barry-devel] Barry under ArchLinux

2008-11-07 Thread Bruno D'Arcangeli
Bruno D'Arcangeli a écrit: > Chris Frey a écrit: > > On Thu, Nov 06, 2008 at 05:25:45PM +0100, Bruno D'Arcangeli wrote: > > > I can sync barry-sync and file-sync with msynctool but only as root. > > > when i try as normal user i've got this error: > > > Member 1 of type barry-sync had an error whil

Re: [Barry-devel] Barry under ArchLinux

2008-11-07 Thread Bruno D'Arcangeli
Chris Frey a écrit: > On Thu, Nov 06, 2008 at 05:25:45PM +0100, Bruno D'Arcangeli wrote: > > I can sync barry-sync and file-sync with msynctool but only as root. > > when i try as normal user i've got this error: > > Member 1 of type barry-sync had an error while connecting: (-1, error > > sending