From: Thomas Maguin <T.Maguin@web.de>
To: linux-scsi@vger.kernel.org
Subject: Re: Plextor PowerRec for users
Date: Sun, 12 Feb 2006 19:47:25 +0100 [thread overview]
Message-ID: <200602121947.36199.T.Maguin@web.de> (raw)
In-Reply-To: <20060212165327.GG12822@parisc-linux.org>
[-- Attachment #1: Type: text/plain, Size: 1408 bytes --]
This patch allows to normal users on Plextor drives:
- Hide CD-R
- SingleSession
- SpeedRead
- PowerRec
- VariRec
- GigaRec
Can be tested with new qpxtool (testing version available here):
http://de.geocities.com/linux_piewie/download/qpxtool-testing.tgz
--- linux/include/scsi/old-scsi.h 2006-02-12 16:15:40.000000000 +0100
+++ linux/include/scsi/scsi.h 2006-02-12 17:23:20.000000000 +0100
@@ -108,7 +108,11 @@
#define SEARCH_LOW_12 0xb2
#define READ_ELEMENT_STATUS 0xb8
#define SEND_VOLUME_TAG 0xb6
+#define PLEXTOR_MODE 0xe9
#define WRITE_LONG_2 0xea
+#define PLEXTOR_PREC_SPEEDS 0xeb
+#define PLEXTOR_MODE2 0xed
+
#define READ_16 0x88
#define WRITE_16 0x8a
#define VERIFY_16 0x8f
--- linux/drivers/block/old-scsi_ioctl.c 2006-02-12 16:23:37.000000000
+0100
+++ linux/drivers/block/scsi_ioctl.c 2006-02-12 16:25:31.000000000 +0100
@@ -159,7 +159,10 @@
safe_for_read(GPCMD_GET_PERFORMANCE),
safe_for_read(GPCMD_SEEK),
safe_for_read(GPCMD_STOP_PLAY_SCAN),
-
+ safe_for_read(PLEXTOR_MODE),
+ safe_for_read(PLEXTOR_PREC_SPEEDS),
+ safe_for_read(PLEXTOR_MODE2),
+
/* Basic writing commands */
safe_for_write(WRITE_6),
safe_for_write(WRITE_10),
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-02-12 18:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-12 16:18 Plextor PowerRec for users Thomas Maguin
2006-02-12 16:53 ` Matthew Wilcox
2006-02-12 18:47 ` Thomas Maguin [this message]
[not found] ` <200602121835.44430.T.Maguin@web.de>
2006-02-12 19:10 ` Matthew Wilcox
2006-02-12 19:36 ` Matthias Andree
-- strict thread matches above, loose matches on Subject: below --
2006-02-12 15:13 Thomas Maguin
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=200602121947.36199.T.Maguin@web.de \
--to=t.maguin@web.de \
--cc=linux-scsi@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 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.