**** BEGIN LOGGING AT Fri Apr 26 02:59:58 2013 Apr 26 09:25:40 Hi everybody. I have a question on how I can detect a connection or a disconnection of a usb cable Apr 26 09:26:00 I am working on a custom board with SAM9G25 and Angstrom distribution as operating system. Apr 26 09:26:50 The board as to act as a USB Device (Mass storage device), when will be connected to a Host computer. Right now I am simply enabling and removing the g_mass_storage module and the things are working fine. Apr 26 09:27:21 In the final version, I need to manage the g_mass_storage module according to the connection and disconnection of a USB cable. I tought to use VBUS as an interrupt (also polling will be fine). Apr 26 09:27:33 Since the VBUS GPIO is handled by the USB driver i cannot read it's status from userspace. I only see an interrupt count in /proc/interrupt. Apr 26 09:27:55 I am asking if there is a way to get an interrupt (from the Driver ?? ) or to be able to read the VBUS GPIO value when the usb cable is connected/disconnected from the system. Apr 26 09:49:20 lodogg: see how android does it? Apr 26 09:57:02 I hadn't thought about android.... thank, I'll investigate Apr 26 18:08:38 Does anyone know why the raspberrypi BSP is still being pulled from github rather than from yoctoproject.org? Apr 26 18:10:35 does it matter? Apr 26 18:15:17 I see now that the repos are similar. They weren't a couple of weeks ago..., so yeah, I guess it does matter. Apr 26 18:17:26 Also because the developer told me to send a patch for the yocto repo rather than a pull request on github. Apr 26 18:22:11 yeah Apr 26 18:22:26 look in the layer README for instructions where to send patches Apr 26 18:22:36 most tend to use emailed patches not pull requests Apr 26 18:26:51 Sure, that's OK, just confusing in a land that is confusing enough without having multiple sources for the same repo IMHO. But thanks for the explanation. **** ENDING LOGGING AT Sat Apr 27 02:59:58 2013