[Linux-parport] how to make pci/pcie parallell cards working

karl at aspodata.se karl at aspodata.se
Mon May 20 13:48:37 PDT 2019


I have two pci/pcie parport cards I would like to get operational.
Do anyone know how to get any of the two cards mentioned in the
attached file parports_pci.log up an running ?

///

If I do:
# modprobe parport_pc io=0xad00,0x8d00 irq=17,3

I get this in the logs:

May 20 16:23:58 angelit user.info kernel: [ 7202.060012] parport0: PC-style at 0xad00, irq 17 [PCSPP,TRISTATE,EPP]
May 20 16:23:58 angelit user.err kernel: [ 7202.060020] genirq: Flags mismatch irq 17. 00000000 (parport0) vs. 00000080 (ehci_hcd:usb1)
May 20 16:23:58 angelit user.warn kernel: [ 7202.060021] parport0: irq 17 in use, resorting to polled operation
May 20 16:23:58 angelit user.info kernel: [ 7202.150743] parport1: PC-style at 0x8d00, irq 3 [PCSPP]

But I still don't see the driver in lspci output (for Titan):

# lspci  -ks 05:00.2; lspci -ks 07:06.1
05:00.2 Parallel controller: MosChip Semiconductor Technology Ltd. PCIe 9912 Multi-I/O Controller
        Subsystem: Device a000:2000
        Kernel modules: parport_serial
07:06.1 Parallel controller: Titan Electronics Inc VScom 010H 1 port parallel adaptor
        Subsystem: Oxford Semiconductor Ltd Device 0000

and there is no write support for neither:

# echo -n 1 > /dev/parport0
bash: echo: write error: Invalid argument
# echo -n 1 > /dev/parport1
bash: echo: write error: Invalid argument

i.e. error 22 (EINVAL), as if there isn't any write routine
in the driver or no driver.

# lsmod | grep parport
parport_serial          7649  0
parport_pc             23632  1 parport_serial
parport                32129  2 parport_pc,ppdev
# lsl /dev/parport[01]
crw-rw---- 1 root users 99, 0 Jan 18  2016 /dev/parport0
crw-rw---- 1 root lp    99, 1 Jan 18  2016 /dev/parport1

Regards,
/Karl Hammar

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: parports_pci.log
URL: <http://lists.infradead.org/pipermail/linux-parport/attachments/20190520/caa81ac7/attachment.log>


More information about the Linux-parport mailing list