You are not logged in.

#1 2005-07-29 04:44:33

zba78
Member
From: England
Registered: 2005-07-28
Posts: 29

Bluetooth at bootup

I have managed to setup my Arch Linux to communicate with my nokia 6630 mobile phone succesfully using the KDE Bluetooth Framework ( http://kde-bluetooth.sourceforge.net/ ).

Problem is that I have to start everything manually. here's what I do:

SU to root and type

hciconfig hci0 up

then as normal user:

sdpd start

/etc/rc.d/bluetooth start

kbluetoothd

By default hci0 is always down so I have to 'bring it up' manually. How could I automate this to happen automatically at boot-up?

BTW, I'm using XFCE 4.2.2


ARCH 0.7 (2.6.13) & Open SuSE 10.0 :: AMD XP2100+ :: 512 DDR-333 Ram :: 128MB Geforce 6600 (Nvidia 7664) :: 80GB HDD :: SBLive Value

Offline

#2 2005-07-29 08:47:27

zba78
Member
From: England
Registered: 2005-07-28
Posts: 29

Re: Bluetooth at bootup

OK looking further into this I've realised that there is no need to start the sdpd deamon manually as the /etc/rc.d/bluetooth script does this anyway. So  the only thing I now need to know is how to bring hci0 'up' automatically at boot-up (rather then having to manually do hciconfig hci0 up as root all of the time)


ARCH 0.7 (2.6.13) & Open SuSE 10.0 :: AMD XP2100+ :: 512 DDR-333 Ram :: 128MB Geforce 6600 (Nvidia 7664) :: 80GB HDD :: SBLive Value

Offline

#3 2005-07-29 09:50:52

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Bluetooth at bootup

What kind of bluetooth gear are you using on the PC?

Offline

#4 2005-07-29 10:43:16

zba78
Member
From: England
Registered: 2005-07-28
Posts: 29

Re: Bluetooth at bootup

Just a Class II belkin USB bluetooth adaptor.

http://catalog.belkin.com/IWCatProductP … _Id=198322

Works perfectly fine once I've enabled it


ARCH 0.7 (2.6.13) & Open SuSE 10.0 :: AMD XP2100+ :: 512 DDR-333 Ram :: 128MB Geforce 6600 (Nvidia 7664) :: 80GB HDD :: SBLive Value

Offline

#5 2005-07-29 15:22:07

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Bluetooth at bootup

Pity - I've recently set up a pcmcia bluetooth card, but I haven't done usb. My best guess would be that you will need a custom hotplug script - at least, that would regarded as the "right" way to do it. The quick-and-dirty way would be to stick the hciconfig command in /etc/rc.local.

Offline

#6 2005-07-29 17:51:40

jackmetal
Member
From: US
Registered: 2005-06-13
Posts: 164

Re: Bluetooth at bootup

zba78 wrote:

OK looking further into this I've realised that there is no need to start the sdpd deamon manually as the /etc/rc.d/bluetooth script does this anyway. So  the only thing I now need to know is how to bring hci0 'up' automatically at boot-up (rather then having to manually do hciconfig hci0 up as root all of the time)

You can put your commands in /etc/rc.local and they will run at boot.
or - If it's a daemon, you can put it in the DAEMON section of /etc/rc.conf.


--

Some of the world's greatest feats were
accomplished by people not smart enough
to know they were impossible.
-- Doug Larson

Offline

#7 2005-07-30 05:57:50

zba78
Member
From: England
Registered: 2005-07-28
Posts: 29

Re: Bluetooth at bootup

fullmetaljack wrote:

You can put your commands in /etc/rc.local and they will run at boot.
or - If it's a daemon, you can put it in the DAEMON section of /etc/rc.conf.

Thank you, that worked perfectly


ARCH 0.7 (2.6.13) & Open SuSE 10.0 :: AMD XP2100+ :: 512 DDR-333 Ram :: 128MB Geforce 6600 (Nvidia 7664) :: 80GB HDD :: SBLive Value

Offline

Board footer

Powered by FluxBB