How to make things permanent?
Hi folks,
thanks to the hints in this thread I got my dongle working. I can search for other devices and the ASUS is recognized by others.
But as I'm not that familiar with linux I had no idea where to put the module-files. I insmod-ed them from opt-temp. but where to put them correctly?
And how to manage that the bluetooth-device works after a reboot?
do I have to put all that in the postboot?
Code:
insmod /opt/tmp/modules/bluez.o #main
insmod /opt/tmp/modules/l2cap.o #for pinging
insmod /opt/tmp/modules/rfcomm/rfcomm.o #virtal serial port
#insmod /opt/tmp/modules/bnep.o #Sound (I don't need that)
insmod /opt/tmp/modules/hci_usb.o #driver
rm /opt/var/run/dbus/pid #if you don't delete it, dbus won't start!
dbus-daemon --system
hcid
hciconfig hci0 up piscan
sdpd
sdptool add --channel 2 SP
hm, I just made a reboot and executed all that commands manually - but it only worked when I unplugged the bt-dongle, replugged it and excecuted the lines again.
-->Isn't there a more comfortable way to enable BT after a reboot?
(My final goal is to have an interface on my mobile for controlling the music the router plays (over JAMSE & a bemused-server). I will open up another thread for that - but now i have to go to the cinema :) )