Skip to contentSkip to conversation

mx5000tools 0.1

Bluez-devel Olivier Crête 3 participants 5 messages Dec 1, 2006 – Dec 5, 2006 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi,

I ported mx5000lib[1] .NET library to Linux and I made mx5000tools[2].

It currently supports most operations that control the content of the screen. Only 2 operations that SetPoint does on windows are not supported, because I haven't managed to make them work. One is to display images, I can decode the sent data[3], but when I try re-sending the same data, it doesn't show up on the screen. The second is to change the content of the menus there again, the keyboard doesn't seem to be responsive to the commands that I send.

It currently only works in HID mode because the bluez code does not yet support full HID with hiddev.

I should have a homepage and a SVN tree for it soon, I'll post the address when I set it up.

[1] http://sourceforge.net/projects/mx5000lib/
[2] http://dev.gentoo.org/~tester/dist/mx5000tools-0.1.tar.gz
[3] http://dev.gentoo.org/~tester/image-drawer.c

Signature · 2 lines
Olivier Crête
[email protected]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#1 lore raw

Z29vZCB3b3JrLCBpJ2xsIHRyeSBpdCBvdXQgdG9tb3Jyb3cuIG1heWJlIGkgY2FuIGhlbHAgZmln dXJlIG91dCB0aGlzIAppbWFnZSBpc3N1ZS4gSSdkIGhhdGUgdG8gYmUgc3R1Y2sgaW4gaGlkIG1v ZGUgYWZ0ZXIgYWxsIHRoZSBzZWFyY2hpbmcgaSAKZGlkIHRvIGdldCB0aGUgZGFtbiB0aGluZyBp bnRvIGhjaSBtb2RlIHRob3VnaC4uLgoKT2xpdmllciBDcsOqdGUgd3JvdGU6Cj4gSGksCj4KPiBJ IHBvcnRlZCBteDUwMDBsaWJbMV0gLk5FVCBsaWJyYXJ5IHRvIExpbnV4IGFuZCBJIG1hZGUgbXg1 MDAwdG9vbHN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HRvb2xz LTAuMS50YXIuZ3oKPiBbM10gaHR0cDovL2Rldi5nZW50b28ub3JnL350ZXN0ZXIvaW1hZ2UtZHJh d2VyLmMKPgo+ICAgCgoKLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQpUYWtlIFN1cnZleXMuIEVhcm4gQ2FzaC4g SW5mbHVlbmNlIHRoZSBGdXR1cmUgb2YgSVQKSm9pbiBTb3VyY2VGb3JnZS5uZXQncyBUZWNoc2F5 IHBhbmVsIGFuZCB5b3UnbGwgZ2V0IHRoZSBjaGFuY2UgdG8gc2hhcmUgeW91cgpvcGluaW9ucyBv biBJVCAmIGJ1c2luZXNzIHRvcGljcyB0aHJvdWdoIGJyaWVmIHN1cnZleXMgLSBhbmQgZWFybiBj YXNoCmh0dHA6Ly93d3cudGVjaHNheS5jb20vZGVmYXVsdC5waHA/cGFnZT1qb2luLnBocCZwPXNv dXJjZWZvcmdlJkNJRD1ERVZERVYKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX18KQmx1ZXotZGV2ZWwgbWFpbGluZyBsaXN0CkJsdWV6LWRldmVsQGxpc3RzLnNv dXJjZWZvcmdlLm5ldApodHRwczovL2xpc3RzLnNvdXJjZWZvcmdlLm5ldC9saXN0cy9saXN0aW5m by9ibHVlei1kZXZlbAo=

#2 lore raw

How DID you get it into HCI mode?

Martin

Quoted 4 lines · Douglas Ward

good work, i'll try it out tomorrow. maybe i can help figure out this image issue. I'd hate to be stuck in hid mode after all the searching i did to get the damn thing into hci mode though...

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#3 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

