ports/78690: sysutils/udfclient: speed not always set correctly

Andriy Gapon avg at icyb.net.ua
Fri Mar 11 10:10:02 UTC 2005


>Number:         78690
>Category:       ports
>Synopsis:       sysutils/udfclient: speed not always set correctly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 11 10:10:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andriy Gapon
>Release:        FreeBSD 5.2.1-RELEASE-p13 i386
>Organization:
>Environment:
System: FreeBSD 5.2.1-RELEASE-p13 i386
udfclient-0.3.3

	
>Description:
on some devices setting drive speed fails with the following error:
While setting speed: Inappropriate ioctl for device
for example it happens with my HL-DT-ST DVDRAM GSA-4163B
>How-To-Repeat:
if your device is affected, just use udfclient
>Fix:
the following patch should be added to the port, it sets speed
using more universal options
--- speed.patch begins here ---
diff -u -r UDFclient.0.3.3/udf_discop.c UDFclient.0.3.3-avg-0.1/udf_discop.c
--- udf_discop.c	Thu Jan 27 16:45:23 2005
+++ udf_discop.c	Fri Feb  4 22:23:50 2005
@@ -210,7 +210,7 @@
 	/* Set CD/DVD speed on 'optimal' for it doesnt seem to do it automatically */
 	bzero(cmd, SCSI_CMD_LEN);
 	cmd[ 0] = 0xBB;				/* Set CD speed */
-	cmd[ 1] = 1;				/* select CAV (1) or CLV (0) recording */
+	cmd[ 1] = 0;				/* select pure CAV (1) or CLV and non-pure CAV (0) recording */
 	cmd[ 2] = 0xff;
 	cmd[ 3] = 0xff;				/* max read performance speed */
 	cmd[ 4] = 0xff;
--- speed.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list