ports/71010: port k3b: detection of TEAC-R56S fails due to error in patchfile
Reinhard Lenninger
reinhard.lenninger at web.de
Fri Aug 27 00:10:25 UTC 2004
>Number: 71010
>Category: ports
>Synopsis: port k3b: detection of TEAC-R56S fails due to error in patchfile
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 27 00:10:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Reinhard Lenninger
>Release: FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD 5.2.1-RELEASE-p9 #8: Fri Aug 20 18:18:51 CEST 2004
root at freebsd.megatron:/usr/obj/usr/src/sys/BEASTIE5_2
>Description:
port k3b fails to correctly detect the device TEAC R56S as cd recorder. To solve this
problem there exists patch-src-device-k3bdevice.cpp in /usr/ports/sysutils/k3b/files.
Unfortunately the patch needs a little change to detect the drive correctly.
>How-To-Repeat:
>Fix:
change the following section in patch-src-device-k3bdevice.cpp from
@@ -769,6 +779,14 @@
m_bufferSize = 1024;
d->burnfree = false;
}
+ else if( description().startsWith("CD-R56S") ) {
+ m_writeModes |= TAO;
+ d->deviceType |= CDROM|CDR;
+ m_maxWriteSpeed = 6;
+ m_maxReadSpeed = 24;
+ m_bufferSize = 1302;
+ d->burnfree = false;
+ }
}
else if( vendor().startsWith("HP") ) {
if( description().startsWith("CD-Writer 6020") ) {
to
@@ -769,6 +779,14 @@
m_bufferSize = 1024;
d->burnfree = false;
}
+ }
+ else if( description().startsWith("CD-R56S") ) {
+ m_writeModes |= TAO;
+ d->deviceType |= CDROM|CDR;
+ m_maxWriteSpeed = 6;
+ m_maxReadSpeed = 24;
+ m_bufferSize = 1302;
+ d->burnfree = false;
}
else if( vendor().startsWith("HP") ) {
if( description().startsWith("CD-Writer 6020") ) {
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list