Re: SH-D163C

From: Justin P. Mattock
Date: Sat Jul 03 2010 - 14:31:27 EST


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@xxxxxxxxxxxxxxx
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
--
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/