Short update... it seems I found a voodoo to have the pearl
recognized... the ritual has four steps

1  insert the device
2  #modprobe -r usb_storage
3  #./bcharge
4  #./bcharge -o

and THEN (and only THEN) I have

#./btool -l
Blackberry devices found:
Device ID: 0x522160. PIN: <xxxxxxxx>


yes, you understood correctly, I had to give the command bcharge TWICE
in that particular order. I guess you uber-hacker will work out an
explanation for it :-)  If you could suggest a less elaborated (and
less black-magic sort of thing) way to have this done, I would
appreciate!

In any case, thanks a lot.

All the best,
Giulio.

On 7/31/07, Giulio Bottazzi <[EMAIL PROTECTED]> wrote:
> Thanks to all for the reply. Actually it is exactly as you said: when I
> insert the BB pearl the kernel load the usb_storage module
>
> # lsmod | grep sto
> usb_storage            44868  0
> usbcore               150256  8 usb_storage,usbhid,zd1211rw,ohci_hcd,ehci_hcd
>
> Then I used
>
> # ./bcharge -o
> Scanning for Blackberry devices...
> Found device #004...adjusting charge setting...adjusting Pearl mode to
> single...done
>
> and (to be on the safe side) I also removed the usb_storage module with
>
> #modprobe -r usb_storage
>
>
> At this point I tried
>
> #time ./btool -vl > log 2>&1
> ./btool -vl > log 2>&1  0.01s user 0.02s system 0% cpu 30.156 total
>
> so this time btool it's exiting after 30 seconds. Inspecting the log
> file below, however, I notice that the problem seems to persist (or I
> stubled in a new one!).
>
> Any further suggestion?
>
> Best,
> Giulio.
>
> Here's the log:
>
> usb_set_debug: Setting debugging level to 9 (on)
> usb_os_init: Found USB VFS at /dev/bus/usb
> usb_os_find_busses: Found 003
> usb_os_find_busses: Found 001
> usb_os_find_busses: Found 004
> usb_os_find_busses: Found 002
> usb_os_find_devices: Found 001 on 003
> usb_os_find_devices: Found 004 on 001
> usb_os_find_devices: Found 001 on 001
> error obtaining child information: Inappropriate ioctl for device
> usb_os_find_devices: Found 001 on 004
> usb_os_find_devices: Found 005 on 002
> invalid descriptor length of 0
> Unable to parse descriptors
> usb_os_find_devices: Found 003 on 002
> skipped 1 class/vendor specific interface descriptors
> usb_os_find_devices: Found 002 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
> error obtaining child information: Inappropriate ioctl for device
> device_desc loaded
> bLength: 18
> bDescriptorType: 1
> bcdUSB: 272
> bDeviceClass: 255
> bDeviceSubClass: 255
> bDeviceProtocol: 255
> bMaxPacketSize0: 16
> idVendor: 4042
> idProduct: 1
> bcdDevice: 262
> 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: 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: 0
> bDescriptorType: 0
> bEndpointAddress: 0
> bmAttributes: 0
> wMaxPacketSize: 0
> bInterval: 0
> bRefresh: 0
> bSynchAddress: 0
>
>       endpoint added to map with bEndpointAddress: 0
>         pair.write = 0
>         pair.type = 0
>       endpoint_desc #3 loaded
> bLength: 0
> bDescriptorType: 0
> bEndpointAddress: 0
> bmAttributes: 0
> wMaxPacketSize: 0
> bInterval: 0
> bRefresh: 0
> bSynchAddress: 0
>
>       endpoint added to map with bEndpointAddress: 0
>         pair.write = 0
>         pair.type = 0
>     interface added to map with bInterfaceNumber: 0
>   config added to map with bConfigurationValue: 1
> BulkWrite to endpoint 2:
>     00000000: 00 00 10 00 01 ff 00 00 a8 18 da 8d 6c 02 00 00  
> ............l...
>
> Usb::Error caught: Timeout in usb_bulk_read
>
>
>
> --
> Giulio Bottazzi <[EMAIL PROTECTED]>
> http://giulio.bottazzi.googlepages.com
> PGP Key ID:BAB0A33F
>


-- 
Giulio Bottazzi <[EMAIL PROTECTED]>
http://giulio.bottazzi.googlepages.com
PGP Key ID:BAB0A33F

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to