Skip to contentSkip to conversation

PICs on Linux

DISCUSSION Ryan Underwood 1 participant 1 message Nov 7, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hello,

Quoted 9 lines · On Sat, Nov 06, 2004 at 10:12:04PM -0600, [email protected] wrote:
Quoted 5 lines · Ryan Underwood

/etc/dosemu/dosemu.conf

If you want to disable the printer driver completely, here's what is in my modules.conf, but on your system it might differ:

I don't "want" to do anything other than use the parport to drive the device as it would under DOS.

fine (?)

Quoted 1 line

Especially I don't want to get married to DOSEMU.

I'm not sure what you mean by this. You will need to be familiar with DOSEMU in order to make use of it.

Quoted 1 line

Apparently OP wrote that one needs to "disable the printer driver" ?

The printer driver and DOSEMU's port passing cannot share the physical printer port. Therefore you need to disable the printer driver if you want to use DOSEMU's port passing, either temporarily or permanently.

Quoted 11 lines
Quoted 5 lines

# Don't load lp driver.

alias char-major-6 off
alias /dev/printers* off
alias /dev/lp* off

Thanks, apparently that would acheive 1 of the 3 requirements which OP listed ?

I've seen info. about:
$_ports = "0x378 0x379 0x37a"

Yes, and remember to use 'fast' unless you want to do debugging/tracing:
$_ports = "fast range 0x378 0x37a"

means pass through 0x378-0x37a in fast mode.

Quoted 1 line

So now I need to investigate: "2. pass the IRQ to DOSEMU,"

It's directly underneath $_ports in the config file ($_irqpassing).

You have to start DOSEMU as root or use sudo in order for port/irq passing to work.

Signature · 1 line
Ryan Underwood, <[email protected]>