From: Chris Frey <cdfrey@fo...> - 2007-12-01 01:58:20
CC'ing the list, so people know of the new program.
On Fri, Nov 30, 2007 at 07:52:02PM -0500, Martin Owens wrote:
> RCS file: /cvsroot/barry/barry/src/probe.cc,v
> retrieving revision 1.25
> diff -r1.25 probe.cc
> < os << "Device ID: " << pr.m_dev
> < << std::hex << ". PIN: " << pr.m_pin
> < << ", Description: " << pr.m_description;
> > os << pr.m_dev
> > << std::hex << "," << pr.m_pin
> > << "," << pr.m_description;
> cvs diff: Diffing tools
> Index: tools/btool.cc
> RCS file: /cvsroot/barry/barry/tools/btool.cc,v
> retrieving revision 1.28
> diff -r1.28 btool.cc
> < cout << "Blackberry devices found:" << endl;
> > if( not list_only )
> > cout << "Blackberry devices found:" << endl;
I decided to split this out into a separate identifier program: bidentify.
It is quite simple and straightforward. Please feel free to adjust it
however you need to suit your purposes, and send me the patch.
It shows PIN and description... not sure if you even need the
device ID, as it is likely a C pointer and useless outside of the
It will send error information to stderr, and the identification
info to stdout. Any problems it has probing devices, it will
return the number of Blackberry devices it had trouble with
as the error code... 0 if all was successful.
It takes the new -B and -N switches like btool.
Thanks for the idea!