All of lore.kernel.org
 help / color / mirror / Atom feed
* SH-D163C
@ 2010-07-03 18:07 Jacek Poplawski
  2010-07-03 18:31 ` SH-D163C Justin P. Mattock
  2010-07-03 21:02 ` SH-D163C Ondrej Zary
  0 siblings, 2 replies; 9+ messages in thread
From: Jacek Poplawski @ 2010-07-03 18:07 UTC (permalink / raw)
  To: linux-kernel

Hello,

I bought new DVD burner and looks like I can't burn anything, because
media is not recognized as burner.

In logs I see:
ata5.00: ATAPI: TSSTcorpDVD-ROM SH-D163C, SB00, max UDMA/100
scsi 4:0:0:0: CD-ROM            TSSTcorp DVD-ROM SH-D163C SB00 PQ: 0 ANSI: 5

Is this burner supported by kernel?
If not, could you give me any hints how to add it at source code
level? I assume it's a matter of adding new ID to some list? :)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: SH-D163C
  2010-07-03 18:07 SH-D163C Jacek Poplawski
@ 2010-07-03 18:31 ` Justin P. Mattock
  2010-07-03 21:02 ` SH-D163C Ondrej Zary
  1 sibling, 0 replies; 9+ messages in thread
From: Justin P. Mattock @ 2010-07-03 18:31 UTC (permalink / raw)
  To: Jacek Poplawski; +Cc: linux-kernel

On 07/03/2010 11:07 AM, Jacek Poplawski wrote:
> Hello,
>
> I bought new DVD burner and looks like I can't burn anything, because
> media is not recognized as burner.
>
> In logs I see:
> ata5.00: ATAPI: TSSTcorpDVD-ROM SH-D163C, SB00, max UDMA/100
> scsi 4:0:0:0: CD-ROM            TSSTcorp DVD-ROM SH-D163C SB00 PQ: 0 ANSI: 5
>
> Is this burner supported by kernel?
> If not, could you give me any hints how to add it at source code
> level? I assume it's a matter of adding new ID to some list? :)
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

not sure what/where is anything for the device, let alone if it's just a 
pci id that needs to be added to get it working..
git grep shows this:


git grep -n TSSTcorp
drivers/ata/libata-core.c:4305: /* Maybe we should just blacklist 
TSSTcorp... */
drivers/ata/libata-core.c:4306: { "TSSTcorp CDDVDW SH-S202H", "SB00", 
   ATA_HORKAGE_IVB, },
drivers/ata/libata-core.c:4307: { "TSSTcorp CDDVDW SH-S202H", "SB01", 
   ATA_HORKAGE_IVB, },
drivers/ata/libata-core.c:4308: { "TSSTcorp CDDVDW SH-S202J", "SB00", 
   ATA_HORKAGE_IVB, },
drivers/ata/libata-core.c:4309: { "TSSTcorp CDDVDW SH-S202J", "SB01", 
   ATA_HORKAGE_IVB, },
drivers/ata/libata-core.c:4310: { "TSSTcorp CDDVDW SH-S202N", "SB00", 
   ATA_HORKAGE_IVB, },
drivers/ata/libata-core.c:4311: { "TSSTcorp CDDVDW SH-S202N", "SB01", 
   ATA_HORKAGE_IVB, },
drivers/ide/ide-iops.c:214:     { "TSSTcorp CDDVDW SH-S202J"    , "SB00" 
        },
drivers/ide/ide-iops.c:215:     { "TSSTcorp CDDVDW SH-S202J"    , "SB01" 
        },
drivers/ide/ide-iops.c:216:     { "TSSTcorp CDDVDW SH-S202N"    , "SB00" 
        },
drivers/ide/ide-iops.c:217:     { "TSSTcorp CDDVDW SH-S202N"    , "SB01" 
        },
drivers/ide/ide-iops.c:218:     { "TSSTcorp CDDVDW SH-S202H"    , "SB00" 
        },
