View Single Post
Old 08-27-2013, 05:20 AM   #1
Aydan
Connoisseur
Aydan plays well with othersAydan plays well with othersAydan plays well with othersAydan plays well with othersAydan plays well with othersAydan plays well with othersAydan plays well with othersAydan plays well with othersAydan plays well with othersAydan plays well with othersAydan plays well with others
 
Posts: 87
Karma: 2975
Join Date: Jan 2012
Location: Germany
Device: Kobo Touch
Question Detect id user dismisses "connect to computer" dialog

I just started hacking my KT (added a connector to access the serial console) and now I'm wondering if it's possible to detect if the user has dismissed the "Connect to computer" dialog.
The things I've seen in dmesg and udevadm only show the plug-in and unplug events.

What I want to do is if I connect my KT via USB and I dismiss the connection, it should start USB networking automatically.
If g_ether module is loaded and I want to connect as masstorage, the masstorage module won't load with a "resource busy" message, which is understandable.

Regards
Aydan
Aydan is offline   Reply With Quote