don't sudo the cdemu command ...
ops!...SOLVED, thanks.
]]>$ uname -r
4.10.4-1-ARCH
$ pacman -Qi linux
Name : linux
Version : 4.10.4-1
Description : The Linux kernel and modules
Architecture : x86_64
URL : https://www.kernel.org/
Licenses : GPL2
Groups : base
Provides : None
Depends On : coreutils linux-firmware kmod mkinitcpio>=0.7
Optional Deps : crda: to set the correct wireless channels of your country
Required By : vhba-module virtualbox-guest-modules-arch
virtualbox-host-modules-arch
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 79.90 MiB
Packager : Tobias Powalowski <tpowa@archlinux.org>
Build Date : Sat Mar 18 19:40:56 2017
Install Date : Wed Mar 22 20:05:42 2017
Install Reason : Explicitly installed
Install Script : Yes
Validated By : Signature
after reboot:
$ sudo systemctl status cdemu-daemon.service
● cdemu-daemon.service - CDEmu Daemon
Loaded: loaded (/usr/lib/systemd/system/cdemu-daemon.service; disabled; vendo
Active: active (running) since Wed 2017-03-22 23:48:05 CET; 7s ago
Main PID: 4405 (cdemu-daemon)
Tasks: 5 (limit: 4915)
CGroup: /system.slice/cdemu-daemon.service
└─4405 cdemu-daemon --ctl-device=/dev/vhba_ctl --bus=system --num-dev
Mar 22 23:48:05 localhost systemd[1]: Starting CDEmu Daemon...
Mar 22 23:48:05 localhost systemd[1]: Started CDEmu Daemon.
$ sudo cdemu load 0 Tomb\ Raider\ \(USA\)\ \(v1.6\).cue
ERROR: Failed to connect to CDEmu daemon: g-spawn-exit-error-quark: Error spawning command line 'dbus-launch --autolaunch=3718fbedc74e4dc6a42fcb2252bc6a6f --binary-syntax --close-stderr': Child process exited with code 1 (1)
By the way, I have an alias I use to quickly check that.
]]>uname -a
pacman -Qi linux
$ sudo cdemu load 0 tits.cue
ERROR: Failed to connect to CDEmu daemon: g-spawn-exit-error-quark: Error spawning command line 'dbus-launch --autolaunch=3718fbedc74e4dc6a42fcb2252bc6a6f --binary-syntax --close-stderr': Child process exited with code 1 (1)
$ sudo systemctl status cdemu-daemon.service
● cdemu-daemon.service - CDEmu Daemon
Loaded: loaded (/usr/lib/systemd/system/cdemu-daemon.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2017-03-22 20:09:29 CET; 2min 4s ago
Process: 14857 ExecStart=/usr/lib/cdemu-daemon/cdemu-daemon-system.sh (code=exited, status=255)
Main PID: 14857 (code=exited, status=255)
mar 22 20:09:29 localhost systemd[1]: Starting CDEmu Daemon...
mar 22 20:09:29 localhost systemd[1]: cdemu-daemon.service: Main process exited, code=exited, status=255/n/a
mar 22 20:09:29 localhost systemd[1]: Failed to start CDEmu Daemon.
mar 22 20:09:29 localhost systemd[1]: cdemu-daemon.service: Unit entered failed state.
mar 22 20:09:29 localhost systemd[1]: cdemu-daemon.service: Failed with result 'exit-code'.
$ sudo modprobe sg
modprobe: FATAL: Module sg not found in directory /lib/modules/4.9.8-1-ARCH
$ sudo modprobe sr_mod
modprobe: FATAL: Module sr_mod not found in directory /lib/modules/4.9.8-1-ARCH