VMware Communities > VMTN > Desktop Products > VMware Player > Discussions

This Question is Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
7 Replies Last post: Dec 26, 2007 7:50 AM by ubuntix
Reply

Scanner not working

Jun 7, 2007 6:24 AM

Click to view robbyx's profile Enthusiast robbyx 73 posts since
May 21, 2007
When I used Win2k as a standalone I had no problem installing the scanner. I have the driver disk and after it was run the scanner worked. It is a usb scanner.

I have installed it with the correct windows driver into win2k client. When I try to do a scan I get an error message "Unable to find scanner. No Scanner or other twain source found on the system"

How do I solve this problem?
Reply Re: Scanner not working Jun 7, 2007 6:46 AM
Click to view RDPetruska's profile Guru RDPetruska 15,420 posts since
Jan 11, 2005
Moderator
Does the Player toolbar show that the Scanner usb device is connected to your guest?
Reply Re: Scanner not working Jun 7, 2007 9:37 AM
in response to: RDPetruska
Click to view robbyx's profile Enthusiast robbyx 73 posts since
May 21, 2007
I reistalled the scanner after various windows updates had been completed. The scanner shows at the top of the screen as one of the divices that are available. When I click on it a small box comes up stating "Finding scanner". Nothing happens. It does not end unless I press the button again to disconnect the scanner. The box changes to trying to a search result at the end of which it reports it can not be found.
Reply Re: Scanner not working Jun 8, 2007 3:09 PM
in response to: robbyx
Click to view robbyx's profile Enthusiast robbyx 73 posts since
May 21, 2007
I wonder if the cause of the scanner not being found is that it is not correctly set up within my vmx. Here it is in case it helps find a solution:

# http://www.easyvmx.com

# It can be used with Player
config.version = "8"
virtualHW.version = "4"

# Selected operating system for your virtual machine
guestOS = "win2000pro"

# displayName is your own name for the virtual machine
displayName = "Win2k4MSi"

# These fields are free text description fields
annotation = "Virtual Machine created with EasyVMX! Super Simple Edition"
guestinfo.vmware.product.url = "http://www.easyvmx.com"
guestinfo.vmware.product.class = "virtual machine"

# work if this number is higher than the number of your physical CPUs
numvcpus = "1"

# Memory size and other memory settings
mainMem.useNamedFile=FALSE
memsize = "320"
MemAllowAutoScaleDown = "FALSE"
MemTrimRate = "-1"

# Unique ID for the virtual machine will be created
uuid.action = "create"

# This setting has no effect in VMware Player
tools.remindInstall = "FALSE"

# This setting has no effect in VMware Player
hints.hideAll = "TRUE"

# and virtual machine
tools.syncTime = "TRUE"

# This config activates USB
usb.present = "TRUE"
usb.generic.autoconnect = "FALSE"

# First serial port, physical COM1 is available
serial0.present = "TRUE"
serial0.fileName = "Auto Detect"
serial0.autodetect = "TRUE"
serial0.hardwareFlowControl = "TRUE"

# It is set to bidirectional for more functionality
parallel0.present = "TRUE"
parallel0.fileName = "Auto Detect"
parallel0.autodetect = "TRUE"
parallel0.bidirectional = "TRUE"

# Sound settings
sound.present = "TRUE"
sound.virtualdev = "es1371"

# This config activates logging, and keeps last log
logging = "TRUE"
log.fileName = "Win2k4MSi.log"
log.append = "TRUE"
log.keepOld = "1"

# computer and the virtual machine
isolation.tools.hgfs.disable = "FALSE"
isolation.tools.dnd.disable = "FALSE"
isolation.tools.copy.enable = "TRUE"
isolation.tools.paste.enabled = "TRUE"

# This config activates this NIC by default
ethernet0.present = "TRUE"
ethernet0.connectionType = "bridged"
ethernet0.addressType = "generated"
ethernet0.generatedAddressOffset = "0"
ethernet0.virtualDev = "vlance"

# Settings for physical floppy drive
floppy0.present = "FALSE"

# Settings for physical CDROM drive
ide1:0.present = "TRUE"
ide1:0.deviceType = "cdrom-raw"
ide1:0.startConnected = "TRUE"
ide1:0.fileName = "auto detect"
ide1:0.autodetect = "TRUE"

# This disk image is selected by default
ide0:0.present = "TRUE"
ide0:0.fileName = "Win2k4MSi.vmdk"
ide0:0.mode = "persistent"
ide0:0.startConnected = "TRUE"
ide0:0.writeThrough = "TRUE"

