gta02 - bluetooth & usb

Carsten Haitzler (The Rasterman) raster at openmoko.org
Mon Apr 21 11:23:10 CEST 2008


quick one guys - where do i very quickly and reliably find out:

1. if bluetooth is up and active (what /proc or /sys magic file do i need)
2. usb - when someone connects via usb (yes i can piggyback on the power system
saying its connected to power and charging but really i want to detect ANY usb
connectivity - be it being plugged into a host, or a gadget being plugged in).

got any quick and dirties for me?

-- 
Carsten Haitzler (The Rasterman) <raster at openmoko.org>




More information about the openmoko-kernel mailing list