honestly? i found a patch in the archives that was actually the reverse of what was needed to switch it into hci mode. i'm not exactly sure what happened with that but i wrote a patch that was the basic reverse of said patch and tested it... its in 3.7 i think... definitely in CVS. I've been happily using hci mode ever since... it isn't perfect however. sometimes the hci device needs a reset to work correctly but not always. also sometimes i have to run hid2hci multiple times. It's a pain in the butt but since I never reboot my linux box it's a rare necessity. i'm not experienced with driver hacking so i can't be much more help there... but I wasn't prepared to be stuck in hid mode after spending $230 CAD on the keyboard set.

Quoted 5 lines · Martin Stolle

How DID you get it into HCI mode?

Martin

On Fri, Dec 01, 2006 at 02:29:50AM -0500, Douglas Ward wrote:

Quoted 8 lines
Quoted 4 lines

good work, i'll try it out tomorrow. maybe i can help figure out this image issue. I'd hate to be stuck in hid mode after all the searching i did to get the damn thing into hci mode though...

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share

your

Quoted 6 lines

opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBRXBPN1KDmmHy9Q32AQJvJhAAnB7xKOuqHcpPPd4lKeU59lGr/PbbKkJs nyqNtFnqnwPBE63xHdvk86CxOWspdFYOlHLjfgak/vYE+JNjK9QUoSqbRAjRsLZ7 IA1XHbEZSGtA9dE63xQEfUWt1ldI7ewgXwzQ3uR9EYEo6V7uA764Gb9VVcGEjkLj TTQvkSiDoLjVlRehyBwPp+OA1Wzk1KYyD0K+PlDO3nRKsFxTkmphwEX8ICRcqzlZ LrgP8/LrOTOTbiLvo2IjUL/ayLb1gVS73IcjHJUpT66Wq/AtbSOKnlkhmrSYx4gj +pk96SjJsXOMJ3yfZQLvF5uakBBnLOJUGfhHZJLY6Zm8x4+39Ih3S8RjP+y3oVuQ OwSbXTLZ+/WXXmQK8kz37wqA8cAF/xNKP3Ct3cP/fnS6oyQBNO3/znx2GimTnQO5 d+5DdkJD9IET1mAmsRr+vq7bSCnTdOT4D/QwNyLs6wLcqeOVC15VzN9Kl9DeQzmD YbEmmxaHuNdYj8BUvjZyCrpZ3B2v2YcRID3cO8krauDtWMMXGfRaLxPqgRXFdEp4 ElHG5oC/9x3XAn5gS1DXZATxb5INNjyErzsVkIUMmtoHJVk+c8tBlOoJ9Si3r0JR Z3UgrqmtpRc5jcyilEOrHWduJ5s7G7j0Vo1JSeOSN72SZ3mWSSX98sEoTGz/M/pi +ReR/vRhd0A=
=LPCb
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#4 lore raw
In reply to Douglas Ward

New version:

http://dev.gentoo.org/~tester/dist/mx5000tools-0.1.1.tar.gz

I adds a daemon that translated some hid codes that are not understood by the Linux kernel into usable ones (using uinput). And it also adds support to display images. There is also a netpbm based function to transform pbm files into the image format accepted by the keyboard.

Olivier

Quoted 31 lines · Douglas Ward

good work, i'll try it out tomorrow. maybe i can help figure out this image issue. I'd hate to be stuck in hid mode after all the searching i did to get the damn thing into hci mode though...

Quoted 24 lines · Olivier Crête

Hi,

I ported mx5000lib[1] .NET library to Linux and I made mx5000tools[2].

It currently supports most operations that control the content of the screen. Only 2 operations that SetPoint does on windows are not supported, because I haven't managed to make them work. One is to display images, I can decode the sent data[3], but when I try re-sending the same data, it doesn't show up on the screen. The second is to change the content of the menus there again, the keyboard doesn't seem to be responsive to the commands that I send.

It currently only works in HID mode because the bluez code does not yet support full HID with hiddev.

I should have a homepage and a SVN tree for it soon, I'll post the address when I set it up.

[1] http://sourceforge.net/projects/mx5000lib/
[2] http://dev.gentoo.org/~tester/dist/mx5000tools-0.1.tar.gz
[3] http://dev.gentoo.org/~tester/image-drawer.c

Signature · 2 lines
Olivier Crête
[email protected]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel