Unknown COM to PCMCIA adapter, some help?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Unknown COM to PCMCIA adapter, some help?

Атанас Владимиров
Hi misc,

Recently I bought COM to PCMCIA adapter, full dmesg at end of e-mail.
I don't understand programming and I can't offer working patches, but I can
test patches.
Tell me if I can give more information, that would be useful.
Sorry for my english, and sorry if I send to wrong mailing list.

Try it with the last snapshot from Oct 7 2011 and it was not configured:
unknown vendor 0x4348 product 0x3253 (class communications subclass serial,
rev 0x10) at cardbus0 dev 0 function 0 not configured

Try it with debian:
[    0.000000] Linux version 2.6.32-5-486 (Debian 2.6.32-35) (
[hidden email]) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 Sat Jun 11
19:49:29 UTC 2011
[ 2250.220131] pcmcia_socket pcmcia_socket0: pccard: CardBus card inserted
into slot 0
[ 2250.220183] pci 0000:16:00.0: reg 10 io port: [0x00-0x07]
[ 2250.220198] pci 0000:16:00.0: reg 14 io port: [0x00-0x07]
[ 2250.220394] serial 0000:16:00.0: enabling device (0000 -> 0001)
[ 2250.220408] serial 0000:16:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ
16
[ 2250.220602] 0000:16:00.0: ttyS0 at I/O 0xa000 (irq = 16) is a XScale
[ 2250.220813] 0000:16:00.0: ttyS1 at I/O 0xa008 (irq = 16) is a XScale

Here is output from `setserial /dev/ttyS4 -a'
/dev/ttyS4, Line 4, UART: undefined, Port: 0xa000, IRQ: 16
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: none
Flags: spd_normal skip_test

Here is output from `setserial /dev/ttyS5 -a'
/dev/ttyS5, Line 5, UART: undefined, Port: 0xa008, IRQ: 16
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: none
Flags: spd_normal skip_test

Try it with FreeBSD9-current:
pcib6: allocated I/O port range (0xa000-0xa007) for rid 10 of pci0:22:0:0
map[14]: type I/O Port, range 32, base 0, size  3, enabled
pcib6: allocated I/O port range (0xa008-0xa00f) for rid 14 of pci0:22:0:0
found-> vendor=0x4348, dev=0x3253, revid=0x10
domain=0, bus=22, slot=0, func=0
class=07-00-02, hdrtype=0x00, mfdev=0
cmdreg=0x0000, statreg=0x0200, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=16
cardbus0: <simple comms, UART> at device 0.0 (no driver attached)

#
##OpenBSD dmesg
#
OpenBSD 5.0-current (RAMDISK_CD) #11: Fri Oct  7 13:13:13 MDT 2011
    [hidden email]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz ("GenuineIntel" 686-class) 1.83
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM
real mem  = 802131968 (764MB)
avail mem = 782008320 (745MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/24/07, BIOS32 rev. 0 @ 0xfdc94,
SMBIOS rev. 2.4 @ 0xdc010 (22 entries)
bios0: vendor COMPAL version "123B" date 08/24/2007
bios0: COMPAL HEL81I
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC HPET MCFG BOOT SLIC APIC SSDT SSDT SSDT
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEGP)
acpiprt2 at acpi0: bus 2 (RP01)
acpiprt3 at acpi0: bus 4 (RP03)
acpiprt4 at acpi0: bus 5 (RP04)
acpiprt5 at acpi0: bus 6 (PCIB)
bios0: ROM list: 0xc0000/0xec00! 0xcf000/0x1000 0xdc000/0x4000!
0xe0000/0x1c00!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
"Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
"Intel 82801GB HD Audio" rev 0x02 at pci0 dev 27 function 0 not configured
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int 17
pci1 at ppb0 bus 2
wpi0 at pci1 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: msi,
MoW2, address 00:19:d2:c1:af:eb
ppb1 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1 int 18
pci2 at ppb1 bus 4
re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x01: RTL8168 2 (0x3800),
apic 1 int 18, address 00:16:d4:b5:47:9d
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
ppb2 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 1 int 19
pci3 at ppb2 bus 5
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1 int 23
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1 int 19
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1 int 18
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1 int 16
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 1 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci4 at ppb3 bus 6
"VIA VT6306 FireWire" rev 0xc0 at pci4 dev 0 function 0 not configured
cbb0 at pci4 dev 4 function 0 "ENE CB-712 CardBus" rev 0x10: apic 1 int 16
"ENE Memory Stick" rev 0x01 at pci4 dev 4 function 1 not configured
"ENE SD Controller" rev 0x01 at pci4 dev 4 function 2 not configured
"ENE SD/MMC" rev 0x01 at pci4 dev 4 function 4 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 7 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA, channel
0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <PHILIPS, DVD+-RW SDVD8820, AX02> ATAPI
5/cdrom removable
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
"Intel 82801GB SMBus" rev 0x02 at pci0 dev 31 function 3 not configured
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
unknown vendor 0x4348 product 0x3253 (class communications subclass serial,
rev 0x10) at cardbus0 dev 0 function 0 not configured
softraid0 at root
scsibus1 at softraid0: 256 targets
PXE boot MAC address 00:16:d4:b5:47:9d, interface re0
root on rd0a swap on rd0b dump on rd0b

Reply | Threaded
Open this post in threaded view
|

Re: Unknown COM to PCMCIA adapter, some help?

Jonathan Gray
On Sat, Oct 08, 2011 at 01:35:19PM +0300, Atanas Vladimirov wrote:

> Hi misc,
>
> Recently I bought COM to PCMCIA adapter, full dmesg at end of e-mail.
> I don't understand programming and I can't offer working patches, but I can
> test patches.
> Tell me if I can give more information, that would be useful.
> Sorry for my english, and sorry if I send to wrong mailing list.
>
> Try it with the last snapshot from Oct 7 2011 and it was not configured:
> unknown vendor 0x4348 product 0x3253 (class communications subclass serial,
> rev 0x10) at cardbus0 dev 0 function 0 not configured

try this, it doesn't include pcidevs information to make it easier to apply

It would also be helpful if you could include the output of "pcidump -v"

Index: sys/dev/cardbus/com_cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/com_cardbus.c,v
retrieving revision 1.40
diff -u -p -r1.40 com_cardbus.c
--- sys/dev/cardbus/com_cardbus.c 15 Nov 2010 23:19:34 -0000 1.40
+++ sys/dev/cardbus/com_cardbus.c 8 Oct 2011 12:56:40 -0000
@@ -125,6 +125,8 @@ static struct csdev {
  { PCI_VENDOR_XIRCOM, PCI_PRODUCT_XIRCOM_CBEM56G,
   CARDBUS_BASE0_REG, PCI_MAPREG_TYPE_IO },
  { PCI_VENDOR_XIRCOM, PCI_PRODUCT_XIRCOM_MODEM56,
+  CARDBUS_BASE0_REG, PCI_MAPREG_TYPE_IO },
+ { 0x4348, 0x3253,
   CARDBUS_BASE0_REG, PCI_MAPREG_TYPE_IO }
 };
 
Index: sys/dev/pci/pucdata.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/pucdata.c,v
retrieving revision 1.74
diff -u -p -r1.74 pucdata.c
--- sys/dev/pci/pucdata.c 20 Apr 2011 04:58:29 -0000 1.74
+++ sys/dev/pci/pucdata.c 8 Oct 2011 12:56:41 -0000
@@ -1734,6 +1734,14 @@ const struct puc_device_description puc_
  { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
     },
  },
+ {   /* "WinChipHead CH352", */
+    { 0x4348, 0x3253, 0, 0 },
+    { 0xffff, 0xffff, 0, 0 },
+    {
+ { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
+    },
+ },
 
  {   /* NULL, */

Reply | Threaded
Open this post in threaded view
|

Re: Unknown COM to PCMCIA adapter, some help?

Атанас Владимиров
2011/10/8 Jonathan Gray <[hidden email]>

> On Sat, Oct 08, 2011 at 01:35:19PM +0300, Atanas Vladimirov wrote:
> > Hi misc,
> >
> > Recently I bought COM to PCMCIA adapter, full dmesg at end of e-mail.
> > I don't understand programming and I can't offer working patches, but I
> can
> > test patches.
> > Tell me if I can give more information, that would be useful.
> > Sorry for my english, and sorry if I send to wrong mailing list.
> >
> > Try it with the last snapshot from Oct 7 2011 and it was not configured:
> > unknown vendor 0x4348 product 0x3253 (class communications subclass
> serial,
> > rev 0x10) at cardbus0 dev 0 function 0 not configured
>
> try this, it doesn't include pcidevs information to make it easier to apply
>
> It would also be helpful if you could include the output of "pcidump -v"
>
> Index: sys/dev/cardbus/com_cardbus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/com_cardbus.c,v
> retrieving revision 1.40
> diff -u -p -r1.40 com_cardbus.c
> --- sys/dev/cardbus/com_cardbus.c       15 Nov 2010 23:19:34 -0000
>  1.40
> +++ sys/dev/cardbus/com_cardbus.c       8 Oct 2011 12:56:40 -0000
> @@ -125,6 +125,8 @@ static struct csdev {
>        { PCI_VENDOR_XIRCOM, PCI_PRODUCT_XIRCOM_CBEM56G,
>          CARDBUS_BASE0_REG, PCI_MAPREG_TYPE_IO },
>        { PCI_VENDOR_XIRCOM, PCI_PRODUCT_XIRCOM_MODEM56,
> +         CARDBUS_BASE0_REG, PCI_MAPREG_TYPE_IO },
> +       { 0x4348, 0x3253,
>          CARDBUS_BASE0_REG, PCI_MAPREG_TYPE_IO }
>  };
>
> Index: sys/dev/pci/pucdata.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/pucdata.c,v
> retrieving revision 1.74
> diff -u -p -r1.74 pucdata.c
> --- sys/dev/pci/pucdata.c       20 Apr 2011 04:58:29 -0000      1.74
> +++ sys/dev/pci/pucdata.c       8 Oct 2011 12:56:41 -0000
> @@ -1734,6 +1734,14 @@ const struct puc_device_description puc_
>                { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
>            },
>        },
> +       {   /* "WinChipHead CH352", */
> +           {   0x4348, 0x3253, 0, 0    },
> +           {   0xffff, 0xffff,                                 0, 0    },
> +           {
> +               { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
> +               { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
> +           },
> +       },
>
>        {   /* NULL, */
>
>
Thanks for your respond. I coudn't apply your patch. I tried with
# cd /usr/src
# patch -p0 < /path/to/patch
But I got errors. After that I manualy edited the two files and made the
following patch, which works great.
Then I compiled the new kernel. Full dmesg at the end of e-mail.
Now pcmcia adapter works fine. I made two tests, one at 4800 baud and other
at 115200 baud, there were no errors.

com3 at cardbus0 dev 0 function 0 unknown vendor 0x4348 product 0x3253 rev
0x10: irq 268505099: ns16550a, 16 byte fifo

# pcidump -v (when pcmcia adapter was pluged in)
..................................................
 21:0:0: TI PCI1510 CardBus
        0x0000: Vendor ID: 104c Product ID: ac56
        0x0004: Command: 0007 Status ID: 0210
        0x0008: Class: 06 Subclass: 07 Interface: 00 Revision: 00
        0x000c: BIST: 00 Header Type: 02 Latency Timer: a8 Cache Line Size:
08
        0x0010: Cardbus Control Registers Base Address: e4300000
        0x0018: Primary Bus: 21 Cardbus Bus: 22 Subordinate Bus: 24
                Cardbus Latency Timer: b0
        0x001c: Memory Base 0: fffff000
        0x0020: Memory Limit 0: 00000000
        0x0024: Memory Base 1: fffff000
        0x0028: Memory Limit 1: 00000000
        0x002c: I/O Base 0: 0000a300
        0x0030: I/O Limit 0: 0000a304
        0x0034: I/O Base 1: fffffffc
        0x0038: I/O Limit 1: 00000000
        0x003c: Interrupt Pin: 01 Line: 0b Bridge Control: 0700
        0x0040: Subsystem Vendor ID: 17aa Product ID: 2012
        0x0044: 16-bit Legacy Mode Base Address: 00000001
        0x00a0: Capability 0x01: Power Management

# pcidump -v (when pcmcia adapter was ejected)
..................................................
21:0:0: TI PCI1510 CardBus
        0x0000: Vendor ID: 104c Product ID: ac56
        0x0004: Command: 0007 Status ID: 0210
        0x0008: Class: 06 Subclass: 07 Interface: 00 Revision: 00
        0x000c: BIST: 00 Header Type: 02 Latency Timer: a8 Cache Line Size:
08
        0x0010: Cardbus Control Registers Base Address: e4300000
        0x0018: Primary Bus: 21 Cardbus Bus: 22 Subordinate Bus: 24
                Cardbus Latency Timer: b0
        0x001c: Memory Base 0: fffff000
        0x0020: Memory Limit 0: 00000000
        0x0024: Memory Base 1: fffff000
        0x0028: Memory Limit 1: 00000000
        0x002c: I/O Base 0: fffffffc
        0x0030: I/O Limit 0: 00000000
        0x0034: I/O Base 1: fffffffc
        0x0038: I/O Limit 1: 00000000
        0x003c: Interrupt Pin: 01 Line: 0b Bridge Control: 07c0
        0x0040: Subsystem Vendor ID: 17aa Product ID: 2012
        0x0044: 16-bit Legacy Mode Base Address: 00000001
        0x00a0: Capability 0x01: Power Management

Diff between the two states of `pcidump -v`
---    plug-in     Sat Oct  8 20:24:45 2011
+++ plug-out   Sat Oct  8 17:21:07 2011
@@ -383,11 +383,11 @@
        0x0020: Memory Limit 0: 00000000
        0x0024: Memory Base 1: fffff000
        0x0028: Memory Limit 1: 00000000
-       0x002c: I/O Base 0: 0000a300
-       0x0030: I/O Limit 0: 0000a304
+       0x002c: I/O Base 0: fffffffc
+       0x0030: I/O Limit 0: 00000000
        0x0034: I/O Base 1: fffffffc
        0x0038: I/O Limit 1: 00000000
-       0x003c: Interrupt Pin: 01 Line: 0b Bridge Control: 0700
+       0x003c: Interrupt Pin: 01 Line: 0b Bridge Control: 07c0
        0x0040: Subsystem Vendor ID: 17aa Product ID: 2012
        0x0044: 16-bit Legacy Mode Base Address: 00000001
        0x00a0: Capability 0x01: Power Management


Index: sys/dev/cardbus/com_cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/com_cardbus.c,v
retrieving revision 1.40
diff -u -p -r1.40 com_cardbus.c
--- sys/dev/cardbus/com_cardbus.c 15 Nov 2010 23:19:34 -0000 1.40
+++ sys/dev/cardbus/com_cardbus.c 8 Oct 2011 14:59:40 -0000
@@ -125,6 +125,8 @@ static struct csdev {
  { PCI_VENDOR_XIRCOM, PCI_PRODUCT_XIRCOM_CBEM56G,
   CARDBUS_BASE0_REG, PCI_MAPREG_TYPE_IO },
  { PCI_VENDOR_XIRCOM, PCI_PRODUCT_XIRCOM_MODEM56,
+  CARDBUS_BASE0_REG, PCI_MAPREG_TYPE_IO },
+ { 0x4348, 0x3253,
   CARDBUS_BASE0_REG, PCI_MAPREG_TYPE_IO }
 };

Index: sys/dev/pci/pucdata.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/pucdata.c,v
retrieving revision 1.74
diff -u -p -r1.74 pucdata.c
--- sys/dev/pci/pucdata.c 20 Apr 2011 04:58:29 -0000 1.74
+++ sys/dev/pci/pucdata.c 8 Oct 2011 15:00:03 -0000
@@ -1734,6 +1734,14 @@ const struct puc_device_description puc_
  { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
     },
  },
+ {   /* "WinChipHead CH352", */
+    {   0x4348, 0x3253, 0, 0    },
+    {   0xffff, 0xffff,                                 0, 0    },
+    {
+               { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
+               { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
+    },
+       },

  {   /* NULL, */



#
## Dmesg
#
OpenBSD 5.0-current (GENERIC.MP) #4: Sat Oct  8 21:03:39 EEST 2011
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz ("GenuineIntel" 686-class) 2
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
real mem  = 2145775616 (2046MB)
avail mem = 2100588544 (2003MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/01/10, BIOS32 rev. 0 @ 0xfd6b0,
SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version "79ETE6WW (2.26 )" date 04/01/2010
bios0: LENOVO 2007Z3T
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT SSDT
SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4)
EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz ("GenuineIntel" 686-class) 2
GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xf0000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "92P1137" serial   311 type LION oem "SANYO"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
bios0: ROM list: 0xc0000/0xfe00 0xd0000/0x1000 0xd1000/0x1000
0xdc000/0x4000! 0xe0000/0x10000!
cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2000, 1667, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: apic 1 int 16
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility X1400" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 1 int 16
drm0 at radeondrm0
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi
azalia0: codecs: Analog Devices AD1981HD, 0x0000/0x0000, using Analog
Devices AD1981HD
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int 20
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: msi,
address 00:16:41:e5:a8:2f
ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1 int 21
pci3 at ppb2 bus 3
wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: msi,
MoW2, address 00:19:d2:98:6d:be
ppb3 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1 int 22
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 1 int 23
pci5 at ppb4 bus 12
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1 int 16
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1 int 17
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1 int 18
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1 int 19
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 1 int 19
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci6 at ppb5 bus 21
cbb0 at pci6 dev 0 function 0 "TI PCI1510 CardBus" rev 0x00: apic 1 int 16
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM
disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA, channel
0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVDRAM GSA-4083N, 1.08> ATAPI
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ahci0 at pci0 dev 31 function 2 "Intel 82801GBM AHCI" rev 0x02: msi, AHCI
1.1
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, HITACHI HTS54168, SB2I> SCSI3 0/direct
fixed naa.5000cca51cdb01e3
sd0: 76319MB, 512 bytes/sector, 156301488 sectors
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic 1 int
23
iic0 at ichiic0
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
wsmouse1 at pms0 mux 0
pms0: Synaptics touchpad, firmware 6.2
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
com3 at cardbus0 dev 0 function 0 unknown vendor 0x4348 product 0x3253 rev
0x10: irq 268505099: ns16550a, 16 byte fifo
uhidev0 at uhub1 port 2 configuration 1 interface 0 "Logitech USB Receiver"
rev 2.00/5.00 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 16 buttons, Z dir
wsmouse2 at ums0 mux 0
uhidev1 at uhub1 port 2 configuration 1 interface 1 "Logitech USB Receiver"
rev 2.00/5.00 addr 2
uhidev1: iclass 3/0, 17 report ids
uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0
uhid1 at uhidev1 reportid 16: input=6, output=6, feature=0
uhid2 at uhidev1 reportid 17: input=19, output=19, feature=0
ugen0 at uhub4 port 1 "Broadcom Corp BCM2045B" rev 2.00/1.00 addr 2
ugen1 at uhub4 port 2 "STMicroelectronics Biometric Coprocessor" rev
1.00/0.01 addr 3
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (1be636b396b70cf8.a) swap on sd0b dump on sd0b

Reply | Threaded
Open this post in threaded view
|

Re: Unknown COM to PCMCIA adapter, some help?

Jonathan Gray
On Sat, Oct 08, 2011 at 09:06:15PM +0300, Atanas Vladimirov wrote:

> 2011/10/8 Jonathan Gray <[hidden email]>
>
> > On Sat, Oct 08, 2011 at 01:35:19PM +0300, Atanas Vladimirov wrote:
> > > Hi misc,
> > >
> > > Recently I bought COM to PCMCIA adapter, full dmesg at end of e-mail.
> > > I don't understand programming and I can't offer working patches, but I
> > can
> > > test patches.
> > > Tell me if I can give more information, that would be useful.
> > > Sorry for my english, and sorry if I send to wrong mailing list.
> > >
> > > Try it with the last snapshot from Oct 7 2011 and it was not configured:
> > > unknown vendor 0x4348 product 0x3253 (class communications subclass
> > serial,
> > > rev 0x10) at cardbus0 dev 0 function 0 not configured
> >
> > try this, it doesn't include pcidevs information to make it easier to apply
> >
> > It would also be helpful if you could include the output of "pcidump -v"
> >
> > Index: sys/dev/cardbus/com_cardbus.c
> > ===================================================================
> > RCS file: /cvs/src/sys/dev/cardbus/com_cardbus.c,v
> > retrieving revision 1.40
> > diff -u -p -r1.40 com_cardbus.c
> > --- sys/dev/cardbus/com_cardbus.c       15 Nov 2010 23:19:34 -0000
> >  1.40
> > +++ sys/dev/cardbus/com_cardbus.c       8 Oct 2011 12:56:40 -0000
> > @@ -125,6 +125,8 @@ static struct csdev {
> >        { PCI_VENDOR_XIRCOM, PCI_PRODUCT_XIRCOM_CBEM56G,
> >          CARDBUS_BASE0_REG, PCI_MAPREG_TYPE_IO },
> >        { PCI_VENDOR_XIRCOM, PCI_PRODUCT_XIRCOM_MODEM56,
> > +         CARDBUS_BASE0_REG, PCI_MAPREG_TYPE_IO },
> > +       { 0x4348, 0x3253,
> >          CARDBUS_BASE0_REG, PCI_MAPREG_TYPE_IO }
> >  };
> >
> > Index: sys/dev/pci/pucdata.c
> > ===================================================================
> > RCS file: /cvs/src/sys/dev/pci/pucdata.c,v
> > retrieving revision 1.74
> > diff -u -p -r1.74 pucdata.c
> > --- sys/dev/pci/pucdata.c       20 Apr 2011 04:58:29 -0000      1.74
> > +++ sys/dev/pci/pucdata.c       8 Oct 2011 12:56:41 -0000
> > @@ -1734,6 +1734,14 @@ const struct puc_device_description puc_
> >                { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
> >            },
> >        },
> > +       {   /* "WinChipHead CH352", */
> > +           {   0x4348, 0x3253, 0, 0    },
> > +           {   0xffff, 0xffff,                                 0, 0    },
> > +           {
> > +               { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
> > +               { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
> > +           },
> > +       },
> >
> >        {   /* NULL, */
> >
> >
> Thanks for your respond. I coudn't apply your patch. I tried with
> # cd /usr/src
> # patch -p0 < /path/to/patch
> But I got errors. After that I manualy edited the two files and made the
> following patch, which works great.
> Then I compiled the new kernel. Full dmesg at the end of e-mail.
> Now pcmcia adapter works fine. I made two tests, one at 4800 baud and other
> at 115200 baud, there were no errors.
>
> com3 at cardbus0 dev 0 function 0 unknown vendor 0x4348 product 0x3253 rev
> 0x10: irq 268505099: ns16550a, 16 byte fifo
>
> # pcidump -v (when pcmcia adapter was pluged in)

Can you show the pcidump entries from the serial card itself here?
The point of interest is how many BARs it has.

The chip is apparently at least a two port device, how
many ports does your card have?

> ..................................................
>  21:0:0: TI PCI1510 CardBus

Reply | Threaded
Open this post in threaded view
|

Re: Unknown COM to PCMCIA adapter, some help?

Атанас Владимиров
2011/10/9 Jonathan Gray <[hidden email]>

> On Sat, Oct 08, 2011 at 09:06:15PM +0300, Atanas Vladimirov wrote:
> > 2011/10/8 Jonathan Gray <[hidden email]>
> >
> > > On Sat, Oct 08, 2011 at 01:35:19PM +0300, Atanas Vladimirov wrote:
> > > > Hi misc,
> > > >
> > > > Recently I bought COM to PCMCIA adapter, full dmesg at end of e-mail.
> > > > I don't understand programming and I can't offer working patches, but
> I
> > > can
> > > > test patches.
> > > > Tell me if I can give more information, that would be useful.
> > > > Sorry for my english, and sorry if I send to wrong mailing list.
> > > >
> > > > Try it with the last snapshot from Oct 7 2011 and it was not
> configured:
> > > > unknown vendor 0x4348 product 0x3253 (class communications subclass
> > > serial,
> > > > rev 0x10) at cardbus0 dev 0 function 0 not configured
> > >
> > > try this, it doesn't include pcidevs information to make it easier to
> apply
> > >
> > > It would also be helpful if you could include the output of "pcidump
> -v"
> > >
> > > Index: sys/dev/cardbus/com_cardbus.c
> > > ===================================================================
> > > RCS file: /cvs/src/sys/dev/cardbus/com_cardbus.c,v
> > > retrieving revision 1.40
> > > diff -u -p -r1.40 com_cardbus.c
> > > --- sys/dev/cardbus/com_cardbus.c       15 Nov 2010 23:19:34 -0000
> > >  1.40
> > > +++ sys/dev/cardbus/com_cardbus.c       8 Oct 2011 12:56:40 -0000
> > > @@ -125,6 +125,8 @@ static struct csdev {
> > >        { PCI_VENDOR_XIRCOM, PCI_PRODUCT_XIRCOM_CBEM56G,
> > >          CARDBUS_BASE0_REG, PCI_MAPREG_TYPE_IO },
> > >        { PCI_VENDOR_XIRCOM, PCI_PRODUCT_XIRCOM_MODEM56,
> > > +         CARDBUS_BASE0_REG, PCI_MAPREG_TYPE_IO },
> > > +       { 0x4348, 0x3253,
> > >          CARDBUS_BASE0_REG, PCI_MAPREG_TYPE_IO }
> > >  };
> > >
> > > Index: sys/dev/pci/pucdata.c
> > > ===================================================================
> > > RCS file: /cvs/src/sys/dev/pci/pucdata.c,v
> > > retrieving revision 1.74
> > > diff -u -p -r1.74 pucdata.c
> > > --- sys/dev/pci/pucdata.c       20 Apr 2011 04:58:29 -0000      1.74
> > > +++ sys/dev/pci/pucdata.c       8 Oct 2011 12:56:41 -0000
> > > @@ -1734,6 +1734,14 @@ const struct puc_device_description puc_
> > >                { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
> > >            },
> > >        },
> > > +       {   /* "WinChipHead CH352", */
> > > +           {   0x4348, 0x3253, 0, 0    },
> > > +           {   0xffff, 0xffff,                                 0, 0
>  },
> > > +           {
> > > +               { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
> > > +               { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
> > > +           },
> > > +       },
> > >
> > >        {   /* NULL, */
> > >
> > >
> > Thanks for your respond. I coudn't apply your patch. I tried with
> > # cd /usr/src
> > # patch -p0 < /path/to/patch
> > But I got errors. After that I manualy edited the two files and made the
> > following patch, which works great.
> > Then I compiled the new kernel. Full dmesg at the end of e-mail.
> > Now pcmcia adapter works fine. I made two tests, one at 4800 baud and
> other
> > at 115200 baud, there were no errors.
> >
> > com3 at cardbus0 dev 0 function 0 unknown vendor 0x4348 product 0x3253
> rev
> > 0x10: irq 268505099: ns16550a, 16 byte fifo
> >
> > # pcidump -v (when pcmcia adapter was pluged in)
>
> Can you show the pcidump entries from the serial card itself here?
>

How can I do that? Can you show me an example of the command I need?


> The point of interest is how many BARs it has.
>
> The chip is apparently at least a two port device, how
> many ports does your card have?
>

Yes, the chip is two port device, but my card has only one rs-232 port.
When I installed the card under windows, it shows two COM ports in windows
device manager, but only one works.
I bougth it from
here<http://www.ebay.com/itm/RS232-DB9-Serial-Port-PCMCIA-PC-Card-CardBus-Adapter-/180726917544?pt=LH_DefaultDomain_0&hash=item2a1429e9a8#ht_2820wt_908>.
[
http://www.ebay.com/itm/RS232-DB9-Serial-Port-PCMCIA-PC-Card-CardBus-Adapter-/180726917544?pt=LH_DefaultDomain_0&hash=item2a1429e9a8#ht_2820wt_908
]

Thanks for your help.

Reply | Threaded
Open this post in threaded view
|

Re: Unknown COM to PCMCIA adapter, some help?

Атанас Владимиров
2011/10/9 Jonathan Gray <[hidden email]>

> On Sun, Oct 09, 2011 at 12:02:03PM +0300, Atanas Vladimirov wrote:
> >
> > How can I do that? Can you show me an example of the command I need?
>
> yes, plug the card in and send me the full output of "pcidump -v"
> run as root, without removing any parts of the output.
>
> thanks
>

Here you go:

# pcidump -v
Domain /dev/pci0:
 0:0:0: Intel 82945GM Host
0x0000: Vendor ID: 8086 Product ID: 27a0
0x0004: Command: 0106 Status ID: 2090
0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 03
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR empty (00000000)
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 17aa Product ID: 2015
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
0x00e0: Capability 0x09: Vendor Specific
 0:1:0: Intel 82945GM PCIE
0x0000: Vendor ID: 8086 Product ID: 27a1
0x0004: Command: 0107 Status ID: 0010
0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 03
0x000c: BIST: 00 Header Type: 01 Latency Timer: 00 Cache Line Size: 10
0x0010: 00000000
0x0014: 00000000
0x0018: Primary Bus: 0 Secondary Bus: 1 Subordinate Bus: 1
        Secondary Latency Timer: 00
0x001c: I/O Base: 20 I/O Limit: 20 Secondary Status: 2000
0x0020: Memory Base: ee10 Memory Limit: ee10
0x0024: Prefetch Memory Base: d801 Prefetch Memory Limit: dff1
0x0028: Prefetch Memory Base Upper 32 Bits: 00000000
0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
0x0030: I/O Base Upper 16 Bits: 0000 I/O Limit Upper 16 Bits: 0000
0x0038: Expansion ROM Base Address: 00000000
0x003c: Interrupt Pin: 01 Line: 0b Bridge Control: 001c
0x0088: Capability 0x0d: PCI-PCI
0x0080: Capability 0x01: Power Management
0x0090: Capability 0x05: Message Signaled Interrupts (MSI)
0x00a0: Capability 0x10: PCI Express
        Link Speed: 2.5 / 2.5 Gb/s Link Width: x16 / x16
 0:27:0: Intel 82801GB HD Audio
0x0000: Vendor ID: 8086 Product ID: 27d8
0x0004: Command: 0106 Status ID: 0010
0x0008: Class: 04 Subclass: 03 Interface: 00 Revision: 02
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 10
0x0010: BAR mem 64bit addr: 0x00000000ee400000/0x00004000
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 17aa Product ID: 2010
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 02 Line: 0b Min Gnt: 00 Max Lat: 00
0x0050: Capability 0x01: Power Management
0x0060: Capability 0x05: Message Signaled Interrupts (MSI)
0x0070: Capability 0x10: PCI Express
 0:28:0: Intel 82801GB PCIE
0x0000: Vendor ID: 8086 Product ID: 27d0
0x0004: Command: 0107 Status ID: 0010
0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 02
0x000c: BIST: 00 Header Type: 81 Latency Timer: 00 Cache Line Size: 10
0x0010: 00000000
0x0014: 00000000
0x0018: Primary Bus: 0 Secondary Bus: 2 Subordinate Bus: 2
        Secondary Latency Timer: 00
0x001c: I/O Base: 30 I/O Limit: 30 Secondary Status: 2000
0x0020: Memory Base: ee00 Memory Limit: ee00
0x0024: Prefetch Memory Base: fff1 Prefetch Memory Limit: 0001
0x0028: Prefetch Memory Base Upper 32 Bits: 00000000
0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
0x0030: I/O Base Upper 16 Bits: 0000 I/O Limit Upper 16 Bits: 0000
0x0038: Expansion ROM Base Address: 00000000
0x003c: Interrupt Pin: 01 Line: 0b Bridge Control: 0004
0x0040: Capability 0x10: PCI Express
        Link Speed: 2.5 / 2.5 Gb/s Link Width: x1 / x1
0x0080: Capability 0x05: Message Signaled Interrupts (MSI)
0x0090: Capability 0x0d: PCI-PCI
0x00a0: Capability 0x01: Power Management
 0:28:1: Intel 82801GB PCIE
0x0000: Vendor ID: 8086 Product ID: 27d2
0x0004: Command: 0107 Status ID: 0010
0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 02
0x000c: BIST: 00 Header Type: 81 Latency Timer: 00 Cache Line Size: 10
0x0010: 00000000
0x0014: 00000000
0x0018: Primary Bus: 0 Secondary Bus: 3 Subordinate Bus: 3
        Secondary Latency Timer: 00
0x001c: I/O Base: 40 I/O Limit: 50 Secondary Status: 2000
0x0020: Memory Base: ec00 Memory Limit: edf0
0x0024: Prefetch Memory Base: e401 Prefetch Memory Limit: e401
0x0028: Prefetch Memory Base Upper 32 Bits: 00000000
0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
0x0030: I/O Base Upper 16 Bits: 0000 I/O Limit Upper 16 Bits: 0000
0x0038: Expansion ROM Base Address: 00000000
0x003c: Interrupt Pin: 02 Line: 0b Bridge Control: 0004
0x0040: Capability 0x10: PCI Express
        Link Speed: 2.5 / 2.5 Gb/s Link Width: x1 / x1
0x0080: Capability 0x05: Message Signaled Interrupts (MSI)
0x0090: Capability 0x0d: PCI-PCI
0x00a0: Capability 0x01: Power Management
 0:28:2: Intel 82801GB PCIE
0x0000: Vendor ID: 8086 Product ID: 27d4
0x0004: Command: 0107 Status ID: 0010
0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 02
0x000c: BIST: 00 Header Type: 81 Latency Timer: 00 Cache Line Size: 10
0x0010: 00000000
0x0014: 00000000
0x0018: Primary Bus: 0 Secondary Bus: 4 Subordinate Bus: 11
        Secondary Latency Timer: 00
0x001c: I/O Base: 60 I/O Limit: 70 Secondary Status: 2000
0x0020: Memory Base: e800 Memory Limit: e9f0
0x0024: Prefetch Memory Base: e411 Prefetch Memory Limit: e411
0x0028: Prefetch Memory Base Upper 32 Bits: 00000000
0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
0x0030: I/O Base Upper 16 Bits: 0000 I/O Limit Upper 16 Bits: 0000
0x0038: Expansion ROM Base Address: 00000000
0x003c: Interrupt Pin: 03 Line: 0b Bridge Control: 0004
0x0040: Capability 0x10: PCI Express
        Link Speed: 2.5 / 2.5 Gb/s Link Width: x0 / x1
0x0080: Capability 0x05: Message Signaled Interrupts (MSI)
0x0090: Capability 0x0d: PCI-PCI
0x00a0: Capability 0x01: Power Management
 0:28:3: Intel 82801GB PCIE
0x0000: Vendor ID: 8086 Product ID: 27d6
0x0004: Command: 0107 Status ID: 0010
0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 02
0x000c: BIST: 00 Header Type: 81 Latency Timer: 00 Cache Line Size: 10
0x0010: 00000000
0x0014: 00000000
0x0018: Primary Bus: 0 Secondary Bus: 12 Subordinate Bus: 19
        Secondary Latency Timer: 00
0x001c: I/O Base: 80 I/O Limit: 90 Secondary Status: 2000
0x0020: Memory Base: ea00 Memory Limit: ebf0
0x0024: Prefetch Memory Base: e421 Prefetch Memory Limit: e421
0x0028: Prefetch Memory Base Upper 32 Bits: 00000000
0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
0x0030: I/O Base Upper 16 Bits: 0000 I/O Limit Upper 16 Bits: 0000
0x0038: Expansion ROM Base Address: 00000000
0x003c: Interrupt Pin: 04 Line: 0b Bridge Control: 0004
0x0040: Capability 0x10: PCI Express
        Link Speed: 2.5 / 2.5 Gb/s Link Width: x0 / x1
0x0080: Capability 0x05: Message Signaled Interrupts (MSI)
0x0090: Capability 0x0d: PCI-PCI
0x00a0: Capability 0x01: Power Management
 0:29:0: Intel 82801GB USB
0x0000: Vendor ID: 8086 Product ID: 27c8
0x0004: Command: 0005 Status ID: 0280
0x0008: Class: 0c Subclass: 03 Interface: 00 Revision: 02
0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR empty (00000000)
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR io addr: 0x00001800/0x0020
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 17aa Product ID: 200a
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
 0:29:1: Intel 82801GB USB
0x0000: Vendor ID: 8086 Product ID: 27c9
0x0004: Command: 0005 Status ID: 0280
0x0008: Class: 0c Subclass: 03 Interface: 00 Revision: 02
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR empty (00000000)
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR io addr: 0x00001820/0x0020
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 17aa Product ID: 200a
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 02 Line: 0b Min Gnt: 00 Max Lat: 00
 0:29:2: Intel 82801GB USB
0x0000: Vendor ID: 8086 Product ID: 27ca
0x0004: Command: 0005 Status ID: 0280
0x0008: Class: 0c Subclass: 03 Interface: 00 Revision: 02
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR empty (00000000)
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR io addr: 0x00001840/0x0020
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 17aa Product ID: 200a
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 03 Line: 0b Min Gnt: 00 Max Lat: 00
 0:29:3: Intel 82801GB USB
0x0000: Vendor ID: 8086 Product ID: 27cb
0x0004: Command: 0005 Status ID: 0280
0x0008: Class: 0c Subclass: 03 Interface: 00 Revision: 02
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR empty (00000000)
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR io addr: 0x00001860/0x0020
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 17aa Product ID: 200a
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 04 Line: 0b Min Gnt: 00 Max Lat: 00
 0:29:7: Intel 82801GB USB
0x0000: Vendor ID: 8086 Product ID: 27cc
0x0004: Command: 0106 Status ID: 0290
0x0008: Class: 0c Subclass: 03 Interface: 20 Revision: 02
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR mem 32bit addr: 0xee404000/0x00000400
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 17aa Product ID: 200b
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 04 Line: 0b Min Gnt: 00 Max Lat: 00
0x0050: Capability 0x01: Power Management
0x0058: Capability 0x0a: Debug Port
 0:30:0: Intel 82801BAM Hub-to-PCI
0x0000: Vendor ID: 8086 Product ID: 2448
0x0004: Command: 0005 Status ID: 0010
0x0008: Class: 06 Subclass: 04 Interface: 01 Revision: e2
0x000c: BIST: 00 Header Type: 01 Latency Timer: 00 Cache Line Size: 00
0x0010: 00000000
0x0014: 00000000
0x0018: Primary Bus: 0 Secondary Bus: 21 Subordinate Bus: 24
        Secondary Latency Timer: 20
0x001c: I/O Base: a0 I/O Limit: d0 Secondary Status: 2280
0x0020: Memory Base: e430 Memory Limit: e7f0
0x0024: Prefetch Memory Base: e001 Prefetch Memory Limit: e3f1
0x0028: Prefetch Memory Base Upper 32 Bits: 00000000
0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
0x0030: I/O Base Upper 16 Bits: 0000 I/O Limit Upper 16 Bits: 0000
0x0038: Expansion ROM Base Address: 00000000
0x003c: Interrupt Pin: 00 Line: ff Bridge Control: 0000
0x0050: Capability 0x0d: PCI-PCI
 0:31:0: Intel 82801GBM LPC
0x0000: Vendor ID: 8086 Product ID: 27b9
0x0004: Command: 0007 Status ID: 0210
0x0008: Class: 06 Subclass: 01 Interface: 00 Revision: 02
0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR empty (00000000)
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 17aa Product ID: 2009
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
0x00e0: Capability 0x09: Vendor Specific
 0:31:1: Intel 82801GB IDE
0x0000: Vendor ID: 8086 Product ID: 27df
0x0004: Command: 0005 Status ID: 0280
0x0008: Class: 01 Subclass: 01 Interface: 8a Revision: 02
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR io addr: 0x00000000/0x0008
0x0014: BAR io addr: 0x00000000/0x0004
0x0018: BAR io addr: 0x00000000/0x0008
0x001c: BAR io addr: 0x00000000/0x0004
0x0020: BAR io addr: 0x00001880/0x0010
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 17aa Product ID: 200c
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 03 Line: ff Min Gnt: 00 Max Lat: 00
 0:31:2: Intel 82801GBM AHCI
0x0000: Vendor ID: 8086 Product ID: 27c5
0x0004: Command: 0007 Status ID: 02b0
0x0008: Class: 01 Subclass: 06 Interface: 01 Revision: 02
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR io addr: 0x000018c8/0x0008
0x0014: BAR io addr: 0x000018ac/0x0004
0x0018: BAR io addr: 0x000018c0/0x0008
0x001c: BAR io addr: 0x000018a8/0x0004
0x0020: BAR io addr: 0x000018b0/0x0010
0x0024: BAR mem 32bit addr: 0xee404400/0x00000400
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 17aa Product ID: 200d
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 02 Line: 0b Min Gnt: 00 Max Lat: 00
0x0080: Capability 0x05: Message Signaled Interrupts (MSI)
0x0070: Capability 0x01: Power Management
 0:31:3: Intel 82801GB SMBus
0x0000: Vendor ID: 8086 Product ID: 27da
0x0004: Command: 0101 Status ID: 0280
0x0008: Class: 0c Subclass: 05 Interface: 00 Revision: 02
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR empty (00000000)
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR io addr: 0x000018e0/0x0020
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 17aa Product ID: 200f
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
 1:0:0: ATI Radeon Mobility X1400
0x0000: Vendor ID: 1002 Product ID: 7145
0x0004: Command: 0107 Status ID: 0010
0x0008: Class: 03 Subclass: 00 Interface: 00 Revision: 00
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 10
0x0010: BAR mem prefetchable 32bit addr: 0xd8000000/0x08000000
0x0014: BAR io addr: 0x00002000/0x0100
0x0018: BAR mem 32bit addr: 0xee100000/0x00010000
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 17aa Product ID: 2006
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
0x0050: Capability 0x01: Power Management
0x0058: Capability 0x10: PCI Express
        Link Speed: 2.5 / 2.5 Gb/s Link Width: x16 / x16
0x0080: Capability 0x05: Message Signaled Interrupts (MSI)
 2:0:0: Intel PRO/1000MT (82573L)
0x0000: Vendor ID: 8086 Product ID: 109a
0x0004: Command: 0107 Status ID: 0010
0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 00
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 10
0x0010: BAR mem 32bit addr: 0xee000000/0x00020000
0x0014: BAR empty (00000000)
0x0018: BAR io addr: 0x00003000/0x0020
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 17aa Product ID: 2001
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
0x00c8: Capability 0x01: Power Management
0x00d0: Capability 0x05: Message Signaled Interrupts (MSI)
0x00e0: Capability 0x10: PCI Express
        Link Speed: 2.5 / 2.5 Gb/s Link Width: x1 / x1
 3:0:0: Intel PRO/Wireless 3945ABG
0x0000: Vendor ID: 8086 Product ID: 4227
0x0004: Command: 0106 Status ID: 0010
0x0008: Class: 02 Subclass: 80 Interface: 00 Revision: 02
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 10
0x0010: BAR mem 32bit addr: 0xedf00000/0x00001000
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 1011
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
0x00c8: Capability 0x01: Power Management
0x00d0: Capability 0x05: Message Signaled Interrupts (MSI)
0x00e0: Capability 0x10: PCI Express
        Link Speed: 2.5 / 2.5 Gb/s Link Width: x1 / x1
 21:0:0: TI PCI1510 CardBus
0x0000: Vendor ID: 104c Product ID: ac56
0x0004: Command: 0007 Status ID: 0210
0x0008: Class: 06 Subclass: 07 Interface: 00 Revision: 00
0x000c: BIST: 00 Header Type: 02 Latency Timer: a8 Cache Line Size: 08
0x0010: Cardbus Control Registers Base Address: e4300000
0x0018: Primary Bus: 21 Cardbus Bus: 22 Subordinate Bus: 24
        Cardbus Latency Timer: b0
0x001c: Memory Base 0: fffff000
0x0020: Memory Limit 0: 00000000
0x0024: Memory Base 1: fffff000
0x0028: Memory Limit 1: 00000000
0x002c: I/O Base 0: 0000a300
0x0030: I/O Limit 0: 0000a304
0x0034: I/O Base 1: fffffffc
0x0038: I/O Limit 1: 00000000
0x003c: Interrupt Pin: 01 Line: 0b Bridge Control: 0700
0x0040: Subsystem Vendor ID: 17aa Product ID: 2012
0x0044: 16-bit Legacy Mode Base Address: 00000001
0x00a0: Capability 0x01: Power Management

Reply | Threaded
Open this post in threaded view
|

Re: Unknown COM to PCMCIA adapter, some help?

Jonathan Gray
On Sun, Oct 09, 2011 at 03:28:49PM +0300, Atanas Vladimirov wrote:

> 2011/10/9 Jonathan Gray <[hidden email]>
>
> > On Sun, Oct 09, 2011 at 12:02:03PM +0300, Atanas Vladimirov wrote:
> > >
> > > How can I do that? Can you show me an example of the command I need?
> >
> > yes, plug the card in and send me the full output of "pcidump -v"
> > run as root, without removing any parts of the output.
> >
> > thanks
> >
>
> Here you go:

oops my mistake, we don't print anything for cardbus cards yet as we
still treat it as a seperate set of abstractions from pci.

Reply | Threaded
Open this post in threaded view
|

Re: Unknown COM to PCMCIA adapter, some help?

Атанас Владимиров
2011/10/9 Jonathan Gray <[hidden email]>

> On Sun, Oct 09, 2011 at 03:28:49PM +0300, Atanas Vladimirov wrote:
> > 2011/10/9 Jonathan Gray <[hidden email]>
> >
> > > On Sun, Oct 09, 2011 at 12:02:03PM +0300, Atanas Vladimirov wrote:
> > > >
> > > > How can I do that? Can you show me an example of the command I need?
> > >
> > > yes, plug the card in and send me the full output of "pcidump -v"
> > > run as root, without removing any parts of the output.
> > >
> > > thanks
> > >
> >
> > Here you go:
>
> oops my mistake, we don't print anything for cardbus cards yet as we
> still treat it as a seperate set of abstractions from pci.
>

That's why I coudn't see it at the first time. :)
OK. What's up next? Do You need more information?