Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 75255
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mobile Herd <mobile@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alan Swanson <swanson@ukfsn.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
bluetooth-init.patch bluetooth-init.patch patch Alan Swanson 2004-12-21 16:17 0000 872 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 75255 depends on: Show dependency tree
Bug 75255 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-12-21 16:15 0000
In the bluetooth initscript hid2hci needs to be run first, followed by a short
delay before running the chosen bluetooth daemons.

It needs to be run first otherwise there will be no bluetooth device/drivers
for daemons as the device would currently be a HID device only.

There also needs to be a short delay to allow hotplugging time to detect the
"new" HCI device and load the bluetooth modules. Otherwise there will still be
no device/drivers for the daemons that are run immediately after hid2hci. A one
second delay is sufficient.

Although sleeps are not nice in initscripts, this only affects people using
hid2hci. For example, my Logitech receiver that came with my MX900 mouse.

------- Comment #1 From Alan Swanson 2004-12-21 16:17:29 0000 -------
Created an attachment (id=46591) [details]
bluetooth-init.patch

Make hid2hci first in start() function and add an one second delay

------- Comment #2 From Alastair Tse (RETIRED) 2005-04-26 06:13:52 0000 -------
added to 2.16's init script.

------- Comment #3 From Alan Swanson 2005-04-26 16:15:46 0000 -------
Patch not applied correctly, the only change made was to add the sleep.

It is perhaps not clear if only reading the patch and not actually applying, but the bug was that the HID2HCI_ENABLE section needs to the be the first to be run in the start() function.

------- Comment #4 From Alastair Tse (RETIRED) 2005-04-27 05:36:26 0000 -------
yes, you're correct. i overlooked the fact that you shifted the block to before
the hcid. the problem is i don't have any bluetooth hid equipment, so i can't
test this out for sure.

anyway, i've fixed the init script and bumped the version. hopefully this will
work better for you now.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug