public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: Anderson Pereira Ataides <anderson@persogo.com.br>
To: linux-msdos@vger.kernel.org
Subject: Re: port access problems in 1.1.99.1
Date: Thu, 30 Oct 2003 15:02:27 -0200	[thread overview]
Message-ID: <200310301502.27575.anderson@persogo.com.br> (raw)
In-Reply-To: <200310301107.54578.Richard@qc.edu>

Richard,

About the serial port, please check if your port is working (just to be sure 
problem is not with hardware). I say that because running as root it should 
work and it is working with me.

About printer, it is not a dosemu problem. It's cups configuration. You have 
to edit two cups files to solve this problem: mime.types and mime.convs 
(probably these files are under /etc/cups directory). Uncomment the folowing 
line in mime.types:
	application/octet-stream
and in mime.convs:
	application/octet-stream       application/vnd.cups-raw        0       -

Then you have to restart cups. Now you are able to print to lpt.

[]s
Anderson Pereira Ataides




Em Qui 30 Out 2003 14:07, Richard White escreveu:
> 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
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


  reply	other threads:[~2003-10-30 17:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-30 16:07 port access problems in 1.1.99.1 Richard White
2003-10-30 17:02 ` Anderson Pereira Ataides [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200310301502.27575.anderson@persogo.com.br \
    --to=anderson@persogo.com.br \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox