Mailinglist Archive: opensuse (3442 mails)
| < Previous | Next > |
Re: [SLE] VMware Workstation.
- From: Andre Truter <andre.truter@xxxxxxxxxxxxx>
- Date: 19 Dec 2001 21:53:38 +0200
- Message-id: <1008791620.2508.22.camel@obelix>
Hi Erik,
On Wed, 2001-12-19 at 21:25, Erik Jakobsen wrote:
>
> Later today I installed Windows XP in my Workstation. Every thing but min
> LJ1100A does work ok.
>
> Once I had it up on another harddisk there were no problems at all.
>
> I do have the latest CD-Rom for my LJ1100A and it supports XP.
>
> I have the following set in my /etc/group file for my "lp":
>
> lp:x:7:erik
>
> In the vmware I have switched off the bidirectional in the LPT1 setup.
>
> Then there are no errors at boot up.
>
> If I set the bidirectional to on, following info comes up:
>
> "The bidirectional virtual device LPT1 is using the old-style unidirectional
> host device /dev/lp0.
> You must either turn off bidirectional mode for LPT1 in the configuration
> editor, or change its path to a parport-style device )probably /dev/parport0)
> Device parallel0 will start disconnected"
>
> At the time when the printer worked, it was set to /dev/lp0.
>
> Of course there is something not as it should be, but I cannot think what.
>
> Do you have any ideas, or if anybody else reads this, and have experience
> with the problem I have, then please come on with what you may help me with.
>
> I write to SLE because I have had no feedback asking the same on the vmware
> news group.
>
I have VMWare running on a RedHat box, but I assume it should work the
same on SuSE.
You need the parport and parport_pc modules to be loaded.
I wrote my own init script that is called during system initialisation
to load the modules for me.
Here it is:
----------------
#!/bin/sh
#
# Source functions
. /etc/init.d/functions
alias=`egrep -s "^alias[[:space:]]+parport_lowlevel[[:space:]]+"
/etc/modules.conf | awk '{ print $3 }'`
if [ -n "$alias" -a "$alias" != "off" ] ;
then
action "Initializing ($alias): " modprobe $alias
else
echo "parport_lowlevel not in modules.conf"
fi
# this is all.
# I have to add error detection also ... later
------------
And I added the following line to /etc/modules.conf
----<snip>----
alias parport_lowlevel parport_pc
----<snip>----
Unfortunately I cannot help you much with setting up this script in
SuSE, as I have only been using SuSE since Monday (3 days) :-)
I do see that there is an parport entry in my SuSE box's
/etc/modules.conf.
Maybe someone else can help you to get the parport modules to load on
boot.
But to check if it helps now, you should be able to do:
modprobe parport_pc
now to get the modules loaded.
Do 'lsmod' to see if the modules are running.
Then you need to set your parallel port as /dev/parport0 in the VMWare
settings.
Hope this helps
--
Andre Truter
Software Engineer
<------------------------------------------------->
< The box said: Requires Windows 95 or better... >
< So I installed Linux >
<------------------------------------------------->
On Wed, 2001-12-19 at 21:25, Erik Jakobsen wrote:
>
> Later today I installed Windows XP in my Workstation. Every thing but min
> LJ1100A does work ok.
>
> Once I had it up on another harddisk there were no problems at all.
>
> I do have the latest CD-Rom for my LJ1100A and it supports XP.
>
> I have the following set in my /etc/group file for my "lp":
>
> lp:x:7:erik
>
> In the vmware I have switched off the bidirectional in the LPT1 setup.
>
> Then there are no errors at boot up.
>
> If I set the bidirectional to on, following info comes up:
>
> "The bidirectional virtual device LPT1 is using the old-style unidirectional
> host device /dev/lp0.
> You must either turn off bidirectional mode for LPT1 in the configuration
> editor, or change its path to a parport-style device )probably /dev/parport0)
> Device parallel0 will start disconnected"
>
> At the time when the printer worked, it was set to /dev/lp0.
>
> Of course there is something not as it should be, but I cannot think what.
>
> Do you have any ideas, or if anybody else reads this, and have experience
> with the problem I have, then please come on with what you may help me with.
>
> I write to SLE because I have had no feedback asking the same on the vmware
> news group.
>
I have VMWare running on a RedHat box, but I assume it should work the
same on SuSE.
You need the parport and parport_pc modules to be loaded.
I wrote my own init script that is called during system initialisation
to load the modules for me.
Here it is:
----------------
#!/bin/sh
#
# Source functions
. /etc/init.d/functions
alias=`egrep -s "^alias[[:space:]]+parport_lowlevel[[:space:]]+"
/etc/modules.conf | awk '{ print $3 }'`
if [ -n "$alias" -a "$alias" != "off" ] ;
then
action "Initializing ($alias): " modprobe $alias
else
echo "parport_lowlevel not in modules.conf"
fi
# this is all.
# I have to add error detection also ... later
------------
And I added the following line to /etc/modules.conf
----<snip>----
alias parport_lowlevel parport_pc
----<snip>----
Unfortunately I cannot help you much with setting up this script in
SuSE, as I have only been using SuSE since Monday (3 days) :-)
I do see that there is an parport entry in my SuSE box's
/etc/modules.conf.
Maybe someone else can help you to get the parport modules to load on
boot.
But to check if it helps now, you should be able to do:
modprobe parport_pc
now to get the modules loaded.
Do 'lsmod' to see if the modules are running.
Then you need to set your parallel port as /dev/parport0 in the VMWare
settings.
Hope this helps
--
Andre Truter
Software Engineer
<------------------------------------------------->
< The box said: Requires Windows 95 or better... >
< So I installed Linux >
<------------------------------------------------->
| < Previous | Next > |