public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* port access problems in 1.1.99.1
@ 2003-10-30 16:07 Richard White
  2003-10-30 17:02 ` Anderson Pereira Ataides
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Richard White @ 2003-10-30 16:07 UTC (permalink / raw)
  To: linux-msdos

Hi:
I'm having what have so far turned out to be insoluble problems with dosemu 
(1.1.99.1) under Redhat 9

1) Current status/environment:
RedHat 9 (kernel 2.4.20), with Dosemu 1.1.99.1 and matching freedos binaries 
installed per instructions, which worked as specified.  To be able to check 
on possible permissions issues, it was installed separately both in my user 
home and in root's. 

~/dosemu/conf/dosemurc has been changed as follows:-
$_com1 = "/dev/ttyS0"
$_printer = "lpr"

After the above, all DOS apps I have tried seem to run nicely EXCEPT in regard 
to port access, as follows:-

1) On trying to print from DOS, (either via e.g. "copy autoexec.bat LPT1:"or 
via DBase III, which otherwise runs correctly, and which prints to LPT1:), we 
get the same error message:
"lpr: unable to print file client-not-found"
This same message appears whether or not I am running as root.

2) On starting an app that needs Com1, we get a message  "error initializing 
serial port"  I do not know where this is generated.  as above, the message is 
the same whether running as root or as a normal user, so permissions may not 
be the problem.  

 I have checked permissions as follows:-
A) /var/lock = 777 (note that in RH9, the only content of /var/lock seems to 
be a 'subsys' directory, which - is this a configuration issue that needs to 
be addressed?  ( i have tried changing the value of ttylocks to match (i.e. 
to /var/lock/subsys), but with no effect)

B) /dev/ttyS0 = 666 
Thus as far as I can see, i have made all the changes that are normally 
suggested, unless I am missing something.

Has anyone seen behaviour like this, and/or an anyone advise how to diagnose 
this please?

thanks!

Richard White


^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: port access problems in 1.1.99.1
@ 2003-10-30 20:30 Stas Sergeev
  0 siblings, 0 replies; 6+ messages in thread
From: Stas Sergeev @ 2003-10-30 20:30 UTC (permalink / raw)
  To: linux-msdos

Hello.

Richard White wrote:
> 2) On starting an app that needs Com1, we get a message  "error initializing 
> serial port"  I do not know where this is generated.
Have a look into a -D9+s log, this may
shed some light on the problem. If you
think this is a bug in dosemu, you can
open a bug report and attach the log to
it or post it here if it is small.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-11-02 13:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-30 16:07 port access problems in 1.1.99.1 Richard White
2003-10-30 17:02 ` Anderson Pereira Ataides
2003-10-30 17:35 ` Justin Zygmont
     [not found] ` <200310302158.54115.dr.claudia.neumann@gmx.de>
     [not found]   ` <200310302033.38284.Richard@qc.edu>
2003-10-31 12:18     ` Dr. Claudia Neumann
     [not found]       ` <200311020139.51876.Richard@qc.edu>
2003-11-02 13:20         ` solved printing " Dr. Claudia Neumann
  -- strict thread matches above, loose matches on Subject: below --
2003-10-30 20:30 port access " Stas Sergeev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox