Hi all,
I have found, in a customer PC, a dual port PCI card that seems unsupported
in Linux 2.4.3
Is there a patch anywhere? (I have looked at Tim's page already).
The data (I didn't know the lspci -vv option, sorry):
Dual Parallel card with PCI-ID 10b5:1147
Card description (as provided by MS-Win98 driver):
Card Name: VsCom
IRQ : 11
I/O Address : 0xd800
Manufacturer : Vision Systems
Two VsCom parallel port with (virtual, I think) I/O addresses at 0x278,0x3bc
----------------------------------------------------------------------------
---------
Output from lspci (card identified as PLX):
00:00.0 Host bridge: VIA Technologies, Inc. VT82C691 [Apollo PRO] (rev c4)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598 [Apollo MVP3 AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C596 ISA [Apollo PRO] (rev
23)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev 10)
00:07.2 USB Controller: VIA Technologies, Inc. VT82C586B USB (rev 11)
00:07.3 Host bridge: VIA Technologies, Inc.: Unknown device 3050 (rev 30)
00:10.0 Serial controller: PLX Technology, Inc.: Unknown device 1147 (rev
02) <--This one
01:00.0 VGA compatible controller: ATI Technologies Inc Rage XL AGP (rev 65)
----------------------------------------------------------------------------
---------
Output from lspci -n:
00:00.0 Class 0600: 1106:0691 (rev c4)
00:01.0 Class 0604: 1106:8598
00:07.0 Class 0601: 1106:0596 (rev 23)
00:07.1 Class 0101: 1106:0571 (rev 10)
00:07.2 Class 0c03: 1106:3038 (rev 11)
00:07.3 Class 0600: 1106:3050 (rev 30)
00:10.0 Class 0700: 10b5:1147 (rev 02) <---- Here it is
01:00.0 Class 0300: 1002:474d (rev 65)
----------------------------------------------------------------------------
---------
Output from `cat /proc/pci`:
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev
196).
Prefetchable 32 bit memory at 0xd0000000 [0xd3ffffff].
Bus 0, device 1, function 0:
PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]
(rev 0).
Master Capable. No bursts. Min Gnt=12.
Bus 0, device 7, function 0:
ISA bridge: VIA Technologies, Inc. VT82C596 ISA [Mobile South] (rev 35).
Bus 0, device 7, function 1:
IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 16).
Master Capable. Latency=32.
I/O at 0xd000 [0xd00f].
Bus 0, device 7, function 2:
USB Controller: VIA Technologies, Inc. UHCI USB (rev 17).
IRQ 10.
Master Capable. Latency=32.
I/O at 0xd400 [0xd41f].
Bus 0, device 7, function 3:
Host bridge: VIA Technologies, Inc. VT82C596 Power Management (rev 48).
Bus 0, device 16, function 0:
Serial controller: PCI device 10b5:1147 (PLX Technology, Inc.) (rev 2).
<-- This one.
IRQ 11.
Non-prefetchable 32 bit memory at 0xd9000000 [0xd900007f].
I/O at 0xd800 [0xd87f].
I/O at 0xdc00 [0xdc03].
I/O at 0xe000 [0xe003].
Bus 1, device 0, function 0:
VGA compatible controller: ATI Technologies Inc Rage XL AGP (rev 101).
IRQ 11.
Master Capable. Latency=32. Min Gnt=8.
Non-prefetchable 32 bit memory at 0xd4000000 [0xd4ffffff].
I/O at 0xc000 [0xc0ff].
Non-prefetchable 32 bit memory at 0xd6000000 [0xd6000fff].
----------------------------------------------------------------------------
---------
Output from dmesg:
Linux version 2.4.3-20mdk (root@localhost.localdomain) (gcc version
egcs-2.91.66 19990314/Linux (egcs-1.1.2 release / Linux-Mandrake 8.0)) #1
mar jun 5 17:03:49 EDT 2001
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000007ff0000 (usable)
BIOS-e820: 0000000007ff0000 - 0000000007ff3000 (ACPI NVS)
BIOS-e820: 0000000007ff3000 - 0000000008000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
On node 0 totalpages: 32752
zone(0): 4096 pages.
zone(1): 28656 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=linux ro root=308 quiet
Initializing CPU#0
Detected 733.102 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 1461.45 BogoMIPS
Memory: 126212k/131008k available (944k kernel code, 4408k reserved, 278k
data, 692k init, 0k highmem)
Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
VFS: Diskquotas version dquot_6.5.0 initialized
CPU: Before vendor init, caps: 0383f9ff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After vendor init, caps: 0383f9ff 00000000 00000000 00000000
CPU: After generic, caps: 0383f9ff 00000000 00000000 00000000
CPU: Common caps: 0383f9ff 00000000 00000000 00000000
CPU: Intel Pentium III (Coppermine) stepping 03
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb290, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Disabled enhanced CPU to PCI posting #2
Unknown bridge resource 2: assuming transparent
PCI: Using IRQ router VIA [1106/0596] at 00:07.0
Activating ISA DMA hang workarounds.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.14)
Starting kswapd v1.8
vesafb: framebuffer at 0xd4000000, mapped to 0xc8800000, size 8128k
vesafb: mode is 800x600x16, linelength=1600, pages=7
vesafb: protected mode interface info at c000:4cec
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 100x37
fb0: VESA VGA frame buffer device
pty: 256 Unix98 ptys configured
block: queued sectors max/low 83789kB/27929kB, 256 slots per queue
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: chipset revision 16
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt82c596b (rev 23) IDE UDMA66 controller on pci00:07.1
ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:pio
hda: ST310212A, ATA DISK drive
hdc: SAMSUNG CD-ROM SC-148F, ATAPI CD/DVD-ROM drive
hdd: IOMEGA ZIP 250 ATAPI, ATAPI FLOPPY drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 20005650 sectors (10243 MB) w/512KiB Cache, CHS=1245/255/63, UDMA(33)
hdc: ATAPI 48X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
hdd: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
hdd: set_drive_speed_status: error=0x04
ide1: Drive 1 didn't accept speed setting. Oh, well.
hdd: No disk in drive
hdd: 244736kB, 239/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm
Partition check:
hda: hda1 hda2 < hda5 hda6 hda7 hda8 >
Serial driver version 5.05 (2000-12-13) with HUB-6 MANY_PORTS MULTIPORT
SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md.c: sizeof(mdp_super_t) = 4096
autodetecting RAID arrays
autorun ...
... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 692k freed
Adding Swap: 248968k swap-space (priority -1)
MSDOS FS: Using codepage 850
MSDOS FS: IO charset iso8859-1
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.251 $ time 17:14:39 Jun 5 2001
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 10 for device 00:07.2
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 10
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
Winbond Super-IO detection, now testing ports 3F0,370,250,4E,2E ...
Winbond chip at EFER=0x3f0 key=0x87 devid=52 devrev=f4 oldid=ff
Winbond chip type 83977EF / SMSC 97w35x
Winbond LPT Config: cr_30=01 60,61=0378 70=07 74=03, f0=00
Winbond LPT Config: active=yes, io=0x0378 irq=7, dma=3
Winbond LPT Config: irqtype=pulsed low, high-Z, ECP fifo threshold=0
Winbond LPT Config: Port mode=Standard (SPP) and Bidirectional(PS/2)
SMSC Super-IO detection, now testing Ports 2F0, 370 ...
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
parport0: irq 7 detected
parport0: cpp_daisy: aa5500ff(98)
parport0: assign_addrs: aa5500ff(98)
parport0: Printer, EPSON TM-P2.01
Winbond Super-IO detection, now testing ports 3F0,370,250,4E,2E ...
Winbond chip at EFER=0x3f0 key=0x87 devid=52 devrev=f4 oldid=ff
Winbond chip type 83977EF / SMSC 97w35x
Winbond LPT Config: cr_30=01 60,61=0378 70=07 74=03, f0=00
Winbond LPT Config: active=yes, io=0x0378 irq=7, dma=3
Winbond LPT Config: irqtype=pulsed low, high-Z, ECP fifo threshold=0
Winbond LPT Config: Port mode=Standard (SPP) and Bidirectional(PS/2)
SMSC Super-IO detection, now testing Ports 2F0, 370 ...
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
parport0: irq 7 detected
parport0: cpp_daisy: aa5500ff(98)
parport0: assign_addrs: aa5500ff(98)
parport0: Printer, EPSON TM-P2.01
lp0: using parport0 (polling).
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
parport0: cpp_daisy: aa5500ff(98)
parport0: assign_addrs: aa5500ff(98)
parport0: Printer, EPSON TM-P2.01
parport 0x278 (WARNING): CTR: wrote 0x0c, read 0xff
parport 0x278 (WARNING): DATA: wrote 0xaa, read 0xff
parport 0x278: You gave this address, but there is probably no parallel port
there!
parport1: PC-style at 0x278 [PCSPP,TRISTATE]
parport1: cpp_daisy: aa5500ff87(b8)
parport1: assign_addrs: aa5500ff87(b8)
parport1: cpp_daisy: aa5500ff87(b8)
parport1: assign_addrs: aa5500ff87(b8)
parport 0x3bc (WARNING): CTR: wrote 0x0c, read 0xff
parport 0x3bc (WARNING): DATA: wrote 0xaa, read 0xff
parport 0x3bc: You gave this address, but there is probably no parallel port
there!
parport2: PC-style at 0x3bc [PCSPP,TRISTATE]
parport2: cpp_daisy: aa5500ff87(b8)
parport2: assign_addrs: aa5500ff87(b8)
parport2: cpp_daisy: aa5500ff87(b8)
parport2: assign_addrs: aa5500ff87(b8)
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
parport0: cpp_daisy: aa5500ff(98)
parport0: assign_addrs: aa5500ff(98)
parport0: Printer, EPSON TM-P2.01
parport1: PC-style at 0xd800 [PCSPP,EPP]
parport1: cpp_daisy: aa5500ff87(b8)
parport1: assign_addrs: aa5500ff87(b8)
parport1: cpp_daisy: aa5500ff87(b8)
parport1: assign_addrs: aa5500ff87(b8)
parport2: PC-style at 0xe000 [PCSPP,TRISTATE]
parport2: cpp_mux: aa55f00f52ad51(88)
parport2: cpp_daisy: aa5500ff(88)
parport2: assign_addrs: aa5500ff(88)
parport2: cpp_mux: aa55f00f52ad51(88)
parport2: cpp_daisy: aa5500ff(88)
parport2: assign_addrs: aa5500ff(88)
lp0: using parport0 (polling).
lp1: using parport1 (polling).
lp2: using parport2 (polling).
( I tried with insmod parport_pc io=0x378,0x278,0x3bc and insmod parport_pc
io=0x 378,0xd800,0xe000)
----------------------------------------------------------------------------
---------
I gave a quick look at the source code (kernel 4.0.3), and saw another PLX
card in the PCI ID's. Would be a solution to clone the definition for this
card?
Thanks for your help.
Javier Santamarta.
-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Tue Jun 12 2001 - 18:51:35 EDT