You are not logged in.

#1 2011-07-20 14:46:01

Oxpoto
Member
Registered: 2011-07-20
Posts: 18

Solved -- bluetooth problem - Can't init device hci0: Invalid argument

[root@myhost joe]# /etc/rc.d/dbus restart
:: Stopping D-BUS system messagebus
[DONE]
:: Starting D-BUS system messagebus
[DONE]
(reverse-i-search)`b': /etc/rc.d/d^Cs restart
(reverse-i-search)`b': /etc/rc.d/d^Cs restart
[root@myhost joe]# /etc/rc.d/bluetooth restart
:: Stopping bluetooth subsystem:  pand dund rfcomm hidd  bluetoothd
[DONE]
:: Starting bluetooth subsystem:  bluetoothd
[DONE]
[root@myhost joe]# hcitool scan
Device is not available: No such device
[root@myhost joe]# hcitool dev
Devices:
[root@myhost joe]# hciconfig
hci0:   Type: BR/EDR  Bus: USB
        BD Address: 00:10:60:A7:87:C7  ACL MTU: 192:8  SCO MTU: 64:8
        DOWN
        RX bytes:1424 acl:0 sco:0 events:48 errors:0
        TX bytes:216 acl:0 sco:0 commands:48 errors:0

[root@myhost joe]# hciconfig hci0 up
Can't init device hci0: Invalid argument (22)
[root@myhost joe]#

cannot get bluetooth to work, very same device worked fine with my
previous fedora installation

 [root@myhost joe]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 005 Device 002: ID 045e:008c Microsoft Corp. Wireless Intellimouse Explorer 2.0
[root@myhost joe]# 
 [root@myhost joe]# tail -f /var/log/messages.log 
Jul 20 23:43:24 localhost kernel: [  494.726667] usb 2-2: new full speed USB device number 5 using uhci_hcd
Jul 20 23:43:25 localhost bluetoothd[954]: HCI dev 0 registered
Jul 20 23:43:25 localhost bluetoothd[954]: Listening for HCI events on hci0

Last edited by Oxpoto (2011-07-22 19:22:53)

Offline

#2 2011-07-20 15:20:40

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Solved -- bluetooth problem - Can't init device hci0: Invalid argument


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-07-20 18:10:47

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: Solved -- bluetooth problem - Can't init device hci0: Invalid argument

Some weeks ago, my bluetooth stopped working for me also. I am still investigating this, but I have limited time to do so (and I only need BT once in a month maybe)...

I don't get your errormessage, but after booting into gnome 3, I have to 'hciconfig hci0 up' to enable it, but it doesn't change anything: all applet-thingies remain highlighted or not highlighted, whatever.

The machine dual boots to OSX and there I had to remove the paired link with my mobile phone and re-pair (?) them to get it to work. Booting back to Archlinux and everything is the same.

Offline

#4 2011-07-20 20:47:34

Oxpoto
Member
Registered: 2011-07-20
Posts: 18

Re: Solved -- bluetooth problem - Can't init device hci0: Invalid argument

still having the same problem.

Did quite a bit of research annd only found bunch of kernel bug reports, no real solution yet

sad All my openbox config files are stuck in my cell phone...

Last edited by Oxpoto (2011-07-21 10:38:57)

Offline

#5 2011-07-21 07:53:17

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: Solved -- bluetooth problem - Can't init device hci0: Invalid argument

This was my thread (you might want to check out the config files that are listed there):
https://bbs.archlinux.org/viewtopic.php?id=120715

At that time I didn't realize that the BT-applet-icon was showing wrong info: the icon was highlighted, but the BT adapter was not powered. Through rfkill, hciconfig and hcitool I have found out that my adapter is not b0rked (or at least, it can be powered up), but I'm left with the question 'what did I do to get here?' - I think it just broke with an update, but since I don't use BT much, I don't know which update did it.

HTH.

Offline

#6 2011-07-22 19:21:50

Oxpoto
Member
Registered: 2011-07-20
Posts: 18

Re: Solved -- bluetooth problem - Can't init device hci0: Invalid argument

Solved,

kernel issue, bug already reported. If you are in urgent need of bluetooth(like me) install the alternative arch kernel(kernel26-lts) and add new grub entry for it. Boot into that kernel and copy your files.(my gui failed at lts kernel because my graphics driver, yours might fail as well. Knowing how to use cli tools bluez-simple-client and obexfs will come handy)

Offline

Board footer

Powered by FluxBB