Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How I configured the Trust MI-5300M Bluetooth Mouse
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
PT_LAmb
Guru
Guru


Joined: 22 Apr 2002
Posts: 332
Location: Lisboa (Lisbon), Portugal

PostPosted: Tue Dec 20, 2005 12:37 am    Post subject: How I configured the Trust MI-5300M Bluetooth Mouse Reply with quote

I will only replay the steps that I took to configure this bluetooth mouse. I do not consider this text a proper HOWTO configure a bluetooth mouse. I just hope it might come in handy to someone in the future.

I tried this on a Sony Vaio VGN-S4HP.

Here are the steps:
  1. Compile kernel's bluetooth modules (I'm using vanilla-sources-2.6.15_rc4)
    Code:
    Networking  --->
       [*] Networking support
       <M>   Bluetooth subsystem support  --->
          <M>   L2CAP protocol support
          <M>   HIDP protocol support
             Bluetooth device drivers  --->
                <M> HCI USB driver

    NOTE: The device driver for the S4 is the HCI USB driver, yours might be a different one.

  2. Add the modules to the autoload list
    Code:
    milk linux # echo "hidp" >> /etc/modules.autoload.d/kernel-2.6
    milk linux # echo "hci_usb" >> /etc/modules.autoload.d/kernel-2.6

  3. restart the system or manually load the modules:
    Code:
    modprobe hidp
    modprobe hci_usb

  4. emerge the bluez-utils
    Code:
    milk linux # emerge net-wireless/bluez-utils

  5. configure /etc/conf.d/bluetooth
    Code:
    #enable hid deamon
    HIDD_ENABLE=true

  6. start the bluetooth daemon system
    Code:
    milk linux # /etc/init.d/bluetooth start

  7. connect the mouse

    1. search the MAC address
      Code:
      milk linux # hcitool scan

    2. while hcitool is scanning, turn the mouse on and press the connect button on the mouse

    3. copy the MAC address from hcitool's output
      Code:
      milk linux # hcitool scan
      Scanning ...
              00:0A:94:C1:2B:FD       Trust Bluetooth Mouse

      NOTE: this is my mouse's MAC address, yours will be different.

    4. force hidd to connect to the mouse
      Code:
      milk linux # hidd --connect 00:0A:94:C1:2B:FD

      NOTE: use your MAC address instead of mine.

    5. rapidly turn off, on and press the connect button on the mouse

    6. mouse the mouse a bit

      NOTE: you should see the mouse movement in a few seconds, if not, maybe your xorg.conf is not capturing the mouses events, check mine below and try to figure out what's wrong.

      NOTE: from now on the mouse will connect to your Bluetooth host computer interface (hci) whenever it's switched on. If you connect the mouse to another computer, or change batteries, repeat steps a to f to reconnect it to your computer.


  8. add bluetooth to the default runlevel
    Code:
    rc-update add bluetooth default


My current xorg.conf's mouse configuration is the following:
Code:
Section "InputDevice"
    Identifier  "Mouse1"
    Driver "mouse"
    Option "Protocol"   "auto"
    Option "ZAxisMapping"   "4 5"
    Option "Device"     "/dev/input/mice"
EndSection


References:
How I connected a Microsoft Bluetooth keyboard/mouse to Linux (and later, a nicer Apple Bluetooth keyboard...)
Logitech MX900 Bluetooth Optical Mouse on Linux

Sorry about my poor english. If you want, post a rewrite and I'll gladly replace this mess.

Any feedback is appreciated.
_________________
SETI@Home - http://setiathome.ssl.berkeley.edu/
Back to top
View user's profile Send private message
feia
n00b
n00b


Joined: 25 Dec 2005
Posts: 2

PostPosted: Sun Dec 25, 2005 8:44 pm    Post subject: battery life? Reply with quote

Hi!

Great HOWTO.
Can you give any information about the battery live?

regards

Andi
Back to top
View user's profile Send private message
PT_LAmb
Guru
Guru


Joined: 22 Apr 2002
Posts: 332
Location: Lisboa (Lisbon), Portugal

PostPosted: Wed Dec 28, 2005 1:30 am    Post subject: Re: battery life? Reply with quote

feia wrote:
Hi!

Great HOWTO.
Can you give any information about the battery live?

regards

Andi


Well, thanks!

Hum. I've only replaced them once (2 days ago), and I think that they lasted 5 days, however I forgot it on all night long twice, if I recall correctly. When I change them again, I'll try to book all the timeslots that it was on, that'll give us a better estimate.
_________________
SETI@Home - http://setiathome.ssl.berkeley.edu/
Back to top
View user's profile Send private message
PT_LAmb
Guru
Guru


Joined: 22 Apr 2002
Posts: 332
Location: Lisboa (Lisbon), Portugal

PostPosted: Wed Jan 04, 2006 8:08 pm    Post subject: Reply with quote

Well. They lasted till yesterday evening, a bit over a week. They were 2 Alkaline 1.5V - AAA - MICRO - LR03 - AM4 - MN2400, Anabasis Handelsgesellschaft mbH, Germany branded batteries. I would say they are very low cost here (~€2.3, an 8-pack).

Now I'm testing Konnoc Ni-MH Rechargeable 800mAh 1.2V batteries (KHR-800AAA). Let's see how much they last.

Happy new year! :)
_________________
SETI@Home - http://setiathome.ssl.berkeley.edu/
Back to top
View user's profile Send private message
PT_LAmb
Guru
Guru


Joined: 22 Apr 2002
Posts: 332
Location: Lisboa (Lisbon), Portugal

PostPosted: Sat Jan 07, 2006 10:32 pm    Post subject: Reply with quote

Well a bit dissapointing, but it only lasts 2 days on rechargeable batteries. I only have a set of 2, I'll have to buy second one.
_________________
SETI@Home - http://setiathome.ssl.berkeley.edu/
Back to top
View user's profile Send private message
feia
n00b
n00b


Joined: 25 Dec 2005
Posts: 2

PostPosted: Sun Jan 08, 2006 2:30 pm    Post subject: ohh Reply with quote

Thanks for the Info!
so thats not really what I'm looking for. I read about the new Logitech V270 (does also have bluetooth). That mouse should run 3 month with a set of batteries. (2 AA I think)
Back to top
View user's profile Send private message
PT_LAmb
Guru
Guru


Joined: 22 Apr 2002
Posts: 332
Location: Lisboa (Lisbon), Portugal

PostPosted: Mon Jan 09, 2006 11:44 pm    Post subject: Re: ohh Reply with quote

feia wrote:
Thanks for the Info!
so thats not really what I'm looking for. I read about the new Logitech V270 (does also have bluetooth). That mouse should run 3 month with a set of batteries. (2 AA I think)


Wow! 3 months is a hell of a time! I'm a bit skeptical, I must confess, but yay why not?
_________________
SETI@Home - http://setiathome.ssl.berkeley.edu/
Back to top
View user's profile Send private message
victordavion83
n00b
n00b


Joined: 25 Mar 2004
Posts: 24
Location: Hallandale, FL

PostPosted: Thu Aug 17, 2006 7:19 am    Post subject: Reply with quote

Just gotta say thanks, you got my bluetooth mouse working without a hitch with the simple steps you listed. =)
Back to top
View user's profile Send private message
PT_LAmb
Guru
Guru


Joined: 22 Apr 2002
Posts: 332
Location: Lisboa (Lisbon), Portugal

PostPosted: Thu Aug 17, 2006 7:24 pm    Post subject: Reply with quote

victordavion83 wrote:
Just gotta say thanks, you got my bluetooth mouse working without a hitch with the simple steps you listed. =)


Thanks for the reply. Glad that it helped.
_________________
SETI@Home - http://setiathome.ssl.berkeley.edu/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum