Update 3 scroll wheel no longer working

A forum for general AmigaOS 4.x support questions that are not platform-specific

Re: Update 3 scroll wheel no longer working

Postby sicky » Sat Sep 03, 2011 11:50 pm

Just to let you know after a hard reset everything was working fine, just don't know why it chose the wrong device/driver in the first place!
sicky
 
Posts: 6
Joined: Sun Jul 10, 2011 9:45 pm

Re: Update 3 scroll wheel no longer working

Postby 1mouse » Thu Sep 08, 2011 7:49 pm

ChrisH wrote:I don't have exactly the same problem, but I believe the cause is the same:

After my Sam440 finishes booting OS4.1u3, my KVM's mouse & keyboard simply don't work (or I only get Y-axis movement of mouse). I had similar (or possibly not so bad) problems with all earlier versions of OS4.1 too. The only way I solved it was by disabling bootmouse & bootkeyboard in Kicklayout. So given this part of the original Kicklayout:
MODULE Kickstart/hub.usbfd
MODULE Kickstart/bootmouse.usbfd
MODULE Kickstart/bootkeyboard.usbfd
MODULE Kickstart/massstorage.usbfd
MODULE Kickstart/uhci.usbhcd
MODULE Kickstart/ohci.usbhcd
MODULE Kickstart/ehci.usbhcd

I modified it to look like this:
MODULE Kickstart/hub.usbfd
;MODULE Kickstart/bootmouse.usbfd
;MODULE Kickstart/bootkeyboard.usbfd
MODULE Kickstart/massstorage.usbfd
MODULE Kickstart/uhci.usbhcd
MODULE Kickstart/ohci.usbhcd
MODULE Kickstart/ehci.usbhcd
;added hid to replace boot#?
MODULE Kickstart/hid.usbfd


Note that the new "hid" line has to be after some of the usb (uhci/etc) stuff or it doesn't work at all.


From the sound of it, the logic used to disable boot mouse/keyboard needs to be completely rewritten from scratch.



Tried all the MODULE amends listed above with no joy, Sam440ep boots to grey workbench screen with Ram and Work partitions. Workbench partition not shown.

Pointer displayed in top left of screen as normal pointer or timer randomly either way the computer is frozen
User avatar
1mouse
 
Posts: 5
Joined: Fri Jun 17, 2011 11:46 pm

Re: Update 3 scroll wheel no longer working

Postby 1mouse » Sat Sep 10, 2011 11:35 am

ChrisH wrote:I don't have exactly the same problem, but I believe the cause is the same:

After my Sam440 finishes booting OS4.1u3, my KVM's mouse & keyboard simply don't work (or I only get Y-axis movement of mouse). I had similar (or possibly not so bad) problems with all earlier versions of OS4.1 too. The only way I solved it was by disabling bootmouse & bootkeyboard in Kicklayout. So given this part of the original Kicklayout:
MODULE Kickstart/hub.usbfd
MODULE Kickstart/bootmouse.usbfd
MODULE Kickstart/bootkeyboard.usbfd
MODULE Kickstart/massstorage.usbfd
MODULE Kickstart/uhci.usbhcd
MODULE Kickstart/ohci.usbhcd
MODULE Kickstart/ehci.usbhcd

I modified it to look like this:
MODULE Kickstart/hub.usbfd
;MODULE Kickstart/bootmouse.usbfd
;MODULE Kickstart/bootkeyboard.usbfd
MODULE Kickstart/massstorage.usbfd
MODULE Kickstart/uhci.usbhcd
MODULE Kickstart/ohci.usbhcd
MODULE Kickstart/ehci.usbhcd
;added hid to replace boot#?
MODULE Kickstart/hid.usbfd


Note that the new "hid" line has to be after some of the usb (uhci/etc) stuff or it doesn't work at all.


From the sound of it, the logic used to disable boot mouse/keyboard needs to be completely rewritten from scratch.

EDIT: I had it pointed out to me that my instructions were incomplete. I forgot to say:
Delete SYS:Kickstart/bootkeyboard.usbfd and bootmouse.usbfd.
Delete DEVS:USB/fdclasses/bootkeyboard.fdclass and bootmouse.usbfd.
Move hid.usbfd from DEVS:USB/fd/ to SYS:Kickstart/



I tried this just now and still freezes, and no workbench partition shown.
User avatar
1mouse
 
Posts: 5
Joined: Fri Jun 17, 2011 11:46 pm

Re: Update 3 scroll wheel no longer working

Postby sba » Sat Sep 10, 2011 5:36 pm

ssolie wrote:
mrdarek wrote:well, I live in Poland and not have much money for sending mouse to Hyperion for testing. I suggest buing esperanza mouse EM-102 for test - it low end device and cheap. Google image give picture this mouse on string "ESPERANZA EM102K" - but I not have "K" letter - but mouse looking similar

I was thinking the other way around. Software is tad cheaper to send around. ;)


I cannot do so much without testing this myself. According to the log, the mouse sends more data than expected in the initial configuration phase. It may be that the ehci driver is more picky about this as the ohci driver is. In the second attempt (after "usbctrl start") it looks like the problem I described in my previous post. If this is true, it would be worth to try another USB 2.0 hub in-between.
sba
 
Posts: 4
Joined: Tue Aug 30, 2011 11:29 am

Re: Update 3 scroll wheel no longer working

Postby Daytona675x » Sun Oct 18, 2015 7:45 am

@ChrisH

ChrisH wrote:I don't have exactly the same problem, but I believe the cause is the same:
After my Sam440 finishes booting OS4.1u3, my KVM's mouse & keyboard simply don't work (or I only get Y-axis movement of mouse). I had similar (or possibly not so bad) problems with all earlier versions of OS4.1 too. The only way I solved it was by disabling bootmouse & bootkeyboard in Kicklayout. ...
Solution:
;MODULE Kickstart/bootmouse.usbfd
;MODULE Kickstart/bootkeyboard.usbfd
MODULE Kickstart/massstorage.usbfd
MODULE Kickstart/uhci.usbhcd
MODULE Kickstart/ohci.usbhcd
MODULE Kickstart/ehci.usbhcd
;added hid to replace boot#?
MODULE Kickstart/hid.usbfd


Man, thank you so much!
This has finally fixed all my super-annoying mouse/keyboard-loss issues on my sam460ex (and the lent sam440ep that's running here at the moment).
Setup here is: Logitech G11 keyboard and Cyborg RAT 9 mouse plus USB stick (for quick data transfer between multiple machines) on an Uniclass AL204 KVM.
Before that fix I most often had to manually unplug / replug the KVM's USB input connector after booting (and sometimes even that didn't help).
Since I applied your kicklayout-patch from above it never happened again :)
Warp3D driver code-basher and bug-smasher - btw.: driver writing is nothing mysterious
User avatar
Daytona675x
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 34
Joined: Wed Jan 22, 2014 6:18 pm
Location: Cologne, Germany

Previous

Return to General AmigaOS

Who is online

Users browsing this forum: No registered users and 1 guest