Moderator: Stolz
Code: Select all
mestres@localhost ~ $ cdemu-daemon
Starting CDEmu daemon with following parameters:
- config file: (null) (exists: 0)
- num devices: 1
- control device: /dev/vhba_ctl
- audio driver: null
- bus type: session
- default CDEmu debug mask: 0x0
- default libMirage debug mask: 0x0
Code: Select all
$ cdemu-daemon
Starting CDEmu daemon with following parameters:
- config file: (null) (exists: 0)
- num devices: 1
- control device: /dev/vhba_ctl
- audio driver: null
- bus type: session
- default CDEmu debug mask: 0x0
- default libMirage debug mask: 0x0Code: Select all
equery files vhba
* Searching for vhba ...
* Contents of sys-fs/vhba-20210418:
/lib
/lib/modules
/lib/modules/5.10.27-gentoo
/lib/modules/5.10.27-gentoo/block
/lib/modules/5.10.27-gentoo/block/vhba.ko
/lib/udev
/lib/udev/rules.d
/lib/udev/rules.d/69-vhba.rules
/usr
/usr/share
/usr/share/doc
/usr/share/doc/vhba-20210418
/usr/share/doc/vhba-20210418/AUTHORS
/usr/share/doc/vhba-20210418/ChangeLog
/usr/share/doc/vhba-20210418/README.bz2
Code: Select all
# locate vhba
/etc/modules-load.d/vhba.conf
/home/chrootman/portage/metadata/md5-cache/sys-fs/vhba-20200106-r1
/home/chrootman/portage/metadata/md5-cache/sys-fs/vhba-20210418
/home/chrootman/portage/sys-fs/vhba
/home/chrootman/portage/sys-fs/vhba/Manifest
/home/chrootman/portage/sys-fs/vhba/metadata.xml
/home/chrootman/portage/sys-fs/vhba/vhba-20200106-r1.ebuild
/home/chrootman/portage/sys-fs/vhba/vhba-20210418.ebuild
/lib/modules/5.4.48-gentoo-x86_64/block/vhba.ko
/lib/udev/rules.d/69-vhba.rules
/usr/share/doc/vhba-20210418
/usr/share/doc/vhba-20210418/AUTHORS
/usr/share/doc/vhba-20210418/ChangeLog
/usr/share/doc/vhba-20210418/README.bz2
/var/db/pkg/sys-fs/vhba-20210418
/var/db/pkg/sys-fs/vhba-20210418/BDEPEND
/var/db/pkg/sys-fs/vhba-20210418/BUILD_TIME
/var/db/pkg/sys-fs/vhba-20210418/CATEGORY
/var/db/pkg/sys-fs/vhba-20210418/CBUILD
/var/db/pkg/sys-fs/vhba-20210418/CFLAGS
/var/db/pkg/sys-fs/vhba-20210418/CHOST
/var/db/pkg/sys-fs/vhba-20210418/CONTENTS
/var/db/pkg/sys-fs/vhba-20210418/COUNTER
/var/db/pkg/sys-fs/vhba-20210418/CXXFLAGS
/var/db/pkg/sys-fs/vhba-20210418/DEFINED_PHASES
/var/db/pkg/sys-fs/vhba-20210418/DEPEND
/var/db/pkg/sys-fs/vhba-20210418/DESCRIPTION
/var/db/pkg/sys-fs/vhba-20210418/EAPI
/var/db/pkg/sys-fs/vhba-20210418/FEATURES
/var/db/pkg/sys-fs/vhba-20210418/HOMEPAGE
/var/db/pkg/sys-fs/vhba-20210418/INHERITED
/var/db/pkg/sys-fs/vhba-20210418/IUSE
/var/db/pkg/sys-fs/vhba-20210418/IUSE_EFFECTIVE
/var/db/pkg/sys-fs/vhba-20210418/KEYWORDS
/var/db/pkg/sys-fs/vhba-20210418/LDFLAGS
/var/db/pkg/sys-fs/vhba-20210418/LICENSE
/var/db/pkg/sys-fs/vhba-20210418/NEEDED
/var/db/pkg/sys-fs/vhba-20210418/NEEDED.ELF.2
/var/db/pkg/sys-fs/vhba-20210418/PF
/var/db/pkg/sys-fs/vhba-20210418/RDEPEND
/var/db/pkg/sys-fs/vhba-20210418/SIZE
/var/db/pkg/sys-fs/vhba-20210418/SLOT
/var/db/pkg/sys-fs/vhba-20210418/USE
/var/db/pkg/sys-fs/vhba-20210418/environment.bz2
/var/db/pkg/sys-fs/vhba-20210418/repository
/var/db/pkg/sys-fs/vhba-20210418/vhba-20210418.ebuild
/var/db/repos/gentoo/metadata/md5-cache/sys-fs/vhba-20200106-r1
/var/db/repos/gentoo/sys-fs/vhba
/var/db/repos/gentoo/sys-fs/vhba/Manifest
/var/db/repos/gentoo/sys-fs/vhba/metadata.xml
/var/db/repos/gentoo/sys-fs/vhba/vhba-20200106-r1.ebuildCode: Select all
# equery f cdemu-daemon
* Searching for cdemu-daemon ...
* Contents of app-cdr/cdemu-daemon-3.2.5:
/etc
/etc/modules-load.d
/etc/modules-load.d/vhba.conf
/usr
/usr/bin
/usr/bin/cdemu-daemon
/usr/lib
/usr/lib/systemd
/usr/lib/systemd/user
/usr/lib/systemd/user/cdemu-daemon.service
/usr/share
/usr/share/dbus-1
/usr/share/dbus-1/services
/usr/share/dbus-1/services/net.sf.cdemu.CDEmuDaemon.service
/usr/share/doc
/usr/share/doc/cdemu-daemon-3.2.5
/usr/share/doc/cdemu-daemon-3.2.5/AUTHORS
/usr/share/doc/cdemu-daemon-3.2.5/README.bz2
/usr/share/locale
/usr/share/locale/ru
/usr/share/locale/ru/LC_MESSAGES
/usr/share/locale/ru/LC_MESSAGES/cdemu-daemon.mo
/usr/share/locale/sl
/usr/share/locale/sl/LC_MESSAGES
/usr/share/locale/sl/LC_MESSAGES/cdemu-daemon.mo
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/cdemu-daemon.8.bz2Imagino que ya lo cambiaste a udev-acl.cameta wrote:Voy a probar con
KERNEL=="vhba_ctl", SUBSYSTEM=="misc", TAG+="uaccess"
A ver que sucede
PD
dbus-launch cdemu status
ERROR: Failed to connect to CDEmu daemon: g-io-error-quark: Error calling StartServiceByName for net.sf.cdemu.CDEmuDaemon: Timeout was reached (24)
Sigue sin funcionar..
Code: Select all
KERNEL=="vhba_ctl", SUBSYSTEM=="misc", TAG+="udev-acl"Pues no ha funcionado .magino que ya lo cambiaste a udev-acl.
/lib/udev/rules.d/69-vhba.rules
Código:
KERNEL=="vhba_ctl", SUBSYSTEM=="misc", TAG+="udev-acl"
Code: Select all
cdemu-daemon&Code: Select all
nano /etc/modules-load.d/vhba.conf
vhba
$ lsmod | grep vhba
vhba 28672 1Por lo tanto debo ejecutar antesUnable to connect to the CDEmu daemon
Code: Select all
$ cdemu-daemon
Starting CDEmu daemon with following parameters:
- config file: (null) (exists: 0)
- num devices: 1
- control device: /dev/vhba_ctl
- audio driver: null
- bus type: session
- default CDEmu debug mask: 0x0
- default libMirage debug mask: 0x0Claramente con open-rc ya no va a arrancar automáticamente.>>> Messages generated by process 30939 on 2021-05-31 22:39:24 CEST for package app-cdr/cdemu-daemon-3.2.5:
LOG: postinst
As of 3.2.5, cdemu-daemon no longer supports autoloading
on non-systemd systems. OpenRC users have to start it manually.
We install /etc/modules-load.d/vhba.conf to load the module
automatically, and D-BUS autolaunch will start cdemu-daemon user
service.
>>> Messages generated by process 30299 on 2021-02-23 16:45:12 CET for package app-cdr/cdemu-daemon-3.2.4:
LOG: postinst
You will need to load the vhba module to use cdemu devices:
# modprobe vhba
To automatically load the vhba module at boot time, edit your
/etc/conf.d/modules file.