From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: [Patch] [bug #26237] multiple problems with usb devices
Date: Sun, 09 May 2010 15:50:04 +0200 [thread overview]
Message-ID: <4BE6BD8C.5070305@gmail.com> (raw)
In-Reply-To: <5E5E52BFA90345D3AFD840B586167C96@pracovna>
[-- Attachment #1: Type: text/plain, Size: 3124 bytes --]
Aleš Nesrsta wrote:
>>> Additionally, specification says that bit 31 (FIT) should be set to one
>>> if any change of FRAME_INTERVAL occurs - but I think it is necessary
>>> only if OHCI is in operational state - which is not in our case.
>> It can be done. Thanks.
> As I wrote, it is most probably not our case, (GRUB is setting controller
> in STOP state and nobody takes care about immediate impact of such
> setting,
> there are delays between set of FRAME_INTERVAL register and real
> start of first communication transaction) so don't hurry with such
> change...:-)
> (Because if you set FIT bit, you should also wait for FRT bit in register
> FRAME_REMAINING to be set by OHCI controller as the reaction.
> But it should happen in next start of frame, i.e. max. after 1ms.)
>
Ok, let's just keep it in mind but since it doesn't create any real
problems keep it the simple way.
>> ...
>> I think the real problem are channels. I have suspicion that only first
>> channel of UHCI works. Another possible problem are the legacy support
>> bits in EHCI controller.
> It looks like good idea. I also told myself that I have to first
> discover how are
> GRUB modules usb and usbms working with USB ports of USB controller,
> how are they looking for connected USB mass storage device.
> So I try first to more study actual related source code.
>
> Another source of problem could be not only legacy support itself but
> EHCI set up made by BIOS. If I good understood leading part of EHCI
> specification, if EHCI is enabled - working, all USB 2.0 capable devices
> are not "seen" on UHCI/OHCI but on EHCI only. So, if BIOS enables EHCI
> to be working, none USB mass storage device will be reported on UHCI
> or OHCI ports. And all USB mass storage that I have are USB 2.0
> capable...
> If it is in this way, I don't see any simple way how to avoid it
> (maybe except
> disabling USB 2.0 support in BIOS if it is possible).
> But maybe it is my misunderstanding only.
Perhaps we can shutdown EHCI somehow? Do you know of reliable way to
completely reset all USB controllers?
Currently on Yeeloong ohci partially works but is able to retrieve
string only from webcam. I suppose that webcam wasn't used by pmon so
grub was able to assign an address to it itself. But maybe webcam is
simply on another controller (one of controller is Geode which differs a
bit from normal OHCI).
When I run grub without pmon detect_dev is correct but it's not possible
to send or receive anything and frame number stays 0xffff. I guess I
need to launch OHCI somehow.
>
> (If you will be find something sooner than me, inform me, please,
> thanks in advance.)
I also had to add old way of end detection because otherwise it hanged
sometimes.
Also in few places you had:
grub_le_to_cpu32 (&var)
instead of
grub_le_to_cpu32 (var)
>
> Best regards
> Ales
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 293 bytes --]
next prev parent reply other threads:[~2010-05-09 13:55 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-14 22:23 [Patch] [bug #26237] multiple problems with usb devices Aleš Nesrsta
2010-04-02 20:46 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-07 19:49 ` Aleš Nesrsta
2010-04-07 20:39 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-08 21:27 ` Aleš Nesrsta
2010-04-16 16:39 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-20 20:14 ` Aleš Nesrsta
2010-04-24 19:50 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-28 8:20 ` Aleš Nesrsta
2010-05-09 13:50 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2010-05-21 23:46 ` Aleš Nesrsta
2010-05-22 1:20 ` Grégoire Sutre
2010-05-22 9:35 ` Colin Watson
2010-05-22 23:13 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-23 10:27 ` Aleš Nesrsta
2010-05-23 14:41 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-23 17:42 ` Aleš Nesrsta
2010-05-23 18:40 ` Thomas Schmitt
2010-05-23 17:51 ` [Patch] [bug #26237] " Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-23 14:44 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-23 17:16 ` Aleš Nesrsta
2010-05-23 19:35 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-23 20:41 ` seth.goldberg
2010-05-25 18:58 ` Aleš Nesrsta
2010-05-30 16:51 ` Aleš Nesrsta
2010-05-30 22:26 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-31 4:16 ` Seth Goldberg
2010-05-31 12:23 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-31 21:54 ` Aleš Nesrsta
2010-06-01 0:18 ` [RFT] " Vladimir 'φ-coder/phcoder' Serbinenko
2010-06-01 21:14 ` Aleš Nesrsta
2010-06-02 0:27 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-06-02 3:02 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-06-02 19:39 ` Aleš Nesrsta
2010-06-02 20:14 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-06-03 11:47 ` Aleš Nesrsta
2010-06-12 17:05 ` [RFT] Re: [Patch] [bug #26237] multiple problems with usb devices - faster OHCI Aleš Nesrsta
2010-06-12 18:59 ` Aleš Nesrsta
2010-06-13 17:47 ` [RFT] Re: [Patch] [bug #26237] multiple problems with usb devices Aleš Nesrsta
2010-06-21 20:24 ` Aleš Nesrsta
2010-06-25 18:10 ` Vladimir 'φ-coder/phcoder' Serbinenko
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=4BE6BD8C.5070305@gmail.com \
--to=phcoder@gmail.com \
--cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.