linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: "Cold"-plugging my printer
Date: Tue, 06 Mar 2001 16:03:39 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-98389484307416@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-98385565702908@msgid-missing>

> I've got an Epson Stylus Photo 870 USB printer.  If I turn it on when my
> system's already booted up, the USB hot-plugging scripts do all the
> right things and load the appropriate drivers and all's well.  OTOH, if
> the printer's already on when I power up my system, the printer isn't
> noticed and I either have to power-cycle my printer or load the printer
> module by hand.  

I'd guess that the OS is doing some USB initialization a little strange,
so that the "cold"-plugging code can't work.  I've seen similar problems
when OS init scripts don't mount "usbdevfs" before they modprobe
the host controller drivers.

Or there could be something wrong in the boot-time init code, so that
a bit of shell script debugging is in order on your system.  Maybe you
can boot in single-user mode and "sh -x /etc/hotplug/usb.rc start" to
watch what it's doing wrong!  (Called by "/etc/rc.d/init.d/hotplug start",
as Greg suggested.)

- Dave



_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

  parent reply	other threads:[~2001-03-06 16:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-06  5:14 "Cold"-plugging my printer Pete Toscano
2001-03-06  6:33 ` Greg KH
2001-03-06 16:03 ` David Brownell [this message]
2001-03-07  2:26 ` Pete Toscano
2001-03-07  3:09 ` Pete Toscano
2001-03-07  3:38 ` David Brownell
2001-03-07  4:32 ` Pete Toscano
2001-03-07  6:09 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-hotplug-98389484307416@msgid-missing \
    --to=david-b@pacbell.net \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).