Startech Parallel port (Oxford OX16PCI954)
barsalou
barjunk at attglobal.net
Wed Mar 27 02:59:23 EDT 2013
I'm trying to use this parallel port using a cardbus port in my laptop.
What can I do to have the parallel port be created?
The serial ports are unneeded so could be disabled if that would help.
Not exactly sure how to go about troubleshooting this problem.
Ideas?
Using linux 3.2.0-29 and getting this in my dmesg when plugging in the board:
[ 179.268290] pcmcia_socket pcmcia_socket0: pccard: CardBus card
inserted into slot 0
[ 179.268340] pci 0000:04:00.0: [1415:9500] type 0 class 0x000700
[ 179.268393] pci 0000:04:00.0: reg 10: [io 0x0000-0x0007]
[ 179.268422] pci 0000:04:00.0: reg 14: [io 0x0000-0x0007]
[ 179.268450] pci 0000:04:00.0: reg 18: [io 0x0000-0x0007]
[ 179.268479] pci 0000:04:00.0: reg 1c: [io 0x0000-0x0007]
[ 179.268508] pci 0000:04:00.0: reg 20: [io 0x0000-0x001f]
[ 179.268537] pci 0000:04:00.0: reg 24: [mem 0x00000000-0x00000fff]
[ 179.268643] pci 0000:04:00.0: supports D2
[ 179.268650] pci 0000:04:00.0: PME# supported from D0 D2 D3hot
[ 179.268663] pci 0000:04:00.0: PME# disabled
[ 179.268713] pci 0000:04:00.1: [1415:9513] type 0 class 0x000000
[ 179.268761] pci 0000:04:00.1: reg 10: [io 0x0000-0x0007]
[ 179.268790] pci 0000:04:00.1: reg 14: [io 0x0000-0x0007]
[ 179.268819] pci 0000:04:00.1: reg 18: [io 0x0000-0x001f]
[ 179.268848] pci 0000:04:00.1: reg 1c: [mem 0x00000000-0x00000fff]
[ 179.268994] pci 0000:04:00.1: supports D2
[ 179.269000] pci 0000:04:00.1: PME# supported from D0 D2 D3hot
[ 179.269013] pci 0000:04:00.1: PME# disabled
[ 179.269065] pci 0000:04:00.0: BAR 5: assigned [mem 0x4c000000-0x4c000fff]
[ 179.269081] pci 0000:04:00.0: BAR 5: set to [mem
0x4c000000-0x4c000fff] (PCI address [0x4c000000-0x4c000fff])
[ 179.269090] pci 0000:04:00.0: BAR 4: assigned [io 0x2400-0x241f]
[ 179.269104] pci 0000:04:00.0: BAR 4: set to [io 0x2400-0x241f]
(PCI address [0x2400-0x241f])
[ 179.269113] pci 0000:04:00.0: BAR 0: assigned [io 0x2420-0x2427]
[ 179.269127] pci 0000:04:00.0: BAR 0: set to [io 0x2420-0x2427]
(PCI address [0x2420-0x2427])
[ 179.269135] pci 0000:04:00.0: BAR 1: assigned [io 0x2428-0x242f]
[ 179.269149] pci 0000:04:00.0: BAR 1: set to [io 0x2428-0x242f]
(PCI address [0x2428-0x242f])
[ 179.269157] pci 0000:04:00.0: BAR 2: assigned [io 0x2430-0x2437]
[ 179.269171] pci 0000:04:00.0: BAR 2: set to [io 0x2430-0x2437]
(PCI address [0x2430-0x2437])
[ 179.269179] pci 0000:04:00.0: BAR 3: assigned [io 0x2438-0x243f]
[ 179.269193] pci 0000:04:00.0: BAR 3: set to [io 0x2438-0x243f]
(PCI address [0x2438-0x243f])
[ 179.269218] pci 0000:04:00.0: cache line size of 64 is not supported
[ 179.269240] pci 0000:04:00.1: cache line size of 64 is not supported
[ 179.269443] serial 0000:04:00.0: enabling device (0000 -> 0003)
[ 179.269462] serial 0000:04:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[ 179.269895] ttyS4: detected caps 00000700 should be 00000500
[ 179.269935] 0000:04:00.0: ttyS4 at I/O 0x2420 (irq = 19) is a 16C950/954
[ 179.284392] ttyS5: detected caps 00000700 should be 00000500
[ 179.284434] 0000:04:00.0: ttyS5 at I/O 0x2428 (irq = 19) is a 16C950/954
[ 179.328473] parport_pc 0000:04:00.1: device not available (can't
reserve [io 0x0000-0x0007])
[ 179.328482] parport_pc: probe of 0000:04:00.1 failed with error -22
Here what seem to be the relevant parts of lspci -v, if it helps:
04:00.0 Serial controller: Oxford Semiconductor Ltd OX16PCI954 (Quad
16950 UART) function 0 (Disabled) (rev 01) (prog-if 06 [16950])
Subsystem: Oxford Semiconductor Ltd Device 0000
Flags: medium devsel, IRQ 19
I/O ports at 2420 [size=8]
I/O ports at 2428 [size=8]
I/O ports at 2430 [size=8]
I/O ports at 2438 [size=8]
I/O ports at 2400 [size=32]
Memory at 4c000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
Kernel driver in use: serial
04:00.1 Non-VGA unclassified device: Oxford Semiconductor Ltd
OX16PCI954 (Quad 16950 UART) function 1 (parallel port) (rev 01)
Subsystem: Oxford Semiconductor Ltd Device 0000
Flags: medium devsel, IRQ 19
I/O ports at <unassigned> [disabled]
I/O ports at <unassigned> [disabled]
I/O ports at <unassigned> [disabled]
Capabilities: [40] Power Management version 2
Kernel modules: parport_pc
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the linux-pcmcia
mailing list