VMWare in Kubuntu
Tez
binary_y2k2 at blueyonder.co.uk
Fri Jul 7 08:56:20 UTC 2006
Dotan Cohen wrote:
> On 07/07/06, Tez <binary_y2k2 at blueyonder.co.uk> wrote:
>> 2) Add the lines:
>> usb.present = "TRUE"
>> usb.generic.autoconnect = "FALSE"
>> to the file, if not there
>
> I tried that, and restarted the VMWare machine, but there is a driver
> problem. I'm trying to connect an SD card via card reader, that works
> on native XP and of course linux. When I reset the Virtual Machine
> (from inside the menu) Kate informed me that the file on disk has been
> changed, and the line usb.generic.autoconnect = "FALSE" has
> disappeared. Should I readd it?
Yes, readd it. That enables USB hub in the client.
>
>> then you'll be able to choose the device to
>> connect on the top of the window under "removable devices" or similar.
>
> Is this the line you're referring to?
> usb.autoConnect.device0 = "path:3/5 autoclean:1"
>
> What should I change it to? I know that my USB device is /dev/sda
>
[Warning, big long explanation ahead]
I was referring to a menu that I remember that was at the top of the
player window, as I'm not using the player that's jusr from memory.
But you can use those lines in the .vmx to auto connect a device.
You can use lsusb to find the info for the line but I use
/proc/bus/usb/devices because lsusb doesn't tell me which device is my
card reader, just gives "Alcor Micro Corp."
lspci:
This shows me "Bus 003 Device 002: ID 058f:9360 Alcor Micro Corp.", it's
the ID part you want, if yours was 058f:9360 then change
usb.autoConnect.device0 = "path:3/5 autoclean:1" to
usb.autoConnect.device0 = "0x58f:0x9360 autoclean:1" (058f:9360 in hex)
/proc/bus/usb/devices:
If you use /proc/bus/usb/devices, look for a reference like "S:
Product=USB Reader" (from my devices file)
look for the line with "P: Vendor=" in the same block, eg "P:
Vendor=058f ProdID=9360 Rev= 1.00"
You need to vendor part and the prodID part, change the line to those
numbers (in hex) with a colon between them.
So if your device was the same as mine you would change the "path:3/5"
part to "0x58f:0x9360"
and the line would read:
usb.autoConnect.device0 = "0x58f:0x9360 autoclean:1"
You may also need the line
usb.generic.skipsetconfig = "TRUE"
This will stop ubuntu grabbing the device before the client dose.
>> 3) To read from CD find/add the lines:
>> ide1:0.present = "TRUE"
>> ide1:0.fileName = "/dev/hdc"
>
> Ah, this works because linux sees everything as a file? Thanks, it works.
Yeah, just be careful that linux doesn't mount the cd when you tell
windows to eject the cd, because the cd will eject without umount.
(although your not really supposed to mount it and use it in a client,
but it's no big deal in my experience)
I made that mistake once and has to reinsert the cd to unmount it.
>
>> If you want to read from a device use:
>> ide1:0.deviceType = "cdrom-raw"
>>
>> or from a image, use
>> ide1:0.deviceType = "cdrom-image"
>>
>> Dose that answer all your questions?
>
> Pretty much, with the exeption of getting the USB working. Thank you!
>
> Dotan Cohen
>
More information about the kubuntu-users
mailing list