LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-09-2004, 05:56 PM   #1
maqelgav
LQ Newbie
 
Registered: Jun 2004
Distribution: slackware91
Posts: 6

Rep: Reputation: 0
Question usb devices without "plug and play OS" in the bios?


hello,

i had to turn off the "plug and play OS" in my bios in order to detect an ethernet card using FreeBSD.

Now, my usb-scanner is no more detected by linux. What should I fix in linux in order to specify the location of my scanner?

thanks for your suggestions.
 
Old 06-09-2004, 08:13 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Your sig says Slackware 9.1 - are you asking this question for the running of Slack,
or you asking it for the running of FreeBSD?
 
Old 06-10-2004, 12:34 AM   #3
maqelgav
LQ Newbie
 
Registered: Jun 2004
Distribution: slackware91
Posts: 6

Original Poster
Rep: Reputation: 0
Smile

sorry for being unclear,

actually i'm asking it for slack & free.

But i think that if i know how to do it with slack i will be able to do it with free too.

thanks
 
Old 06-11-2004, 06:00 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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.

Last edited by Bruce Hill; 06-11-2004 at 08:12 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configuring isa "ESS ES1869 Plug ans Play Audiodrive" bb002 Linux - Hardware 3 11-24-2005 09:30 PM
error message when pressing "Next" "BIOS Problems" , help ! HeRCuLeSX Fedora 3 07-21-2004 02:37 PM
Cds Won"t Play On Other Devices Otis Linux - Newbie 2 07-19-2004 12:41 AM
Writing to "/dev/usb/hiddev*" and to "/proc/bus/usb/00B/00S" throw an arror EI stpg Programming 0 07-14-2004 05:44 AM
How "plug and play" is Linux? Dog and Pony Linux - Software 4 01-30-2002 06:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration