linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* MATSHITADVD-ROM SR-8176
@ 2002-02-03 15:52 AMANO Kazuhiro
  2002-02-03 19:10 ` Bastien Nocera
  2002-02-03 19:39 ` Benjamin Herrenschmidt
  0 siblings, 2 replies; 5+ messages in thread
From: AMANO Kazuhiro @ 2002-02-03 15:52 UTC (permalink / raw)
  To: linuxppc-dev


I'm in trouble with MATSHITA DVD-ROM SR-8176 drive on iBook2
 under kernel-2.4.18-pre7-ben0.

First problem is in audio CD play. I'm using xmms-cdread-0.14a, but
I cannot get track list of CD and cannot play.

To solve this problem, I made a tiny patch:
--- linux/drivers/ide/ide-cd.c-ORIG	Mon Jan 28 20:20:31 2002
+++ linux/drivers/ide/ide-cd.c	Sun Feb  3 22:03:42 2002
@@ -2644,7 +2644,8 @@
 	 * but they do support reading TOC & audio datas
 	 */
 	if (strcmp (drive->id->model, "MATSHITADVD-ROM SR-8187") == 0 ||
-	    strcmp (drive->id->model, "MATSHITADVD-ROM SR-8186") == 0)
+	    strcmp (drive->id->model, "MATSHITADVD-ROM SR-8186") == 0 ||
+	    strcmp (drive->id->model, "MATSHITADVD-ROM SR-8176") == 0)
 		CDROM_CONFIG_FLAGS (drive)->audio_play = 1;

 #if ! STANDARD_ATAPI
---

Second problem is in DVD-video play. I'm using xine-0.4.3 or
vlc(videolan)-0.2.92, but I get only low performance.

In /var/log/messages, some errors were reported:
Feb  3 23:40:17 phaser kernel: hdb: DMA disabled
Feb  3 23:40:17 phaser kernel: hdb: command error: status=0x51 { DriveReady SeekComplete Error }
Feb  3 23:40:17 phaser kernel: hdb: command error: error=0x54
Feb  3 23:40:17 phaser kernel: end_request: I/O error, dev 03:40 (hdb), sector 369232

I can pass through this problem, by "hdparm -d1 -X34 /deb/hdb" to force
Multiword DMA 2 Mode. But this hdparm command sometimes cause hung up.

Both problem do not appear with ide-scsi driver.

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

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

* Re: MATSHITADVD-ROM SR-8176
  2002-02-03 15:52 MATSHITADVD-ROM SR-8176 AMANO Kazuhiro
@ 2002-02-03 19:10 ` Bastien Nocera
  2002-02-03 22:31   ` Michel Dänzer
  2002-02-03 19:39 ` Benjamin Herrenschmidt
  1 sibling, 1 reply; 5+ messages in thread
From: Bastien Nocera @ 2002-02-03 19:10 UTC (permalink / raw)
  To: AMANO Kazuhiro; +Cc: linuxppc-dev@lists.linuxppc.org


On Sun, 2002-02-03 at 15:52, AMANO Kazuhiro wrote:
>
> I'm in trouble with MATSHITA DVD-ROM SR-8176 drive on iBook2
>  under kernel-2.4.18-pre7-ben0.
>
> First problem is in audio CD play. I'm using xmms-cdread-0.14a, but
> I cannot get track list of CD and cannot play.
>
> To solve this problem, I made a tiny patch:
> --- linux/drivers/ide/ide-cd.c-ORIG	Mon Jan 28 20:20:31 2002
> +++ linux/drivers/ide/ide-cd.c	Sun Feb  3 22:03:42 2002
> @@ -2644,7 +2644,8 @@
>  	 * but they do support reading TOC & audio datas
>  	 */
>  	if (strcmp (drive->id->model, "MATSHITADVD-ROM SR-8187") == 0 ||
> -	    strcmp (drive->id->model, "MATSHITADVD-ROM SR-8186") == 0)
> +	    strcmp (drive->id->model, "MATSHITADVD-ROM SR-8186") == 0 ||
> +	    strcmp (drive->id->model, "MATSHITADVD-ROM SR-8176") == 0)
>  		CDROM_CONFIG_FLAGS (drive)->audio_play = 1;
>
>  #if ! STANDARD_ATAPI

Blimey! All this time this little patch was the thing missing ? Thanks a
lot for it !

> ---
>
> Second problem is in DVD-video play. I'm using xine-0.4.3 or
> vlc(videolan)-0.2.92, but I get only low performance.
>
> In /var/log/messages, some errors were reported:
> Feb  3 23:40:17 phaser kernel: hdb: DMA disabled
> Feb  3 23:40:17 phaser kernel: hdb: command error: status=0x51 { DriveReady SeekComplete Error }
> Feb  3 23:40:17 phaser kernel: hdb: command error: error=0x54
> Feb  3 23:40:17 phaser kernel: end_request: I/O error, dev 03:40 (hdb), sector 369232
>
> I can pass through this problem, by "hdparm -d1 -X34 /deb/hdb" to force
> Multiword DMA 2 Mode. But this hdparm command sometimes cause hung up.
>
> Both problem do not appear with ide-scsi driver.

Apparently there were some problems with the computers having both
drives on the same channel and DMA. Ben and Olaf probably know more
about it though.

Cheers

--
/Bastien Nocera
http://hadess.net

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

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

* Re: MATSHITADVD-ROM SR-8176
  2002-02-03 15:52 MATSHITADVD-ROM SR-8176 AMANO Kazuhiro
  2002-02-03 19:10 ` Bastien Nocera
