All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephan Leemburg <sleemburg@jvc.nl>
To: Joseph Garcia <jpgarcia@execpc.com>
Cc: Stephan Leemburg <pmud-bugs@jvc.nl>,
	"linuxppc-dev@lists.linuxppc.org"
	<linuxppc-dev@lists.linuxppc.org>
Subject: Re: powerbook hang from post-sleep cdrom access - fix
Date: Thu, 27 Jul 2000 09:16:16 +0200	[thread overview]
Message-ID: <397FE1BE.2416FE2@jvc.nl> (raw)
In-Reply-To: 397FE132.1690D2DD@execpc.com


Thanks!

I wil put the code also in pmud itself. This should in fact be done at
kernel level, so a patch will be needed for the current tree.

Joseph Garcia wrote:
>
> I think I have a fix to prevent a system hang when trying to access a cdrom
> after sleeping.  I have a small util "wakebay" that simply does a
> CDROM_MEDIA_CHANGED ioctl on a specified device.  I added a the line "wakebay
> /dev/hdc" to PMUD's wakeup script on my PDQ.  This seems to get the desired
> response from the drive, in that it locks the door and spins the disk when it
> should, and if its not there, mounted, or otherwise, does nothing.
>
> my code can be grabbed from http://www.execpc.com/~jpgarcia
>
> Can this be done automatically at the kernel level?
>
> Thanks.
>
> --
> Joseph P. Garcia      jpgarcia@execpc.com      jpgarcia@lidar.ssec.wisc.edu
> CS Undergraduate                      Student Employee - Systems Programmer
> University of Wisconsin - Madison                            UW Lidar Group

--
Stephan

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2000-07-27  7:16 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-27  7:13 powerbook hang from post-sleep cdrom access - fix Joseph Garcia
2000-07-27  7:16 ` Stephan Leemburg [this message]
2000-07-27  8:12   ` Joseph Garcia
2000-07-27 10:32     ` Benjamin Herrenschmidt
2000-07-27 17:46     ` Robert Thompson
2000-07-27  8:59 ` Michael Schmitz
2000-07-27 10:36   ` Benjamin Herrenschmidt
2000-07-27 12:12     ` Michael Schmitz
2000-07-27 13:12       ` Benjamin Herrenschmidt
2000-07-27 19:27         ` Michael Schmitz
2000-07-27 16:10       ` Joseph Garcia
2000-07-27 19:48         ` Michael Schmitz
2000-07-27 20:36           ` Joseph Garcia
2000-07-27 20:50             ` Michael Schmitz
2000-07-27 21:21               ` Benjamin Herrenschmidt

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=397FE1BE.2416FE2@jvc.nl \
    --to=sleemburg@jvc.nl \
    --cc=jpgarcia@execpc.com \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=pmud-bugs@jvc.nl \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.