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. 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") ) {
State Changed From-To: open->feedback To maintainer: do you approve of this patch? (To submitter: don't forget to Cc: the maintainer when submitting PRs.)
Thanks for the report. A problem with the suggested patch is, that all drives named CD-R56Sxxxxx are affected, not only those by TAEC. The attached patch should fix this. The reporter should test it, as I do not have a TEAC drive. If it works it can be committed. Heiner
State Changed From-To: feedback->closed Committed Heiner's patch. Thanks for reporting