CDemu, How do I...

I am new to both openSUSE and have never used CDemu before. What I am trying to do is get it to auto start and mount a cue image. I can’t seem to get it to work.

I have installed the CDemu and the vhba packages. However I can’t seem to figure out how to make it work. I would appreciate any help any one can provide.

Thanks.

trying to run cdemu-daemon (as user then root) I get the following:

krj@KJ-ts:~> cdemu-daemon
Starting CDEmu daemon with following parameters:

  • num devices: 1
  • ctl device: /dev/vhba_ctl
  • audio driver: null
  • bus type: session

cdemu0: Kernel I/O: failed to open control device /dev/vhba_ctl: Permission denied!
cdemu: Daemon: failed to start device #0!
cdemu: Daemon: failed to create device!
Daemon initialization and start failed!
krj@KJ-ts:~> su
Password:
KJ-ts:/home/krj # cdemu-daemon
Starting CDEmu daemon with following parameters:

  • num devices: 1
  • ctl device: /dev/vhba_ctl
  • audio driver: null
  • bus type: session

cdemu: Daemon: D-Bus: failed to get proxy for ‘org.freedesktop.DBus’ on session bus: The connection is closed!
Daemon initialization and start failed!

Okay I figured out how to get a image mounted. I changed the permissions on /dev/vhba_ctl to everyone having full access(I doubt this is a good idea but it works). It is original permissions are just set for root to have access. It now lets users mount and unmount images. I will play around with the rest in the morning and see what else I can figure out.

not a good idea mount it with the proper permissions

Also /dev is a virtual file system so I don’t believe changes will survive a boot

I don’t speaking english! please forgive me…^^

Missing the rules file and module load file.

sudo vi /etc/udev/rules.d/60-vhba.rules

KERNEL==“vhba_ctl”, NAME="%k", MODE=“0666”, OWNER=“root”, GROUP=“users”

sudo vi /etc/modules-load.d/vhba.conf

vhba

sudo /sbin/reboot

After reboot and possible mount…!

No, they shouldn’t & didn’t but it help me find the issue. I had to point it out dirtiness of my test b/c there is always somebody who will point it out.:wink:

Workman you are right those two files where missing. I created a separate group for this(no need just wanted to). Everything works now. Thanks for the help.

After I have the problem that daemon can’t start I install

vhba packages
and create the files that you said are missing, just restart and is working.

Thanks