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. Btw, it's strange for the PCI card to be detected as a plain SPP parallel port. Which PCI vendor/device ID does this card have? Best regards, Daniel -- sane-devel mailing list: [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to [email protected]
