Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#81 closed defect (fixed)

USB attached Mouse & keyboard work randomly

Reported by: Barry Landy Owned by:
Priority: minor Component: basedrv
Version: 10.197 Keywords:
Cc: bl10@…

Description

Running ECS21 with all the latest drivers from Arca Noae, especially USB11.08

system: Intel mobo: DQ67OW

mouse and keyboard are normally attached to a hub.

After boot, they sometimes both work; sometimes one works; sometimes neither works. If they dont work, sometimes replugging to a different port in the hub causes the mouse or kbd to be recognised. If that doesnt work, plugging mouse&kbd into usb slots on the box usually (but not always) gets them to work.

Attachments (9)

Config.Sys (8.4 KB) - added by Barry Landy 9 years ago.
blandy.zip (137.8 KB) - added by Lars Erdmann 9 years ago.
usbd.zip (18.9 KB) - added by Lars Erdmann 9 years ago.
remove delay after setting config and before calling client drivers
usbd.2.zip (18.9 KB) - added by Lars Erdmann 9 years ago.
resetting status stalled bit on resuming operation after a pipe stall
blandy.2.zip (137.8 KB) - added by Lars Erdmann 9 years ago.
hid driver: change stalled pipe handling just like USBD.SYS
blandy.3.zip (203.7 KB) - added by Lars Erdmann 9 years ago.
add updated USBMSD.ADD
blandy.4.zip (137.8 KB) - added by Lars Erdmann 9 years ago.
changed USBD on device descriptor read: specify 64 bytes to read
blandy.5.zip (205.0 KB) - added by Lars Erdmann 9 years ago.
test USBD.SYS, updated USBCOM.SYS + USBPRT.SYS
blandy.6.zip (18.8 KB) - added by Lars Erdmann 9 years ago.

Download all attachments as: .zip

Change History (37)

comment:1 Changed 9 years ago by Barry Landy

I appreciate you do not debug 11.xx versions. Quite happy to revert to 10.xxx versions.

11.05 (as supplied on the ECS22 beta DVD also fails in the same manner

comment:2 Changed 9 years ago by Barry Landy

Now switched back to 10.197 which was in use before I went to 11.08 precisely because of these effects.

I have attached config.sys

Changed 9 years ago by Barry Landy

Attachment: Config.Sys added

comment:3 Changed 9 years ago by Lars Erdmann

Resolution: invalid
Status: newclosed

Please report issues with the 11.xx versions on the Arca Noae bug tracker.

If 10.197 works for you then you could mention that.

comment:4 Changed 9 years ago by Barry Landy

You misunderstood what I meant. "precisely because of these effects" meant that 10.197 was suffering this problem and I changed to 11.08 to see if it worked better (no, it works worse!).

SO this ticket is for the occasional failure to start the USB attached mouse and/or keyboard (usually in an external hub) in version 10.197.

Last edited 9 years ago by Barry Landy (previous) (diff)

Changed 9 years ago by Lars Erdmann

Attachment: blandy.zip added

comment:5 Changed 9 years ago by Barry Landy

Resolution: invalid
Status: closedreopened

comment:6 Changed 9 years ago by Barry Landy

blandy.zip made matters worse (sorry)!. Two attempts with the mouse/kbd in a hub and one attached to root, and they did not work any time. version 197 restored.

Last edited 9 years ago by Barry Landy (previous) (diff)

Changed 9 years ago by Lars Erdmann

Attachment: usbd.zip added

remove delay after setting config and before calling client drivers

comment:7 Changed 9 years ago by Barry Landy

new version of USBD.SYS no improvement. Current state is that with all the modules from blandy.zip EXCEPT USBD.SYS which is from USB197 mouse & Keyboard work OK from hub and from root; with either new USBD.SYS M/K work from neither.

comment:8 Changed 9 years ago by Barry Landy

Cc: bl10@… added

Changed 9 years ago by Lars Erdmann

Attachment: usbd.2.zip added

resetting status stalled bit on resuming operation after a pipe stall

comment:9 Changed 9 years ago by Lars Erdmann

Try usbd2.zip. If you hear a beep that means that your hubs has problems on its change notification pipe (detecting device attach or detach and such). Most likely this is what is happening on your external hub.

If you heard beeps already with older versions that would mean that your hub has an overcurrent condition (for whatever reason). If that is true, use as little devices as possible on that hub.

comment:10 Changed 9 years ago by Barry Landy

Sorry: no improvement.

The only beeps I hear when the hub is working are when a device is unplugged or replugged and I assume that comes from the USB system telling me that something is happening.

I hear no beeps with the usbd.sys from usbd.2.zip

Changed 9 years ago by Lars Erdmann

Attachment: blandy.2.zip added

hid driver: change stalled pipe handling just like USBD.SYS

comment:11 Changed 9 years ago by Lars Erdmann

Try blandy.2.zip. Take at least USBHID and USBD from that package. The rest remains unchanged from 10.198.

By the way: it sometimes helps to completely shut down and power down the system and then to restart.

Changed 9 years ago by Lars Erdmann

Attachment: blandy.3.zip added

add updated USBMSD.ADD

comment:12 Changed 9 years ago by Lars Erdmann

Also do this: REM out USBMSD.ADD from config.sys and see if that makes a difference

Also try the USBMSD.ADD from blandy.3.zip (in short: use all of blandy.3.zip, compared to blandy.2.zip it adds USBMSD.ADD).

comment:13 Changed 9 years ago by Barry Landy

None of the above seem to have improved things. I did a lot of tests which was quie complicated.

I seem to have left the USBMSD for blandy.3 in use and that seemed OK....

(I did power down occasionally which seemed to make no difference)

comment:14 Changed 9 years ago by Lars Erdmann

One question: are your USB mouse and Keyboard rather old or rather new ? Are these 2 physically separate devices or a "common" device like a USB attached IR Receiver that handles IR mouse and IR Keyboard ?

comment:15 Changed 9 years ago by Lars Erdmann

One more question: does the 11.08 USBD.SYS also completely fail,that is your USB mouse and Keyboard do also not work no matter if you plug them into an external hub or a root hub ?

comment:16 Changed 9 years ago by Barry Landy

USB mouse and Keyboard are not new but I do not recall exactly when I bought them; probably around 2011. They are two physically separate standard USB; no IR involved.

11.08 does not completely fail; my bug report says it works randomly (and certainly less well than 10.167).

I do not recall how well it works if both mouse & keyboard are initially plugged into root hub.

I could experiment again (later) and could try 1108 with the 10.167 USBD.

comment:17 Changed 9 years ago by Barry Landy

1108 retested. Works 2 out of 2 when connected to root hub.

Changed 9 years ago by Lars Erdmann

Attachment: blandy.4.zip added

changed USBD on device descriptor read: specify 64 bytes to read

comment:18 Changed 9 years ago by Lars Erdmann

try USBD.SYS from blandy.4.zip. I reverted some change I made from 10.197 to 10.198 but I did not do it correctly. But now I went back to what I had in 10.197.

comment:19 Changed 9 years ago by Barry Landy

I did some further tests (before reading above) and confirmed things not working!

I realised I had NOT tested the new USBMSD. Did so and it did not seem good. I got a strange message "mouse battery empty"; AFAIK the mouse does not have a battery; anyway the light was shining brightly....

comment:20 Changed 9 years ago by Barry Landy

Tested blandy.4. after a power off reboot worked OK (before the power off there were some oddities in that and other "working" versions).

I have NOT retested the new USBMSD.ADD

comment:21 Changed 9 years ago by Lars Erdmann

Ignore USBMSD.ADD for the time being and revert back to the USBMSD version 10.162. USBMSD.ADD is heavily under construction right now and I still need some time to get it into shape.

Use all other drivers I sent to you and observe if the system is sufficiently stable for the next couple of weeks or so. Report if you still have issues.

Changed 9 years ago by Lars Erdmann

Attachment: blandy.5.zip added

test USBD.SYS, updated USBCOM.SYS + USBPRT.SYS

comment:22 Changed 9 years ago by Lars Erdmann

Test blandy.5.zip. The best would be to backup all your USB files and just unzip this zip over it. Have a look of what the zip contains.
I'd like to check an updated USBD.SYS but USBCOM.SYS and USBPRT.SYS have also been updated.
Let me know the results (traps, hangs, or to the better). If the system hangs, replace USBD.SYS by the backupped driver and let me know if that fixes the hang.

comment:23 Changed 9 years ago by Barry Landy

Trying this latest version of USB198 suite as requested (in both ECS21 and 22).

After needing one cold boot seems to be working well.

Changed 9 years ago by Lars Erdmann

Attachment: blandy.6.zip added

comment:24 Changed 9 years ago by Lars Erdmann

Could you try blandy.6.zip ? I had to backout some stuff in USBD.SYS (I might be able to put it back in).

comment:25 Changed 8 years ago by Lars Erdmann

Resolution: fixed
Status: reopenedclosed

fixed in 10.200 (to be released)

comment:26 Changed 8 years ago by Barry Landy

Well done. That took a lot of work. Thank you.

comment:27 Changed 8 years ago by Yuri Dario

I have the same issue, I'm using 10.200 drivers (maybe a too old prerelease?). It seems to happen more frequently when rebooting from ubuntu or windows, or when a hub is used to connect keyboard and mouse. While the USB drivers are loading at boot time, using usbdock shows no devices connected to system.

comment:28 Changed 8 years ago by Lars Erdmann

Version: 10.197
Note: See TracTickets for help on using tickets.