View previous topic :: View next topic |
Author |
Message |
arkas n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Dec 2010 Posts: 60
|
Posted: Sun Jun 26, 2011 11:16 am Post subject: bluetooth doesn't work automatically (dell wireless 370 ad.) |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
arkas n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Dec 2010 Posts: 60
|
Posted: Mon Jun 27, 2011 9:13 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
arkas n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Dec 2010 Posts: 60
|
Posted: Tue Jun 28, 2011 8:16 am Post subject: |
|
|
i think, there is something wrong with udev.
even udev[extras] should still bring the command
what it does not. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
VoidMage Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/16259984764821973534cdc.gif)
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Tue Jun 28, 2011 12:04 pm Post subject: |
|
|
That's cause >=sys-fs/udev-171-r1 does not provide hid2hci - now it's provided by recent net-wireless/bluez. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
arkas n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Dec 2010 Posts: 60
|
Posted: Wed Jun 29, 2011 2:16 pm Post subject: |
|
|
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:
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 |
|
![](templates/gentoo/images/spacer.gif) |
astaecker Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 28 Apr 2003 Posts: 403 Location: Hamburg / Germany
|
Posted: Sun Jul 03, 2011 12:07 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
VoidMage Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/16259984764821973534cdc.gif)
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Sun Jul 03, 2011 1:20 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
arkas n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Dec 2010 Posts: 60
|
Posted: Sun Jul 03, 2011 1:51 pm Post subject: |
|
|
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
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 |
|
![](templates/gentoo/images/spacer.gif) |
VoidMage Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/16259984764821973534cdc.gif)
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Sun Jul 03, 2011 3:28 pm Post subject: |
|
|
Reemerge bluez - 4.94-r1 ebuild was slightly modified about a week after it went into the tree. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
arkas n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Dec 2010 Posts: 60
|
Posted: Sun Jul 03, 2011 6:57 pm Post subject: |
|
|
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! ![Sad :-(](images/smiles/icon_sad.gif) _________________ Also need help with: |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
VoidMage Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/16259984764821973534cdc.gif)
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Sun Jul 03, 2011 9:56 pm Post subject: |
|
|
Pastebin the build log from that rebuild. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
arkas n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Dec 2010 Posts: 60
|
Posted: Wed Jul 06, 2011 1:38 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
lamarque n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Jan 2006 Posts: 49 Location: Rio de Janeiro / Brasil
|
Posted: Fri Jul 22, 2011 8:50 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
lamarque n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Jan 2006 Posts: 49 Location: Rio de Janeiro / Brasil
|
Posted: Sun Jul 24, 2011 2:13 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
arkas n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Dec 2010 Posts: 60
|
Posted: Mon Jul 25, 2011 9:07 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|