error – 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
VmWare9 on OpenSuse 12.3 https://www.derekdemuro.com/2013/06/08/vmware9-on-opensuse-12-3/ https://www.derekdemuro.com/2013/06/08/vmware9-on-opensuse-12-3/#respond Sat, 08 Jun 2013 07:33:26 +0000 https://www.derekdemuro.com/?p=3526 After some problems with the kernel sources, got it working.

First:

First: Install kernel-devel to have the sources etc.

Second, at:

https://bugzilla.novell.com/show_bug.cgi?id=795837(link is external)

Found:

Markus Koßmann 2012-12-26 13:20:53 UTC

You made the wrong link. 
it should have been: 
cd /lib/modules/3.7.1-16-desktop/build/include/
( a 'ls' should show no file or directory named linux and two directories
called generated and config and a 'ls generated/uapi/linux' should show
version.h )
ln -s generated/uapi/linux
After that a 'ls linux' should show version.h

Which according to the version you’ll have to change this dir. Or simply use uname.

# ln -s /usr/src/linux-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-$(uname -r)/include/linux/

Something like this. By then the version.h will be fine, and located where it shoudl. Then to finish the compiling…

# sudo ​/usr/bin/vmware-modconfig --console --install-all

That should get it compiling right away.

]]>
https://www.derekdemuro.com/2013/06/08/vmware9-on-opensuse-12-3/feed/ 0 3526