Created attachment 171520 [details] patch-hald_freebsd_hf-scsi.c uname -a FreeBSD nonamehost.local 11.0-ALPHA3 FreeBSD 11.0-ALPHA3 #1 r301964: Thu Jun 16 15:58:23 EEST 2016 ivan@nonamehost.local:/media/da0s1/obj/usr/src/sys/mk11 amd64 FreeBSD 11.0-ALPHA3 dont have /dev/acdX Need be replaced patch file /usr/ports/sysutils/hal/files/patch-hald_freebsd_hf-scsi.c by the attached file to solved this problem.
Ivan, did you mean to close this bug report? I notice you just referenced it in a mailing list post as a potential fix for someone's issue. Does that mean it is still a relevant bug, and should remain open? https://lists.freebsd.org/pipermail/freebsd-ports/2016-September/104892.html
This patch worked for me in fixing k3b (11-stable amd64). Why is it marked as "closed"? It still needs to be applied. Thanks for the patch.
Re-opened for consideration of adding path to sysutils/hal
(In reply to Ben Woods from comment #1) Yes - the problem is urgent, because it has not been fixed on the PR. On the problem of no one pays attention - so nobody uses k3b and nobody is all unnecessary. Now I, too, do not use FreeBSD - therefore closed all of its PR sarcastically "Works As Intended" I'm tired of waiting. Good luck!
Created attachment 175067 [details] updated patch with portrevision Here's an updated diff, testing now, I've run into this issue too.
If it works, go ahead and commit it.
(In reply to Steve Wills from comment #5) I believe I have the patch right, but in my testing it didn't help k3b. The device shows up fine in hal, kde shows a blank CDR showing up, but k3b still sees no device. Perhaps something else is required? Is it showing up in the KDE menu enough to prove the hal patch is correct at least?
(In reply to Steve Wills from comment #7) I think the fact that hal sees it proves that the bug is being fixed by the patch. Have you done all the steps described in the k3b/pkg-message to fix permissions problems. Alternatively, try running k3b from the command line via sudo e.g. "sudo k3b". It works for me with those steps in place. That said, on 11-stable, the hw.ata.atapi_dma sysctl oid that's described in those steps didn't exist for me. So I couldn't set it to 1. However, it didn't seem to matter.
(In reply to graham from comment #8) You're right, it was a permissions issue. I'll commit it.
A commit references this bug: Author: swills Date: Fri Sep 23 00:21:05 UTC 2016 New revision: 422642 URL: https://svnweb.freebsd.org/changeset/ports/422642 Log: sysutils/hal: fix cd support PR: 210354 Submitted by: Ivan Klymenko <fidaj@ukr.net> Approved by: gnome@ (kwm) Changes: head/sysutils/hal/Makefile head/sysutils/hal/files/patch-hald_freebsd_hf-scsi.c
Committed, thanks!