Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Deepesh S Gujarathi <d_gujarathi@hotmail.com>
Cc: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: [Bluez-devel] Re: blueZ-bthid testing
Date: Mon, 05 Jan 2004 15:54:09 +0100	[thread overview]
Message-ID: <1073314449.2508.1.camel@pegasus> (raw)
In-Reply-To: <LAW11-OE33GHeqXipAS00015cf1@hotmail.com>

Hi,

> I'm implementing the firmware for a bluetooth HID mouse using an
> Ericsson module and using the bluez stack to test my implementation. 
> For a start I was trying to make the MS Intelliexplorer mouse work
> with Marcels bthid program, but somehow havent been able to see the
> cursor move, heres what all I did
>  
> - downloaded a crisp new linux2.4.22 kernel from kernel.org
>  
> - patched the kenel with patch-2.4.22-mh2.gz 
>  
> - recompiled the kenel with Input Core support (uinput.o) + BlueZ
> modules + usb support (usb_ohci) modules etc. 
>  
> - reboot with linux2.4.22-mh2 kernel
>  
> - downloaded the latest rpms and did a rpm update to bluez.
>  
> - downloaded and compiled the libs2 and utils2 as per Marcel's
> instructions (using --prefix /opt/bluetooth etc.) from cvs
>  
> - added the following to the XFree86config-4 file
>  
> Section "InputDevice"
>         Identifier "MSmouse"
>         driver "mouse"
>         option "Protocol" "IMPS/2"
>         option "Device" "/dev/input/mice"
>         option "ZAxisMapping" "4 5"
>         option "Buttons" "5"
>         option "Emulate3Buttons" "false"
> EndSection
>     
> and added 
> InputDevice  "MSmouse" "SendCoreEvents" to the ServerLayout section
>  
> - the following modules are present (lsmod)
>  
> l2cap.o
> bluez.o
> input.o
> uinput.o
> usb_uhci.o
> hci_usb.o
> usb_core.o
>  
> - run hcid daemon
>  
> - run bthid daemon 
>  
> -run /opt/bluetooth/sbin/bthid -c 00:50:F2:E5:89:15 (here the
> /var/log/messages shows the following )
>  
> bthid[2040]: cant open input device: no such file or directory (2)
> bthid[2040]: connected: Microsoft Five Button Mouse 
>  
> when I do a hcitool scan, the local device detects the MS
> IntelliExplorer mouse. but nothing happens further.
>  
> am I missing something relevant ?

what about creating the /dev/input/uinput device node?

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

       reply	other threads:[~2004-01-05 14:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <LAW11-OE33GHeqXipAS00015cf1@hotmail.com>
2004-01-05 14:54 ` Marcel Holtmann [this message]
2004-01-06 13:03   ` blueZ-bthid testing Deepesh S Gujarathi
2004-01-06 13:16     ` [Bluez-devel] " Marcel Holtmann
2004-01-07 12:56       ` Deepesh S Gujarathi
2004-01-07 13:11         ` [Bluez-devel] " Marcel Holtmann
2004-01-08 11:09           ` Deepesh S Gujarathi
2004-01-08 12:07             ` [Bluez-devel] " Charles Bueche
2004-01-10  9:09               ` [Bluez-devel] " Deepesh S Gujarathi
2004-01-10 13:32                 ` Charles Bueche

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1073314449.2508.1.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=d_gujarathi@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox