gta02 - bluetooth & usb

Carsten Haitzler (The Rasterman) raster at openmoko.org
Mon Apr 21 12:09:57 CEST 2008


On Mon, 21 Apr 2008 11:00:58 +0100 Andy Green <andy at openmoko.com> babbled:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Somebody in the thread at some point said:
> | Somebody in the thread at some point said:
> | | 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)
> |
> | One way is to parse /proc/bus/usb/devices... BT module has power and a
> 
> | Same guy will help if we are being a host, I'll meddle around and see
> | about being a gadget.
> 
> It seems you can find a gadget exists from subdirs in here:
> 
> ~ /sys/devices/platform/s3c2440-usbgadget/gadget/*
> 
> for example, there is a net:usb0 subdir in there for the Ethernet over
> USB gadget.

ewww. thats so... 2440 specific! isn't there something more .. generic? :)

> - -Andy
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkgMZdMACgkQOjLpvpq7dMo9+QCdFMlkGYmx4WI8AvUEi1Vi6g3E
> WokAnizCSa7zMLBCzXptKKFysqSsFIMM
> =wycr
> -----END PGP SIGNATURE-----


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




More information about the openmoko-kernel mailing list