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: Mon, 31 May 2010 14:23:05 +0200 [thread overview]
Message-ID: <4C03AA29.2020807@gmail.com> (raw)
In-Reply-To: <4C02E60A.3060407@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 4352 bytes --]
Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> Aleš Nesrsta wrote:
> Hello, Aleš. I've seen that your assignment was completed. I added you
> to grub contributors. Feel free to create a branch in branches/usb.
> Right now I'm busy but next week I should be able to assist. Perhaps
> even this week. Right now I send uncommitted changes sitting in my
> yeeloongfw branch. It's largely your rebased changes + few other things
> like shutting the controller down before booting OS to avoid memory used
> by OS to be clobbered by e.g. HCCA.
> Branch usb should contain pci improvements + your usb changes. If you
> have trouble with bzr or are short on time me (or perhaps someone else)
> can give a hand.
> This branch can go into mainline. Since mainline usb is in deplorable
> state there is no need to pass this changes through experimental at all.
> Merging into mainline doesn't mean that no further developpement should
> be done on usb, just that this part is already a huge improvement.
>
>
I've created a branch "usb" where I put all the yeeloong work and
previous version of your patch. Could you merge your latest patch into
it and test the whole on your systems?
>> Remaining problems:
>>
>> 1.
>> Some devices (at least my BUFFALO USB clip drive flash disk, more
>> precisely "ID 0ea0:2168 Ours Technology, Inc. Transcend JetFlash 2.0 /
>> Astone USB Drive") cannot transfer 4KB data blocks independent on
>> controller OHCI/UHCI - my workaround is not good.
>> But it is probably problem with low priority - device is working finally
>> but it is slower than another device.
>>
>>
>>
> Agreed
>
>> 2.
>> Some devices (at least my APACER cardreader "ID 058f:6366 Alcor Micro
>> Corp. Multi Flash Reader") are not working on UHCI. Such device does not
>> accept any control message and UHCI returns status 0x450007 - it means
>> STALL during sending SETUP packet.
>> It looks to be the same problem as described by Vladimir: "I have
>> somewhat similar issue with Geode OHCI controller right now: devices and
>> speeds are correctly seen but trying to send a message results in a halt
>> in first TD and error code 5.".
>>
>>
> The problem was that the port was plainly off due to Geode reaction on
> incorrect writes differring from that of other controllers.
>
>> But I have problem on UHCI, not on OHCI - on computer with OHCI is this
>> device working well (it is normal USB Mass Storage Bulk-Only device with
>> SCSI subclass)! Maybe it depends on "combined controllers" UHCI-EHCI,
>> OHCI-EHCI (?) - device is working on computer with OHCI only computer
>> and it is not working on computer with UHCI-EHCI controller. But any
>> other device is working well on both computers... I don't understand, I
>> currently have no idea what can be wrong. Does anybody know...?
>>
>>
>>
> Does this device work under OS on this computer? Some ports are plainly
> underpowered.
>
>> 3.
>> There is not working USB hub support, GRUB does not see device connected
>> via USB hub - does anybody know some details or have some specification
>> of USB Hub class ? I cannot find it on USB site (maybe I have not
>> sufficient patience...).
>>
>>
>> I will probably focus in OHCI speed-up now, i.e. I try to do some other
>> handling of ED to prevent changes in OHCI registers which are slowing
>> down OHCI performance (OHCI is approx. 3 times slower than UHCI now from
>> this reason).
>>
>>
> How useful would the interrupts be for this matter? If the answer is
> "very useful" I can implement them. Also we need some restructuring of
> code of both ohci and grub in general to decrease the wait time. I think
> specifically all the waits in init sequence. If system has 2 OHCI
> controllers currently you need to wait twice as long as with 1
> controllers while it's possible to init them in parallel and not wait
> longer than in the case of one controller.
>
>> 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-31 12:23 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
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 [this message]
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=4C03AA29.2020807@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.