lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 15 Mar 2007 21:54:46 -0400 (EDT)
From:	Alan Stern <stern@...land.harvard.edu>
To:	"linux-os (Dick Johnson)" <linux-os@...logic.com>
cc:	Dmitry Torokhov <dmitry.torokhov@...il.com>,
	Linux kernel <linux-kernel@...r.kernel.org>,
	<linux-usb-devel@...ts.sourceforge.net>
Subject: Re: [linux-usb-devel] USB Keyboard

On Thu, 15 Mar 2007, linux-os (Dick Johnson) wrote:

> It's not the same hardware and all the machines that I tried that
> have keyboards end up WORKING with the USB keyboard as well!  But
> Dmitry Torokhov was right! I just burned a CD with all three modules,
> and the keyboard works! I didn't bother to check the DEBUG messages.

Congratulations.  Sometimes these problems have easy solutions.  :-)

> It's interesting that the "wrong" module loaded fine with no warnings
> that it might not be the correct one!

There's no warning because the driver doesn't know anything is wrong.  
Even though it may not find any devices to manage when it first gets 
loaded, there's nothing to prevent you adding, for example, a PC-card with 
a USB controller on it at some later time.

That's true in general for most Linux drivers.  (The ones that aren't
platform-specific, anyway.)  They don't look for devices to manage at load
time; instead the driver core calls their probe() routine later on.  
Consequently drivers can't tell at load time whether there will be any
useful work for them to do.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