LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 05-14-2013, 04:23 AM   #1
linuxbawks
Member
 
Registered: Apr 2013
Posts: 37

Rep: Reputation: Disabled
Bluetooth question with Connection Timeout in Bluez-4.99 Package


I'm running the Bluez-4.99 service for Bluetooth under Debian.
I'm trying to get a HIDD device (Bluetooth input device) to auto-disconnect after timeout.

The setting IdleTimeout=XXX minutes is placed in /etc/bluetooth/input.conf. But it doesn't have any effect. The device is still connected past the timeout.
 
Old 05-15-2013, 06:36 PM   #2
gdizzle
Member
 
Registered: Jul 2012
Posts: 204

Rep: Reputation: Disabled
Ok I know really nothing of this but I will have a stab, have your tried the IdleTimeout in seconds?

Can you paste your
Code:
/etc/bluetooth/input.conf
 
Old 05-16-2013, 03:15 AM   #3
linuxbawks
Member
 
Registered: Apr 2013
Posts: 37

Original Poster
Rep: Reputation: Disabled
I have this:

Code:
# /etc/bluetooth/input.conf
[General]

IdleTimeout=1
But I'm afraid this config isn't being read because the input-device (a PS3 Bluetooth RC) is not a strict HID device but a "Fake-HID" device.

I'm looking for any other solutions how I can timeout this device's Bluetooth connection.
 
Old 05-16-2013, 06:26 PM   #4
gdizzle
Member
 
Registered: Jul 2012
Posts: 204

Rep: Reputation: Disabled
I take it you followed something like this?

http://wiki.xbmc.org/index.php?title..._PS3_BD_Remote
http://forum.xbmc.org/showthread.php?tid=50717

Can you try via MAC address for your device as seen below?

Code:
/etc/input.conf

# This section contains options that are specific to a device
[00:1E:3D:B6:12:7E]
#
# Set a custom idle timeout (in minutes) for this device
IdleTimeout=1
Do you have any other Bluetooth devices connected to the system? If so can you disconnect them an isolate the problem by only pairing the controller?
 
Old 05-17-2013, 04:16 AM   #5
linuxbawks
Member
 
Registered: Apr 2013
Posts: 37

Original Poster
Rep: Reputation: Disabled
Yes I'm well aware of those two links.
They work by patching the Bluez package.

I was after something which didn't involve patching.

Edit. I've since found out Bluez-4.101-6-fc18 (Fedora-Core package) provides an auto-timeout of around 10 minutes hardcoded and built-in to the Bluez service.

I'm still interested in any alternative solutions if they possibly exist.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Connection to BlueZ failed" Can't use bluetooth manager?? nath1235 Linux - Laptop and Netbook 5 05-21-2011 06:54 AM
connection timeout problems with usb bluetooth on suse 10.1 noorudin Linux - Laptop and Netbook 1 08-01-2006 06:59 PM
connection timeout problems with usb bluetooth on suse 10.1 noorudin Linux - Laptop and Netbook 0 08-01-2006 04:10 AM


All times are GMT -5. The time now is 03:52 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration