Date: Fri, 27 Aug 2004 02:21:50 +0200 From: "Reinhard Lenninger" <reinhard.lenninger@web.de> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Cc: reinhard.lenninger@web.de Subject: ports/71013: port sysutils/k3b: correct detection of TEAC-R56S fails due to error in patch Message-ID: <1093566110.0@freebsd.megatron> Resent-Message-ID: <200408270030.i7R0UWPP010485@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 71013 >Category: ports >Synopsis: port sysutils/k3b: correct detection of TEAC-R56S fails due to error in patch >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:30:32 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@freebsd.megatron:/usr/obj/usr/src/sys/BEASTIE5_2 >Description: port k3b-0.11.12 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1093566110.0>