View Single Post
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#24
Originally Posted by azerty1 View Post
Somehow I got the pointer to appear on the browser, but lost it after showing and hiding their large cursor, couldn't make it reappear even after going to youtube and playing a video... BTW, are you able to click/right-click scroll in the browser with your bt mouse? My guess is that it only reacts to BTN_TOUCH and ignores all the others... I'll need to try a few other things.
Maybe it is because the method you are using for showing up the cursor. You can try this instead :

edit following line in /etc/X11/Xsession.d/04b_start_matchbox
/usr/bin/matchbox-window-manager -theme $THEME -use_dialog_mode static -use_cursor yes &

Assuming you already have changed transparent cursor to good one then above should give you visible mouse cursor even in moving dots screen(right after reboot). It disappears after a while (hildon desktop hides it) but opening a site with flash (not sure if you need to open flash in full screen, but give it a try) should restore the cursor even in browser. Did not investigate this further, but seems great adobe product sets root X window cursor to its own.

Re your question - I am not able to use mouse in microb, and it seems that not only BTN_TOUCH event is expected, but some pressure threshold too. Recently I was on the way of modifying evdev so instead of BTN_MOUSE a BTN_TOUCH event to be generated on left click, but didn't have time to do it .

Please find attached archive with bluetooth.ko module for both kernel-power37 and original nokia kernel(PR1.2). This one should cure laggy mouse movement. Just in case both modules are incompatible with your kernel - the actual patch is in hci_event.c, function hci_mode_change_evt :

/*if (!test_and_clear_bit(HCI_CONN_MODE_CHANGE_PEND, &conn->pend)) {
if (conn->mode == HCI_CM_ACTIVE)
conn->power_save = 1;
else
conn->power_save = 0;
}*/


I think you can use hci_event.c from attachment as direct replacement, as I think this file is same in both PR1.1.1 and PR1.2

Give it a try (backup your own bluetooth.ko just in case), the worse that could happen is that one will lose bluetooth until original module is copied back.

In attached zip you can find my version of evdev.c, so you can diff it with yours, just in case my extraterrestrial programming skills have added something valuable there

Thanks for your efforts on this matter, and if you need help - count on me

Regards and sorry if my English is not so good
Attached Files
File Type: zip bt_mouse.zip (73.2 KB, 389 views)
 

The Following 6 Users Say Thank You to freemangordon For This Useful Post: