[Linux-parport] parport_serial and NetMos 9835
Russell Shaw
rjshaw at netspace.net.au
Sat Feb 5 05:57:56 EST 2005
Michael Reinelt wrote:
> Hi there,
>
>>> I commented out all the 9835 stuff in parport_pc, and now
>>> everything works fine.
>
>
>> I just got one of these cards and couldn't get it to work. Is there a
>> patch for it yet?
>
>
> this may provide a quick-and-dirty solution for Kernel 2.6.10 (works
> here, but YMMV)
>
> bye, Michael
>
>
> ------------------------------------------------------------------------
>
> --- parport_pc.c.orig 2005-01-02 13:49:32.000000000 +0100
> +++ parport_pc.c 2005-01-02 13:51:08.000000000 +0100
> @@ -2735,3 +2735,3 @@
> netmos_9735,
> - netmos_9835,
> + /*netmos_9835,*/
> netmos_9755,
> @@ -2812,3 +2812,3 @@
> /* netmos_9735 */ { 1, { { 2, 3 }, } }, /* untested */
> - /* netmos_9835 */ { 1, { { 2, 3 }, } }, /* untested */
> + /* netmos_9835 */ /* { 1, { { 2, 3 }, } }, */ /* untested */
> /* netmos_9755 */ { 2, { { 0, 1 }, { 2, 3 },} }, /* untested */
> @@ -2895,4 +2895,6 @@
> PCI_ANY_ID, PCI_ANY_ID, 0, 0, netmos_9735 },
> + /*
> { PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9835,
> PCI_ANY_ID, PCI_ANY_ID, 0, 0, netmos_9835 },
> + */
> { PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9755,
Hi,
I patched 2.6.10 and compiled in the parport and serial port options in menuconfig.
It still won't work:(
lspci -vv -s 0:b.0 shows:
0000:00:0b.0 Serial controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01) (prog-if 02
[16550])
Subsystem: LSI Logic / Symbios Logic 2S (16C550 UART)
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR-
<PERR-
Interrupt: pin A routed to IRQ 19
Region 0: I/O ports at cc00 [size=8]
Region 1: I/O ports at d000 [size=8]
Region 2: I/O ports at d400 [size=8]
Region 3: I/O ports at d800 [size=8]
Region 4: I/O ports at dc00 [size=8]
Region 5: I/O ports at e000 [size=16]
Is that IRQ 19 real or bogus?
I tried: setserial /dev/ttyS2 port 0xdc00 uart 16550 irq 19
then: cat test > /dev/ttyS2
with various port and irq settings, but the command blocks for 10secs
then returns.
More information about the Linux-parport
mailing list