@ 2002-02-03 19:39 ` Benjamin Herrenschmidt
  1 sibling, 0 replies; 5+ messages in thread
From: Benjamin Herrenschmidt @ 2002-02-03 19:39 UTC (permalink / raw)
  To: linuxppc-dev, AMANO Kazuhiro


>
>I'm in trouble with MATSHITA DVD-ROM SR-8176 drive on iBook2
> under kernel-2.4.18-pre7-ben0.
>
>First problem is in audio CD play. I'm using xmms-cdread-0.14a, but
>I cannot get track list of CD and cannot play.
>
>To solve this problem, I made a tiny patch:
>--- linux/drivers/ide/ide-cd.c-ORIG	Mon Jan 28 20:20:31 2002
>+++ linux/drivers/ide/ide-cd.c	Sun Feb  3 22:03:42 2002
>@@ -2644,7 +2644,8 @@
> 	 * but they do support reading TOC & audio datas
> 	 */
> 	if (strcmp (drive->id->model, "MATSHITADVD-ROM SR-8187") == 0 ||
>-	    strcmp (drive->id->model, "MATSHITADVD-ROM SR-8186") == 0)
>+	    strcmp (drive->id->model, "MATSHITADVD-ROM SR-8186") == 0 ||
>+	    strcmp (drive->id->model, "MATSHITADVD-ROM SR-8176") == 0)
> 		CDROM_CONFIG_FLAGS (drive)->audio_play = 1;

Thanks, I'll include this one in the next round of patches.

> #if ! STANDARD_ATAPI
>---
>
>Second problem is in DVD-video play. I'm using xine-0.4.3 or
>vlc(videolan)-0.2.92, but I get only low performance.
>
>In /var/log/messages, some errors were reported:
>Feb  3 23:40:17 phaser kernel: hdb: DMA disabled
>Feb  3 23:40:17 phaser kernel: hdb: command error: status=0x51 {
>DriveReady SeekComplete Error }
>Feb  3 23:40:17 phaser kernel: hdb: command error: error=0x54
>Feb  3 23:40:17 phaser kernel: end_request: I/O error, dev 03:40 (hdb),
>sector 369232
>
>I can pass through this problem, by "hdparm -d1 -X34 /deb/hdb" to force
>Multiword DMA 2 Mode. But this hdparm command sometimes cause hung up.
>
>Both problem do not appear with ide-scsi driver.

You should report this one to the ide-cd maintainer (Jens Axboe)

Ben.


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

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

* Re: MATSHITADVD-ROM SR-8176
  2002-02-03 19:10 ` Bastien Nocera
@ 2002-02-03 22:31   ` Michel Dänzer
  2002-02-03 22:40     ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 5+ messages in thread
From: Michel Dänzer @ 2002-02-03 22:31 UTC (permalink / raw)
  To: Bastien Nocera; +Cc: AMANO Kazuhiro, linuxppc-dev@lists.linuxppc.org


On Son, 2002-02-03 at 20:10, Bastien Nocera wrote:
>
> On Sun, 2002-02-03 at 15:52, AMANO Kazuhiro wrote:
> >
> > I'm in trouble with MATSHITA DVD-ROM SR-8176 drive on iBook2
> >  under kernel-2.4.18-pre7-ben0.
> >
> > First problem is in audio CD play. I'm using xmms-cdread-0.14a, but
> > I cannot get track list of CD and cannot play.
> >
> > To solve this problem, I made a tiny patch:
> > --- linux/drivers/ide/ide-cd.c-ORIG	Mon Jan 28 20:20:31 2002
> > +++ linux/drivers/ide/ide-cd.c	Sun Feb  3 22:03:42 2002
> > @@ -2644,7 +2644,8 @@
> >  	 * but they do support reading TOC & audio datas
> >  	 */
> >  	if (strcmp (drive->id->model, "MATSHITADVD-ROM SR-8187") == 0 ||
> > -	    strcmp (drive->id->model, "MATSHITADVD-ROM SR-8186") == 0)
> > +	    strcmp (drive->id->model, "MATSHITADVD-ROM SR-8186") == 0 ||
> > +	    strcmp (drive->id->model, "MATSHITADVD-ROM SR-8176") == 0)
> >  		CDROM_CONFIG_FLAGS (drive)->audio_play = 1;
> >
> >  #if ! STANDARD_ATAPI
>
> Blimey! All this time this little patch was the thing missing ?

I have an SR-8174, and audio grabbing etc. also works. Maybe we can
assume it works with any Matsushita DVD-ROM drive, or at least the
SR-81xx series?


--
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast

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

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

* Re: MATSHITADVD-ROM SR-8176
  2002-02-03 22:31   ` Michel Dänzer
@ 2002-02-03 22:40     ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 5+ messages in thread
From: Benjamin Herrenschmidt @ 2002-02-03 22:40 UTC (permalink / raw)
  To: Michel Dänzer; +Cc: Bastien Nocera, AMANO Kazuhiro, linuxppc-dev


>I have an SR-8174, and audio grabbing etc. also works. Maybe we can
>assume it works with any Matsushita DVD-ROM drive, or at least the
>SR-81xx series?

You mean you need a similar patch or not ?

I still prefer an explicit list for now, I'll see whith Jens what
can be done in the future.

Ben.


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

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

end of thread, other threads:[~2002-02-03 22:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-03 15:52 MATSHITADVD-ROM SR-8176 AMANO Kazuhiro
2002-02-03 19:10 ` Bastien Nocera
2002-02-03 22:31   ` Michel Dänzer
2002-02-03 22:40     ` Benjamin Herrenschmidt
2002-02-03 19:39 ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).