drivers/ide/ide-iops.c:219:     { "TSSTcorp CDDVDW SH-S202H"    , "SB01" 
        },
drivers/ide/ide-iops.c:259:             if (strstr(model, "TSSTcorp 
CDDVDW SH-S202")) {


I put together a patch, with the info you supplied(not sure if it 
works), but since you want to have a go at it, I wont send it out, and 
let you hack at it!!

hope this helps..

Justin P Mattock

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: SH-D163C
  2010-07-03 18:07 SH-D163C Jacek Poplawski
  2010-07-03 18:31 ` SH-D163C Justin P. Mattock
@ 2010-07-03 21:02 ` Ondrej Zary
  2010-07-03 23:47   ` SH-D163C Jacek Poplawski
  1 sibling, 1 reply; 9+ messages in thread
From: Ondrej Zary @ 2010-07-03 21:02 UTC (permalink / raw)
  To: Jacek Poplawski; +Cc: linux-kernel

On Saturday 03 July 2010 20:07:46 Jacek Poplawski wrote:
> Hello,
>
> I bought new DVD burner and looks like I can't burn anything, because
> media is not recognized as burner.
>
> In logs I see:
> ata5.00: ATAPI: TSSTcorpDVD-ROM SH-D163C, SB00, max UDMA/100
> scsi 4:0:0:0: CD-ROM            TSSTcorp DVD-ROM SH-D163C SB00 PQ: 0 ANSI:
> 5
>
> Is this burner supported by kernel?
> If not, could you give me any hints how to add it at source code
> level? I assume it's a matter of adding new ID to some list? :)

The problem is that it really is a DVD-ROM:
http://www.google.com/search?q=%22SH-D163C%22+site%3Asamsung.com


-- 
Ondrej Zary

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: SH-D163C
  2010-07-03 21:02 ` SH-D163C Ondrej Zary
@ 2010-07-03 23:47   ` Jacek Poplawski
  2010-07-04  0:07     ` SH-D163C Justin P. Mattock
  0 siblings, 1 reply; 9+ messages in thread
From: Jacek Poplawski @ 2010-07-03 23:47 UTC (permalink / raw)
  To: Ondrej Zary; +Cc: linux-kernel

On Sat, Jul 3, 2010 at 11:02 PM, Ondrej Zary <linux@rainbow-software.org> 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 :)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: SH-D163C
  2010-07-03 23:47   ` SH-D163C Jacek Poplawski
@ 2010-07-04  0:07     ` Justin P. Mattock
  2010-07-04  2:46       ` SH-D163C Jacek Poplawski
  0 siblings, 1 reply; 9+ messages in thread
From: Justin P. Mattock @ 2010-07-04  0:07 UTC (permalink / raw)
  To: Jacek Poplawski; +Cc: Ondrej Zary, linux-kernel

On 07/03/2010 04:47 PM, Jacek Poplawski wrote:
> On Sat, Jul 3, 2010 at 11:02 PM, Ondrej Zary<linux@rainbow-software.org>  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 :)
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>


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

Justin P. Mattock

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: SH-D163C
  2010-07-04  0:07     ` SH-D163C Justin P. Mattock
@ 2010-07-04  2:46       ` Jacek Poplawski
  2010-07-04  5:09         ` SH-D163C Justin P. Mattock
  0 siblings, 1 reply; 9+ messages in thread
From: Jacek Poplawski @ 2010-07-04  2:46 UTC (permalink / raw)
  To: Justin P. Mattock; +Cc: Ondrej Zary, linux-kernel

On Sun, Jul 4, 2010 at 2:07 AM, Justin P. Mattock
<justinmattock@gmail.com> 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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: SH-D163C
  2010-07-04  2:46       ` SH-D163C Jacek Poplawski
@ 2010-07-04  5:09         ` Justin P. Mattock
  2010-07-04  5:38           ` SH-D163C Thomas Fjellstrom
  0 siblings, 1 reply; 9+ messages in thread
From: Justin P. Mattock @ 2010-07-04  5:09 UTC (permalink / raw)
  To: Jacek Poplawski; +Cc: Ondrej Zary, linux-kernel

On 07/03/2010 07:46 PM, Jacek Poplawski wrote:
> On Sun, Jul 4, 2010 at 2:07 AM, Justin P. Mattock
> <justinmattock@gmail.com>  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@gmail.com>
Date: Sat, 3 Jul 2010 11:23:19 -0700
Subject: [PATCH] SH-D163C

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

---
  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

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: SH-D163C
  2010-07-04  5:09         ` SH-D163C Justin P. Mattock
@ 2010-07-04  5:38           ` Thomas Fjellstrom
  2010-07-04  7:33             ` SH-D163C Justin P. Mattock
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas Fjellstrom @ 2010-07-04  5:38 UTC (permalink / raw)
  To: linux-kernel; +Cc: Justin P. Mattock, Jacek Poplawski, Ondrej Zary

On July 3, 2010, Justin P. Mattock wrote:
> On 07/03/2010 07:46 PM, Jacek Poplawski wrote:
> > On Sun, Jul 4, 2010 at 2:07 AM, Justin P. Mattock
> > 
> > <justinmattock@gmail.com>  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)

