View Single Post
Posts: 1,994 | Thanked: 3,342 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#19
Well... I would like to change the way USB connection is handled. Now, to turn off "Mass Storage Mode" and continue USB charging, you need to take out the cable. It doesn't improve longevity of USB port. It would be better to be able to disconnect from Mass Storage Mode without pulling cable out.

There is /usr/sbin/osso-usb-mass-storage-disable.sh which could be used for this. But I don't want to go to X Term and call this sh again. I would like it to be integrated into Status Menu.

In Status Menu status of USB is shown by usb_plugin.so. It's a ELF file. Thus, it is compiled from some source. Where can this source be found to modify it? I don't want to start from scratch. I know it will not crash whole system, but still...

The modification would be small and useful, maybe, somebody has already done it?
 

The Following User Says Thank You to Wikiwide For This Useful Post: