gta02 - bluetooth & usb
Andy Green
andy at openmoko.com
Mon Apr 21 12:00:58 CEST 2008
-----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.
- -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-----
More information about the openmoko-kernel
mailing list