Bluetooth Travel Mouse
Another problem I found was my V270 Bluetooth Travel Mouse would basically need to be re-set up each time I booted up. Basically what happens is you click on your Bluetooth Icon > setup new device… > then when your done, reboot and try to use the mouse, nothing. Then when you repeat the above steps you get Bluetooth Pairing Failed.
To fix this yo u need to do the following things:
cat /var/lib/bluetooth/*/lastseen | cut -c 1-1700:XX:XX:XX:XX:XX
This is to see your mouse’s bluetooth address. Save this address somewhere.
To connect simply do:
hidd –connect 00:XX:XX:XX:XX:XX
Now we need a linkkey to pair the bluetooth mouse to the netbook, you can enter any value, I have used random numbers:
echo 00:XX:XX:XX:XX:XX 64917050156063818749852764598064063 >> /var/lib/bluetooth/*/linkkeys
The number can be anything random, so don’t worry too much about it.
The last part is fixing a handshake issue with linux’s bluetooth stack (BlueZ)
vi /etc/init.d/bluetoothstart()
{
echo -n $”Starting Bluetooth services:”
daemon /usr/sbin/bluetoothd
RETVAL=$?
[ $RETVAL = 0 ] && touch /var/lock/subsys/bluetoothd
[ "$HID2HCI_ENABLE" = "true" ] && hid2hci –tohci > /dev/null 2>&1 || :
touch /var/lock/subsys/bluetooth
echo “”
sleep 1 && hciconfig hci0 reset
return $RETVAL
}
You need to add the line in bold to the file, this will reset the pairing so that you can use the bluetooth mouse on other devices as well. I share the mouse between my HP laptop and MSI Wind netbook and find this very useful.
In order for Windows not to ask for another linkkey you can write it to the mouse itself by doing:
hciconfig hci0 putkey 00:XX:XX:XX:XX:X
This should do the trick and your bluetooth mouse will work perfectly now.
Now I’ll admit not all these ideas are my own and I had to do a lot of research into getting everything working perfectly, but this is a compilation of everything I had to do to get my MSI Wind and Fedora 10 to play nice. I will reference the blogs used below as they deserve the credit.
- http://www.ryanduff.net/2009/01/25/fedora-10-on-msi-wind-with-wireless/
- http://www.gagme.com/greg/linux/f9-tips.php
- http://www.kirpininyeri.com/2009/01/bluetooth-mouse-on-linux/
So It’s no wonder why Linux hasn’t become very mainstream yet, It took me a few installs, re-installs and a lot of searching and head banging to get my FC10 to work optimally. I hope this helped you in one way or another, please leave some feedback in the comments.



I’m working on a similar project win a MSI U100, instead installing CentOS. I was able to get a successful (bootable) installation but had a problem that the NIC was marginal. Sometimes requiring several cold boots to work properly. I’m installing from a USB DVD drive instead of a usb thumb drive
Have you had any problem with the builtin network card?
If by NIC you mean the ethernet and not wireless, then no that worked out of the box. Check what version of NetworkManger you have. As for the wireless card, see above, it worked after adding the rpmfusion repo’s and installing the ralink driver. You may have a different version, I have:
kmod-rt2860.i686 1.8.0.0-3.fc10.3
good guide, however for the wireless part the “./ncdiag” and “./installNC.sh” are outdated stupid scripts and a bit confusing for beginners as they require you to pass the correct parameters to install the ncsvc. Alternatively you can do this as your final step:
cd ~/.juniper_networks/network_connect/
sudo install -m 6711 -o root ../tmp/ncsvc ncsvc
Regards
I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.
Joannah
http://linuxmemory.net
Hey,
I had mine working without any of this for a while. It was done just using firefox. Then, my profile got corrupted and I had to create a new profile. Ever since, it hasn’t worked. I can’t figure out why.
I used to open up firefox, and then go to the network connect site, and it’d ask me for root password. I entered it, and it worked fine. I may have remembered playing around with allowing javascript to allow window resizing or something like that.
I get:
Insufficiant number of parameters
./installNC.sh
for ./installNC.sh
I also get:
install: cannot stat `../tmp/ncsvc’: No such file or directory
when I try sudo install -m 6711 -o root ../tmp/ncsvc ncsvc
Where is the tmp supposed to be? What’s it trying to access and where?
Any ideas on how to just get it working normally with firefox? I’m going to keep trying over the next couple of days and will post up on here if I find something
ps. I’m using Kubuntu
@Keerthi
Sorry for the awefully late reply. It seems that you do not actually need to run the install at all. Just making sure your Linux install is not using OpenJDK and has the latest J2SE is enough, the browser can do the rest.