2004-03-02 06:02:51

by Randy.Dunlap

[permalink] [raw]
Subject: Re: [2.6.x] USB Zip drive kills ps2 mouse.

| From: walt
| To: Linux Kernel <[email protected]>
| Subject: [2.6.x] USB Zip drive kills ps2 mouse.
|
|
| Could I ask anyone with a USB Zip drive and a ps2 mouse to try
| to confirm this bizarre bug for me?
|
| To reproduce it should be simple:
|
| 1) Compile USB support as modular, *not* compiled in.
|
| 2) The USB Zip drive *must* be plugged in during boot.
| This bug won't show if you plug in the drive later.
|
| 3) Reboot and see if your ps2 mouse works.

Hi,

I'm not seeing a problem with this. I'm using 2.6.4-rc1.

However, you didn't mention what modules were being loaded
automatically, so we could have a difference in that area.
If you care to specify a module list, I can test it again.

And is your USB Zip drive on a UHCI or OHCI controller?
I have both, so I can test it either way.

--
~Randy


2004-03-03 00:43:19

by walt

[permalink] [raw]
Subject: Re: [2.6.x] USB Zip drive kills ps2 mouse.

Randy.Dunlap wrote:
> | From: walt
> | To: Linux Kernel <[email protected]>
> | Subject: [2.6.x] USB Zip drive kills ps2 mouse.
> |
> |
> | Could I ask anyone with a USB Zip drive and a ps2 mouse to try
> | to confirm this bizarre bug for me?
> |
> | To reproduce it should be simple:
> |
> | 1) Compile USB support as modular, *not* compiled in.
> |
> | 2) The USB Zip drive *must* be plugged in during boot.
> | This bug won't show if you plug in the drive later.
> |
> | 3) Reboot and see if your ps2 mouse works.
>
> Hi,
>
> I'm not seeing a problem with this. I'm using 2.6.4-rc1.
>
> However, you didn't mention what modules were being loaded
> automatically, so we could have a difference in that area.
> If you care to specify a module list, I can test it again.
>
> And is your USB Zip drive on a UHCI or OHCI controller?
> I have both, so I can test it either way.

I've narrowed it down to the uhci_hcd module -- all the rest can
be compiled in or as modules, doesn't matter.

Just in case I was vague: the Zip drive works great regardless --
it's only the ps2 mouse which is affected by this weird problem.
No cursor movement at all if the Zip is plugged in during boot.

ASUS A7V8X mobo, in case it matters:
00:10.0 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)

Things that make no difference to this problem: ACPI, PnP, udev versus devfs.
I'm also using 2.6.4-rc1. I have not tested for this bug on any 2.6.x prior
to a week ago, but I have tried recent 2.4.x kernels and I do not see this bug
with them.

Thanks for any suggestions!

2004-03-05 20:49:31

by Jamie Lokier

[permalink] [raw]
Subject: Re: [2.6.x] USB Zip drive kills ps2 mouse.

> I've narrowed it down to the uhci_hcd module -- all the rest can
> be compiled in or as modules, doesn't matter.
>
> Just in case I was vague: the Zip drive works great regardless --
> it's only the ps2 mouse which is affected by this weird problem.
> No cursor movement at all if the Zip is plugged in during boot.

I don't know if it's related, but whenever I load the uhci_hcd module
on my laptop, or whenever I plug in a USB device while that module is
loaded (sorry, I forget which and can't test it now) - the floppy disk
motor and light are turned on for a couple of seconds!

Now, why would a USB event trigger the floppy disk motor? It doesn't
happen with 2.4, and it doesn't happen on my desktop machine which is
OHCI+EHCI.

Perhaps the uhci_hcd driver is trampling on some ISA I/O port that it
shouldn't be, which is causing both my floppy motor oddity and your
mouse problem?

-- Jamie

2004-03-05 21:13:35

by Alan Stern

[permalink] [raw]
Subject: Re: [linux-usb-devel] Re: [2.6.x] USB Zip drive kills ps2 mouse.

On Fri, 5 Mar 2004, Jamie Lokier wrote:

> > I've narrowed it down to the uhci_hcd module -- all the rest can
> > be compiled in or as modules, doesn't matter.
> >
> > Just in case I was vague: the Zip drive works great regardless --
> > it's only the ps2 mouse which is affected by this weird problem.
> > No cursor movement at all if the Zip is plugged in during boot.
>
> I don't know if it's related, but whenever I load the uhci_hcd module
> on my laptop, or whenever I plug in a USB device while that module is
> loaded (sorry, I forget which and can't test it now) - the floppy disk
> motor and light are turned on for a couple of seconds!
>
> Now, why would a USB event trigger the floppy disk motor? It doesn't
> happen with 2.4, and it doesn't happen on my desktop machine which is
> OHCI+EHCI.
>
> Perhaps the uhci_hcd driver is trampling on some ISA I/O port that it
> shouldn't be, which is causing both my floppy motor oddity and your
> mouse problem?
>
> -- Jamie

No, the uhci-hcd driver isn't stepping on any extraneous ISA I/O ports.

Walt's problem was the result of a buggy BIOS, and turning off legacy USB
support in the BIOS fixed it. Maybe your problem is similar, though it's
hard to imagine how.

I've got 3 computers with UHCI controllers. On none of them does a USB
event cause the floppy disk drive to do anything.

Alan Stern