BTW everyone, after the new kernel update from Ubuntu, I had to recompile the virtualbox modules for it to work again
Code:sudo /etc/init.d/vboxdrv setup
BTW everyone, after the new kernel update from Ubuntu, I had to recompile the virtualbox modules for it to work again
Code:sudo /etc/init.d/vboxdrv setup
Yes, tried that... Looks like some USB devices (i.e. the iPod and my USB geiger counter) use some non-standard protocol or something, that Virtualbox can only cope with on some machines and not others... ?!?
Hmm not sure about that. It should work, irrespective of what machine you have. Maybe you should completely remove virtualbox restart, and install and try it again. Its a pain tho, but I cant see any reason why it wont work.
Quaxo76 - what model motherboard are you using?
fix in new version. if you get an USB error in the settings i got the awnser in my thred.
Hi, i'm trying to do what you said but the terminal send a message what a type the following line "make -C /lib/modules/`uname -r`/build/ M=`pwd` modules"
the following is terminal message to send me
make: Entering directory `/lib/modules/2.6.27-11-generic'
make: *** No rule to make target `/build/'. Stop.
make: Leaving directory `/lib/modules/2.6.27-11-generic'
Note. I had installed first the Win Xp on Vbox and i did not do this before it is the first time.
I have a very similar issue to Torille:
I did try to build usbcore by doing the following:Code:$ make -C /lib/modules/`uname -r`/build/ M=`pwd` modules" make: Entering directory `/usr/src/linux-headers-2.6.27-11-generic' Makefile:1364: *** missing separator. Stop. make: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
and then I install the module as described in the original post. Unfortunately, while this does build and install the patched usbcore module, the module refuses to load with modprobe. Something about an invalid module format.Code:$ cd ~/linux-source-2.6.27/ $ make mrproper $ cp /usr/src/linux-headers-2.6.27-11-generic/.config ./ $ make modules
Where might one find documentation on these things?
----------------------------------
UPDATE:
I was finally able to get iPod Touch sync working in VirtualBox, but I feel my solution is less than ideal. SinceI was having trouble compiling a kernel module for the stock kernel, I compiled my own vanilla kernel. Then, I was able to install and load the patched usbcore.ko. Finally, iPod Touch sync was working.
First, you'll need some stuff installed to begin your work:
Here's a summary of how to build kernel using Ubuntu's settings:Code:sudo apt-get build-dep linux-source-2.6.27 sudo apt-get install linux-source-2.6.27 build-essential fakeroot kernel-package
Once that's finished, edit /boot/grub/menu.lst and add an entry for the bzImage-2.6.27-11-generic kernel image.Code:tar -jxvf /usr/src/linux-source-2.6.27.tar.bz2 cd linux-source-2.6.27/ make mrproper sudo cp /boot/config-2.6.27-11-generic ./.config make menuconfig sudo make-kpkg --rootcmd fakeroot --initrd --append-to-version=-generic kernel-image sudo cp arch/i386/boot/bzImage /boot/bzImage-2.6.27-11-generic
And, you might want to reboot right now and make sure the new kernel is bootable, everything still works, &c
Then, patch and install the new usbcore module:
To install the module, you could either stop everything that is using usb and do rmmod followed by modprobe, or you could just reboot. Rebooting is easy.Code:cd linux-source-2.6.27 perl -pi.bak -e 's/16384/131072/' drivers/usb/core/devio.c sudo make-kpkg --rootcmd fakeroot --initrd --append-to-version=-generic kernel-image sudo install -m644 -b drivers/usb/core/usbcore.ko /lib/modules/`uname -r`/kernel/drivers/usb/core sudo depmod -ae sudo update-initramfs -u
----------------------------------
FYI: Increasing the max buffer size for usbfs (and not necessarily the 'building a new kernel' thing that I did) also allows Zune sync to work correctly in VirtualBox. Cool.
Last edited by foxostro; February 6th, 2009 at 10:38 PM. Reason: Update
I am also getting an error. I am using 2.6.28-11-generic AMD64 flavor and I am following Huanix's instructions on the first page. When I get to this line:
This is an output of the contents of /linux-source-2.6.28/drivers/usb/coreCode:strip --strip-debug usbcore.ko strip: 'usbcore.ko': No such file
While not a complete newbie, I still don't don't know a lot about Linux in general. Just trying to get my wifes Itouch working. From what I can tell, its looking for an object file. Did the naming conventions change or did something not get built? Are those instructions ok for 64 bit.Code:buffer.c devio.c.bak generic.c hub.c Makefile Module.symvers sysfs.c config.c driver.c hcd.c hub.h message.c notify.c urb.c devices.c endpoint.c hcd.h inode.c Module.markers otg_whitelist.h usb.c devio.c file.c hcd-pci.c Kconfig modules.order quirks.c usb.h
Thanks in advance.
Last edited by PaganImmolator; June 12th, 2009 at 02:09 PM.
N00b question... adding these lines to /etc/fstab only gives me "Could not save the file /etc/fstab. You do not have the necessary permissions to save the file. Please, check that you typed the location correctly and try again."Edit /etc/fstab to add these two lines and replace the devgid with the vboxusers group id
Code:
#usbfs for virtualbox
none /proc/bus/usb usbfs devgid=128,devmode=664 0 0
What am I doing wrong?
Thanks in advance.
use SUDO GEDIT /etc/fstab
Linux Registered User # 462237
Ubuntu User # 20080
Bookmarks