Bitzenbytes.com

CompuClues Forum

  User  Password
Saturday, July 31, 2010 - 11:05 PM
Search
Main Menu
Who's Online
MEMBERS ONLINE

You are an anonymous user. You can register for free by clicking here
User name
Password
 Remember me
Firefox
Get Firefox 110
Languages
Preferred language:


Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
NoClueOffline
6 Post subject: Virtualbox  PostPosted: Oct 19, 2008 - 11:37 PM
Site Admin


Joined: Jan 17, 2001
Posts: 10436
Location: Blackwood, NJ USA
Status: Offline
...ain't half bad. Very Happy

Mrs. NoClue has a Visioneer OneTouch 9320 USB scanner. It does a really good job scanning slides.

Unfortunately, there aren't any drivers for Linux.

I had tried running the software in WINE. No joy.

QEMU doesn't seem to support USB devices. Neither does the Virtualbox OSE (Open Source Edition) available from the repos.

The version of Virtualbox that runs under the PUEL (VirtualBox Personal Use and Evaluation License) does, indeed, support USB devices. I downloaded the RPM from here, and gave it a shot on her freshly-setup openSUSE 11.0 (x86_64, KDE3) box.

I right-clicked on the RPM file and chose 'Open With->Install Software'. It told me that I needed pam-devel. I installed it via YaST and tried it again. It worked.

I went through the wizard, created a virtual drive, and installed Win2000 to it. Easy. Straightforward.

In order to get more than 16 colors (along with a few other nifty things), you need to install the 'Guest Additions' software on the guest OS. That, too, is easy. Fire up the virtual machine, on the menu bar, choose 'Devices->Install Guest Additions', and walk it through the install. It'll reboot, then you can play with your video settings.

It also allows you to set up a shared folder on the host machine, then map it to a drive letter in Windows. Just create the folder on the host OS, then in the guest OS, on the menu bar, choose 'Devices->Shared Folders'. Browse to the folder you created. Once the share is set up, pop into 'Network Places' and enter 'Entire Network'. When you see the share, you can map it to a drive letter, if you wish.

Getting the USB stuff working was a little trickier. It went something like this:

  1. A group called vboxusers was created for you during the install. Add your user(s) to that group. I did it in YaST.

  2. You'll need to know that group's number. I think you can see it in YaST, but I just ran:

    grep vboxusers /etc/group

    In my case, it said:

    vboxusers:!:1000:

  3. As root, open /etc/fstab in your favorite editor. Look for the line that says:

    /etc/fstab wrote:
    usbfs /proc/bus/usb usbfs noauto 0 0


    and change it to:

    /etc/fstab wrote:
    usbfs /proc/bus/usb usbfs auto,devgid=1000,devmode=664 0 0


    The 'devgid=' number should equal the number you got from grep above.

  4. To make sure openSUSE mounts usbfs at boot time, open /etc/init.d/boot.local and add the following line:

    mount usbfs

  5. Mount usbfs by running, as root:

    mount -a

    ...or by rebooting.

  6. Fire up Virtualbox. Click on 'USB' in the 'Details' pane, enable USB, and 'Add filter from device'...in my case, the scanner.

  7. Then I fired up the guest OS. At the bottom of the window, there's a little USB icon. I right-clicked on it, and unchecked the scanner, while Windows was booting. The software wants the device to be unplugged while you start the install, then will tell you to plug it in when it's ready for it. I just right-clicked on the USB icon again, and checked off the scanner. It installed the driver, and I clicked 'Finish'. The software found the scanner. I opened up the GIMP and did a test scan. It works. Thumbs Up


All in all, Virtualbox is pretty impressive.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
KlaatuOffline
Post subject: RE: Virtualbox  PostPosted: Oct 20, 2008 - 04:43 AM
Member


Joined: Sep 09, 2001
Posts: 1620
Location: Rygel 7
Status: Offline
hhmmmm...... I'm trying to remember....... this may be one of those "Linux Religion" things. You know, use a crippled version of software because its "pure" and untainted by commercial code I am assuming you used the 2.02 version.

I did all this in the 1.6.6 version that was free. But Sun released their "regular" version of 2.02 on their website and you may not have to do all the work anymore. My fstab looks like your instructions, but I did that for the older version and left it since it worked.

If you are not using the Sun version (I know they are really ALL Sun versions), give it a try. It may be easier to set up. I'm running Win XP and opensuse 11.1 beta 2 (beta 3 is due Monday and I will change) and they run very well with a mere 256 mb of memory allocated to them. One cool thing about VirtualBox is that you can download the iso of a DVD of an OS and mount it as a CD drive and VirtualBox will install it from there. NO DVD burning required!

One thing, though.... I recommend patience. It seems that you need to do a lot of rebooting of the virtual machine before it boots smoothly as a regular installed OS. No problems, just reboots until everything gets "settled."
 
 View user's profile Send private message  
Reply with quote Back to top
hubtonesOffline
Post subject: Re: RE: Virtualbox  PostPosted: Oct 21, 2008 - 02:14 AM
Member


Joined: Feb 28, 2001
Posts: 1034
Location: Philadelphia, PA USA
Status: Offline
Klaatu wrote:
hhmmmm...... I'm trying to remember....... this may be one of those "Linux Religion" things. You know, use a crippled version of software because its "pure" and untainted by commercial code I am assuming you used the 2.02 version.

"


Anyone using ndiswrapper isn't a purist, it makes use of software for windows that isn't open source and likely never will be. Similarly attempting to use wine for windows software isn't seeking to be purist. Noclue was just finding a solution that worked without running windows. I know, I've been there, done that with things like trying to trying to use a winmodem as an answering machine under Linux, or getting a Verizon card to work under Linux.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 5 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
Bugs  |  Tasks  |  Developers