Bug 15788

Summary: Bluetake Bluetooth Presenter BTU-01 - xorg evtest evdev
Product: xorg Reporter: Jelle de Jong <jelledejong>
Component: Input/evdevAssignee: Zephaniah E. Hull <warp-spam+fdo>
Status: RESOLVED WONTFIX QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: dag
Version: unspecifiedKeywords: NEEDINFO
Hardware: Other   
OS: All   
URL: http://www.amazon.com/Bluetake-BTU-01-Bluetooth-Laser-Presenter/dp/B00138W7DG
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xorg-log-crash.txt
none
xorg.conf
none
evtest-log.txt
none
data.bin
none
Bluetooth - Bluetake Presenter BTU-01.txt
none
bluetake.sh
none
evtest-log-v1.2.0-1.txt
none
xorg-conf-v1.2.0-1.txt
none
xorg-crash-log-v1.2.0-1.txt
none
evdev 2.0.3 - debug report - bluetake presenter btu-01.txt none

Description Jelle de Jong 2008-05-01 05:41:18 UTC
Created attachment 16290 [details]
xorg-log-crash.txt

The following device does not work:
Bluetake Bluetooth Presenter BTU-01

It creates a /dev/input/event** but then nothing else is configured.

When trying to use the evdev driver and the xorg file, xorg crashes.

Please make the device work out of the box after input device is created.

See all the attached log files for more information.

I use debian sid for testing and development.
Comment 1 Jelle de Jong 2008-05-01 05:42:14 UTC
Created attachment 16291 [details]
xorg.conf
Comment 2 Jelle de Jong 2008-05-01 05:42:32 UTC
Created attachment 16292 [details]
evtest-log.txt
Comment 3 Jelle de Jong 2008-05-01 05:43:54 UTC
Created attachment 16293 [details]
data.bin
Comment 4 Jelle de Jong 2008-05-01 05:44:20 UTC
Created attachment 16294 [details]
Bluetooth - Bluetake Presenter BTU-01.txt
Comment 5 Jelle de Jong 2008-05-01 05:44:38 UTC
Created attachment 16295 [details]
bluetake.sh
Comment 6 Jelle de Jong 2008-05-01 05:51:18 UTC
I use debian sid, this should result in the latest released evdev driver.

version 1:1.2.0-1
xserver-xorg-input-evdev

I am willing to sent the device to a developer if he agrees to get it working.
Comment 7 Peter Hutterer 2008-05-07 19:11:47 UTC
looking at the evtest output, there's a number of buttons that aren't parsed properly (or known to the kernel).

the second problem is that evdev 1.2 does a bit of automatic parsing, and - like in your case - it sometimes fails. It would be much easier to debug if you get the git version of evdev which is severely stripped down and slightly less prone to errors like this. as it is right now, I can't even fathom what exactly causes the crash.
Comment 8 Jelle de Jong 2008-05-08 01:45:51 UTC
I will test everything again with the latest git and report back, thank you for the message
Comment 9 Dag Wieers 2008-05-09 07:25:06 UTC
I bought the same device which has some unique features:

 - uses bluetooth (not a seperate dongle)
 - includes laser pointer
 - fits into a pcmcia slot (always with you)
 - very affordable (15 Euro on Ebay)

Since Jelle offered to send it to someone who can debug it, maybe it helps to show what it looks like:

    http://www.amazon.com/Bluetake-BTU-01-Bluetooth-Laser-Presenter/dp/B00138W7DG

I am willing to send one to a developer as well if someone can get the buttons and mouse functionality to work.
Comment 10 Jelle de Jong 2008-06-12 01:32:25 UTC
The status just changed to: NEEDINFO

What info is wanted:

I now use the newest release of evdev:
xserver-xorg-input-evdev_1.2.0-1_i386.deb

I still got a non working device :-S

Thanks in advance,
Comment 11 Peter Hutterer 2008-06-12 10:45:03 UTC
On Thu, Jun 12, 2008 at 01:33:12AM -0700, bugzilla-daemon@freedesktop.org wrote:
> What info is wanted:
> 
> I now use the newest release of evdev:
> xserver-xorg-input-evdev_1.2.0-1_i386.deb

please try xf86-input-evdev-1.99.4 which has been released recently.

ftp://ftp.x.org/pub/individual/driver/xf86-input-evdev-1.99.4.tar.bz2

