Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234780 - net-wireless/bluez-utils: bluez-utils-3.10.1-udev.script fails on on >=2.6.27 kernels
Summary: net-wireless/bluez-utils: bluez-utils-3.10.1-udev.script fails on on >=2.6.27...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Petteri Räty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 284661
Blocks:
  Show dependency tree
 
Reported: 2008-08-15 03:40 UTC by Steven Newbury
Modified: 2010-02-01 21:11 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (emerge-info.txt,7.07 KB, text/plain)
2008-08-16 13:03 UTC, Steven Newbury
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Newbury 2008-08-15 03:40:37 UTC
On the current linux kernel /sys/class/bluetooth no longer contains a hci[0-9]* entry so the bluetooth hotplug fails.

Changing the test to /sys/bus/bluetooth/devices/hci[0-9]* fixes the script and restores hotplug functionality.

Reproducible: Always

Steps to Reproduce:
Insert or enable a bluetooth host device


Actual Results:  
Nothing happens; bluetooth service fails to start

Expected Results:  
Bluetooth service should be run through dbus hotplug when hci device becomes available
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2008-08-15 13:53:51 UTC
We don't have anything to do with bluetooth or udev.
Comment 2 Steven Newbury 2008-08-15 14:05:26 UTC
(In reply to comment #1)
> We don't have anything to do with bluetooth or udev.
> 

"/lib(64)/udev/bluetooth.sh" belongs to net-wireless/bluez-utils-3.36

Script is Gentoo provided: "net-wireless/bluez/files/bluez-utils-3.10.1-udev.script"
Comment 3 Steven Newbury 2008-08-15 14:07:31 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > We don't have anything to do with bluetooth or udev.
> > 
> 
> "/lib(64)/udev/bluetooth.sh" belongs to net-wireless/bluez-utils-3.36
> 
> Script is Gentoo provided:
> "net-wireless/bluez/files/bluez-utils-3.10.1-udev.script"
> 
Sorry, that should have been "net-wireless/bluez-utils/files/bluez-utils-3.10.1-udev.script"
Comment 4 Panagiotis Christopoulos (RETIRED) gentoo-dev 2008-08-16 03:49:55 UTC
emerge --info in attachment please. Also, define the "current kernel" for you. Please, reopen the bug, when you have submitted these information.
Comment 5 Steven Newbury 2008-08-16 13:02:50 UTC
(In reply to comment #4)
> emerge --info in attachment please. Also, define the "current kernel" for you.
> Please, reopen the bug, when you have submitted these information.
> 

At least Linus' 2.6.27-rc* kernels are showing this behaviour, I recently switched to btusb from hci_usb due to the broken suspend handling, it may be this is that has caused the change in behaviour.  If so, it could also be the case with earlier kernels?
Comment 6 Steven Newbury 2008-08-16 13:03:19 UTC
Created attachment 163033 [details]
emerge --info output
Comment 7 Steven Newbury 2008-08-16 13:06:47 UTC
Further info provided, please note, I did provide a fix in the bug description, although it does need testing on systems which do not currently show this bug.
Comment 8 Petteri Räty (RETIRED) gentoo-dev 2008-08-20 14:50:58 UTC
doesn't block the security bug because 2.6.27 hasn't even been release 
Comment 9 Pacho Ramos gentoo-dev 2009-09-09 17:35:25 UTC
net-wireless/bluez already fixes this, then, it will be solved when it hits stable or fix is backported
Comment 10 Pacho Ramos gentoo-dev 2009-10-24 15:02:47 UTC
This is solved then, ok with closing this?
Comment 11 Pacho Ramos gentoo-dev 2010-02-01 21:11:17 UTC
Fixed with current stable bluez