opensuse – Derek Demuro https://www.derekdemuro.com Software Engineer Tue, 03 Jun 2025 17:04:46 +0000 en-US hourly 1 160473225 Fix Virtualbox USB Passthrough https://www.derekdemuro.com/2016/07/01/fix-virtualbox-usb-passthrough/ https://www.derekdemuro.com/2016/07/01/fix-virtualbox-usb-passthrough/#respond Fri, 01 Jul 2016 06:22:40 +0000 https://www.derekdemuro.com/?p=3186 Why Virtualbox… why… why do package maintainers do this to us!

Well, guys, as usual, I post things that annoy me and how to fix them. So when my horrible memory forgets how to fix a simple issue, I know I can come back to my notes and figure it out again.

So, I’m typing this from my OpenSUSE Tumbleweed, installed Virtualbox from official repos (Package from the website has broken dependencies… figuring that out is more annoying than anything…).

As usual, go to your software center, as shown below. And check the following packages are installed.

Yeah yeah, I know what you’re going to say. I tried to install the packages from the website, YES I DID!.

Just make sure the following is installed.

If you’re all right, then you’re missing two probable things. Add yourself to the VirtualBox group as will show next, and you’re probably missing a udev rule that I’ll provide or tell you how to symlink it.

Okay as you can see with my user, I’ve added myself to the group.

hpprotumble:/home/ddemuro # cd /etc/udev/rules.d/
hpprotumble:/etc/udev/rules.d # vim 60-vboxdrv.rules
 
#
# COPY THE FOLLOWING TO THAT FILE!.
#
 
KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="vboxusers", MODE="0660"                                          
#                                                                                                                         
#these lines below give access permission to vboxusers to properly work with usb nodes, but enabling them could be security risk (bnc#664520) !!
#if you can live with this security problem put these lines below in to the new file /etc/udev/rules.d/60-vboxdrv.rules so they will stay enabled also after package update
SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/lib/udev/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"       
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/udev/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/usr/lib/udev/VBoxCreateUSBNode.sh --remove $major $minor"                               
SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/udev/VBoxCreateUSBNode.sh --remove $major $minor"

Final step and most important… REBOOT!

]]>
https://www.derekdemuro.com/2016/07/01/fix-virtualbox-usb-passthrough/feed/ 0 3186
3D on Virtual Machine VMWARE 10 OpenSuse https://www.derekdemuro.com/2014/02/02/3d-on-virtual-machine-vmware-10-opensuse/ https://www.derekdemuro.com/2014/02/02/3d-on-virtual-machine-vmware-10-opensuse/#respond Sun, 02 Feb 2014 06:56:39 +0000 https://www.derekdemuro.com/?p=3341 Making 3D work with OpenSuse and my Intel integrated graphics.

If you activate 3D acceleration yet you get a message stating that your guest does not support it… you can try this out:

Add pacman to your repos!

That you can actually find here: [Complete List](link is external)

I won’t go into how to add them as the command is right there… and not much is needed.

After all those where added, make sure to update your repositiories:

sudo zypper update
sudo zypper install libtxc_dxtn

Once that’s finished, we add the following line to our vmx file, from our virtual machine.

mks.gl.allowBlacklistedDrivers = "TRUE"
mks.enable3d = "TRUE"

Make sure those two lines are present… after that… ENJOY 3D!.

]]>
https://www.derekdemuro.com/2014/02/02/3d-on-virtual-machine-vmware-10-opensuse/feed/ 0 3341