Thread: Support Odin on GNU/Linux
View Single Post
Old April 3rd, 2010, 10:41 AM   #14 (permalink)
purplewakanda
Junior Member
Thread Author (OP)
 
Join Date: Feb 2010
Location: India
Posts: 49
 
Device(s): Samsung Galaxy i7500 Galaxo 1.6
Carrier: Not Provided

Thanks: 2
Thanked 5 Times in 4 Posts
Default

You got it right. I'm using usb pass through.

Edit your /etc/rc.sysinit
--------------------------------------------------
if [ ! -d /proc/bus/usb ]; then
modprobe usbcore >/dev/null 2>&1 && mount -n -t usbfs /proc/bus/usb /proc/bus/usb
else
# mount -n -t usbfs /proc/bus/usb /proc/bus/usb
mount -t usbfs -o devgid=$(awk -F: '/^vboxusers:/{print $3}' /etc/group),devmode=664 /proc/bus/usb /proc/bus/usb
fi
--------------------------------------------------------
vboxusers should have the required permissions and your user account should be a member of vboxusers group.

You could add this to /etc/fstab for a permanent mount
------------------------------------------
/proc/bus/usb /proc/bus/usb usbfs devgid=501,devmode=664 0 0

501 should be replaced with the corresponding gid of vboxusers.
purplewakanda is offline  
Reply With Quote
The Following 2 Users Say Thank You to purplewakanda For This Useful Post:
boomtopper (April 4th, 2010), Xak (September 26th, 2011)