Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Apr 1997 09:55:30 -0400
From:      "James F. Hranicky" <jfh@cise.ufl.edu>
To:        questions@freebsd.org
Subject:   ATAPI Audio Problems
Message-ID:  <199704091355.JAA20468@cise.ufl.edu>

next in thread | raw e-mail | index | archive | help

I have a Dell Latitude LM Laptop whose ATAPI cdrom drive seems to work 
fine when mounting a cdrom (I can run a find /cdrom -print and get
no errors).

However, when I try to play a CD, I get all kinds of problems. 

When I run cdcontrol -f /dev/wcd0c, I can acutally do an "info" 
command:

	cdcontrol> info
	Starting track = 1, ending track = 12, TOC size = 106 bytes
	track     start  duration   block  length   type
	-------------------------------------------------
    	1   0:02.32   1:22.65      32    6065  audio
    	2   1:23.22   3:45.20    6097   16745  audio
    	3   5:06.42   3:20.48   22842   14898  audio
    	4   8:25.15   3:25.60   37740   15285  audio
    	5  11:49.00   4:10.65   53025   18665  audio
    	6  15:57.65   3:59.50   71690   17825  audio
    	7  19:55.40   2:58.47   89515   13247  audio
    	8  22:52.12   3:37.23  102762   16148  audio
    	9  26:27.35   5:36.45  118910   25095  audio
   	10  32:02.05   3:19.50  144005   14825  audio
   	11  35:19.55   2:20.52  158830   10402  audio
   	12  37:38.32  106:41.59  169232  -169232  audio
  	170   0:02.00         -       0       -      -

However, when I try to play a CD with debugging on, I get the following
from syslog:

	Apr  6 00:06:26 laptop /kernel: atapi0.1: req w a5-0-0-0-0-0-0-0-0-0-
	0-0-0-0-0-0 len=0
	Apr  6 00:06:27 laptop /kernel: atapi0.1: start
	Apr  6 00:06:27 laptop /kernel: atapi0.1: intr ireason=0x1, len=0, st
	atus=58<ready,opdone,drq>, error=0
	Apr  6 00:06:27 laptop /kernel: atapi0.1: send cmd PLAY_BIG a5-0-0-0
	-0-0-0-0-0-0-0-0-0-0-0-0
	Apr  6 00:06:27 laptop /kernel: atapi0.1: intr ireason=0x3, len=0, st
	atus=50<ready,opdone>, error=0
	Apr  6 00:06:38 laptop /kernel: atapi0.1: req w a5-0-0-0-0-20-ff-ff-f
	f-e0-0-0-0-0-0-0 len=0
	Apr  6 00:06:38 laptop /kernel: atapi0.1: start
	Apr  6 00:06:38 laptop /kernel: atapi0.1: intr ireason=0x1, len=0, st
	atus=58<ready,opdone,drq>, error=0
	Apr  6 00:06:38 laptop /kernel: atapi0.1: send cmd PLAY_BIG a5-0-0-0-
	0-20-ff-ff-ff-e0-0-0-0-0-0-0
	Apr  6 00:06:38 laptop /kernel: atapi0.1: intr ireason=0x3, len=0, st
	atus=51<ready,opdone,check>, error=54<abort>
	Apr  6 00:06:39 laptop /kernel: wcd0: invalid command
	Apr  6 00:06:39 laptop /kernel: atapi0.1: req w 1e-0-0-0-0-0-0-0-0-0-
	0-0-0-0-0-0len=0
	Apr  6 00:06:39 laptop /kernel: atapi0.1: start
	Apr  6 00:06:39 laptop /kernel: atapi0.1: intr ireason=0x1, len=0, st
	atus=58<ready,opdone,drq>, error=0
	Apr  6 00:06:39 laptop /kernel: atapi0.1: send cmd PREVENT_ALLOW 1e-0
	-0-0-0-0-0-0-0-0-0-0-0-0-0-0
	Apr  6 00:06:39 laptop /kernel: atapi0.1: intr ireason=0x3, len=0, st
	atus=50<ready,opdone>, error=0
	
>From cdcontrol, I get :

	cdcontrol> play 1
	cdcontrol: Input/output error
 
>From dmesg:

	wdc0: unit 1 (atapi): <CD-ROM  CDR-N16/1.21>, removable, intr, iordis
	wcd0: 689Kb/sec, 256Kb cache, audio play, 256 volume levels, ejectable
	tray
	wcd0: medium type unknown, unlocked

Any ideas? 

Would one of the 3.0 SNAP's code work better?

----------------------------------------------------------------------
| Jim Hranicky, Senior SysAdmin                   UF/CISE Department |
| E314E CSE Building                            Phone (904) 392-1057 |
| jfh@cise.ufl.edu                       http://www.cis.ufl.edu/~jfh |
----------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704091355.JAA20468>