Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2003 17:18:07 +0200
From:      Bernd Walter <ticso@cicely9.cicely.de>
To:        MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>, imp@freebsd.org
Cc:        current@freebsd.org
Subject:   Re: tested ehci driver with 5-current/IBM ThinkPad240
Message-ID:  <20030415151806.GL529@cicely9.cicely.de>
In-Reply-To: <20030416.000421.39225367.sanpei@sanpei.org>
References:  <20030414151741.GM16153@cicely9.cicely.de> <20030415.002823.85343122.sanpei@sanpei.org> <20030414154016.GN16153@cicely9.cicely.de> <20030416.000421.39225367.sanpei@sanpei.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 16, 2003 at 12:04:21AM +0900, MIHIRA Sanpei Yoshiro wrote:
> Hi.
> Bernd Walter
> 
>   I tested USB to CardBus Card with 5-current. But I couldn't use
> it.  This CardBus Card could be used with NetBSD-current.  Do you
> have any idea?
> 
> USB 2.0 2 Port CardBus Host Adapter
> http://www.avlab.com.tw/u_0046_001.htm
> 
> dmesg with 5-current
> cardbus0: Resource not specified in CIS: id=10, size=1000
> ohci0: <NEC uPD 9210 USB controller> mem 0x88001000-0x88001fff irq 11 at device 0.0 on cardbus0
> usb1: OHCI version 15.15, legacy support
>                    ~~~~~ wrong number, why??
> usb1: unsupported OHCI revision
> ohci0: USB init failed
> device_probe_and_attach: ohci0 attach returned 5
> cardbus0: Resource not specified in CIS: id=10, size=1000
> ohci0: <NEC uPD 9210 USB controller> mem 0x88001000-0x88001fff irq 11 at device 0.1 on cardbus0
> usb1: OHCI version 15.15, legacy support
> usb1: unsupported OHCI revision
> ohci0: USB init failed
> device_probe_and_attach: ohci0 attach returned5
> cardbus0: Resource not specified in CIS: id=10, size=100
> ehci0: <NEC uPD 720100 USB 2.0 controller> mem 0x88001000-0x880010ff irq 11 at device 0.2 on cardbus0
> usb1: EHCI version ff.ff
>                    ~~~~~ wrong number, why??
> usb1: wrong number of companions (15 != 0)
> ehci0: USB init failed err=13
> device_probe_and_attach: ehci0 attach returned5
> cardbus0: release_all_resource: Resource still
> owned by child, oops. (type=1, rid=0, addr=b)
> cardbus0: release_all_resource: Resource still
> owned by child, oops. (type=3, rid=16, addr=88001000)
> cbb0: CardBus card activation failed

The controllers have overlapping memory assignments.
Maybe cardbus doesn't handle multifunction cards right now or you
have to setup a special configuration for this to work.
Warner, do you have any idea about this?

> ----------
> dmesg with NetBSD-current
> cbb0: bad Vcc request. sock_ctrl 0x0, sock_status 0x30000326
> cbb0: bad Vcc request. sock_ctrl 0x30, sock_status 0x30000b20
> ohci0 at cardbus0 dev 0 function 0: NEC USB Host Controller (rev. 0x41)
> ohci0: interrupting at 11
> ohci0: OHCI version 1.0
> usb1 at ohci0: USB revision 1.0
> uhub1 at usb1
> uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 3 ports with 3 removable, self powered
> ohci1 at cardbus0 dev 0 function 1: NEC USB Host Controller (rev. 0x41)
> ohci1: interrupting at 11
> ohci1: OHCI version 1.0
> usb2 at ohci1: USB revision 1.0
> uhub2 at usb2
> uhub2: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub2: 2 ports with 2 removable, self powered
> ehci0 at cardbus0 dev 0 function 2: NEC USB Host Controller (rev. 0x02)
> ehci0: interrupting at 11
> ehci0: EHCI version 0.95
> ehci0: companion controllers, 3 ports each: ohci0 ohci1
> usb3 at ehci0: USB revision 2.0
> uhub3 at usb3
> uhub3: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
> uhub3: 5 ports with 5 removable, self powered
> ---
> MIHIRA, Sanpei Yoshiro
> Tokyo, Japan.

-- 
B.Walter                   BWCT                http://www.bwct.de
ticso@bwct.de                                  info@bwct.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030415151806.GL529>