Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2002 21:57:22 -0400 (EDT)
From:      Alan Eldridge <alane@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jdunn@aquezada.com
Subject:   ports/44515: audio/cd-console only plays ATA drives
Message-ID:  <200210270157.g9R1vMen090144@wwweasel.geeksrus.net>

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

>Number:         44515
>Category:       ports
>Synopsis:       audio/cd-console only plays ATA drives
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 26 19:00:10 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alan Eldridge
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Geeksrus.NET
>Environment:
System: FreeBSD wwweasel.geeksrus.net 4.7-STABLE FreeBSD 4.7-STABLE #2: Sat Oct 26 12:33:12 EDT 2002 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/MY_SHITS_FUCKED_UP i386

>Description:

audio/cd-console only plays ATA drives: drive is hard-coded to the first ATA
CD drive.

>How-To-Repeat:

Try to play a CDDA disk on a SCSI CD drive.

>Fix:

I'll commit this for you if you OK it.

==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<==
Index: files/patch-aa
===================================================================
RCS file: /home/ncvs/ports/audio/cd-console/files/patch-aa,v
retrieving revision 1.3
diff -u -3 -r1.3 patch-aa
--- files/patch-aa	4 Jun 2002 03:00:57 -0000	1.3
+++ files/patch-aa	27 Oct 2002 01:15:18 -0000
@@ -15,7 +15,7 @@
 -
 +DEFS = -DOS_BSD
 +EXTRA_OBJS = cd_ll_bsd.o
-+CDDEVICE=\"/dev/acd0c\"
++CDDEVICE=\"/dev/cdrom\"
  
  # you shouldn't have to change anything below this line
  
Index: files/patch-ab
===================================================================
RCS file: /home/ncvs/ports/audio/cd-console/files/patch-ab,v
retrieving revision 1.1
diff -u -3 -r1.1 patch-ab
--- files/patch-ab	25 Dec 1999 15:32:35 -0000	1.1
+++ files/patch-ab	27 Oct 2002 01:18:02 -0000
@@ -1,11 +1,12 @@
---- cd_ll_bsd.cpp.orig	Sun Nov 28 20:14:31 1999
-+++ cd_ll_bsd.cpp	Sun Nov 28 20:15:29 1999
+--- cd_ll_bsd.cpp.orig	Sat Aug 25 14:09:00 2001
++++ cd_ll_bsd.cpp	Sat Oct 26 21:16:54 2002
 @@ -10,7 +10,9 @@
  #include "cd_ll_bsd.h"
  
  // the cd-rom device file
+-#define DEVICE "/dev/acd0c"
 +#ifndef DEVICE
- #define DEVICE "/dev/acd0c"
++#define DEVICE "/dev/cdrom"
 +#endif
  
  cd_ll_bsd::cd_ll_bsd()
==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<==



>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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