Re: [Barry-devel] Fedora 8 - BBPerl - Starting from scratch how to / help
On Mon, Apr 28, 2008 at 01:05:48PM -0400, lance raymond wrote: Getting real close. I am getting an error on sync and have 1 question, so... The error is; msynctool --sync EvoBarry Synchronizing group EvoBarry Member 2 of type barry-sync had an error while connecting: (-1, error sending control message: Operation not permitted): Probe: GetConfiguration failed This error appears to be a permissions problem. I assume you're running msynctool as a different user than you did in the btool test in your other email? Make sure that you can run btool from the command line as the same user as you will be running msynctool as. For example: btool -d Address Book btool -d Calendar Should dump your contact list and calendar to stdout. If this doesn't work, then sync won't work either. The questions is; the config-barry1 shows the templates for calendar, addbook and tasks, but That config is for the evolution plugin, not the barry plugin. the config-barry2 has the pin then only 2 1's (for add/calendar), so should those change at all? The tasks entry for the evolution plugin was just for completeness, and I haven't had any problems with it included. Barry doesn't support syncing tasks yet, and opensync will know that, since the barry plugin only registers for what it can handle, so that's fine. - 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] Fedora 8 - BBPerl - Starting from scratch how to / help
You were right about the user, the cvs compile was done as root, so if I use the root user I can run both the btool and msync, but getting an error. I re-ran the mysync config's as you wrote as root so mysync will use that profile. I had a password set and don't see a msynctool option so the next error was related to that, so I removed the password on the device. The btool option gave all the contact info fine, but when I try to sync I get 2 different errors, I either get; msynctool --sync EvoBarry Synchronizing group EvoBarry Bad packet size. Packet: 26. DataSize(): 26. Required size: 44 : 00 00 1a 00 09 ff 00 07 52 49 4d 20 44 65 73 6b RIM Desk 0010: 74 6f 70 00 00 00 00 00 01 00top... Member 2 of type barry-sync had an error while connecting: Bad packet size. Packet: 26. DataSize(): 26. Required size: 44 Member 1 of type evo2-sync had an error while connecting: Unable to open anything All clients have disconnected The sync failed: Unable to connect one of the members Error while synchronizing: Unable to connect one of the members msynctool --sync EvoBarry Synchronizing group EvoBarry Member 1 of type evo2-sync had an error while connecting: Unable to open anything Member 2 of type barry-sync just connected Member 2 of type barry-sync just disconnected All clients have disconnected The sync failed: Unable to connect one of the members Error while synchronizing: Unable to connect one of the members I have the following settings for; EvoBarry 1 config address_path/home/lance/.evolution/addressbook/local/system/address_path calendar_path/home/lance/.evolution/calendar/local/system/calendar_path tasks_path/home/lance/.evolution/tasks/local/system/tasks_path /config Evobarry 2 Simply has the Device pin 1 1 Looked around at the msynctool options didn't see any debug options or where the failed logs are. Thanks. On Tue, Apr 29, 2008 at 2:08 AM, Chris Frey [EMAIL PROTECTED] wrote: On Mon, Apr 28, 2008 at 01:05:48PM -0400, lance raymond wrote: Getting real close. I am getting an error on sync and have 1 question, so... The error is; msynctool --sync EvoBarry Synchronizing group EvoBarry Member 2 of type barry-sync had an error while connecting: (-1, error sending control message: Operation not permitted): Probe: GetConfiguration failed This error appears to be a permissions problem. I assume you're running msynctool as a different user than you did in the btool test in your other email? Make sure that you can run btool from the command line as the same user as you will be running msynctool as. For example: btool -d Address Book btool -d Calendar Should dump your contact list and calendar to stdout. If this doesn't work, then sync won't work either. The questions is; the config-barry1 shows the templates for calendar, addbook and tasks, but That config is for the evolution plugin, not the barry plugin. the config-barry2 has the pin then only 2 1's (for add/calendar), so should those change at all? The tasks entry for the evolution plugin was just for completeness, and I haven't had any problems with it included. Barry doesn't support syncing tasks yet, and opensync will know that, since the barry plugin only registers for what it can handle, so that's fine. - 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] Fedora 8 - BBPerl - Starting from scratch how to / help
Man do I have a lot to catchup on. But as you requested, the lsusb is rather large, I did grep around and think this puts me in the safe category; idProduct 0x0004 iProduct5 RIM Composite Device idProduct 0x That looks to me like a 0004, but I am not the guru here. If you need more info, please let me know and I will provide. dmseg also shows; scsi 6:0:0:0: Direct-Access RIM BlackBerry SD0001 PQ: 0 ANSI: 4 CCS This time I see the 0001 so 2 for 2! -- I completed the CVS version anyway, and the next test btool showed alot ( I will attach a .txt file with the entire output) ending with; Blackberry devices found: Device ID: 0x8f923c0. PIN: 2401e0ce, Description: RIM 8100 Series Colour GPRS Handheld, Interface: 0x0, Endpoints: (read: 0x83, write: 0x4, type: 0x2, ZeroSocketSequence: 0x7 Getting closer, thanks. On Fri, Apr 25, 2008 at 3:22 PM, Chris Frey [EMAIL PROTECTED] wrote: On Mon, Apr 21, 2008 at 09:39:14PM -0400, lance raymond wrote: The rpmbuild (the next step you wrote) had a few dep's that were solved, then seem to build and give no errors. I am not sure what the next step is. I did try a barrybackup which this time found my 8100 perl, The 8100 Pearl has a special Product ID code, at least for the 8120, and so far I've only been able to debug it through email with help from others that have the device. Using lsusb should confirm if you have this issue. If so, CVS is your only bet at the moment. If the product ID is 0006 or 0004 or 0001, then you're ok. If it is 8004 or something else, you'll need CVS. If you could send me the output of lsusb -v with the device freshly plugged in, that would be great. Instructions for grabbing the CVS tree are available on the sourceforge website. Then run: ./buildgen.sh (you'll need autoconf/automake/libtool) ./configure make At this point, you can run the programs in the ./tools/ directory, such as btool. tools/btool -lv I looked a bit through the config, pretty straight forward, but when I click the backup I get the following; Backup error: (-19, submitting URB: No such device): Error in usb_bulk_read) Can you run btool -lv and send me the output? Use CVS if your device needs it. I don't know how to sync with evolution as I am pretty sure you don't use the pilot link so can't test that, but from the above I am not even sure if it will work. It's best to make sure the command line tools work before venturing into the realm of syncing, as that carries it's own set of challenges. - 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 device_desc loaded bLength: 18 bDescriptorType: 1 bcdUSB: 272 bDeviceClass: 0 bDeviceSubClass: 0 bDeviceProtocol: 0 bMaxPacketSize0: 16 idVendor: 4042 idProduct: 4 bcdDevice: 262 iManufacturer: 1 iProduct: 5 iSerialNumber: 3 bNumConfigurations: 1 config_desc #0 loaded bLength: 9 bDescriptorType: 2 wTotalLength: 97 bNumInterfaces: 2 bConfigurationValue: 1 iConfiguration: 0 bmAttributes: 128 MaxPower: 250 interface_desc #0 loaded bLength: 9 bDescriptorType: 4 bInterfaceNumber: 0 bAlternateSetting: 0 bNumEndpoints: 8 bInterfaceClass: 255 bInterfaceSubClass: 1 bInterfaceProtocol: 255 iInterface: 2 endpoint_desc #0 loaded bLength: 7 bDescriptorType: 5 bEndpointAddress: 129 bmAttributes: 2 wMaxPacketSize: 64 bInterval: 0 bRefresh: 0 bSynchAddress: 0 endpoint added to map with bEndpointAddress: 129 pair.read = 129 pair.type = 2 endpoint_desc #1 loaded bLength: 7 bDescriptorType: 5 bEndpointAddress: 2 bmAttributes: 2 wMaxPacketSize: 64 bInterval: 0 bRefresh: 0 bSynchAddress: 0 endpoint added to map with bEndpointAddress: 2 pair.write = 2 pair.type = 2 pair added! (read: 129,write: 2,type: 2) endpoint_desc #2 loaded bLength: 7 bDescriptorType: 5 bEndpointAddress: 131 bmAttributes: 2 wMaxPacketSize: 64 bInterval: 0 bRefresh: 0 bSynchAddress: 0 endpoint added to map with bEndpointAddress: 131 pair.read = 131 pair.type = 2 endpoint_desc #3 loaded bLength: 7 bDescriptorType: 5 bEndpointAddress: 4 bmAttributes: 2 wMaxPacketSize: 64 bInterval: 0 bRefresh: 0 bSynchAddress: 0 endpoint added to map with bEndpointAddress: 4 pair.write = 4 pair.type = 2 pair added! (read: 131,write: 4,type: 2) endpoint_desc #4 loaded bLength: 7 bDescriptorType: 5
Re: [Barry-devel] Fedora 8 - BBPerl - Starting from scratch how to / help
On Fri, Apr 25, 2008 at 3:37 PM, Chris Frey [EMAIL PROTECTED] wrote: On Thu, Apr 24, 2008 at 10:30:30PM -0400, lance raymond wrote: Seriously though, ignoring the barrybackup not syncing (error posted before), how do you initiate the transfer/sync? The old treo worked via a pilot-link, but that was a while back, so is the sync done through evolution or a script kicked off from the cli? You can use msynctool (cli) or KitchenSync (gui). Those are the main ones that I'm familiar with, and I would recommend starting with msynctool first, just because the configuration dialogs in KitchenSync are a little funky with certain plugins. Syncing goes something like this (once you have everything installed). Preparation: Make backups of your data! - use barrybackup for your device - backup evolution too, see: http://ubuntu.wordpress.com/2005/12/03/how-to-backup-evolution/ Configuration: msynctool --addgroup EvoBarry msynctool --addmember EvoBarry evo2-sync msynctool --addmember EvoBarry barry-sync msynctool --configure EvoBarry 1 msynctool --configure EvoBarry 2 msynctool --showgroup EvoBarry Each configure command will bring up an editor, where you can enter the configuration details for each plugin. For Barry, a default template will appear, containing comments and the single config line you need to setup. This line contains the PIN number of your device, and a 1 or 0 depending if you want to sync contacts and calendar items. Normally you use PIN 1 1 For Evolution, it is an XML configuration, pointing to your home directory, where evolution stores its local databases. For example, on my system, I use: config address_pathfile:///home/cdfrey/.evolution/addressbook/local/system/address_path calendar_pathfile:///home/cdfrey/.evolution/calendar/local/system/calendar_path tasks_pathfile:///home/cdfrey/.evolution/tasks/local/system/tasks_path /config Actual syncing: Make sure that evolution is not running. evolution --force-shutdown Run the sync. msynctool --sync EvoBarry - Getting real close. I am getting an error on sync and have 1 question, so... The error is; msynctool --sync EvoBarry Synchronizing group EvoBarry Member 2 of type barry-sync had an error while connecting: (-1, error sending control message: Operation not permitted): Probe: GetConfiguration failed Member 1 of type evo2-sync just connected Member 1 of type evo2-sync just disconnected All clients have disconnected The sync failed: Unable to connect one of the members Error while synchronizing: Unable to connect one of the members The questions is; the config-barry1 shows the templates for calendar, addbook and tasks, but the config-barry2 has the pin then only 2 1's (for add/calendar), so should those change at all? Thanks again. --- - 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] Fedora 8 - BBPerl - Starting from scratch how to / help
3 day's and nothing, man ... Vista and Outlook work so nice with the BB. Seriously though, ignoring the barrybackup not syncing (error posted before), how do you initiate the transfer/sync? The old treo worked via a pilot-link, but that was a while back, so is the sync done through evolution or a script kicked off from the cli? Thanks again... On Mon, Apr 21, 2008 at 9:39 PM, lance raymond [EMAIL PROTECTED] wrote: Chris, thanks, I did have the files; ls -l /usr/lib/libboost_serial*? lrwxrwxrwx 1 root root 35 2008-03-17 11:26 /usr/lib/libboost_serialization-mt.so - libboost_serialization-mt.so.1.34.1 -rwxr-xr-x 1 root root 376520 2008-01-16 12:03 /usr/lib/libboost_serialization-mt.so.1.34.1 lrwxrwxrwx 1 root root 35 2008-03-17 11:25 /usr/lib/libboost_serialization-mt.so.3 - libboost_serialization-mt.so.1.34.1 lrwxrwxrwx 1 root root 32 2008-03-17 11:26 /usr/lib/libboost_serialization.so - libboost_serialization.so.1.34.1 -rwxr-xr-x 1 root root 376500 2008-01-16 12:03 /usr/lib/libboost_serialization.so.1.34.1 lrwxrwxrwx 1 root root 32 2008-03-17 11:25 /usr/lib/libboost_serialization.so.3 - libboost_serialization.so.1.34.1 The rpmbuild (the next step you wrote) had a few dep's that were solved, then seem to build and give no errors. I am not sure what the next step is. I did try a barrybackup which this time found my 8100 perl, I looked a bit through the config, pretty straight forward, but when I click the backup I get the following; Backup error: (-19, submitting URB: No such device): Error in usb_bulk_read) I don't know how to sync with evolution as I am pretty sure you don't use the pilot link so can't test that, but from the above I am not even sure if it will work. /var/log/messages only shows; kernel: scsi 225:0:0:0: Direct-Access RIM BlackBerry SD0001 PQ: 0 ANSI: 4 CCS Hope some of the above helps, I appreciate all the help/feedback. Lance On Mon, Apr 21, 2008 at 3:59 PM, Chris Frey [EMAIL PROTECTED] wrote: On Fri, Apr 18, 2008 at 11:26:46PM -0400, lance raymond wrote: ok, from the testing in the past and fustrations reading 10 different posts about things, it's easy to start a new thread as a help / how to Running Fedora 8 on a Dell XPS 1330 laptop. Before I start installing barry* barry-0.12-1.fc7.src.src barry-gui-0.12-1.fc7.i386.rpm barry-util-0.12-1.fc7.i386.rpm libbarry-0.12-1.fc7.i386.rpm A first run attempt at installing gives; error: Failed dependencies: libboost_serialization.so.2 is needed by barry-util-0.12-1.i386 and I do have the following installed; rpm -qa |grep boost boost-devel-1.34.1-7.fc8 Check /usr/lib for libboost_serialization* to make sure that the library is installed. ls /usr/lib/libboost_serial* If not, it's probably in a separate RPM for your system... I forget offhand how this is done on Fedora. I currently only have a build system setup for FC7 packages. FC8 is on the todo list. Note that FC8 likely has a newer version of Boost than FC7. When it comes to C++ libraries, the safest way to deal with these kinds of library issues sometimes is to recompile on your own machine. You can do this relatively easily yourself, as long as you have all the dependencies installed, by downloading the Barry .src.rpm from SourceForge, and building: rpm -i barry-0.12-1.fc7.src.rpm cd /usr/src/redhat/SPECS rpmbuild -ba barry.spec --with gui --with opensync The two --with options are optional. See http://netdirect.ca/software/packages/barry/install.php for a list of dependencies. - 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] Fedora 8 - BBPerl - Starting from scratch how to / help
On Sat, 2008-04-19 at 07:38 -0400, lance raymond wrote: You probably want to 'yum install boost' to get the library you're looking for. But it will give you libboost-serialization.3 (f8) so maybe you'll have to do a symbolic link, or try to find a barry package that has been built on f8. This seems to me to be the issue. Did you miss it? You need the FC8 RPMs for your FC8 machine. pd -- Paul Dugas, Computer EngineerDugas Enterprises, LLC [EMAIL PROTECTED]phone: 404-932-1355 522 Black Canyon Park http://dugas.ccfax: 866-751-6494 Canton, GA 30114 USA signature.asc Description: This is a digitally signed message part - 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] Fedora 8 - BBPerl - Starting from scratch how to / help
No didn't miss it, actually replied to it. I missed line 2 on the copy/paste, but it said; rpm -qa |grep boost shows; boost-devel-1.34.1-7.fc8 boost-1.34.1-7.fc8 So I have both the boost and boost-devel packages installed, but still getting the dep error. On Mon, Apr 21, 2008 at 1:55 PM, Paul Dugas [EMAIL PROTECTED] wrote: On Sat, 2008-04-19 at 07:38 -0400, lance raymond wrote: You probably want to 'yum install boost' to get the library you're looking for. But it will give you libboost-serialization.3 (f8) so maybe you'll have to do a symbolic link, or try to find a barry package that has been built on f8. This seems to me to be the issue. Did you miss it? You need the FC8 RPMs for your FC8 machine. pd -- Paul Dugas, Computer EngineerDugas Enterprises, LLC [EMAIL PROTECTED]phone: 404-932-1355 522 Black Canyon Park http://dugas.ccfax: 866-751-6494 Canton, GA 30114 USA - 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] Fedora 8 - BBPerl - Starting from scratch how to / help
On Fri, Apr 18, 2008 at 9:26 PM, lance raymond [EMAIL PROTECTED] wrote: ok, from the testing in the past and fustrations reading 10 different posts about things, it's easy to start a new thread as a help / how to Running Fedora 8 on a Dell XPS 1330 laptop. Before I start installing barry* barry-0.12-1.fc7.src.src barry-gui-0.12-1.fc7.i386.rpm barry-util-0.12-1.fc7.i386.rpm libbarry-0.12-1.fc7.i386.rpm A first run attempt at installing gives; error: Failed dependencies: libboost_serialization.so.2 is needed by barry-util-0.12-1.i386 and I do have the following installed; rpm -qa |grep boost boost-devel-1.34.1-7.fc8 You probably want to 'yum install boost' to get the library you're looking for. But it will give you libboost-serialization.3 (f8) so maybe you'll have to do a symbolic link, or try to find a barry package that has been built on f8. -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] Fedora 8 - BBPerl - Starting from scratch how to / help
Sorry, the copy/paste missed the 2nd; rpm -qa |grep boost shows; boost-devel-1.34.1-7.fc8 boost-1.34.1-7.fc8 Yet I still get the dep error, is a --force the workaround but don't want to break things before they work! On Sat, Apr 19, 2008 at 7:31 AM, Brian Edginton [EMAIL PROTECTED] wrote: On Fri, Apr 18, 2008 at 9:26 PM, lance raymond [EMAIL PROTECTED] wrote: ok, from the testing in the past and fustrations reading 10 different posts about things, it's easy to start a new thread as a help / how to Running Fedora 8 on a Dell XPS 1330 laptop. Before I start installing barry* barry-0.12-1.fc7.src.src barry-gui-0.12-1.fc7.i386.rpm barry-util-0.12-1.fc7.i386.rpm libbarry-0.12-1.fc7.i386.rpm A first run attempt at installing gives; error: Failed dependencies: libboost_serialization.so.2 is needed by barry-util-0.12-1.i386 and I do have the following installed; rpm -qa |grep boost boost-devel-1.34.1-7.fc8 You probably want to 'yum install boost' to get the library you're looking for. But it will give you libboost-serialization.3 (f8) so maybe you'll have to do a symbolic link, or try to find a barry package that has been built on f8. -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 - 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