[sane-devel] Question on Parallel port devices
Olaf Meeuwissen
paddy-hack at member.fsf.org
Mon Jan 14 12:46:18 GMT 2019
Hi Daniel,
Daniel Glöckner writes:
> Hi,
>
> On Sat, Jan 12, 2019 at 08:40:42PM +0000, Mauricio Hunt wrote:
>> [ 7.130079] parport0: PC-style at 0xd020, irq 26 [PCSPP]
>>
>> so the parallel port is there and 'active' at 0xd020, using that IO address in the procedure above gives no results, the scan front-end (scanlite, xsane, etc..) or by shell command returns that there are no devices found.
>
> the pio_open function in sanei_pio.c uses ioperm() to request access
> to those io ports, but ioperm only works up to io port 0x3ff. For
> higher port addresses iopl() must be used.
Would you be able to contribute a patch?
Hope this helps,
--
Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27
GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9
Support Free Software https://my.fsf.org/donate
Join the Free Software Foundation https://my.fsf.org/join
More information about the sane-devel
mailing list