Re: SH-D163C

From: Justin P. Mattock
Date: Sun Jul 04 2010 - 01:09:12 EST


On 07/03/2010 07:46 PM, Jacek Poplawski wrote:
On Sun, Jul 4, 2010 at 2:07 AM, Justin P. Mattock
<justinmattock@xxxxxxxxx> wrote:
The problem is that it really is a DVD-ROM:
http://www.google.com/search?q=%22SH-D163C%22+site%3Asamsung.com

You are right, now I understand why it was so cheap :) Sorry :)

so creating a patch is not worth it then!?.. was hoping you did..

It works as a DVD reader without problems, I was just wondering why I
can't burn anything :)
Sorry again.


no reason to say sorry.. as for not burning tough to say, could be software cdio, dvdrw-tools, etc... but then again could be kernel. heres what I came up with(keep in mind mind could be totally wrong)

_totally_ _un-tested_



From b95d7b285344300b850112eb2777611fb8bae248 Mon Sep 17 00:00:00 2001
From: Justin P. Mattock <justinmattock@xxxxxxxxx>
Date: Sat, 3 Jul 2010 11:23:19 -0700
Subject: [PATCH] SH-D163C

Signed-off-by: Justin P. Mattock <justinmattock@xxxxxxxxx>

---
drivers/ata/libata-core.c | 1 +
drivers/ide/ide-iops.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index ddf8e48..22c99f2 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4304,6 +4304,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
{ "QUANTUM FIREBALLlct10 05", "A03.0900", ATA_HORKAGE_IVB, },
/* Maybe we should just blacklist TSSTcorp... */
{ "TSSTcorp CDDVDW SH-S202H", "SB00", ATA_HORKAGE_IVB, },
+ { "TSSTcorp CDDVDW SH-D163C", "SB00", ATA_HORKAGE_IVB, },
{ "TSSTcorp CDDVDW SH-S202H", "SB01", ATA_HORKAGE_IVB, },
{ "TSSTcorp CDDVDW SH-S202J", "SB00", ATA_HORKAGE_IVB, },
{ "TSSTcorp CDDVDW SH-S202J", "SB01", ATA_HORKAGE_IVB, },
diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c
index 376f2dc..70a6bd6 100644
--- a/drivers/ide/ide-iops.c
+++ b/drivers/ide/ide-iops.c
@@ -212,6 +212,7 @@ static const struct drive_list_entry ivb_list[] = {
{ "QUANTUM FIREBALLlct10 05" , "A03.0900" },
{ "QUANTUM FIREBALLlct20 30" , "APL.0900" },
{ "TSSTcorp CDDVDW SH-S202J" , "SB00" },
+ { "TSSTcorp CDDVDW SH-D163C" , "SB00" },
{ "TSSTcorp CDDVDW SH-S202J" , "SB01" },
{ "TSSTcorp CDDVDW SH-S202N" , "SB00" },
{ "TSSTcorp CDDVDW SH-S202N" , "SB01" },
--
1.6.5.2.180.gc5b3e


keep in mind something might need to be added, and/or this is totally wrong and the kernel already supports your device, and your hitting something with userpspace etc..

hope this gets you up and running..

Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/