Today I have Slackware 9.1 currently with the default 2.4.22 kernel. My CMOS has "Plug and Play OS" - NO.
I can't remember why, but when I first started using Linux last year I read it needs to be that way, so it is. I've also read that Windoze needs it to say Plug and Play, but I have both W2K and WXP on another drive and it didn't effect them, either. Just for the record my mobo is an Asus P4PE.
First, I just plugged my scanner in, then opened a terminal and got this output:
Code:
bash-2.05b# lsusb
Unknown line at line 1809
Duplicate HUT Usage Spec at line 2650
Bus 004 Device 001: ID 0000:0000 Virtual Hub
Bus 003 Device 001: ID 0000:0000 Virtual Hub
Bus 003 Device 002: ID 045e:0059 Microsoft Corp.
Bus 002 Device 001: ID 0000:0000 Virtual Hub
Bus 002 Device 002: ID 058f:9254 Alcor Micro, Inc. Hub
Bus 002 Device 004: ID 046d:c309 Logitech Inc.
Bus 002 Device 005: ID 05da:30d9 Microtek International Inc. <--- my scanner
Bus 002 Device 006: ID 0ed1:6680
Bus 002 Device 003: ID 03f0:1504 Hewlett-Packard
Bus 001 Device 001: ID 0000:0000 Virtual Hub
Bus 001 Device 002: ID 05e3:0702 Genesys Logic, Inc.
bash-2.05b#
It's my understanding that this is what's considered "plug and play," meaning the OS detects an USB device when it's plugged in without any intervention by the user. And just so I could tell you, I also rebooted and got the identical output.
You should check three things, AFAIK.
(1) How is hotplug setup on your system?
bash-2.05b$ man hotplug
Quote:
is a program which is used by the kernel to notify user mode software when some significant
(usually hardware-related) events take place. An example is when a USB or Cardbus device
has just been plugged in. This is useful for automatically loading and setting up drivers,
packaged either as kernel modules or as user mode programs.
|
If you don't understand about hotplug, read that man page. It's self-explanatory.
(2) Does your kernel have hotplug support?
Code:
bash-2.05b$ cat /usr/src/linux/.config | less
scroll until you get to this section -->
# PCI Hotplug Support
#
CONFIG_HOTPLUG_PCI=m
I think that line is all that's important
(3) Do you have the module for your scanner? Check your kernel config file
Code:
bash-2.05b$ cat /usr/src/linux/.config | less
scroll until you get to this section -->
# USB support
#
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set
CONFIG_USB_DEVICEFS=y
<snip, snip>
CONFIG_USB_SCANNER=m
CONFIG_USB_MICROTEK=m
<snip, snip>
and if it's not there, then look here:
Code:
bash-2.05b$ cat /etc/rc.d/rc.modules
<snip, snip>
### USB device support:
# (Note that once you've loaded USB hub support most USB devices will
# trigger the kernel to load their modules automatically)
<snip, snip>
# USB scanner support (requires patched SANE from http://fachschaft.cup.uni-muenchen.d...m/scanner.html):
#/sbin/modprobe scanner
<snip, snip>
You may try that line if you don't have support in the kernel for your scanner.
However, if it was detected before, then there's something else amiss. I'm not experienced enough to tell you why the device would disappear just by changing plug and play in the CMOS.