hi list! i just installed the barry .deb packages from the project site because I fixed this charging problem with ubuntu feisty by compiling my own kernel without this usb suspend thing. when I try to run barrybackup I get the following output:
usb_set_debug: Setting debugging level to 9 (on) usb_os_init: Found USB VFS at /dev/bus/usb on_startup usb_os_find_busses: Skipping non bus directory devices usb_os_find_busses: Found 004 usb_os_find_busses: Found 003 usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 004 on 004 usb_os_find_devices: Found 001 on 004 usb_os_find_devices: Found 001 on 003 usb_os_find_devices: Found 012 on 002 usb_os_find_devices: Found 003 on 002 skipped 1 class/vendor specific interface descriptors usb_os_find_devices: Found 001 on 002 error obtaining child information: Inappropriate ioctl for device error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 001 on 001 device_desc loaded bLength: 18 bDescriptorType: 1 bcdUSB: 272 bDeviceClass: 255 bDeviceSubClass: 255 bDeviceProtocol: 255 bMaxPacketSize0: 64 idVendor: 4042 idProduct: 1 bcdDevice: 260 iManufacturer: 1 iProduct: 2 iSerialNumber: 0 bNumConfigurations: 1 config_desc #0 loaded bLength: 9 bDescriptorType: 2 wTotalLength: 46 bNumInterfaces: 1 bConfigurationValue: 1 iConfiguration: 0 bmAttributes: 128 MaxPower: 250 interface_desc #0 loaded bLength: 9 bDescriptorType: 4 bInterfaceNumber: 0 bAlternateSetting: 0 bNumEndpoints: 4 bInterfaceClass: 255 bInterfaceSubClass: 255 bInterfaceProtocol: 255 iInterface: 0 endpoint_desc #0 loaded bLength: 7 bDescriptorType: 5 bEndpointAddress: 133 bmAttributes: 2 wMaxPacketSize: 64 bInterval: 10 bRefresh: 0 bSynchAddress: 0 endpoint added to map with bEndpointAddress: 133 pair.read = 133 pair.type = 2 endpoint_desc #1 loaded bLength: 7 bDescriptorType: 5 bEndpointAddress: 5 bmAttributes: 2 wMaxPacketSize: 64 bInterval: 10 bRefresh: 0 bSynchAddress: 0 endpoint added to map with bEndpointAddress: 5 pair.write = 5 pair.type = 2 pair added! (read: 133,write: 5,type: 2) endpoint_desc #2 loaded bLength: 7 bDescriptorType: 5 bEndpointAddress: 131 bmAttributes: 2 wMaxPacketSize: 64 bInterval: 10 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: 3 bmAttributes: 2 wMaxPacketSize: 64 bInterval: 10 bRefresh: 0 bSynchAddress: 0 endpoint added to map with bEndpointAddress: 3 pair.write = 3 pair.type = 2 pair added! (read: 131,write: 3,type: 2) interface added to map with bInterfaceNumber: 0 config added to map with bConfigurationValue: 1 BulkWrite to endpoint 3: 00000000: 00 00 10 00 01 ff 00 00 a8 18 da 8d 6c 02 00 00 ............l... std::exception caught in main: Timeout in usb_bulk_read does someone know how to fix this problem? thanks a lot! bye dominik Am Freitag, den 17.08.2007, 15:10 -0700 schrieb [EMAIL PROTECTED]: > Send Barry-devel mailing list submissions to > barry-devel@lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/barry-devel > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Barry-devel digest..." > > > Today's Topics: > > 1. Re: Fix for charging icon bug (Martin Owens) > 2. Re: Fix for charging icon bug (jasser c) > 3. Re: Fix for charging icon bug (Chris Frey) > 4. Re: Fix for charging icon bug (Chris Frey) > 5. Re: Fix for charging icon bug (jasser c) > 6. Re: Fix for charging icon bug (jasser c) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 17 Aug 2007 16:37:48 -0400 > From: "Martin Owens" <[EMAIL PROTECTED]> > Subject: Re: [Barry-devel] Fix for charging icon bug > To: "Barry project development discussion" > <barry-devel@lists.sourceforge.net> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > > If you are running a kernel with CONFIG_USB_SUSPEND enabled, then > > your system will have a /sys/bus/usb/devices/usb.../.../power > > directory that contains two files: state and wakeup. > > Can you do this with udev/dbus configuration? > > > On these systems, it seems that even after bcharge is run, the kernel > > suspends the Blackberry. You can determine this by cat'ing the > > power/state file. If it says 2, it is suspended, and the charge > > icon is likely off. > > It's great that you've figured out what's wrong. :-) > > Now for all those opensync plugin bugs. > > Best Regards, Martin Owens > > > > ------------------------------ > > Message: 2 > Date: Fri, 17 Aug 2007 16:45:37 -0400 > From: "jasser c" <[EMAIL PROTECTED]> > Subject: Re: [Barry-devel] Fix for charging icon bug > To: "Barry project development discussion" > <barry-devel@lists.sourceforge.net> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="utf-8" > > hello :D > hehe nice :O. i seem to be more of a kernel guy because there is a patch for > the kernel for this...its suppose to be coming into the 2.6.23 usb fixes :) > i think it got signed off already i am not sure > > On 8/17/07, Martin Owens <[EMAIL PROTECTED]> wrote: > > > > > If you are running a kernel with CONFIG_USB_SUSPEND enabled, then > > > your system will have a /sys/bus/usb/devices/usb.../.../power > > > directory that contains two files: state and wakeup. > > > > Can you do this with udev/dbus configuration? > > > > > On these systems, it seems that even after bcharge is run, the kernel > > > suspends the Blackberry. You can determine this by cat'ing the > > > power/state file. If it says 2, it is suspended, and the charge > > > icon is likely off. > > > > It's great that you've figured out what's wrong. :-) > > > > Now for all those opensync plugin bugs. > > > > Best Regards, Martin Owens > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Barry-devel mailing list > > Barry-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/barry-devel > > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 3 > Date: Fri, 17 Aug 2007 17:39:31 -0400 > From: Chris Frey <[EMAIL PROTECTED]> > Subject: Re: [Barry-devel] Fix for charging icon bug > To: Barry project development discussion > <barry-devel@lists.sourceforge.net> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=us-ascii > > On Fri, Aug 17, 2007 at 04:45:37PM -0400, jasser c wrote: > > hello :D > > hehe nice :O. i seem to be more of a kernel guy because there is a patch for > > the kernel for this...its suppose to be coming into the 2.6.23 usb fixes :) > > i think it got signed off already i am not sure > > Do you have a link to this patch? I would be great to see what they > changed to fix this. > > With a bit more testing, the icon still disappears sometimes, unfortunately. > I think maybe I have to change the state on the USB hub as well. > > One way to really work around this for now is to just compile your > kernel with CONFIG_USB_SUSPEND disabled. > > - Chris > > > > > ------------------------------ > > Message: 4 > Date: Fri, 17 Aug 2007 17:51:01 -0400 > From: Chris Frey <[EMAIL PROTECTED]> > Subject: Re: [Barry-devel] Fix for charging icon bug > To: Barry project development discussion > <barry-devel@lists.sourceforge.net> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=us-ascii > > On Fri, Aug 17, 2007 at 04:37:48PM -0400, Martin Owens wrote: > > > If you are running a kernel with CONFIG_USB_SUSPEND enabled, then > > > your system will have a /sys/bus/usb/devices/usb.../.../power > > > directory that contains two files: state and wakeup. > > > > Can you do this with udev/dbus configuration? > > I wrote a script that took the udev %p argument on the command line, like > this: > > BUS=="usb", SUBSYSTEM=="usb_device", ACTION=="add", SYSFS{idVendor}=="0fca", > SYSFS{idProduct}=="0001", SYMLINK+="bb-%k", GROUP="plugdev", MODE="0660", > RUN="/tmp/cap.sh %p" > > > Then in the script, you could run: > > bcharge > sleep 5s # seems to be needed... you can play with this > echo -n 0 > "/sys/$1/device/power/state" > > - Chris > > > > > ------------------------------ > > Message: 5 > Date: Fri, 17 Aug 2007 18:02:03 -0400 > From: "jasser c" <[EMAIL PROTECTED]> > Subject: Re: [Barry-devel] Fix for charging icon bug > To: "Barry project development discussion" > <barry-devel@lists.sourceforge.net> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="utf-8" > > well i used two patches at the same time but here are both > http://www.kernel.org/pub/linux/kernel/people/gregkh/usb/2.6/2.6.22/don-t-autosuspend-blackberry-devices.patch > http://www.kernel.org/pub/linux/kernel/people/gregkh/usb/2.6/2.6.22/usb-support-blackberry-pearl-with-berry_charge.patch > > there is also a mailing list post that says somhing about the 2.6.23 fixes > that includes these patches > http://www.mail-archive.com/[EMAIL PROTECTED]/msg55752.html > > > On 8/17/07, Chris Frey <[EMAIL PROTECTED]> wrote: > > > > On Fri, Aug 17, 2007 at 04:45:37PM -0400, jasser c wrote: > > > hello :D > > > hehe nice :O. i seem to be more of a kernel guy because there is a patch > > for > > > the kernel for this...its suppose to be coming into the 2.6.23 usb fixes > > :) > > > i think it got signed off already i am not sure > > > > Do you have a link to this patch? I would be great to see what they > > changed to fix this. > > > > With a bit more testing, the icon still disappears sometimes, > > unfortunately. > > I think maybe I have to change the state on the USB hub as well. > > > > One way to really work around this for now is to just compile your > > kernel with CONFIG_USB_SUSPEND disabled. > > > > - Chris > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Barry-devel mailing list > > Barry-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/barry-devel > > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 6 > Date: Fri, 17 Aug 2007 18:10:02 -0400 > From: "jasser c" <[EMAIL PROTECTED]> > Subject: Re: [Barry-devel] Fix for charging icon bug > To: "Barry project development discussion" > <barry-devel@lists.sourceforge.net> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="utf-8" > > sorry for that but i don't know if this is necessary or not but here is the > one for 2.6.23-rc1 > http://www.mail-archive.com/[EMAIL PROTECTED]/msg56381.html > > On 8/17/07, jasser c <[EMAIL PROTECTED]> wrote: > > > > well i used two patches at the same time but here are both > > http://www.kernel.org/pub/linux/kernel/people/gregkh/usb/2.6/2.6.22/don-t-autosuspend-blackberry-devices.patch > > > > http://www.kernel.org/pub/linux/kernel/people/gregkh/usb/2.6/2.6.22/usb-support-blackberry-pearl-with-berry_charge.patch > > > > > > there is also a mailing list post that says somhing about the 2.6.23 fixes > > that includes these patches > > http://www.mail-archive.com/[EMAIL PROTECTED]/msg55752.html > > > > > > > > On 8/17/07, Chris Frey <[EMAIL PROTECTED]> wrote: > > > > > > On Fri, Aug 17, 2007 at 04:45:37PM -0400, jasser c wrote: > > > > hello :D > > > > hehe nice :O. i seem to be more of a kernel guy because there is a > > > patch for > > > > the kernel for this...its suppose to be coming into the 2.6.23 usb > > > fixes :) > > > > i think it got signed off already i am not sure > > > > > > Do you have a link to this patch? I would be great to see what they > > > changed to fix this. > > > > > > With a bit more testing, the icon still disappears sometimes, > > > unfortunately. > > > I think maybe I have to change the state on the USB hub as well. > > > > > > One way to really work around this for now is to just compile your > > > kernel with CONFIG_USB_SUSPEND disabled. > > > > > > - Chris > > > > > > > > > ------------------------------------------------------------------------- > > > > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > _______________________________________________ > > > Barry-devel mailing list > > > Barry-devel@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/barry-devel > > > > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > ------------------------------ > > _______________________________________________ > Barry-devel mailing list > Barry-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/barry-devel > > > End of Barry-devel Digest, Vol 15, Issue 9 > ****************************************** ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel