Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>
To: linux-mips@linux-mips.org
Subject: Re: Problems writing to USB devices
Date: Wed, 17 Oct 2007 16:31:09 +0200	[thread overview]
Message-ID: <1192631469.7948.16.camel@scarafaggio> (raw)
In-Reply-To: <Pine.LNX.4.64.0710170853090.22402@pixie.tetracon-eng.net>

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 
> picked?
> 
> 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?

giuseppe@sgi:~$ lsusb
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 Storage Device
Bus 001 Device 002: ID 067b:2515 Prolific Technology, Inc. Flash Disk Embedded Hub
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.

Bye,
Giuseppe

      reply	other threads:[~2007-10-17 14:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-17  8:08 Problems writing to USB devices Giuseppe Sacco
2007-10-17 13:14 ` J. Scott Kasten
2007-10-17 14:31   ` Giuseppe Sacco [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1192631469.7948.16.camel@scarafaggio \
    --to=giuseppe@eppesuigoccas.homedns.org \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox