Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Connecting my Microsoft Bluetooth Desktop
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
carpenike
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2005
Posts: 127

PostPosted: Tue Apr 19, 2005 9:55 pm    Post subject: Connecting my Microsoft Bluetooth Desktop Reply with quote

Hey,

I have a Microsoft Bluetooth Keyboard/Mouse Desktop setup that I'd like to get working inside of Linux. Running Kernel 2.6.11-r6. I think I have the dongle working properly as I can find it when I use hciconfig:

Code:
root@ryandesk ryan # hciconfig
hci0:   Type: USB
        BD Address: 00:50:F2:E7:E6:EF ACL MTU: 377:10  SCO MTU: 16:0
        UP RUNNING PSCAN ISCAN AUTH ENCRYPT
        RX bytes:107 acl:0 sco:0 events:14 errors:0
        TX bytes:303 acl:0 sco:0 commands:14 errors:0


I really have no idea how to actually connect and authenticate my keyboard and my mouse to my computer. I have scanned them both using hcitool scan:

Code:
root@ryandesk ryan # hcitool scan
Scanning ...
        00:50:F2:E7:81:D6       Microsoft Keyboard
        00:50:F2:E7:C0:E5       Microsoft Mouse


I emerged some of the bluez tools, but i'm not entirely sure if i need them/which ones I need.

Been scanning the forums all day trying different approaches but many of them seemed outdated...

Any help would be great!
Back to top
View user's profile Send private message
TerranAce007
Apprentice
Apprentice


Joined: 13 Dec 2004
Posts: 281
Location: Texas

PostPosted: Tue Apr 19, 2005 11:23 pm    Post subject: Reply with quote

Well in the first place, I wouldn't count on any microsoft hardware working easily in any OS other than windows, but it should work just like any other wired usb mouse or keyboard...

I have a logitech wireless usb mouse that worked right away in gentoo. Knoppix also picks it up too. No configuration needed, just plug in and turn on the mouse. The bluetooth stuff must all be handled within the usb stick - mouse connection, so when it gets to the computer, it acts the same as a wired mouse.

Does the keyboard use the same usb adapter as the mouse?
_________________
It's all funny until someone gets hurt.


Then it's hilarious.
Back to top
View user's profile Send private message
carpenike
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2005
Posts: 127

PostPosted: Wed Apr 20, 2005 1:52 am    Post subject: Reply with quote

Yes it does...
Back to top
View user's profile Send private message
TerranAce007
Apprentice
Apprentice


Joined: 13 Dec 2004
Posts: 281
Location: Texas

PostPosted: Wed Apr 20, 2005 2:27 am    Post subject: Reply with quote

What is the output of dmesg and lsusb when you plug and unplug the device?

My mouse works without any userspace tools, but I do have at least the basic bluetooth built into the kernel. I don't have my laptop at the moment, so I can't check my exact config, and I'm not sure if the kernel bluetooth stuff was even necessary for the mouse to work. Do you have USB 1.1 or 2.0 on the system, and do you have the correct setup for them (ohci, uhci, ehci...)?

Try booting from the Knoppix cd and see if it auto detects your mouse and/or keyboard when its plugged in at boot and when you hotplug it. Then you can at least know if it works in linux or not...

BTW, do you have coldplug and hotplug configured? If coldplug isn't run at boot and my mouse is plugged in, it won't work.
_________________
It's all funny until someone gets hurt.


Then it's hilarious.
Back to top
View user's profile Send private message
nightfrost
Apprentice
Apprentice


Joined: 07 Dec 2004
Posts: 293
Location: Sweden

PostPosted: Thu May 05, 2005 11:55 am    Post subject: Reply with quote

Not my intention to hijack a thread, or reopen an old one; but I've a similar problem. This is the second time, these last two months, that I've had to install winxp (first time was to update the bios- and compaq had only released bios update software for winxp) and it's getting tedious.

So, I got a bluetooth donlge (targus) and a bluetooth mouse (trust). I've been looking through various howtos and whatnots, following them I've made sure the usb dongle gets detected and I have no error messages anywhere. I've emerged bluez-libs and bluez-utils, I've scanned for the mouse using "hcitool scan" - found it - and tried to connect to it using "hidd --connect ADDRESS". Doing that, I just get "Can't create HID control channel: Operation already in progress".

So, I figured something wasn't linux compatible. I go through the hassle of installnig winxp again. Set things up and get them working. I reboot into linux plug my dongle in and - voila - the mouse if working fine.

So apparently my devices do work under linux. What am I doing wrong here. Why do I get "Can't create HID control channel: Operation already in progress". Why, oh why?

Edit: I tried to reboot in single user mode (init -s), and managed then to connect to the bluetooth mouse with a simple hidd --search. Why is that? Why did it work in init -s and not init 5?
Back to top
View user's profile Send private message
JavaGeek
n00b
n00b


Joined: 07 Jun 2004
Posts: 1
Location: Monterrey, MX

PostPosted: Fri May 06, 2005 12:28 pm    Post subject: MS Bluetooth mouse Reply with quote

I have the Microsoft bluetooth Intellimouse, and it works great with gentoo, both with the supplied usb dongle and the internal bluetooth from my laptop.

The only problem that I have right now is that I have to manually connect the mouse every time it goes to sleep mode. That means that I have to do 'hidd -c ADDRESS' on my laptop AND press the connect button on the mouse. Is there any configuration that I need so that the mouse can be connected automatically after sleep?

Thanks
Back to top
View user's profile Send private message
riskable
n00b
n00b


Joined: 18 Sep 2004
Posts: 36
Location: Jacksonville, FL

PostPosted: Fri May 06, 2005 4:46 pm    Post subject: Reply with quote

hidd will automatically connect to any input devices it finds (assuming it's looking). The way I get it to search for my devices at startup is like so:

Code:
orbitty conf.d # cat /etc/conf.d/local.start
# /etc/conf.d/local.start
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/conf.d/local.start,v 1.4.4.1 2005/02/19 02:13:53 vapier Exp $

# This is a good place to load any misc.
# programs on startup ( 1>&2 )
/usr/bin/hidd --search &


That way, as long as my bluetooth input devices are on, hidd will connect to them. Works great.
_________________
-Riskable
http://www.riskable.com/
"I have a license to kill -9"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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