linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Christian Schroeder <christian.schroeder@imms.de>
To: "Kári Davíðsson" <karid@flaga.is>
Cc: "Linux Embedded ppc (E-mail)" <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: More USB questions (for the MPC8xx)
Date: Wed, 21 Mar 2001 10:15:23 +0100 (MET)	[thread overview]
Message-ID: <985166123.3ab8712b0b3c7@imp.imms.de> (raw)
In-Reply-To: <EADB10BAC266A14A85ECBF8686A73E3108AFEA@kolkrabbi.flaga.is>


Quoting Kári Davíðsson <karid@flaga.is>:

>
> Hi,
>
> I managed to get the m8xxhci with the TIMER1 patch to sort of work with
> my board.
> I.e. the SOF seem to be genrated normally and there seem to be some
> traffic on
> the usb bus when I plug in keyspan_pda USB device. Althoug the
> initialization of
> the keyspan_pda fails.
> I have also tried a MS USBMouse but then the m8xxhci is totally silent
> and there
> is no traffic on the USB.
>
> What kind of USB devices have you used to plug to a MPC8xx in HIC mode?
>

Hi,


I have similar experiences. I use a TQM823L board and applied Roman Weiss-
gaerbers patches. The microcode patch seems to work, because I can see the
SOF packets every 1 ms between D+ and GND. If I disconnect /DREQ1, the
SOFs disappear. So far so good. Now I tried to connect USB devices.

First I connected an USB mouse and got:

rh::int:0 2 1 301 1
m8xxhci_alloc_dev(usb_dev=c0fcca00)
hub.c: USB new device connect on bus1/1, assigned device number 2
usb_control/bulk_msg: timeout
unlink_urb(urb=c04b5f50,qtype=2) status -115
unlink_urb(urb=c04b5f50) done
usb.c: USB device not accepting new address=2 (error=-110)
m8xxhci_free_dev(usb_dev=c0fcca00)
m8xxhci_free_dev(dev=c0fcca00) done
m8xxhci_alloc_dev(usb_dev=c0fcca00)
hub.c: USB new device connect on bus1/1, assigned device number 3
usb_control/bulk_msg: timeout
unlink_urb(urb=c04b5f50,qtype=2) status -115
unlink_urb(urb=c04b5f50) done
usb.c: USB device not accepting new address=3 (error=-110)
m8xxhci_free_dev(usb_dev=c0fcca00)
m8xxhci_free_dev(dev=c0fcca00) done

The SOFs disappear completely and I cannot see any traffic
between D+ and GND. The D+ Line goes up (about 3 V).

If I connct a Thunderbird 4-port USB hub, I get:

rh::int:0 2 2 101 1
m8xxhci_alloc_dev(usb_dev=c0fcca00)
hub.c: USB new device connect on bus1/1, assigned device number 2
rx err sc (status 0x1c54)
complete urb c04b5f50, actual_length 0, status -1
unlink_urb(urb=c04b5f50,qtype=2) status -110
unlink_urb(urb=c04b5f50) done
complete urb c04b5f50, actual_length 0, status -1
unlink_urb(urb=c04b5f50,qtype=2) status -110
unlink_urb(urb=c04b5f50) done
complete urb c04b5f50, actual_length 0, status -1
unlink_urb(urb=c04b5f50,qtype=2) status -110
unlink_urb(urb=c04b5f50) done
complete urb c04b5f50, actual_length 0, status -1
unlink_urb(urb=c04b5f50,qtype=2) status -110
unlink_urb(urb=c04b5f50) done
complete urb c04b5f50, actual_length 0, status -1
unlink_urb(urb=c04b5f50,qtype=2) status -110
unlink_urb(urb=c04b5f50) done
usb.c: USB device not responding, giving up (error=-110)
m8xxhci_free_dev(usb_dev=c0fcca00)
m8xxhci_free_dev(dev=c0fcca00) done
m8xxhci_alloc_dev(usb_dev=c0fcca00)
hub.c: USB new device connect on bus1/1, assigned device number 3
complete urb c04b5f50, actual_length 8, status -1
unlink_urb(urb=c04b5f50,qtype=2) status -110
unlink_urb(urb=c04b5f50) done
complete urb c04b5f50, actual_length 8, status -1
unlink_urb(urb=c04b5f50,qtype=2) status -110
unlink_urb(urb=c04b5f50) done
complete urb c04b5f50, actual_length 8, status -1
unlink_urb(urb=c04b5f50,qtype=2) status -110
unlink_urb(urb=c04b5f50) done
complete urb c04b5f50, actual_length 8, status -1
unlink_urb(urb=c04b5f50,qtype=2) status -110
unlink_urb(urb=c04b5f50) done
rx err sc (status 0x1c44)
complete urb c04b5f50, actual_length 0, status -1
unlink_urb(urb=c04b5f50,qtype=2) status -110
unlink_urb(urb=c04b5f50) done
usb.c: USB device not responding, giving up (error=-110)
m8xxhci_free_dev(usb_dev=c0fcca00)
m8xxhci_free_dev(dev=c0fcca00) done

The SOFs disappear too!

In some rare cases (when I connect a HUB), the SOFs don't
disappear. In this cases the 4-port HUB is recognized
partially.


Christian Schroeder

Dr.-Ing. Christian Schroeder
Institut fuer Mikroelektronik- und Mechatronik-Systeme
Langewiesener Strasse 22
98693 Ilmenau
Telefon: +49 3677 678315
Telefax: +49 3677 678337
Mobil:   +49 173 5789172
e-mail:  christian.schroeder@imms.de
www:     http://www.imms.de/~christi/cs.html
pgp:     finger christi@finger.imms.de


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2001-03-21  9:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-20 19:08 More USB questions (for the MPC8xx) Kári Davíðsson
2001-03-21  9:15 ` Christian Schroeder [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-03-21 10:03 Kári Davíðsson
2001-03-21 12:25 Roman Weissgaerber
2001-03-21 19:23 Kári Davíðsson

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=985166123.3ab8712b0b3c7@imp.imms.de \
    --to=christian.schroeder@imms.de \
    --cc=karid@flaga.is \
    --cc=linuxppc-embedded@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).