Every pure mouse movement now acts like pressing several buttons at the same time which cause parts of console text under cursor copied/pasted randomly. This is "Logitech G3" mouse, corresponding dmesg entries are: ugen2.2: <Logitech> at usbus2 ums0: <Logitech USB Gaming Mouse, class 0/0, rev 2.00/49.00, addr 2> on usbus2 ums0: 16 buttons and [XYZ] coordinates uhid0: <Logitech USB Gaming Mouse, class 0/0, rev 2.00/49.00, addr 2> on usbus2 moused -d -i all -p /dev/ums0 moused: proto params: f8 80 00 00 8 00 ff /dev/ums0 usb sysmouse generic Please fix, it works with old usb just nice. -- http://ache.pp.ru/ _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Try reverting back to r189546. I had a similar problem with the mouse which I narrowed down to http://svn.freebsd.org/changeset/base/189547 If that works, it's not the USBII changes generally, it's this specific change related to HID devices. hth, Doug -- This .signature sanitized for your protection _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Yes, reverting back to r189546 fix the problem. Something wrong done to HID in r189547 -- http://ache.pp.ru/ _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
I see the exact same thing with my logitech USB mouse. Reverting to a kernel from about a week ago fixes the problem. Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://people.freebsd.org/~beech X - NO Word docs in e-mail | Skype: akbeech / \ - http://www.FreeBSD.org/releases/7.1R/announce.html --------------------------------------------------------------------------------------- _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Hi, Please dump the HID descriptors of mouse devices using USB config and send me the result and I will fix the issue. Replace 1 and 3 with the ugenX.Y for your device: usbconfig -u 1 -a 3 do_request 0x81 0x06 0x2200 1 0x100 Parameters after u and a must be correct. You can also dump interface #0: usbconfig -u 1 -a 3 do_request 0x81 0x06 0x2200 0 0x100 And the other interfaces if you want. --HPS _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
I'm having same problem here, output of usbconfig you ask is available here: http://freebsd.pastebin.com/f2831347 Thanks -- Renato Botelho _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Try this patch: http://perforce.freebsd.org/chv.cgi?CH=159001 --HPS _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
A regular diff for those not familiar with the p4web interface. http://people.freebsd.org/~thompsa/usb_hid.diff Andrew _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Worked fine. Thanks!!! -- Renato Botelho _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Mine one still not fixed by that. Here is debugging info as asked: usbconfig ... 1 ... REQUEST = <0x06 0x00 0xff 0x09 0x01 0xa1 0x01 0x85 0x10 0x75 0x08 0x95 0x06 0x15 0x00 0x26 0xff 0x00 0x09 0x01 0x81 0x00 0x09 0x01 0x91 0x00 0xc0 0x06 0x00 0xff 0x09 0x02 0xa1 0x01 0x85 0x11 0x75 0x08 0x95 0x13 0x15 0x00 0x26 0xff 0x00 0x09 0x02 0x81 0x00 0x09 0x02 0x91 0x00 0xc0><u&u&> usbconfig ... 0 ... REQUEST = <0x05 0x01 0x09 0x02 0xa1 0x01 0x09 0x01 0xa1 0x00 0x05 0x09 0x19 0x01 0x29 0x08 0x15 0x00 0x25 0x01 0x95 0x08 0x75 0x01 0x81 0x02 0x06 0x00 0xff 0x09 0x40 0x15 0x81 0x25 0x7f 0x75 0x08 0x95 0x02 0x81 0x02 0x05 0x01 0x09 0x38 0x95 0x01 0x81 0x06 0x05 0x0c 0x0a 0x38 0x02 0x95 0x01 0x81 0x06 0x05 0x01 0x16 0x01 0x80 0x26 0xff 0x7f 0x75 0x10 0x95 0x02 0x09 0x30 0x09 0x31 0x81 0x06 0x05 0x09 0x19 0x09 0x29 0x10 0x15 0x00 0x25 0x01 0x95 0x08 0x75 0x01 0x81 0x02 0xc0 0xc0><)%u@%u88&u01)%u> -- http://ache.pp.ru/ _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Hi, This patch should also fix your mouse. Please try and report back! http://perforce.freebsd.org/chv.cgi?CH=159053 Thanks for reporting. Now we have some nice reference HID descriptors on the e-mail lists to run tests against for the future! --HPS _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Just tried. It seems nothing is changed for my mice. -- http://ache.pp.ru/ _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Are you sure that you re-loaded the USB module? Send debugging when hw.usb2.ums.debug=15 and you plug and move mouse. --HPS _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
As you can see, some lines have ff in the buttons while no buttons are pressed. The mice itself have 5 buttons (including wheel click). ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 00 ff 00 00 00 00 ff ums_intr_callback:255: x:0 y:256 z:1 t:0 w:0 buttons:0x0000ff00 ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 ff 00 00 00 ff ff 00 ums_intr_callback:255: x:-256 y:-255 z:0 t:0 w:0 buttons:0x00000000 ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 ff 00 00 00 ff ff 00 ums_intr_callback:255: x:-256 y:-255 z:0 t:0 w:0 buttons:0x00000000 ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 e9 f9 00 00 e9 ff f9 ums_intr_callback:255: x:-5888 y:1537 z:7 t:0 w:0 buttons:0x0000ff00 ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 f0 fe 00 00 f0 ff fe ums_intr_callback:255: x:-4096 y:257 z:2 t:0 w:0 buttons:0x0000ff00 ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 fb 00 00 00 fb ff 00 ums_intr_callback:255: x:-1280 y:-255 z:0 t:0 w:0 buttons:0x00000000 ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 ff 00 00 00 ff ff 00 ums_intr_callback:255: x:-256 y:-255 z:0 t:0 w:0 buttons:0x00000000 ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 01 00 00 00 01 00 00 ums_intr_callback:255: x:256 y:0 z:0 t:0 w:0 buttons:0x00000000 ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 01 00 00 00 01 00 00 ums_intr_callback:255: x:256 y:0 z:0 t:0 w:0 buttons:0x00000000 ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 0e fc 00 00 0e 00 fc ums_intr_callback:255: x:3584 y:1024 z:4 t:0 w:0 buttons:0x0000ff00 ums_intr_callback:181: sc=0xc517ec00 actlen=10 ums_intr_callback:198: data = 00 01 00 00 00 01 00 00 ums_intr_callback:255: x:256 y:0 z:0 t:0 w:0 buttons:0x00000000 -- ...
Can you show me the dmesg right after you plug the device, that prints where the X,Y,Z and buttons are located. I think we are seeing a different problem where we have a zero-valued report ID. And also. Re-dump the HID descriptor if this a different mouse than before. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Mouse is always plugged in, here is dmesg from my earlier message: ugen2.2: <Logitech> at usbus2 ums0: <Logitech USB Gaming Mouse, class 0/0, rev 2.00/49.00, addr 2> on usbus2 ums0: 16 buttons and [XYZ] coordinates uhid0: <Logitech USB Gaming Mouse, class 0/0, rev 2.00/49.00, addr 2> on usbus2 This is the same mouse. HID descriptors dumped are the same too. -- http://ache.pp.ru/ _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
_______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
This patch also depends on some previous patches, which have not been committed yet, so maybe the best is to just grab the latest usb_hid.c file from P4 and compile that. --HPS _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Re-fetch the usb_hid.c file from USB P4 after the patch below. Problem should be solved now! http://perforce.freebsd.org/chv.cgi?CH=159091 --HPS _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Thanx, fixed now! -- http://ache.pp.ru/ _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
woo hoo! Well done, it's all fine now.
Doug
--
This .signature sanitized for your protection
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
When will the patches be merged into the source tree? I have several boxes rendered useless at this very moment due to jumping mice cursors on X. Regards, Oliver _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
The patches are in -current as of today. --HPS _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Thanks for fixing this issue, Logitech mx 518 is usable again. -- View this message in context: http://www.nabble.com/USB2-makes-moused-insane-tp22428161p22488656.html Sent from the freebsd-current mailing list archive at Nabble.com. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
I'm confirming that this also fixes my Logitech Trackman Wheel mouse (wheel wasn't working for a while). Thanks for the quick work HPS!!!! -Garrett _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
I'm up to r189646 now (Andrew's latest this morning) and the mouse pointer works, but I've lost the wheel. I also tried the version in http://perforce.freebsd.org/chv.cgi?CH=159001, same result. You mentioned http://perforce.freebsd.org/chv.cgi?CH=158916 in another post, but those changes seem to be in the tree as of r189646. Here is the information you requested: ugen4.7: <Logitech> at usbus4 ums0: <Logitech Trackball, class 0/0, rev 1.10/2.20, addr 7> on usbus4 usbconfig -u 4 -a 7 do_request 0x81 0x06 0x2200 1 0x100 REQUEST = <0x05 0x01 0x09 0x02 0xa1 0x01 0x05 0x09 0x19 0x01 0x29 0x03 0x15 0x00 0x25 0x01 0x95 0x03 0x75 0x01 0x81 0x02 0x95 0x01 0x75 0x05 0x81 0x03 0x05 0x01 0x09 0x01 0xa1 0x00 0x09 0x30 0x09 0x31 0x15 0x81 0x25 0x7f 0x75 0x08 0x95 0x02 0x81 0x06 0xc0 0x09 0x38 0x95 0x01 0x81 0x06 0x09 0x3c 0x15 0x00 0x25 0x01 0x75 0x01 0x95 0x01 0xb1 0x22 0x95 0x07 0xb1 0x01 0x05 0x08 0x09 0x4b 0x15 0x00 0x25 0x03 0x95 0x01 0x75 0x02 0x09 0x3c 0xa1 0x02 0x09 0x41 0x09 0x3d 0x09 0x3f 0x09 0x40 0x91 0x00 0xc0 0x75 0x06 0x91 0x01 0xc0><)%uu01%u8%u"K%uA=?@u> usbconfig -u 4 -a 7 do_request 0x81 0x06 0x2200 0 0x100 REQUEST = <ERROR> Can I get my wheel back please? :) Doug -- This .signature sanitized for your protection _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
After looking at the HID descriptors I have made the following patch: http://perforce.freebsd.org/chv.cgi?CH=159053 USB wheel should work again! --HPS _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Thanks for the quick response. One question, how do I generate a diff I can apply to my sources from the perforce web thingy? Thanks, Doug _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Hi, There is a link where you can download the complete file. Then you have to diff on your box. --HPS _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
D'oh, I should have thought of that. Thanks. :) _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
That patch fixes my issues as well, thanks :-) Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://people.freebsd.org/~beech X - NO Word docs in e-mail | Skype: akbeech / \ - http://www.FreeBSD.org/releases/7.1R/announce.html --------------------------------------------------------------------------------------- _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Same problem exists with mx518. -- View this message in context: http://www.nabble.com/USB2-makes-moused-insane-tp22428161p22450167.html Sent from the freebsd-current mailing list archive at Nabble.com. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Can you try the following patch with latest -current: http://perforce.freebsd.org/chv.cgi?CH=159053 --HPS _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Hello,
I have tested with this changes too but my mouse is not working :(
Here are the requested info:
usbconfig
ugen0.2: <USB-PS/2 Optical Mouse Logitech> at usbus0, cfg=0
md=HOST spd=LOW (1.5Mbps) pwr=ON
usbconfig -u 0 -a 2 do_request 0x81 0x06 0x2200 0 0x100
REQUEST = <0x05 0x01 0x09 0x02 0xa1 0x01 0x09 0x01 0xa1 0x00 0x05
0x09 0x19 0x01 0x29 0x03 0x15 0x00 0x25 0x01 0x95 0x03 0x75 0x01 0x81
0x02 0x95 0x05 0x81 0x03 0x05 0x01 0x09 0x30 0x09 0x31 0x09 0x38 0x15
0x81 0x25 0x7f 0x75 0x08 0x95 0x03 0x81 0x06 0xc0 0xc0><)%u018%u>
usbconfig -u 0 -a 2 do_request 0x81 0x06 0x2200 1 0x100
REQUEST = <0x05 0x01 0x09 0x02 0xa1 0x01 0x09 0x01 0xa1 0x00 0x05
0x09 0x19 0x01 0x29 0x03 0x15 0x00 0x25 0x01 0x95 0x03 0x75 0x01 0x81
0x02 0x95 0x05 0x81 0x03 0x05 0x01 0x09 0x30 0x09 0x31 0x09 0x38 0x15
0x81 0x25 0x7f 0x75 0x08 0x95 0x03 0x81 0x06 0xc0 0xc0><)%u018%u>
I hope that you will be able to get a fix for me too :)
Thank you,
Dan
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
