maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   n900 bluetooth problems (https://talk.maemo.org/showthread.php?t=88081)

Jqwon 2012-11-30 22:44

n900 bluetooth problems
 
Hi...been having problems with my Bluetooth...it does not detect active Bluetooth devices and it's not detectable...I've searched the forum and tried every solution suggested I.e deleting the Bluetooth folder in var/lib/bluetooth...it still won't come on...any suggestions...Will appreciate your help..

arne.anka 2012-12-01 00:39

Re: n900 bluetooth problems
 
rule of thumb: the more effort it takes to get at least an idea how to solve, the more trivial the problem is ...

therefore: did you enable BT and set it to "visible"?

edit:

what do you get for

Code:

ps ax | grep bluetoothd
Code:

hciconfig
Code:

hcitool dev

(make sure to anonymize the MAC/BD Address before posting the output! that's the XX:XX:XX:XX:XX:XX string)

Jqwon 2012-12-01 06:31

Re: n900 bluetooth problems
 
yes I switched on the visibility.

For the first command it gives me

/home/user # ps ax | grep bluetoohd
2178 root 2088 S grep bluetoohd

the second command gives me

/home/user # hciconfig
hci0: Type: UART
BD Address: XX:XX:XX:XX:XX:XX ACL MTU: 1017:4 SCO MTU: 64:1
DOWN
RX bytes:4054 acl:0 sco:0 events:105 errors:0
TX bytes:31592 acl:0 sco:0 commands:102 errors:0

and the third command gives me

/home/user # hcitool dev
Devices:

demolition 2012-12-01 11:17

Re: n900 bluetooth problems
 
OK. so, next step is to ensure the partner devices are working. Do you have another phone or something that claims it can see your N900? It's much eaier trying to pair something else with a screen (for feedback), which KBs and headsets etc. don't have.

Jqwon 2012-12-01 12:04

Re: n900 bluetooth problems
 
i have a galaxy tab and blackberry...both are not recognising the device.Visibility is set to on and when searching on the galaxy tab its able to recognise the blackberry.The N900 isnt able to recognise any devices too.

syake 2012-12-01 12:07

Re: n900 bluetooth problems
 
try
Quote:

hciconfig hci0 up
and then
Quote:

hciconfig hci0
check if your device "hci0" were UP or not.
Quote:

dmesg | tail
then copy&paste&post messages to this thread.


I often use these commands when powering on my BT manually.
they're written on other maemo talk threads.it's worth to try them.
Quote:

modprobe hci_h4p;
echo "00:11:22:33:44:55" > /sys/devices/platform/hci_h4p/bdaddr;
modprobe -r hci_h4p;
modprobe hci_h4p;
bluetoothd;
hciconfig hci0 up;
then
Quote:

hcitool scan

Jqwon 2012-12-01 15:36

Re: n900 bluetooth problems
 
for the first command it switches on the bluetooth

for the second command i recieve

home/user # hciconfig hci0
hci0: Type: UART
BD Address: XX:XX:XX:XX:XX:XX ACL MTU: 1017:4 SCO MTU: 64:1
UP RUNNING PSCAN ISCAN
RX bytes:9844 acl:0 sco:0 events:253 errors:0
TX bytes:75030 acl:0 sco:0 commands:246 errors:0

and for the final command

home/user # dmesg |tail
[62649.183044] wl1251: 151 tx blocks at 0x3b788, 35 rx blocks at 0x3a780
[62649.198699] wl1251: firmware booted (Rev 4.0.4.3.7)
[62649.316406] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[62650.035827] wl1251: down
[62775.589263] slide (GPIO 71) is now closed
[62786.878234] slide (GPIO 71) is now open
[62808.745574] slide (GPIO 71) is now closed
[62808.995513] cam_focus (GPIO 68) is now active
[62809.011108] cam_focus (GPIO 68) is now inactive
[62817.182922] slide (GPIO 71) is now open


for the other process...

when i each the command modprobe -r hci_h4p i recieve

home/user # modprobe -r hci_h4P
FATAL: Module hci_h4P not found.


neither does it recognise other devices nor is it recognised by other devices.

arne.anka 2012-12-01 15:59

Re: n900 bluetooth problems
 
Quote:

Originally Posted by Jqwon (Post 1300198)
/home/user # ps ax | grep bluetoohd
2178 root 2088 S grep bluetoohd

typo -- must be "bluetoothd"
you should see at least two lines of output -- one of bluetoothd itself and the second of your request.

something like this:

Code:


Nokia-N900-51-1:~# ps ax | grep bluetoothd
  940 root      3408 S    /usr/sbin/bluetoothd -n
 3357 root      4064 S    grep bluetoothd
Nokia-N900-51-1:~#


Quote:

Originally Posted by Jqwon (Post 1300198)

/home/user # hcitool dev
Devices:

adapter not up

arne.anka 2012-12-01 16:06

Re: n900 bluetooth problems
 
Quote:

Originally Posted by Jqwon (Post 1300307)
for the first command it switches on the bluetooth

what do you get now for

Code:

hcitool dev
?
when i each the command modprobe -r hci_h4p i recieve

Quote:

Originally Posted by Jqwon (Post 1300307)

home/user # modprobe -r hci_h4P
FATAL: Module hci_h4P not found.

case-sensitive: ist's "hci_h4p".
what do you get for

Code:

lsmod | grep hci
?

arne.anka 2012-12-01 16:12

Re: n900 bluetooth problems
 
btw: enabling bt shows here in dmegs:

Code:

[58807.462219] hci_h4p hci_h4p: firmware: requesting bcmfw.bin
hci_h4p information:

Code:

Nokia-N900-51-1:~# modinfo hci_h4p
filename:      /lib/modules/2.6.28-omap1/hci_h4p.ko
author:        Ville Tervo
license:        GPL
description:    h4 driver with nokia extensions
srcversion:    AE9629CC2B10806108936C0
depends:        bluetooth
vermagic:      2.6.28-omap1 preempt mod_unload modversions ARMv7
Nokia-N900-51-1:~# dir /lib/modules/2.6.28-omap1/hci_h4p.ko
-rw-r--r-- 1 root root 24388 2010-08-06 10:53 /lib/modules/2.6.28-omap1/hci_h4p.ko
Nokia-N900-51-1:~#

please, check if the module exists on your device and the firmware file:

Code:

Nokia-N900-51-1:~# dir /lib/firmware/bcmfw.bin
-rw-r--r-- 1 root root 9560 2009-10-22 14:26 /lib/firmware/bcmfw.bin



All times are GMT. The time now is 22:33.

vBulletin® Version 3.8.8