this codebase is much more straightforward and easier to debug if problems
occur.
Comment 12 Daniel Stone 2008-06-12 11:06:17 UTC
On Thu, Jun 12, 2008 at 10:45:04AM -0700, bugzilla-daemon@freedesktop.org wrote:
> The status just changed to: NEEDINFO
> 
> What info is wanted:
> 
> I now use the newest release of evdev:
> xserver-xorg-input-evdev_1.2.0-1_i386.deb
> 
> I still got a non working device :-S

As Peter said, right here:

> please try xf86-input-evdev-1.99.4 which has been released recently.
> 
> ftp://ftp.x.org/pub/individual/driver/xf86-input-evdev-1.99.4.tar.bz2
> 
> this codebase is much more straightforward and easier to debug if problems
> occur.

1.99.4 is not 1.2.0 ...
Comment 13 Jelle de Jong 2008-07-03 14:26:31 UTC
Ok some updates; I am now using version 1.2.0 of evdev and run some new test, i still got the same bugs, i made new logs of them and attached them.

xserver-xorg-input-evdev_1.2.0-1_i386.deb

I hope somebody can fix the problem?
Comment 14 Jelle de Jong 2008-07-03 14:27:15 UTC
Created attachment 17504 [details]
evtest-log-v1.2.0-1.txt
Comment 15 Jelle de Jong 2008-07-03 14:27:30 UTC
Created attachment 17505 [details]
xorg-conf-v1.2.0-1.txt
Comment 16 Jelle de Jong 2008-07-03 14:27:45 UTC
Created attachment 17506 [details]
xorg-crash-log-v1.2.0-1.txt
Comment 17 Peter Hutterer 2008-07-03 17:44:02 UTC
> --- Comment #13 from Jelle de Jong <jelledejong@powercraft.nl>  2008-07-03 14:26:31 PST ---
> Ok some updates; I am now using version 1.2.0 of evdev and run some new test, i
> still got the same bugs, i made new logs of them and attached them.

you were running evdev 1.2 before already, we'd need you to run evdev 2.0
though to debug this issue.

evdev 1.2 is essentially orphaned and I'd be surprised if there will be any
patches to it in the future.
Comment 18 Jelle de Jong 2008-07-04 00:08:57 UTC
(In reply to comment #17)
> > --- Comment #13 from Jelle de Jong <jelledejong@powercraft.nl>  2008-07-03 14:26:31 PST ---
> > Ok some updates; I am now using version 1.2.0 of evdev and run some new test, i
> > still got the same bugs, i made new logs of them and attached them.
> 
> you were running evdev 1.2 before already, we'd need you to run evdev 2.0
> though to debug this issue.
> 
> evdev 1.2 is essentially orphaned and I'd be surprised if there will be any
> patches to it in the future.
> 

My excuse, i overlooked the version, wanted to be the right one to much I guess. I will wait until the maintainer of debian sid decide to upgrade to evdev 2.0 or somebody else to provide a deb package.  
Comment 19 Peter Hutterer 2008-09-15 23:23:29 UTC
> --- Comment #18 from Jelle de Jong <jelledejong@powercraft.nl>  2008-07-04 00:08:57 PST ---
> My excuse, i overlooked the version, wanted to be the right one to much I
> guess. I will wait until the maintainer of debian sid decide to upgrade to
> evdev 2.0 or somebody else to provide a deb package.  

any updates? I guess by now sid uses evdev 2.0?
Comment 20 Jelle de Jong 2008-09-16 00:59:08 UTC
Created attachment 18912 [details]
evdev 2.0.3 - debug report - bluetake presenter btu-01.txt
Comment 21 Jelle de Jong 2008-09-16 01:00:59 UTC
I did some new testings, xorg does not crashes any more but tells me it don't now how to use the device. So the device does not work yet. Please see the below attachement.

http://bugs.freedesktop.org/attachment.cgi?id=18912
Comment 22 Daniel Stone 2008-09-16 03:02:06 UTC
On Tue, Sep 16, 2008 at 01:01:00AM -0700, bugzilla-daemon@freedesktop.org wrote:
> I did some new testings, xorg does not crashes any more but tells me it don't
> now how to use the device. So the device does not work yet. Please see the
> below attachement.

All the keycodes your device report are above 255 (for some myserious
reason, they even _start_ at 256), which X can't deal with right now due
to a protocol limitation.
Comment 23 Peter Hutterer 2008-12-20 21:20:50 UTC
WONTFIX. We can't do anthing until we support keycodes > 255

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.