Apparently the drive in question isn't a DVDR/DVDRW. Just a plain old 
DVDROM.

> _totally_ _un-tested_
> 
> 
> 
>  From b95d7b285344300b850112eb2777611fb8bae248 Mon Sep 17 00:00:00 2001
> From: Justin P. Mattock <justinmattock@gmail.com>
> Date: Sat, 3 Jul 2010 11:23:19 -0700
> Subject: [PATCH] SH-D163C
> 
>   Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
> 
> ---
>   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"        },


-- 
Thomas Fjellstrom
tfjellstrom@strangesoft.net

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: SH-D163C
  2010-07-04  5:38           ` SH-D163C Thomas Fjellstrom
@ 2010-07-04  7:33             ` Justin P. Mattock
  0 siblings, 0 replies; 9+ messages in thread
From: Justin P. Mattock @ 2010-07-04  7:33 UTC (permalink / raw)
  To: Thomas Fjellstrom; +Cc: linux-kernel, Jacek Poplawski, Ondrej Zary

On 07/03/2010 10:38 PM, Thomas Fjellstrom wrote:
> On July 3, 2010, Justin P. Mattock wrote:
>> On 07/03/2010 07:46 PM, Jacek Poplawski wrote:
>>> On Sun, Jul 4, 2010 at 2:07 AM, Justin P. Mattock
>>>
>>> <justinmattock@gmail.com>   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)
>
> Apparently the drive in question isn't a DVDR/DVDRW. Just a plain old
> DVDROM.

what/where might the location be for this in the kernel?(im not familiar 
with where anything is in this area)

>
>> _totally_ _un-tested_
>>
>>
>>
>>   From b95d7b285344300b850112eb2777611fb8bae248 Mon Sep 17 00:00:00 2001
>> From: Justin P. Mattock<justinmattock@gmail.com>
>> Date: Sat, 3 Jul 2010 11:23:19 -0700
>> Subject: [PATCH] SH-D163C
>>
>>    Signed-off-by: Justin P. Mattock<justinmattock@gmail.com>
>>
>> ---
>>    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"        },
>
>

Justin P. Mattock

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-07-04  7:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-03 18:07 SH-D163C Jacek Poplawski
2010-07-03 18:31 ` SH-D163C Justin P. Mattock
2010-07-03 21:02 ` SH-D163C Ondrej Zary
2010-07-03 23:47   ` SH-D163C Jacek Poplawski
2010-07-04  0:07     ` SH-D163C Justin P. Mattock
2010-07-04  2:46       ` SH-D163C Jacek Poplawski
2010-07-04  5:09         ` SH-D163C Justin P. Mattock
2010-07-04  5:38           ` SH-D163C Thomas Fjellstrom
2010-07-04  7:33             ` SH-D163C Justin P. Mattock

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.