[elektro] Virtualbox LPT

Fuzesi Arnold arnold.fuzesi.lista at gmail.com
Thu Apr 11 20:02:41 CEST 2013


Köszi, nagyjabol összejött, végül ez lett a megoldás itt lenn, de sajnos nagyon 
"kommunikacio intenziv" a program, hiaba billegteti a portbiteket az lpt-n, nem 
eleg gyors, vagy tudjafene mi a baja :-/ Latszolag mukodik.

-----

http://blog.my1matrix.org/2013_04_01_archive.html

First I need to get some info for the parallel port on my host Linux machine:

     # dmesg | grep parport

This will give an output like the following

     [    6.607592] parport_pc 00:06: reported by Plug and Play ACPI
     [    6.607782] parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE,EPP]
     [   10.634161] lp0: using parport0 (interrupt-driven).

Then, to setup the parallel port on my WinXP virtual machine

     VBoxManage modifyvm WinXP --lpt1 0x378 7
     VBoxManage modifyvm WinXP --lptmode1 /dev/parport0

/dev/parport0 is the parallel port device. Next, we need to set something extra

     VBoxManage setextradata WinXP 
"VBoxInternal/Devices/parallel/0/LUN#0/Config/DevicePath" /dev/parport0
     VBoxManage setextradata WinXP 
"VBoxInternal/Devices/parallel/0/LUN#0/Driver" HostParallel
     VBoxManage setextradata WinXP 
"VBoxInternal/Devices/parallel/0/Config/IOBase" 0x378
     VBoxManage setextradata WinXP "VBoxInternal/Devices/parallel/0/Config/IRQ" 7

I actually tried a lot of things... some of which may have been forgotten, or 
may be unnecessary. The final requirement is to remove that lp kernel module 
which is hogging the access for the device

     rmmod lp

To make this stick across reboot, add it to your module blacklist file in 
(/etc/modprobe.d/). And now, I'm flashing NXP P89V51 controllers that doesn't 
come with a bootloader pre-installed - all on my virtual Window$ machine.




On 04/10/2013 07:04 PM, potyo wrote:
> Nézd meg ezt. Azt írják, nincs még GUI hozzá, csak parancssorból megy:
> https://forums.virtualbox.org/viewtopic.php?f=24&t=54187#p248885
>
>
> 2013/4/10 Arnold Fuzesi <arnold.fuzesi.lista at gmail.com>
>
>> Udv Urak! Valahogy a gep lpt-jet at lehet iranyitani a "guest" OS-nek?
>>
>> --
>>
>> Vagy pendrive-rol futo XP image-et honnan kukazzak SOS? Egyszeri eset,
>> gyorsan eredmenyre kellene jutnom.
>>
>> De az elobbi jobb lenne, ha megoldodna. Usblpt nemjo.
>>
>> Koszi,
>> Arnold
>> Sent from my iPhone
>> -----------------------------------------
>>            elektro[-flame|-etc]
>>
> -----------------------------------------
>            elektro[-flame|-etc]
>



More information about the Elektro mailing list