# Setting shared folders
sharedFolder.option = "alwaysEnabled"
sharedFolder0.present = "TRUE"
sharedFolder0.enabled = "TRUE"
sharedFolder0.readAccess = "TRUE"
sharedFolder0.writeAccess = "TRUE"
sharedFolder0.hostPath = "/media/sda1"
sharedFolder0.guestName = "sda1"
sharedFolder0.expiration = "never"
sharedFolder1.present = "TRUE"
sharedFolder1.enabled = "TRUE"
sharedFolder1.readAccess = "TRUE"
sharedFolder1.writeAccess = "TRUE"
sharedFolder1.hostPath = "/media/hdb5"
sharedFolder1.guestName = "my docs"
sharedFolder1.expiration = "never"
sharedFolder2.present = "TRUE"
sharedFolder2.enabled = "TRUE"
sharedFolder2.readAccess = "TRUE"
sharedFolder2.writeAccess = "TRUE"
sharedFolder2.hostPath = "/media/hdb6"
sharedFolder2.guestName = "downloads"
sharedFolder2.expiration = "never"
sharedFolder.maxNum = "3"


# END OF EasyVMX! CONFIG

extendedConfigFile = "Win2k4MSi.vmxf"
virtualHW.productCompatibility = "hosted"
tools.upgrade.policy = "manual"

ethernet0.generatedAddress = "00:0c:29:d2:08:38"
uuid.location = "56 4d 2a 72 b3 1d 2f c9-ff 8c dd 05 ef d2 08 38"
uuid.bios = "56 4d 2a 72 b3 1d 2f c9-ff 8c dd 05 ef d2 08 38"
ide0:0.redo = ""
parallel0.startConnected = "FALSE"

checkpoint.vmState = "Win2k4MSi.vmss"

usb.autoConnect.device0 = ""

Reply Re: Scanner not working Jun 9, 2007 2:21 PM
in response to: robbyx
Click to view robbyx's profile Enthusiast robbyx 73 posts since
May 21, 2007
I looked at some of the posts on usb problems and I wonder if anyone has managed to get their usb scanner to work. If they have please post some help because it is a major reason why I have installed Player, that and the need to run abbyy.
Reply Re: Scanner not working Jun 10, 2007 3:47 AM
in response to: robbyx
Click to view robbyx's profile Enthusiast robbyx 73 posts since
May 21, 2007
I solved my scanner problem by seeing if there was a problem with usb ports and vmware, rather than the scanner. I followed the following faq and now my scanner is recognised and works:

http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=3862823&sliceId=2&docTypeID=DT_KB_1_1&dialogID=8803212&stateId=0%200%208801226

" Some recently released Linux distributions are not mounting USBFS to /proc/bus/usb. The virtual machine's USB back end uses this to detect USB devices that are attached to the host.

Solution

To work around this issue, mount USBFS to /proc/bus/usb.

To do this while the host is running, execute the following command as root:

mount -t usbfs none /proc/bus/usb


You need to power cycle the virtual machines after the mount command to have access to available USB devices.

To configure the host to mount USBFS automatically on bootup, add the following line in the /etc/fstab file:

usbfs /proc/bus/usb usbfs auto 0 0


If this line is already present in /etc/fstab, it likely has the noauto option set in the options column (4th column). Change this to auto.

Some of the Linux distributions that are known not to mount USBFS by default include:

*
Ubuntu Linux 6.06
*
SUSE Linux 10.1
*
SUSE Enterprise Linux Server 10
*
Mandriva Linux 2006
*
SLES9 SP3 64 bit

Note: This issue affects these operating systems only when they are used as a host for VMware virtual machines. These operating systems, when used as guests, do not exhibit this problem."

Reply Re: Scanner not working Jul 30, 2007 9:10 AM
in response to: robbyx
Click to view rocket777's profile Lurker rocket777 2 posts since
Jul 9, 2007
I am also having a problem with a usb scanner (actually an intel web cam, but on my host system - win2k - it works just like a scanner when using twain software to capture a picture).

My problem is that both my host and my guest are win2k. When I enabled the usb inside the guest (click the usb button at the player top to switch all usb devices from host to guest) the twain functions do not work. (Other usb functions, like a usb disk drive work, however).

I was able to have it detect the usb webcam, and then I did sucessfully use the windows new hardware wiz to find the same drivers from MS update that are installed on the host system, where it works. So, my setup is the same in host and guest, but in the guest, it does not work.

For my test, I am using a few freeware twain caputre programs, which work in my host but not in my guest. I got one from twain.org, called twacker and it hangs after the enable step (of an acquire request).
Reply Re: Scanner not working Dec 26, 2007 7:50 AM
in response to: rocket777
Click to view ubuntix's profile Lurker ubuntix 1 posts since
Dec 26, 2007

Thanks robbyx,

That worked for me. I'm running Ubuntu Gutsy Gibbon as host and WIn XP as guest. After mounting with

mount -t usbfs none /proc/bus/usb or appending usbfs /proc/bus/usb usbfs auto 0 0 to /etc/fstab and restarting all you have to do to make win xp guest recognise the usb device is click on VM>Removable Devices>USB Devices>[your device] and of course make sure you have installed the drivers.ubuntix

Actions