This is with the newest CVS version.  I still had to remove the
usb_storage module and run bcharge.

Here is the file.

Nathan

On Tue, 2007-11-27 at 21:28 -0500, Martin Owens wrote:
> Remove the barry_charge kernel module; you can stop linux from loading
> it, I've heard it gets in the way.
> 
> On 27/11/2007, Nathan <[EMAIL PROTECTED]> wrote:
> > So if I unload usb_storage and then run bcharge it will reload the
> > usb_storage module.  and fails with no such device.  I will try the CVS
> > version and let you know what I find.
> >
> > Nathan
> >
> >
> > On Tue, 2007-11-27 at 10:12 -0500, Martin Owens wrote:
> > > OK using a blackberry pearl (similar to mine) you need to run bcharge
> > > to change the mode from 0006 (Mass Storage Only) to 0004 (Duel Mode)
> > >
> > > When you run lsusb you will see:
> > >
> > > Bus 001 Device 006: ID 0fca:0004 Research In Motion, Ltd
> > >
> > > run bcharge again and see if it works, see if it fails a couple of
> > > times etc, unplug it and plug it back in, make sure that the
> > > berry_charge kernel module isn't being loaded. (for some reason the
> > > kernel guys thought it would be best to ignore bcharge)
> > >
> > > On 27/11/2007, Nathan <[EMAIL PROTECTED]> wrote:
> > > > Not initially.  I just tried and and got this when I ran bcharge:
> > > > [EMAIL PROTECTED]:~$ sudo bcharge
> > > > Scanning for Blackberry devices...
> > > > Found device #005...adjusting charge setting...adjusting Pearl mode to
> > > > dual
> > > > usb_reset failed: could not reset: No such device
> > > > ...done
> > > >
> > > > I rmmmod the usb_storage module before that.  It is plugged in though.
> > > > lsudb shows the RIM id:
> > > > [EMAIL PROTECTED]:~$ lsusb
> > > > Bus 002 Device 001: ID 0000:0000
> > > > Bus 001 Device 006: ID 0fca:0006 Research In Motion, Ltd.
> > > > Bus 001 Device 003: ID 046d:c501 Logitech, Inc. Cordless Mouse Receiver
> > > > Bus 001 Device 001: ID 0000:0000
> > > >
> > > >
> > > > If you have any testing you want me to do let me know.  I can probably
> > > > pull the code from cvs to see if that will be any different.  I am
> > > > using .9 right now.
> > > >
> > > > Nathan
> > > >
> > > >
> > > > On Tue, 2007-11-27 at 07:27 -0500, Martin Owens wrote:
> > > > > The log says that no blackberries were found. did you run bcharge 
> > > > > first?
> > > > >
> > > > > On 26/11/2007, Nathan <[EMAIL PROTECTED]> wrote:
> > > > > > This from a new Pearl 8130 that is from Verizon wireless.  I 
> > > > > > removed the
> > > > > > usb storage module and ran it again with no change.
> > > > > >
> > > > > > I am running Ubuntu Gutsy 7.10 AMD64
> > > > > >
> > > > > > Nathan
> > > > > >
> > > >
> > > > -------------------------------------------------------------------------
> > > > This SF.net email is sponsored by: Microsoft
> > > > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > > > _______________________________________________
> > > > Barry-devel mailing list
> > > > Barry-devel@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/barry-devel
> > > >
> > > >
> > > >
> > >
> > > -------------------------------------------------------------------------
> > > This SF.net email is sponsored by: Microsoft
> > > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > > _______________________________________________
> > > Barry-devel mailing list
> > > Barry-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/barry-devel
> >
> > -------------------------------------------------------------------------
> > SF.Net email is sponsored by: The Future of Linux Business White Paper
> > from Novell.  From the desktop to the data center, Linux is going
> > mainstream.  Let it simplify your IT future.
> > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> > _______________________________________________
> > Barry-devel mailing list
> > Barry-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/barry-devel
> >
> >
> >
> 
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> 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: 64
idVendor: 4042
idProduct: 4
bcdDevice: 263
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: 133
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 0
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: 0
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: 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: 3
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 0
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)
      endpoint_desc #4 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 130
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 130
        pair.read = 130
        pair.type = 2
      endpoint_desc #5 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: 130,write: 2,type: 2)
      endpoint_desc #6 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 132
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 132
        pair.read = 132
        pair.type = 2
      endpoint_desc #7 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: 132,write: 4,type: 2)
    interface added to map with bInterfaceNumber: 0
    interface_desc #0 loaded
bLength: 9
bDescriptorType: 4
bInterfaceNumber: 1
bAlternateSetting: 0
bNumEndpoints: 2
bInterfaceClass: 8
bInterfaceSubClass: 6
bInterfaceProtocol: 80
iInterface: 4

      endpoint_desc #0 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 134
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 134
        pair.read = 134
        pair.type = 2
      endpoint_desc #1 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 7
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 7
        pair.write = 7
        pair.type = 2
        pair added! (read: 134,write: 7,type: 2)
    interface added to map with bInterfaceNumber: 1
  config added to map with bConfigurationValue: 1
usb_open(0x64dfc0)
usb_claim_interface(0x649780,0)
usb_clear_halt(0x649780,131)
usb_clear_halt(0x649780,3)
BulkWrite to endpoint 3:
    00000000: 00 00 10 00 01 ff 00 00 a8 18 da 8d 6c 02 00 00  ............l...

BulkRead (131):
    00000000: 00 00 10 00 02 ff 00 00 a8 18 da 8d 6c 02 00 00  ............l...

BulkWrite to endpoint 3:
    00000000: 00 00 0c 00 05 ff 00 00 14 00 01 00              ............

Socket::Send: Endpoint 131
Received:
    00000000: 00 00 20 00 06 ff 00 00 14 00 01 00 c1 9f b3 65  .. ............e
    00000010: 21 9c ef 39 21 44 40 05 25 7f ca b0 bc 55 ea fd  [EMAIL PROTECTED]

BulkWrite to endpoint 3:
    00000000: 00 00 0c 00 05 ff 00 01 08 00 04 00              ............

Socket::Send: Endpoint 131
Received:
    00000000: 00 00 14 00 06 ff 00 01 08 00 04 00 04 00 00 00  ................
    00000010: 83 bb 7a 31                                      ..z1

BulkWrite to endpoint 3:
    00000000: 00 00 0c 00 05 ff 00 02 08 00 02 00              ............

Socket::Send: Endpoint 131
Received:
    00000000: 00 00 c4 01 06 ff 00 02 b8 01 02 00 0c 00 04 00  ................
    00000010: b8 01 00 00 09 00 03 05 04 0d 00 04 52 49 4d 20  ............RIM 
    00000020: 38 31 30 30 20 53 65 72 69 65 73 20 43 6f 6c 6f  8100 Series Colo
    00000030: 75 72 20 43 44 4d 41 20 48 61 6e 64 68 65 6c 64  ur CDMA Handheld
    00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00000050: 00 00 00 00 00 00 00 00 00 00 00 00 66 66 75 00  ............ffu.
    00000060: 00 00 00 00 00 00 00 00 00 00 00 00 41 75 67 20  ............Aug 
    00000070: 32 31 20 32 30 30 37 00 00 00 00 00 30 39 3a 32  21 2007.....09:2
    00000080: 35 3a 31 36 00 00 00 00 00 00 00 00 00 01 07 00  5:16............
    00000090: 00 00 00 00 00 00 00 00 a4 00 00 00 0a 00 00 00  ................
    000000a0: b8 00 00 00 40 00 00 00 01 00 00 00 c4 56 00 00  [EMAIL PROTECTED]
    000000b0: 01 04 02 84 03 01 04 0a 07 06 ff ff ff ff ff ff  ................
    000000c0: ff ff ff ff 4a 56 be 92 0d 00 01 00 03 0c 00 00  ....JV..........
    000000d0: 00 00 00 00 ff ff ff 03 02 08 00 00 00 00 04 00  ................
    000000e0: 08 10 00 00 00 00 02 00 ff ff db 03 00 00 02 00  ................
    000000f0: 14 0c 00 00 00 00 dc 03 ff ff dd 03 0f 10 00 00  ................
    00000100: 00 00 de 03 ff ff df 03 00 00 02 00 06 14 00 00  ................
    00000110: 00 00 02 00 00 00 e0 03 ff ff eb 03 00 00 02 00  ................
    00000120: 05 14 00 00 00 00 02 00 00 00 ec 03 ff ff f5 03  ................
    00000130: 00 00 02 00 0c 0c 00 00 00 00 f6 03 ff ff f7 03  ................
    00000140: 0e 10 00 00 00 00 f8 03 ff ff fb 03 00 00 02 00  ................
    00000150: 09 08 00 00 dd 2c a1 17 ff ff ff ff ff ff ff ff  .....,..........
    00000160: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
    00000170: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
    00000180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
    00000190: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
    000001a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
    000001b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
    000001c0: ff ff ff ff                                      ....

BulkWrite to endpoint 3:
    00000000: 00 00 0c 00 05 ff 00 03 04 00 05 00              ............

Socket::Send: Endpoint 131
Received:
    00000000: 00 00 0c 00 06 ff 00 03 00 00 00 00              ............

BulkWrite to endpoint 3:
    00000000: 00 00 0c 00 05 ff 00 04 04 00 06 00              ............

Socket::Send: Endpoint 131
Received:
    00000000: 00 00 10 00 06 ff 00 04 04 00 06 00 00 01 00 00  ................

BulkWrite to endpoint 3:
    00000000: 00 00 0c 00 05 ff 00 05 04 00 07 00              ............

Socket::Send: Endpoint 131
Received:
    00000000: 00 00 10 00 06 ff 00 05 04 00 07 00 00 02 00 00  ................

BulkWrite to endpoint 3:
    00000000: 00 00 0c 00 05 ff 00 06 04 00 08 00              ............

Socket::Send: Endpoint 131
Received:
    00000000: 00 00 10 00 06 ff 00 06 04 00 08 00 00 01 00 00  ................

Using ReadEndpoint: 131
      WriteEndpoint: 3
usb_release_interface(0x649780,0)
usb_close(0x649780)
Blackberry devices found:
Device ID: 0x64dfc0. PIN: 317abb83, Description: RIM 8100 Series Colour CDMA Handheld

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to