Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: rolf liu <rolfliu@gmail.com>
To: ppopov@embeddedalley.com
Cc: Kevin Turner <kevin.m.turner@pobox.com>,
	linux-mips <linux-mips@linux-mips.org>
Subject: Re: What is the current USB support status on DB1550?
Date: Thu, 14 Jul 2005 14:52:50 -0700	[thread overview]
Message-ID: <2db32b720507141452df44769@mail.gmail.com> (raw)
In-Reply-To: <1121376170.16115.30.camel@localhost.localdomain>

The drive is identified in the file "devices".
Pete,
I can't get my netac flash drive working on db1550. Could you tell me
what went wrong?

I mount the usbfs as "mount none /proc/bus/usb  -t usbfs".
In /proc/bus/usb, I don't see "drivers", only "001" and "devices".

Under /proc/scsc/usb-storage, there is file "0", which gives the
information for this drive:
Host scsi0: usb-storage
Vendor: Netac
Product: OnlyDisk
Serial number: None
Protocol: Transparent SCSI
Transport: Bulk

The output from usb-storage debug keeps showing
"Bad target number", since the device->id is not 0 and the flags is 0.
Any suggestion on this part? 

...
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (1:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (2:0)
usb-storage: scsi cmd done, result=0x40000
...

Thanks


On 7/14/05, Pete Popov <ppopov@embeddedalley.com> wrote:
> On Thu, 2005-07-14 at 13:49 -0700, Kevin Turner wrote:
> > On Thu, 2005-07-14 at 08:49 -0700, Pete Popov wrote:
> > > Host only. We couldn't make gadget work due to interrupt latency
> > > requirements by the HW that couldn't be reliably achieved with Linux.
> > > But gadget does work on the Au1200.
> >
> > Is the Au1500 in the same boat as the DB1550?
> 
> The Db1550 is the reference board for the Au1550.
> 
> >  Do the hardware
> > requirements apply to all boards with that SOC, or is it somewhat
> > board-dependent?
> 
> All boards with the 1100, 1500, or 1550. The Au1200 gadget works, but
> the usb controller on the SOC is different. We've made the other CPUs
> work before but it was on top of RTLinux, different/proprietary usb
> stack, and a lot of debug and tuning.
> 
> Pete
> 
> 
>

      reply	other threads:[~2005-07-14 21:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-14 15:32 What is the current USB support status on DB1550? rolf liu
2005-07-14 15:49 ` Pete Popov
2005-07-14 16:04   ` rolf liu
2005-07-14 16:11     ` Pete Popov
2005-07-14 20:49   ` Kevin Turner
2005-07-14 21:22     ` Pete Popov
2005-07-14 21:52       ` rolf liu [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=2db32b720507141452df44769@mail.gmail.com \
    --to=rolfliu@gmail.com \
    --cc=kevin.m.turner@pobox.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ppopov@embeddedalley.com \
    /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