LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 11-30-2007, 11:14 AM   #1
hsimah
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173

Rep: Reputation: 30
Bluetooth startup issue


Hello all,

I have a bluetooth mouse and keyboard which I would like to start up when my slack machine boots. I chmod +x to /etc/rc.d/rc.bluetooth and started hcid, sdpd, and hidd. The others, rfcomm, pand and dund I left off (as I have no use for them).

The problem is rc.bluetooth start spits out an error: Can't listen on HID control channel: Address already in use. If I restart it after boot (or use rc.local to do it) it works fine. If I start it and then start it again, the same error is displayed.

Does anyone know how I can fix this, without having to start, stop, then restart my bluetooth control?
 
Old 11-30-2007, 01:05 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
When you make rc.bluetooth executable it will start up during bootup, ff you then login and try to start it manually, you will get an error (because it is already running).

If you need to restart the service to get your hardware working for some reason, then you could put a restart command in rc.local. But if memory serves, BlueTooth is started pretty close to rc.local anyway, so it might not give things enough time to settle down.
 
Old 11-30-2007, 04:34 PM   #3
hsimah
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173

Original Poster
Rep: Reputation: 30
I'm not trying to start it manually after startup, I was saying the same error occurs if I do that.

I have the restart command in my rc.local, and that works, but I am wanting to fix the problem, not just cover it up

I had it working before I reinstalled (new hard drive)
 
Old 11-30-2007, 10:27 PM   #4
hsimah
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173

Original Poster
Rep: Reputation: 30
I turned off starting of sdpd by rc.bluetooth and this stops the error, and my mouse and keyboard are working fine now.

Does anyone know why this error happened? Could sdpd be starting up elsewhere perhaps??
 
  


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
Motorola Razr Bluetooth PIN issue nikolayds Linux - Hardware 6 02-08-2008 08:50 PM
Bluetooth Headset Permisson Issue CrownAmbassador Linux - Hardware 3 01-03-2007 08:06 PM
Bluetooth dial-up connectivity issue with Motorola v360 g3n0xp0rt Linux - Hardware 1 01-22-2006 02:46 PM
Bluetooth make issue theboyuk Debian 2 04-29-2005 03:34 AM
Bluetooth issue Hammett Linux - Hardware 0 03-12-2004 02:26 PM


All times are GMT -5. The time now is 06:37 PM.

Main Menu
Advertisement
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