> I was not aware of this.  Thanks!

I live to connect people with ideas to help them achieve their goals.

> I assume you'd still need t be root to do this... unless there is a
> way to setup udev to change the permissions on these bind/unbind
> files.

Oh yes you have to be root and all these files are generated on
contact with the device and I don't think changing the permissions is
really possible since you'd be putting kernel controls in user space
_and_ with use permissions it would be dangerous to say the least.

> This looks like a good feature to work on for version 0.10.  I'm close
> to releasing 0.9 at the moment.

I think the best way to use this functionality is to add it to the
code that is run via udev when a blackberry is plugged in and you
should be involved in creating a kernel module for the blackberry
since that would be the most stable way to integrate the functionality
of the hardware. you then have the option to build further user tools
but this does require a concept change which some device programmers
are not interested in shifting to.

So what I see as the natural progression of features is:

 1) To overcome for now the mass storage error you should code it to
unbind the mass storage module on contact.
 2) Plan to kernalise a certain amount of code by first creating an
idealised HAL interface, this will tell you what functionality needs
to be put behind the wall so to speak.
 3) use udev to create any of the /dev points if required or do some other tasks
 4) use the real kernel hotplug manager to load the blackberry module
when required

Thoughts/feelings/hate mail?

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

Reply via email to