On Sat, 18 Nov 2006, [UTF-8] Boky wrote:

> Alan, thank you for the input.
> 
> Is there any way to discover which bConfigurationValues are supported by
> the Blackberry?

Run "lsusb -v" or look in /proc/bus/usb/devices.

> Which values are available? Is there any way to damage blackberry by
> changing this value?

All the values listed should be available, and none of them should damage 
the Blackberry.

> I will defenetly thry to write a user-land driver, but sadly C/C++ is
> not my mother tounge. Therefore, my last request would be to point me to
> some examples.

Well, for the moment you don't need a driver.  And even later, you won't 
really need a driver as such.  It would be sufficient to run a shell 
command like this:

        sleep 3600 </dev/usbdevN.M &

where N and M are the bus number and address of the Blackberry.  The mere 
fact that the program holds the device file open would be enough to 
prevent the system from suspending the device.

Alan Stern


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to