Results 1 to 6 of 6

Thread: Virtualbox and USB printer

  1. #1

    Default Virtualbox and USB printer

    Hi there,

    I have installed Virtualbox 2.0.2 (not OSE) and I followed the install instructions. So now I have modified fstab:

    usbfs /proc/bus/usb usbfs noauto 0 0
    none /proc/bus/usb usbfs auto,busgid=110,busmode=0775,devgid=110,devmode=0666 0 0

    user is added to vbox group and in application for virtual machine I set USB enabled. I could choose the USB device, I did it for printer and run VM (Win XP).

    Everything looks well but when I want to connect the USB device by checkbox, it is alway grey and disactivated.

    I tried to unmount in linux the device and connect in VM but no success.

    Really I have no idea how to see the printer in VM Win XP.

    Please help me to solve this problem.

    Thank you,

    Martin

  2. #2
    Will Honea NNTP User

    Default Re: Virtualbox and USB printer

    atilius wrote:

    >
    > Hi there,
    >
    > I have installed Virtualbox 2.0.2 (not OSE) and I followed the install
    > instructions. So now I have modified fstab:
    >
    > usbfs /proc/bus/usb usbfs noauto 0 0
    > none /proc/bus/usb usbfs
    > auto,busgid=110,busmode=0775,devgid=110,devmode=0666 0 0
    >
    > user is added to vbox group and in application for virtual machine I
    > set USB enabled. I could choose the USB device, I did it for printer and
    > run VM (Win XP).
    >
    > Everything looks well but when I want to connect the USB device by
    > checkbox, it is alway grey and disactivated.
    >
    > I tried to unmount in linux the device and connect in VM but no
    > success.
    >
    > Really I have no idea how to see the printer in VM Win XP.
    >
    > Please help me to solve this problem.


    I hope you get a good answer to the USB question - I can never tell whether
    I'm going to have USB connectivity in virtual XP or not. One time it
    works, next it does as you describe. I can't see any reason for the
    discrepancy, but there it is.

    My workaround for this is to use the host printer via a peer share. I had
    some grief getting permissions set up right, but that works on both the
    laptop and the desktops machines. It also solves some weird problems with
    the VM stealing the USB resource from the host and having to either
    unplug/plug the printer or turn it off and on to get access back to Linux.

    --
    Will Honea

  3. #3
    Join Date
    Jun 2008
    Location
    Moses Lake, WA. USA
    Posts
    474

    Default Re: Virtualbox and USB printer

    atilius wrote:

    >
    > Hi there,
    >
    > I have installed Virtualbox 2.0.2 (not OSE) and I followed the install
    > instructions. So now I have modified fstab:
    >
    > usbfs /proc/bus/usb usbfs noauto 0 0
    > none /proc/bus/usb usbfs
    > auto,busgid=110,busmode=0775,devgid=110,devmode=0666 0 0
    >
    > user is added to vbox group and in application for virtual machine I
    > set USB enabled. I could choose the USB device, I did it for printer and
    > run VM (Win XP).
    >
    > Everything looks well but when I want to connect the USB device by
    > checkbox, it is alway grey and disactivated.
    >
    > I tried to unmount in linux the device and connect in VM but no
    > success.
    >
    > Really I have no idea how to see the printer in VM Win XP.
    >
    > Please help me to solve this problem.
    >
    > Thank you,
    >
    > Martin
    >
    >

    I have a Xerox Phaser hooked up to my Windows XP in the sun 2.0.2 version of
    Virtual Box. I have the following entry for fstab:

    usbfs /proc/bus/usb usbfs
    noauto,busgid=1000,busmode=0775,devgid=1000,devmode=0664 0 0

    I got that from the manual. I'm running Vbox on openSUSE 11.0. I stumbled
    for a while, tried the original fstab entry you have but I got symtoms like
    you. I start Vbox, go to settings--> usb. There I see the printer. then I
    start XP.

    Did you remember to do a mount usbfs as root before starting Vbox? if you
    didn't you will probably see the following message:

    Could not load the Host USB Proxy Service (VERR_FILE_NOT_FOUND). The service
    might be not installed on the host computer.

    Result Code:
    NS_ERROR_FAILURE (0x00004005)
    Component:
    Host
    Interface:
    IHost {489fb370-c227-4d43-9761-ceb28484fd9f}
    Callee:
    IMachine {1e509de4-d96c-4f44-8b94-860194f710ac}

    The important thing is the mount command. Again its probably a good idea to
    download the manual. Thats where I found this stuff when I started.
    See if this helps

    --
    Russ
    Linux register user 441463
    openSUSE11.0

  4. #4

    Default Re: Virtualbox and USB printer

    The problem is that I get the same results like Will - unexpected connections - sometime is printer available, sometime not. It is really strengh....

  5. #5

    Default Re: Virtualbox and USB printer

    I changed the line in fstab as you wrote and the result is the same. I can easily check in option USB, when I want to add next USB device, I can but all of them are inaccessible. So I can add the device to list but after XP running the device is always grey and not possible to choose it

  6. #6
    Will Honea NNTP User

    Default Re: Virtualbox and USB printer

    atilius wrote:

    >
    > The problem is that I get the same results like Will - unexpected
    > connections - sometime is printer available, sometime not. It is really
    > strengh....


    I have 4 systems here - laptops for myself and the wife, an old Dell for a
    file/print server, and my toy (AMD 64X2 3800). That gives me 4 systems to
    check against one another. All 4 use identical settings so only the native
    hardware differs. 3 give random effects with USB and my laptop has never
    worked. The setup screen sees all available USB devices most of the time
    but I had to disallow the wireless receiver for the mouse and that killed
    everything. We need to import a witch doctor and give him with a supply of
    chickens to sacrifice! :;


    --
    Will Honea

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •