Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bluetooth doesn't work automatically (dell wireless 370 ad.)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
arkas
n00b
n00b


Joined: 08 Dec 2010
Posts: 60

PostPosted: Sun Jun 26, 2011 11:16 am    Post subject: bluetooth doesn't work automatically (dell wireless 370 ad.) Reply with quote

hello,

I want to set up bluetooth on my laptop and it doesn`t work.
I have read several threats and unfortunately found nothing that could help me.

I have a laptop from dell with a dell wireless 370 adapter.

# lsusb
Code:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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 002 Device 002: ID 0c45:63fc Microdia
Bus 003 Device 002: ID 046d:c526 Logitech, Inc. Nano Receiver
Bus 003 Device 003: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 003 Device 004: ID 413c:8157 Dell Computer Corp. Integrated Keyboard
Bus 003 Device 005: ID 413c:8158 Dell Computer Corp. Integrated Touchpad / Trackstick


my kernel (2.6.39-gentoo-r2) settings are:
Code:
 
  x x                                                        --- Bluetooth subsystem support                                                                                                x x
  x x                                                        [*]   L2CAP protocol support                                                                                                   x x
  x x                                                        [ ]   SCO links support                                                                                                        x x
  x x                                                        <*>   RFCOMM protocol support                                                                                                  x x
  x x                                                        [ ]     RFCOMM TTY support                                                                                                     x x
  x x                                                        < >   BNEP protocol support                                                                                                    x x
  x x                                                        <*>   HIDP protocol support                                                                                                    x x
  x x                                                              Bluetooth device drivers  --->                                                                                           x x


  x x                                                        <*> HCI USB driver                                                                                                             x x
  x x                                                        < > HCI UART driver                                                                                                            x x
  x x                                                        < > HCI BCM203x USB driver                                                                                                     x x
  x x                                                        < > HCI BPA10x USB driver                                                                                                      x x
  x x                                                        < > HCI BlueFRITZ! USB driver                                                                                                  x x
  x x                                                        < > HCI DTL1 (PC Card) driver                                                                                                  x x
  x x                                                        < > HCI BT3C (PC Card) driver                                                                                                  x x
  x x                                                        < > HCI BlueCard (PC Card) driver                                                                                              x x
  x x                                                        < > HCI UART (PC Card) device driver                                                                                           x x
  x x                                                        < > HCI VHCI (Virtual HCI device) driver                                                                                       x x
  x x                                                        < > Marvell Bluetooth driver support                                                                                           x x
  x x                                                        < > Atheros firmware download driver


and i have installed bluez with the following flags:
Code:

net-wireless/bluez-4.94-r1  USE="alsa consolekit cups gstreamer -caps -debug -health -maemo6 -old-daemons -pcmcia -pnat -test-programs -usb"


and i have also 'bluetooth' in my system-wide use-flags (make.conf)!!

Finally, I have no idea anymore why it does not work.
I hope anybody else?

Thanks for help.


Last edited by arkas on Mon Jun 27, 2011 9:30 am; edited 2 times in total
Back to top
View user's profile Send private message
arkas
n00b
n00b


Joined: 08 Dec 2010
Posts: 60

PostPosted: Mon Jun 27, 2011 9:13 am    Post subject: Reply with quote

after hours of searching the internet I found the problem!
net-wireless/bluez must be compiled with the usb flag.

Code:

[ebuild   R    ] net-wireless/bluez-4.94-r1  USE="alsa consolekit cups gstreamer usb -caps -debug -health -maemo6 -old-daemons -pcmcia -pnat -test-programs"

Code:

[ebuild   R    ] sys-fs/udev-171-r1  USE="acl extras introspection rule_generator -action_modeswitch -build -debug -edd -floppy -gudev -hwdb -keymap (-selinux) -test"


Now I am come to this, that if I start bluetooth by hand,
Code:

# /etc/init.d/bluetooth start

it looks as if everything would work.

but i think, udev is supposed to start bluetooth automatically.
even after adding my user to the uucp group, this still doesn`t work and i don`t know why.

anybody else?
Back to top
View user's profile Send private message
arkas
n00b
n00b


Joined: 08 Dec 2010
Posts: 60

PostPosted: Tue Jun 28, 2011 8:16 am    Post subject: Reply with quote

i think, there is something wrong with udev.

even udev[extras] should still bring the command
Code:

# hid2hci

what it does not.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Tue Jun 28, 2011 12:04 pm    Post subject: Reply with quote

That's cause >=sys-fs/udev-171-r1 does not provide hid2hci - now it's provided by recent net-wireless/bluez.
Back to top
View user's profile Send private message
arkas
n00b
n00b


Joined: 08 Dec 2010
Posts: 60

PostPosted: Wed Jun 29, 2011 2:16 pm    Post subject: Reply with quote

VoidMage wrote:
That's cause >=sys-fs/udev-171-r1 does not provide hid2hci - now it's provided by recent net-wireless/bluez.

Hm, I think it`s the other way around.

Look at this:
https://bugs.gentoo.org/315749?id=315749
(comment 31)!

However, it doesn`t matter because I've installed udev and bluez
and so I should be able to use the command:
Code:

# hid2hci

But I can`t !!!!

Therefore I think, something is wrong!!
So I still have the problem that udev does not identify/start my bluetooth automatically.

Maybe the command:
Code:

hid2hci --method dell -v 413c -p 8158 --mode hci

can solve that problem!
But as I said, I can`t execute this command.
Back to top
View user's profile Send private message
astaecker
Guru
Guru


Joined: 28 Apr 2003
Posts: 403
Location: Hamburg / Germany

PostPosted: Sun Jul 03, 2011 12:07 pm    Post subject: Reply with quote

arkas wrote:
Code:

[ebuild   R    ] sys-fs/udev-171-r1  USE="acl extras introspection rule_generator -action_modeswitch -build -debug -edd -floppy -gudev -hwdb -keymap (-selinux) -test"

You need to activate the "action_modeswitch" USE flag.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sun Jul 03, 2011 1:20 pm    Post subject: Reply with quote

No, the move I mentioned is a fact - just have a look at udev git log (it's one of the commits between 168 and 169).
It's just that only recently bluez ebuild was updated in that regard.
Back to top
View user's profile Send private message
arkas
n00b
n00b


Joined: 08 Dec 2010
Posts: 60

PostPosted: Sun Jul 03, 2011 1:51 pm    Post subject: Reply with quote

now i have installed udev with the following options:
Code:

[ebuild   R    ] sys-fs/udev-171-r1  USE="acl action_modeswitch extras introspection rule_generator -build -debug -edd -floppy -gudev -hwdb -keymap (-selinux) -test"


However, the result is that bluetooth unfortunately does not start automatically as before.

bluez is also installed with the following options:
Code:

[ebuild   R    ] net-wireless/bluez-4.94-r1  USE="alsa consolekit cups gstreamer usb -caps -debug -health -maemo6 -old-daemons -pcmcia -pnat -test-programs"


also the cmd
Code:

# hid2hci

doesn't work!! although bluez is installed.

Code:

mvlap ~ # hid2hci
bash: hid2hci: Kommando nicht gefunden.


at last, something is wrong. udev should detect/start bluetooth automatically, what it doesn`t
and bluez should provide the cmd "hid2hci", what it doens`t.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sun Jul 03, 2011 3:28 pm    Post subject: Reply with quote

Reemerge bluez - 4.94-r1 ebuild was slightly modified about a week after it went into the tree.
Back to top
View user's profile Send private message
arkas
n00b
n00b


Joined: 08 Dec 2010
Posts: 60

PostPosted: Sun Jul 03, 2011 6:57 pm    Post subject: Reply with quote

VoidMage wrote:
Reemerge bluez - 4.94-r1 ebuild was slightly modified about a week after it went into the tree.


it didn`t change anything! :-(
_________________
Also need help with:
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sun Jul 03, 2011 9:56 pm    Post subject: Reply with quote

Pastebin the build log from that rebuild.
Back to top
View user's profile Send private message
arkas
n00b
n00b


Joined: 08 Dec 2010
Posts: 60

PostPosted: Wed Jul 06, 2011 1:38 pm    Post subject: Reply with quote

i'm sorry, i unfortunately could not take care of it, because í had exams.

ahm, i don`t know how to get a build log file from a successful installation.
can you tell me?
_________________
Also need help with:
Back to top
View user's profile Send private message
lamarque
n00b
n00b


Joined: 11 Jan 2006
Posts: 49
Location: Rio de Janeiro / Brasil

PostPosted: Fri Jul 22, 2011 8:50 pm    Post subject: Reply with quote

With my bluetooth controller I have to execute the commands below to activate it:

/usr/sbin/rfkill unblock $(/usr/sbin/rfkill list | awk -F: '/hci0:/ { print $1 }')
hciconfig hci0 up
_________________
Lamarque V. Souza
http://www.geographicguide.com/brazil.htm
Linux User #57137 - http://counter.li.org
Back to top
View user's profile Send private message
lamarque
n00b
n00b


Joined: 11 Jan 2006
Posts: 49
Location: Rio de Janeiro / Brasil

PostPosted: Sun Jul 24, 2011 2:13 am    Post subject: Reply with quote

I have found a better way to rfkill unblock: in file /etc/modprobe.d/rfkill.conf change the line

options rfkill default_state=0

to

options rfkill default_state=1

That is it, now all rfkill states are set to soft unblocked by default.
_________________
Lamarque V. Souza
http://www.geographicguide.com/brazil.htm
Linux User #57137 - http://counter.li.org
Back to top
View user's profile Send private message
arkas
n00b
n00b


Joined: 08 Dec 2010
Posts: 60

PostPosted: Mon Jul 25, 2011 9:07 pm    Post subject: Reply with quote

lamarque wrote:
... file /etc/modprobe.d/rfkill.conf change the line



sorry, but this file doesn`t exist on my system.
_________________
Also need help with:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum