Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.setup > #147
| Newsgroups | alt.os.linux, alt.os.linux.mandriva, comp.os.linux.setup |
|---|---|
| From | unruh <unruh@wormhole.physics.ubc.ca> |
| Subject | Re: Programming the parallel port irq on a shared irq? |
| References | <slrnip1pa0.i9m.unruh@wormhole.physics.ubc.ca> <zavrhjmncnay.litg9j0.pminews@nntp.aioe.org> |
| Message-ID | <slrnip6ogs.d05.unruh@wormhole.physics.ubc.ca> (permalink) |
| Date | 2011-03-30 17:02 +0000 |
Cross-posted to 3 groups.
On 2011-03-29, Mat Nieuwenhoven <mnieuw@zap.a2000.nl> wrote: > On Mon, 28 Mar 2011 19:45:04 GMT, unruh wrote: > ><snip> >>The parallel card is a Moschip MCS9835 card-- 2 serial, one parallel, >>all sharing one fasteoi interrupt (0x11) > > At least for chip MCS9865 Moschip has Linux drivers as compilable source on > their site. That chip looks very much like what you describe (2 serial, 1 LPT > port, plus extendable). The source could give you a clue. Unfortuantely that source code is only for the serial ports, not parallel. Under the 9835 all they say is "Please refer Linux Installation Guide. We are using Linux Standard Serial and Parallel Driver. So it will work with all Linux Kernels." and then teach you how to use lspci -v to determine the base port numbers ( without doing it properly) and the irq. (as a learing exprerience I discovered that lspci put everything out in hex withoug saying so. Thus irq 11 means irq 17 in decimal. ) Unfortuantely the standard linux parport driver does not handle sharable interrupts at all, except to bail out and poll the driver instead. I am coming to the conclusion that the parallel port specs are such that it is absolutely impossible to use shared interrupts with the parallel port. > > Mat Nieuwenhoven > >
Back to comp.os.linux.setup | Previous | Next — Previous in thread | Find similar
Re: Programming the parallel port irq on a shared irq? "Mat Nieuwenhoven" <mnieuw@zap.a2000.nl> - 2011-03-29 06:08 +0100 Re: Programming the parallel port irq on a shared irq? unruh <unruh@wormhole.physics.ubc.ca> - 2011-03-30 17:02 +0000
csiph-web