|| at Dec 18, 2012 at 4:57 pm
Well, after googling and making some tries, I came across this post:http://blog.csdn.net/sunrock/article/details/6573237
ls -al /dev/ttyS1
gives me : No such file or directory
So I tried:
cat /init.rc | grep bluetooth | grep dev/tty
chown bluetooth bluetooth /dev/ttyHS0
So I tried:
hciattach /dev/ttyHS0 any 3840 0 flow
Device setup complete
hci0: Type: UART
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
RX bytes:0 acl:0 sco:0 events:0 errors:0
TX bytes:0 acl:0 sco:0 commands:0 errors:0
And now there was an entry under /sys/class/bluetooth.
I wonder why the address is all zeroes (even that it is down). Should it be
hciconfig hci0 up
And the phone get stuck. Recovery mode did not work. I had to take the
battery out and insert it.
What is the /dev/ttyHS0 for ? is it some generic Linux UART serial port?
Or some generic Android UART serial port?
On Friday, December 14, 2012 7:07:16 AM UTC+2, Pavan - ಪವನ್ wrote:
Did you do that after you turned on the BT ?
May be you need to run hciattach & bluetoothd to turn BT on.
May be the device is not even running BlueZ. The best thing to do is to
check init.<product>.rc for any BT related services.
I have a mini galaxy with android 2.3 which has a bluetoth support. I can
scan from outside and
pair while the bluethooth is on. Now, I have root access on this device.
I had followed the instructions here:http://forum.xda-developers.com/showpost.php?p=9993128&postcount=37
And while the bluetooth is on, I tried to run hciconfig -a, both from the
from adb shell. In both cases I get nothing.
Any idea why ? in the example in that link we see that "hciconfig" finds
the Bluetooth UART device.
You received this message because you are subscribed to the Google Groups
To view this discussion on the web visithttps://groups.google.com/d/msg/android-platform/-/da8doJEouhUJ.
To unsubscribe from this group, send email to
For more options, visit this group athttp://groups.google.com/group/android-platform?hl=en.
You received this message because you are subscribed to the Google Groups "android-platform" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-platform/-/Mr3D6KBpnFUJ.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.