LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   problem when attach bluetooth device (http://www.linuxquestions.org/questions/slackware-14/problem-when-attach-bluetooth-device-4175469619/)

xavi_slacky 07-14-2013 03:09 PM

problem when attach bluetooth device
 
Hi,

I want attach a bluetooth device:

root@slackware_acer:~# hcitool scan
Scanning ...
B8:D9:CE:47:8D:87 GT-S5300
root@slackware_acer:~# hcitool cc B8:D9:CE:47:8D:87 && hcitool auth B8:D9:C>
HCI authentication request failed: Input/output error
root@slackware_acer:~#

Someone can help me ?

Thanks, see you.

STDOUBT 07-16-2013 12:27 AM

Is your /etc/rc.bluetooth file executable?
run
Code:

#chmod +x /etc/rc.d/rc.bluetooth
then
Code:

#/etc/rc.d/rc.bluetooth start
to be sure.
Then plug the device back in and try.
It would also help to know what device it is, and what kind of desktop environment you're using.
Also note: if your computer's bluetooth device is disabled in your BIOS it won't work anyway.

xavi_slacky 07-16-2013 08:13 AM

PHP Code:

>                           Old Today12:27 AM   #2

>    
STDOUBT

Hi STDOUBT
,


>    
Is your /etc/rc.bluetooth file executable?

# ls -l /etc/rc.d/rc.bluetooth
-rw-r--r-- 1 root root 393 Sep  9  2012 /etc/rc.d/rc.bluetooth


>    run
>    Code:
#chmod +x /etc/rc.d/rc.bluetooth

>    
then
>    Code:
#/etc/rc.d/rc.bluetooth start


Welltry with:

root@slackware_acer:~# /etc/rc.d/rc.bluetooth start
-bash: /etc/rc.d/rc.bluetoothPermission denied
root
@slackware_acer:~# sh /etc/rc.d/rc.bluetooth start
root@slackware_acer:~# ls -l /etc/rc.d/rc.bluetooth
-rw-r--r-- 1 root root 393 Sep  9  2012 /etc/rc.d/rc.bluetooth
root
@slackware_acer:~# lsmod | grep blueto
bluetooth             132835  23 btusb,bnep,rfcomm
rfkill                 12432  4 bluetooth
,cfg80211,acer_wmi
root
@slackware_acer:~#

root@slackware_acer:~# hcitool scan
Scanning ...
        
B8:D9:CE:47:8D:87       GT-S5300
root
@slackware_acer:~# hcitool cc B8:D9:CE:47:8D:87
root@slackware_acer:~# hcitool auth B8:D9:CE:47:8D:87
Not connected.
root@slackware_acer:~# hcitool con
Connections:
<
ool cc B8:D9:CE:47:8D:87 && hcitool auth B8:D9:CE:47:8D:87 && hcitool con
HCI authentication request failed
Input/output error
root
@slackware_acer:~#


If try with #chmod +x /etc/rc.d/rc.bluetooth :

root@slackware_acer:~# ls -l /etc/rc.d/rc.bluetooth
-rw-r--r-- 1 root root 393 Sep  9  2012 /etc/rc.d/rc.bluetooth
root
@slackware_acer:~# chmod +x /etc/rc.d/rc.bluetooth
root@slackware_acer:~# ls -l /etc/rc.d/rc.bluetooth
-rwxr-xr-x 1 root root 393 Sep  9  2012 /etc/rc.d/rc.bluetooth*
root@slackware_acer:~# /etc/rc.d/rc.bluetooth start
root@slackware_acer:~# lsmod | grep bluetoo
bluetooth             132835  23 btusb,bnep,rfcomm
rfkill                 12432  4 bluetooth
,cfg80211,acer_wmi
root
@slackware_acer:~#


root@slackware_acer:~# hcitool scan
Scanning ...
        
B8:D9:CE:47:8D:87       GT-S5300
root
@slackware_acer:~# hcitool cc B8:D9:CE:47:8D:87
root@slackware_acer:~# hcitool auth B8:D9:CE:47:8D:87
Not connected.
root@slackware_acer:~# hcitool con
Connections:
<
ool cc B8:D9:CE:47:8D:87 && hcitool auth B8:D9:CE:47:8D:87 && hcitool con
HCI authentication request failed
Input/output error
root
@slackware_acer:~#


>    to be sure.
>    
Then plug the device back in and try.
>    
It would also help to know what device it is, and what kind of desktop

Yes
is a SAMSUNG GALAXY POCKET GT-S5300 with 2.3.6 of Android version and 2.6.35.7 of kernel version.

'desktop' computer desktop try via CLI.

>    
environment you're using.
>    Also note: if your computer'
s bluetooth device is disabled in your BIOS
>    it wont work anyway.


use an USB dongle:

root@slackware_acer:~# lsusb | grep F5D5050
Bus 002 Device 002ID 050d:0121 Belkin Components F5D5050 100Mbps Ethernet
root
@slackware_acer:~#

And it owrk fine with another non Android/smartphones mobile phones.


>    
STDOUBT


Thankssee you


xavi_slacky 07-16-2013 08:21 AM

I answer with PHP code because with HTML not let me, because it said "many images in text".


All times are GMT -5. The time now is 02:25 AM.