Il giorno mer, 17/10/2007 alle 09.14 -0400, J. Scott Kasten ha scritto:
> On Wed, 17 Oct 2007, Giuseppe Sacco wrote:
> > Hi all, I am still testing new kernels on the ip32 platform (and
> > learning kernel structure :-)). Currently I found problems in writing to
> > USB block devices. I may read from a pendrive without problem, but when
> > I try to write the process stop. This is the last part of a transcript
> > of strace output for "pvcreate /dev/sdc" command:
> A few questions...
> * Which USB card, or more precisely, which chipset is on the USB card you
> I've had great luck with NEC and ALI chips thus far.
giuseppe@sgi:~$ (lspci;lspci -n)| sort | grep ^01.08.02
01:08.2 0c03: 1033:00e0 (rev 04)
01:08.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
> * Which driver was loaded for the USB controller, OHCI, UHCI, EHCI?
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 067b:2517 Prolific Technology, Inc. Flash Disk Mass
Bus 001 Device 002: ID 067b:2515 Prolific Technology, Inc. Flash Disk Embedded
Bus 001 Device 001: ID 0000:0000
giuseppe@sgi:~$ dmesg | grep 0000:01:08
PCI: Enabling device 0000:01:08.2 (0000 -> 0002)
ehci_hcd 0000:01:08.2: EHCI Host Controller
ehci_hcd 0000:01:08.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:01:08.2: irq 15, io mem 0x280003000
ehci_hcd 0000:01:08.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
So, I think that PCI device 0000:01:08.2 is managed by ehci and its
assigned USB bus #001.