Re: [Barry-devel] Barry doesn't detect my Blackberry pearl
Op zaterdag 26-04-2008 om 00:49 uur [tijdzone -0400], schreef Chris Frey: On Thu, Apr 17, 2008 at 11:07:39PM +0200, Aniruddha wrote: Kewl, I'll look into it :) Hi Aniruddha, I'm starting an overhaul of the Barry documentation. If you have been working on the troubleshooting page, let me know, so I don't duplicate effort. Thanks, - Chris - Hi Chris, I am sorry I haven been able change the troubleshooting page yet. I've been working 12 hours a day. Tomorrow is my first free day :) Regards, Aniruddha - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel
Re: [Barry-devel] Barry doesn't detect my Blackberry pearl
On Sat, Apr 26, 2008 at 11:48:31AM +0200, Aniruddha wrote: I am sorry I haven been able change the troubleshooting page yet. I've been working 12 hours a day. Tomorrow is my first free day :) No worries, I just wanted to make sure I didn't stomp on your work. :-) - Chris - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel
Re: [Barry-devel] Barry doesn't detect my Blackberry pearl
On Thu, Apr 17, 2008 at 11:07:39PM +0200, Aniruddha wrote: Kewl, I'll look into it :) Hi Aniruddha, I'm starting an overhaul of the Barry documentation. If you have been working on the troubleshooting page, let me know, so I don't duplicate effort. Thanks, - Chris - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel
Re: [Barry-devel] Barry doesn't detect my Blackberry pearl
Op dinsdag 08-04-2008 om 11:31 uur [tijdzone +0200], schreef Aniruddha: On Mon, 2008-04-07 at 18:44 -0400, Chris Frey wrote: If you can grab the latest CVS and compile it, it has support for the 8004 Product ID. Let me know if you have trouble with it. - Chris After a fresh install I got a new error: $ cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/barry login Logging in to :pserver:[EMAIL PROTECTED]:2401/cvsroot/barry CVS password: It just returns to the commandprompt?! - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel
Re: [Barry-devel] Barry doesn't detect my Blackberry pearl
Op donderdag 17-04-2008 om 15:33 uur [tijdzone -0400], schreef Chris Frey: On Thu, Apr 17, 2008 at 09:24:30PM +0200, Aniruddha wrote: $ cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/barry login Logging in to :pserver:[EMAIL PROTECTED]:2401/cvsroot/barry CVS password: It just returns to the commandprompt?! That's correct for the cvs login command. After using login, the use the checkout command to fetch the sources. cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/barry checkout barry Then make sure you have autoconf, automake, libtool, libusb, etc installed, and run: cd barry ./buildgen.sh ./configure make - Chris Thanks for the quick answer. Barry cvs is compiling now :) - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel
Re: [Barry-devel] Barry doesn't detect my Blackberry pearl
On Thu, Apr 17, 2008 at 1:58 PM, Aniruddha [EMAIL PROTECTED] wrote: Succes! Barry detects my blackberry :D I only have problems getting the gui to compile: In file included from DeviceIface.h:30, from BackupWindow.h:25, from main.cc:28: tarfile.h:27:20: error: libtar.h: No such file or directory tarfile.h:37: error: 'tartype_t' does not name a type tarfile.h:41: error: ISO C++ forbids declaration of 'TAR' with no type tarfile.h:41: error: expected ';' before '*' token tarfile.h:60: error: 'tartype_t' has not been declared make[2]: *** [main.o] Error 1 make[2]: Leaving directory `/home/aniruddha/barry/gui/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/aniruddha/barry/gui' make: *** [all] Error 2 Make sure you have installed libtar.devel -edge - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel
Re: [Barry-devel] Barry doesn't detect my Blackberry pearl
On Thu, 2008-04-17 at 14:02 -0600, Brian Edginton wrote: Make sure you have installed libtar.devel Thanks installing dev-libs/libtar worked :) Unfortunately O got a new error: tarfile-ops-nt.cc:107: error: invalid conversion from 'ssize_t (*)(int, void*, size_t)' to 'ssize_t (*)(long int, void*, size_t)' tarfile-ops-nt.cc:107: error: invalid conversion from 'ssize_t (*)(int, const void*, size_t)' to 'ssize_t (*)(long int, const void*, size_t)' make[4]: *** [tarfile-ops-nt.o] Error 1 make[4]: Leaving directory `/home/aniruddha/barry/gui/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/aniruddha/barry/gui' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/aniruddha/barry/gui' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/aniruddha/barry' make: *** [all] Error 2 - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel
Re: [Barry-devel] Barry doesn't detect my Blackberry pearl
By the way, if anyone feels like helping out, and adding all this stuff to the website documentation and submitting a patch to the files in CVS:barry/doc/www, it would be much appreciated. :-) The compile dependencies are listed in the install.php page, but some of these troubleshooting items are not. See also CVS:barry/doc/TroubleShooting.txt, which would be nice to have in web format, on its own page, under barry/doc/www. - Chris On Thu, Apr 17, 2008 at 04:43:36PM -0400, Chris Frey wrote: On Thu, Apr 17, 2008 at 10:35:00PM +0200, Aniruddha wrote: Thanks installing dev-libs/libtar worked :) Unfortunately O got a new error: tarfile-ops-nt.cc:107: error: invalid conversion from 'ssize_t (*)(int, void*, size_t)' to 'ssize_t (*)(long int, void*, size_t)' Depending on what distro you are using, libtar has a bug in it, when it tries to do 64-bit. This is a distro bug, not a bug in libtar. I've heard of ArchLinux and Mandriva having this bug. You can read more about the bug in this thread here: http://sourceforge.net/mailarchive/message.php?msg_id=20070803200729.GA7068%40foursquare.net What distro are you using? Are you compiling for 64 bit? Where did you get the package for libtar? For RPM based systems, I've usually just downloaded the src.rpm from the URL below, and build it myself: ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/8/Everything/source/SRPMS/libtar-1.2.11-9.fc8.src.rpm rpm -i libtar-1.2.11-9.fc8.src.rpm (become root) cd /usr/src/packages/SPECS rpmbuild -ba libtar.spec rpm -i ../RPMS/*/libtar*rpm - Chris - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel
Re: [Barry-devel] Barry doesn't detect my Blackberry pearl
I am not good with patches and cvs but I am willing to look what I can do ;) On Thu, 2008-04-17 at 16:49 -0400, Chris Frey wrote: By the way, if anyone feels like helping out, and adding all this stuff to the website documentation and submitting a patch to the files in CVS:barry/doc/www, it would be much appreciated. :-) The compile dependencies are listed in the install.php page, but some of these troubleshooting items are not. See also CVS:barry/doc/TroubleShooting.txt, which would be nice to have in web format, on its own page, under barry/doc/www. - Chris On Thu, Apr 17, 2008 at 04:43:36PM -0400, Chris Frey wrote: On Thu, Apr 17, 2008 at 10:35:00PM +0200, Aniruddha wrote: Thanks installing dev-libs/libtar worked :) Unfortunately O got a new error: tarfile-ops-nt.cc:107: error: invalid conversion from 'ssize_t (*)(int, void*, size_t)' to 'ssize_t (*)(long int, void*, size_t)' Depending on what distro you are using, libtar has a bug in it, when it tries to do 64-bit. This is a distro bug, not a bug in libtar. I've heard of ArchLinux and Mandriva having this bug. You can read more about the bug in this thread here: http://sourceforge.net/mailarchive/message.php?msg_id=20070803200729.GA7068%40foursquare.net What distro are you using? Are you compiling for 64 bit? Where did you get the package for libtar? For RPM based systems, I've usually just downloaded the src.rpm from the URL below, and build it myself: ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/8/Everything/source/SRPMS/libtar-1.2.11-9.fc8.src.rpm rpm -i libtar-1.2.11-9.fc8.src.rpm (become root) cd /usr/src/packages/SPECS rpmbuild -ba libtar.spec rpm -i ../RPMS/*/libtar*rpm - Chris - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel
Re: [Barry-devel] Barry doesn't detect my Blackberry pearl
On Thu, Apr 17, 2008 at 10:52:38PM +0200, Aniruddha wrote: I am using Gentoo 32-bit I got the libtar package from portage. Strangely enough I didn't found a bug for libtar: http://bugs.gentoo.org/buglist.cgi?quicksearch=ALL+libtar The memory leak patch included as a solution for this bug: http://bugs.gentoo.org/show_bug.cgi?id=82858 includes the 64-bit bug. According to http://gentoo-portage.com/dev-libs/libtar, the ebuild applies this patch. - Chris - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel
Re: [Barry-devel] Barry doesn't detect my Blackberry pearl
On Thu, Apr 17, 2008 at 10:55:39PM +0200, Aniruddha wrote: I am not good with patches and cvs but I am willing to look what I can do ;) As you're using CVS now, just make changes to your tree until you're happy with it, then run the following from inside the barry tree, from the root level (i.e. the same directory you ran ./buildgen.sh from): cvs diff -u mypatch Then email me the mypatch file, as well as any new files you added (which will not be included in the patch). Thanks! - Chris - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel
Re: [Barry-devel] Barry doesn't detect my Blackberry pearl
On Thu, 2008-04-17 at 16:56 -0400, Chris Frey wrote: On Thu, Apr 17, 2008 at 10:52:38PM +0200, Aniruddha wrote: I am using Gentoo 32-bit I got the libtar package from portage. Strangely enough I didn't found a bug for libtar: http://bugs.gentoo.org/buglist.cgi?quicksearch=ALL+libtar The memory leak patch included as a solution for this bug: http://bugs.gentoo.org/show_bug.cgi?id=82858 includes the 64-bit bug. According to http://gentoo-portage.com/dev-libs/libtar, the ebuild applies this patch. - Chris Strangely enough the patch is already included in the latest ebuild: From the changelog: 14 May 2007; Thilo Bangert [EMAIL PROTECTED] metadata.xml: add herdno-herd/herd *libtar-1.2.11-r1 (28 Feb 2005) 28 Feb 2005; Mike Frysinger [EMAIL PROTECTED] +files/libtar-1.2.11-memleak.patch, +libtar-1.2.11-r1.ebuild: Add patch to plug up memleak #82858 by S.Caglar Onur. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel
Re: [Barry-devel] Barry doesn't detect my Blackberry pearl
On Thu, Apr 17, 2008 at 11:07:23PM +0200, Aniruddha wrote: Strangely enough the patch is already included in the latest ebuild: From the changelog: 14 May 2007; Thilo Bangert [EMAIL PROTECTED] metadata.xml: add herdno-herd/herd *libtar-1.2.11-r1 (28 Feb 2005) 28 Feb 2005; Mike Frysinger [EMAIL PROTECTED] +files/libtar-1.2.11-memleak.patch, +libtar-1.2.11-r1.ebuild: Add patch to plug up memleak #82858 by S.Caglar Onur. Below is the offending piece of the patch (from the bug report URL), which doesn't have anything to do with fixing the memory leak and can be safely removed from the patch file. This will let you build the GUI. You may wish to submit a bug report to Gentoo. Feel free to reference: http://sourceforge.net/mailarchive/message.php?msg_id=20070803200729.GA7068%40foursquare.net - Chris diff -Naur libtar-1.2.11-orig/lib/libtar.h libtar-1.2.11/lib/libtar.h --- libtar-1.2.11-orig/lib/libtar.h 2003-01-06 17:40:59.0 -0800 +++ libtar-1.2.11/lib/libtar.h 2004-08-13 12:26:52.0 -0700 @@ -63,9 +63,9 @@ /* handle.c / typedef int (*openfunc_t)(const char *, int, ...); -typedef int (*closefunc_t)(int); -typedef ssize_t (*readfunc_t)(int, void *, size_t); -typedef ssize_t (*writefunc_t)(int, const void *, size_t); +typedef int (*closefunc_t)(long); +typedef ssize_t (*readfunc_t)(long, void *, size_t); +typedef ssize_t (*writefunc_t)(long, const void *, size_t); typedef struct { - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel
Re: [Barry-devel] Barry doesn't detect my Blackberry pearl
On Tue, Apr 08, 2008 at 11:31:41AM +0200, Aniruddha wrote: $ cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/barry login Logging in to :pserver:[EMAIL PROTECTED]:2401/cvsroot/barry CVS password: cvs login: warning: failed to open /home/aniruddha/.cvspass for reading: No such file or directory That looks like a permissions problem on your system. I assume you're running as user aniruddha. Try changing the permissions on .cvspass: cd /home/aniruddha touch .cvspass chmod 0600 .cvspass Note that once you get the sources from CVS, you'll need to run the buildgen.sh script. This script depends on autoconf, automake, libtool, etc. Make sure you have them installed on your system. - Chris - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel
Re: [Barry-devel] Barry doesn't detect my Blackberry pearl
On Mon, 2008-04-07 at 21:51 +0200, Aniruddha wrote: Hi, I try to backup my Blackberry pearl using the linux.com guide ( http://www.linux.com/feature/123251 ). However barry doesn't find any device: btool -l Blackberry devices found: # lsusb Bus 003 Device 001: ID : Bus 004 Device 001: ID : Bus 005 Device 001: ID : Bus 001 Device 005: ID 0fca:8004 Research In Motion, Ltd. Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB What can I do to fix this? Thanks in advance! Another possibility is to run bcharge to make sure that the pearl is in dual mode. I had this problem with mine. It is only since version .11.1 that I am able to just plugin my pearl and have it connect. Nathan signature.asc Description: This is a digitally signed message part - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel
Re: [Barry-devel] Barry doesn't detect my Blackberry pearl
On Mon, Apr 07, 2008 at 09:51:57PM +0200, Aniruddha wrote: # lsusb Bus 003 Device 001: ID : Bus 004 Device 001: ID : Bus 005 Device 001: ID : Bus 001 Device 005: ID 0fca:8004 Research In Motion, Ltd. Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB What can I do to fix this? Thanks in advance! If you can grab the latest CVS and compile it, it has support for the 8004 Product ID. Let me know if you have trouble with it. - Chris - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel