Cardbus USB2 adaptor not working (NEC uPD)...?

idownes at slingshot.co.nz idownes at slingshot.co.nz
Thu Jan 6 04:58:12 PST 2005


hi,
I am trying to get a cardbus to USB2 adpator working under 5.3 - release #0 on
an IBM X22 laptop. The chips used are NEC uPD 9210 and NEC uPD 720100. They are
probed but I get the "Resource not specified in CIS" error and the controllers
get halted.
Other people seem to have got this card working under FreeBSD (i.e. same chips)
http://archive.pilgerer.org/mharc/html/freebsd-current/2003-06/msg00786.html

can someone give me pointers as to how to get this working...?
I've tried an old network card (cardbus) which gets recognised ok (can read the
cis driver gets attached etc), but I've lost the dongle so can't really test
it.

The cardbus controller is sharing irq11 with my network interface. I get a stray
irq9 message from the acpi when I reboot.

interrupt                          total       rate
irq0: clk                         479993         99
irq1: atkbd0                        8007          1
irq8: rtc                         614402        127
irq9: acpi0                            9          0
irq10: cbb1 pcm0                  174298         36
irq11: cbb0 fxp0++*              2577757        536
irq12: psm0                       203424         42
irq13: npx0                            1          0
irq14: ata0                        37872          7
Total                            4095763        853

The following is the output when I plug the card in with the system running...

Status is 0x30000820
cbb0: card inserted: event=0x00000000, state=30000820
cbb0: cbb_power: 3V
cardbus0: Resource not specified in CIS: id=10, size=1000
cardbus0: Non-prefetchable memory at c0202000-c0202fff
ohci0: <NEC uPD 9210 USB controller> mem 0xc0202000-0xc0202fff irq 11 at device
0.0 on cardbus0
ohci0: [GIANT-LOCKED]
usb3: OHCI version 1.0
usb3: unrecoverable error, controller halted
usb3: blocking intrs 0x10
usb3: <NEC uPD 9210 USB controller> on ohci0
usb3: USB revision 1.0
uhub3: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 3 ports with 3 removable, self powered
cardbus0: Resource not specified in CIS: id=10, size=1000
cardbus0: Non-prefetchable memory at c0203000-c0203fff
ohci1: <NEC uPD 9210 USB controller> mem 0xc0203000-0xc0203fff irq 11 at device
0.1 on cardbus0
ohci1: [GIANT-LOCKED]
usb4: OHCI version 1.0
usb4: <NEC uPD 9210 USB controller> on ohci1
usb4: USB revision 1.0
uhub4: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
cardbus0: Resource not specified in CIS: id=10, size=100
cardbus0: Non-prefetchable memory at c0204000-c02040ff
ehci0: <NEC uPD 720100 USB 2.0 controller> mem 0xc0204000-0xc02040ff irq 11 at
device 0.2 on cardbus0
ehci0: [GIANT-LOCKED]
ehci_pci_attach: companion usb3
ehci_pci_attach: companion usb4
usb5: EHCI version 1.0
usb5: companion controllers, 3 ports each: usb3 usb4
usb5: unrecoverable error, controller halted
usb5: blocking intrs 0x10
usb5: run timeout
ehci0: USB init failed err=13
device_attach: ehci0 attach returned 5

pciconf -lv gives
...
ohci0 at pci3:0:0: class=0x0c0310 card=0x00353083 chip=0x00351033 rev=0x43 hdr=0x00
    vendor   = 'NEC Electronics Hong Kong'
    device   = 'uPD9210/72010xx USB Open Host Controller'
    class    = serial bus
    subclass = USB
ohci1 at pci3:0:1: class=0x0c0310 card=0x00353083 chip=0x00351033 rev=0x43 hdr=0x00
    vendor   = 'NEC Electronics Hong Kong'
    device   = 'uPD9210/72010xx USB Open Host Controller'
    class    = serial bus
    subclass = USB
ehci0 at pci3:0:2: class=0x0c0320 card=0x00e03083 chip=0x00e01033 rev=0x04 hdr=0x00
    vendor   = 'NEC Electronics Hong Kong'
    device   = 'uPD720100A/101 USB 2.0 Enhanced Host Controller'
    class    = serial bus
    subclass = USB

full dmesg is (with card already inserted)...
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #0: Tue Jan  4 14:58:25 NZDT 2005
    ian at ian.localhost:/usr/src/sys/i386/compile/IAN
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) III Mobile CPU       800MHz (799.33-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6b1  Stepping = 1
 
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 670498816 (639 MB)
avail memory = 650657792 (620 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <IBM TP-1D> on motherboard
acpi_ec_ecdt_probe: can't get handle
    ACPI-0358: *** Error: Region EmbeddedControl(3) has no handler
    ACPI-1303: *** Error: Method execution failed [\\_SB_.PCI0.LPC_.EC__._INI]
(Node 0xc1877700), AE_NOT_EXIST
acpi0: Power Button (fixed)
acpi_ec0: <Embedded Controller: GPE 0x1c> port 0x66,0x62 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
ACPI link \\_SB_.LNKB has invalid initial irq 5, ignoring
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82830 host to AGP bridge> mem 0xd0000000-0xdfffffff at device 0.0
on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0x1800-0x181f irq 11
at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port 0x1820-0x183f irq 11
at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ums0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), rev 1.10/3.00,
addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
uhci2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> port 0x1840-0x185f irq 11
at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
cbb0: <RF5C476 PCI-CardBus Bridge> mem 0x50000000-0x50000fff irq 11 at device
3.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <RF5C476 PCI-CardBus Bridge> mem 0x50100000-0x50100fff irq 10 at device
3.1 on pci2
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
pci2: <simple comms> at device 5.0 (no driver attached)
fxp0: <Intel 82801CAM (ICH3) Pro/100 VE Ethernet> port 0x7400-0x743f mem
0xc0200000-0xc0200fff irq 11 at device 8.0 on pci2
miibus0: <MII bus> on fxp0
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:d0:59:d9:44:2e
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 UDMA100 controller> port
0x1860-0x186f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pcm0: <Intel ICH3 (82801CA)> port 0x18c0-0x18ff,0x1c00-0x1cff irq 10 at device
31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Cirrus Logic CS4299 AC97 Codec>
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xdc000-0xdffff,0xcd000-0xcdfff,0xcc000-0xccfff
on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
Timecounter "TSC" frequency 799325898 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
cardbus0: Resource not specified in CIS: id=10, size=1000
ohci0: <NEC uPD 9210 USB controller> mem 0xc0202000-0xc0202fff irq 11 at device
0.0 on cardbus0
ohci0: [GIANT-LOCKED]
usb3: OHCI version 1.0
ad0: 19077MB <IC25N020ATCS04-0/CA2OA71A> [41344/15/63] at ata0-master UDMA100
Mounting root from ufs:/dev/ad0s1a
usb3: <NEC uPD 9210 USB controller> on ohci0
usb3: USB revision 1.0
uhub3: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 3 ports with 3 removable, self powered
cardbus0: Resource not specified in CIS: id=10, size=1000
ohci1: <NEC uPD 9210 USB controller> mem 0xc0203000-0xc0203fff irq 11 at device
0.1 on cardbus0
ohci1: [GIANT-LOCKED]
usb4: OHCI version 1.0
usb4: <NEC uPD 9210 USB controller> on ohci1
usb4: USB revision 1.0
uhub4: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
cardbus0: Resource not specified in CIS: id=10, size=100
ehci0: <NEC uPD 720100 USB 2.0 controller> mem 0xc0204000-0xc02040ff irq 11 at
device 0.2 on cardbus0
ehci0: [GIANT-LOCKED]
ehci_pci_attach: companion usb3
ehci_pci_attach: companion usb4
usb5: EHCI version 1.0
usb5: companion controllers, 3 ports each: usb3 usb4
usb5: unrecoverable error, controller halted
usb5: blocking intrs 0x10
usb5: run timeout
ehci0: USB init failed err=13
device_attach: ehci0 attach returned 5
ltmdm0: <Lucent Winmodem> port 0x7000-0x70ff,0x7440-0x7447 mem
0xc0201000-0xc02010ff irq 11 at device 5.0 on pci2
ltmdm0: [GIANT-LOCKED]
ltmdm0: type Virtual 16550A
cardbus0: Resource not specified in CIS: id=10, size=100
ehci0: <NEC uPD 720100 USB 2.0 controller> mem 0xc0204000-0xc02040ff irq 11 at
device 0.2 on cardbus0
ehci0: [GIANT-LOCKED]
ehci_pci_attach: companion usb3
ehci_pci_attach: companion usb4
usb5: EHCI version 1.0
usb5: companion controllers, 3 ports each: usb3 usb4
usb5: unrecoverable error, controller halted
usb5: blocking intrs 0x10
usb5: run timeout
ehci0: USB init failed err=13
device_attach: ehci0 attach returned 5

thanks and please say if there is anymore information I can supply
Ian









More information about the freebsd-questions mailing list