All of lore.kernel.org
 help / color / mirror / Atom feed
* USB Driver uhci.c legacy mode
@ 2010-07-02 10:30 jonatan perry
  2010-07-02 17:20 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 1 reply; 11+ messages in thread
From: jonatan perry @ 2010-07-02 10:30 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]

Hi all,
I am using grub2 uhci.c usb driver for testing new hardware, on some
occuisions the UHCI signature test fails (can be found on the PCI iteration
routine), the driver thest if the controller founded by PCI has a signature
as uhci should have (0x0c0300), on some of my new hardwares the signature is
as EHCI (usb 2.0) means 0x0c0302, if i change the signature that the driver
searches the rest of the driver fails, probably because i need to activate a
legacy bit in the configuration register in the EHCI Controller.
i have searched EHCI Specs for legacy mode and could not understand how to
configure legacy mode... and i hope some of you guy could help me.

thanks!

[-- Attachment #2: Type: text/html, Size: 715 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: USB Driver uhci.c legacy mode
  2010-07-02 10:30 USB Driver uhci.c legacy mode jonatan perry
@ 2010-07-02 17:20 ` Vladimir 'φ-coder/phcoder' Serbinenko
  2010-07-05 17:14   ` Aleš Nesrsta
  0 siblings, 1 reply; 11+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-07-02 17:20 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 1119 bytes --]

On 07/02/2010 12:30 PM, jonatan perry wrote:
> Hi all,
> I am using grub2 uhci.c usb driver for testing new hardware, on some
> occuisions the UHCI signature test fails (can be found on the PCI
> iteration routine), the driver thest if the controller founded by PCI
> has a signature as uhci should have (0x0c0300), on some of my new
> hardwares the signature is as EHCI (usb 2.0) means 0x0c0302, if i
> change the signature that the driver searches the rest of the driver
> fails, probably because i need to activate a legacy bit in the
> configuration register in the EHCI Controller.
EHCI is never alone. It must always have a companion controller (UHCI or
OHCI). Also be sure to use either bzr trunk or usb branch.
> i have searched EHCI Specs for legacy mode and could not understand
> how to configure legacy mode... and i hope some of you guy could help me.
>
> thanks!
>
>
> _______________________________________________
> 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: 294 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: USB Driver uhci.c legacy mode
  2010-07-02 17:20 ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2010-07-05 17:14   ` Aleš Nesrsta
  2010-07-05 18:38     ` jonatan perry
  0 siblings, 1 reply; 11+ messages in thread
From: Aleš Nesrsta @ 2010-07-05 17:14 UTC (permalink / raw)
  To: The development of GNU GRUB

> On 07/02/2010 12:30 PM, jonatan perry wrote:
> > Hi all,
> > I am using grub2 uhci.c usb driver for testing new hardware, on some
> > occuisions the UHCI signature test fails (can be found on the PCI
> > iteration routine), the driver thest if the controller founded by PCI
> > has a signature as uhci should have (0x0c0300), on some of my new
> > hardwares the signature is as EHCI (usb 2.0) means 0x0c0302, if i
> > change the signature that the driver searches the rest of the driver
> > fails, probably because i need to activate a legacy bit in the
> > configuration register in the EHCI Controller.
> EHCI is never alone. It must always have a companion controller (UHCI or
> OHCI). Also be sure to use either bzr trunk or usb branch.

Note:
Unfortunately, according to specification, EHCI can be installed alone
(without companion UHCI or OHCI controller(s)) but it is probably very
rare computer HW configuration.
Try command "lspci" in Linux and search for lines with "USB Controller"
- if You will find EHCI only, You really have "EHCI only" computer.
But You can have some bad BIOS setting (You should enable USB 1.1
controller(s) in BIOS.).

> > i have searched EHCI Specs for legacy mode and could not understand
> > how to configure legacy mode... and i hope some of you guy could help me.
> >
> > thanks!
> >
> >
> > _______________________________________________
> > Grub-devel mailing list
> > Grub-devel@gnu.org
> > http://lists.gnu.org/mailman/listinfo/grub-devel
> >   
> 
> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: USB Driver uhci.c legacy mode
  2010-07-05 17:14   ` Aleš Nesrsta
@ 2010-07-05 18:38     ` jonatan perry
  2010-07-05 19:58       ` Aleš Nesrsta
  0 siblings, 1 reply; 11+ messages in thread
From: jonatan perry @ 2010-07-05 18:38 UTC (permalink / raw)
  To: The development of GNU GRUB

[-- Attachment #1: Type: text/plain, Size: 2477 bytes --]

Hello Ales,
Unfortunately, the discussed platform (Lenovo t410 laptop) includes no UHCI
controller along with the EHCI, as well no BIOS USB 1.0 (UHCI) legacy
support.
as I understand from the EHCI specs there are several legacy registers,
named USBLEGSUP and USBLEGCTLSTS, can I assists those registers in order to
achieve legacy support?
I didn't found any source code examples nor additional documentation
regarding those registers.

any help would be most welcome.

On Mon, Jul 5, 2010 at 8:14 PM, Aleš Nesrsta <starous@volny.cz> wrote:

> > On 07/02/2010 12:30 PM, jonatan perry wrote:
> > > Hi all,
> > > I am using grub2 uhci.c usb driver for testing new hardware, on some
> > > occuisions the UHCI signature test fails (can be found on the PCI
> > > iteration routine), the driver thest if the controller founded by PCI
> > > has a signature as uhci should have (0x0c0300), on some of my new
> > > hardwares the signature is as EHCI (usb 2.0) means 0x0c0302, if i
> > > change the signature that the driver searches the rest of the driver
> > > fails, probably because i need to activate a legacy bit in the
> > > configuration register in the EHCI Controller.
> > EHCI is never alone. It must always have a companion controller (UHCI or
> > OHCI). Also be sure to use either bzr trunk or usb branch.
>
> Note:
> Unfortunately, according to specification, EHCI can be installed alone
> (without companion UHCI or OHCI controller(s)) but it is probably very
> rare computer HW configuration.
> Try command "lspci" in Linux and search for lines with "USB Controller"
> - if You will find EHCI only, You really have "EHCI only" computer.
> But You can have some bad BIOS setting (You should enable USB 1.1
> controller(s) in BIOS.).
>
> > > i have searched EHCI Specs for legacy mode and could not understand
> > > how to configure legacy mode... and i hope some of you guy could help
> me.
> > >
> > > thanks!
> > >
> > >
> > > _______________________________________________
> > > Grub-devel mailing list
> > > Grub-devel@gnu.org
> > > http://lists.gnu.org/mailman/listinfo/grub-devel
> > >
> >
> >
> > _______________________________________________
> > Grub-devel mailing list
> > Grub-devel@gnu.org
> > http://lists.gnu.org/mailman/listinfo/grub-devel
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>

[-- Attachment #2: Type: text/html, Size: 3449 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: USB Driver uhci.c legacy mode
  2010-07-05 18:38     ` jonatan perry
@ 2010-07-05 19:58       ` Aleš Nesrsta
  2010-07-10  5:18         ` jonatan perry
  0 siblings, 1 reply; 11+ messages in thread
From: Aleš Nesrsta @ 2010-07-05 19:58 UTC (permalink / raw)
  To: The development of GNU GRUB

jonatan perry wrote:
> Hello Ales,
> Unfortunately, the discussed platform (Lenovo t410 laptop) includes no
> UHCI controller along with the EHCI, as well no BIOS USB 1.0 (UHCI)
> legacy support.
> as I understand from the EHCI specs there are several legacy
> registers, named USBLEGSUP and USBLEGCTLSTS, can I assists those
> registers in order to achieve legacy support?
> I didn't found any source code examples nor additional documentation
> regarding those registers.
> 
> any help would be most welcome.

Hi,

in this case it looks like You unfortunately cannot use USB devices with
GRUB2 because GRUB2 does not support EHCI controllers yet.

Short and simplified overview - to clarify some things/words/terms:

- GRUB2 currently supports OHCI and UHCI USB controllers only (these
controllers support USB 1.1 devices only - "low speed" and "full
speed").

- EHCI is another kind of USB controller than UHCI or OHCI - it supports
USB 2.0 devices only ("high speed"). Unfortunately, GRUB2 currently does
not have driver module for EHCI.

- According to UHCI/OHCI/EHCI specification, "legacy support" means HW
emulation of USB mouse&keyboard as PS/2 devices. I.e., USB mouse or
keyboard looks like connected via PS/2 port. It is useful for BIOS,
bootloaders and some other software (like old DOS) which does not have
its own USB support.

- Some BIOSes (for example on my computer...) mean by "legacy support"
also booting from USB. In this case is connected USB disk "emulated" as
HD (or FD) by BIOS. Such kind of booting should work also with GRUB2 and
You don't need to use uhci/ohci module.

- "Legacy support" DOES NOT (or, better, should not) mean support of
USB1.1 devices, i.e., You cannot "switch" EHCI to UHCI (or OHCI) via
"legacy support". The only one possible way is to add EHCI support into
GRUB2 (new driver module).

- USB 2.0 devices (USB disks etc.) are mostly backwards compatible, i.e.
they are working also when connected to OHCI/UHCI controllers.

Regards
Ales

> 
> On Mon, Jul 5, 2010 at 8:14 PM, Aleš Nesrsta <starous@volny.cz> wrote:
>         > On 07/02/2010 12:30 PM, jonatan perry wrote:
>         > > Hi all,
>         > > I am using grub2 uhci.c usb driver for testing new
>         hardware, on some
>         > > occuisions the UHCI signature test fails (can be found on
>         the PCI
>         > > iteration routine), the driver thest if the controller
>         founded by PCI
>         > > has a signature as uhci should have (0x0c0300), on some of
>         my new
>         > > hardwares the signature is as EHCI (usb 2.0) means
>         0x0c0302, if i
>         > > change the signature that the driver searches the rest of
>         the driver
>         > > fails, probably because i need to activate a legacy bit in
>         the
>         > > configuration register in the EHCI Controller.
>         > EHCI is never alone. It must always have a companion
>         controller (UHCI or
>         > OHCI). Also be sure to use either bzr trunk or usb branch.
>         
>         
>         Note:
>         Unfortunately, according to specification, EHCI can be
>         installed alone
>         (without companion UHCI or OHCI controller(s)) but it is
>         probably very
>         rare computer HW configuration.
>         Try command "lspci" in Linux and search for lines with "USB
>         Controller"
>         - if You will find EHCI only, You really have "EHCI only"
>         computer.
>         But You can have some bad BIOS setting (You should enable USB
>         1.1
>         controller(s) in BIOS.).
>         
>         
>         > > i have searched EHCI Specs for legacy mode and could not
>         understand
>         > > how to configure legacy mode... and i hope some of you guy
>         could help me.
>         > >
>         > > thanks!
>         > >
>         > >
>         > > _______________________________________________
>         > > Grub-devel mailing list
>         > > Grub-devel@gnu.org
>         > > http://lists.gnu.org/mailman/listinfo/grub-devel
>         > >
>         >
>         >
>         > _______________________________________________
>         > Grub-devel mailing list
>         > Grub-devel@gnu.org
>         > http://lists.gnu.org/mailman/listinfo/grub-devel
>         
>         
>         _______________________________________________
>         Grub-devel mailing list
>         Grub-devel@gnu.org
>         http://lists.gnu.org/mailman/listinfo/grub-devel
>         
> 
> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: USB Driver uhci.c legacy mode
  2010-07-05 19:58       ` Aleš Nesrsta
@ 2010-07-10  5:18         ` jonatan perry
  2010-07-12 11:29           ` jonatan perry
  0 siblings, 1 reply; 11+ messages in thread
From: jonatan perry @ 2010-07-10  5:18 UTC (permalink / raw)
  To: The development of GNU GRUB

[-- Attachment #1: Type: text/plain, Size: 5301 bytes --]

hello ales,
thank you so much for you detailed answers!
how would i surely know that grub usb driver would not work on this
platform?


On Mon, Jul 5, 2010 at 10:58 PM, Aleš Nesrsta <starous@volny.cz> wrote:

> jonatan perry wrote:
> > Hello Ales,
> > Unfortunately, the discussed platform (Lenovo t410 laptop) includes no
> > UHCI controller along with the EHCI, as well no BIOS USB 1.0 (UHCI)
> > legacy support.
> > as I understand from the EHCI specs there are several legacy
> > registers, named USBLEGSUP and USBLEGCTLSTS, can I assists those
> > registers in order to achieve legacy support?
> > I didn't found any source code examples nor additional documentation
> > regarding those registers.
> >
> > any help would be most welcome.
>
> Hi,
>
> in this case it looks like You unfortunately cannot use USB devices with
> GRUB2 because GRUB2 does not support EHCI controllers yet.
>
> Short and simplified overview - to clarify some things/words/terms:
>
> - GRUB2 currently supports OHCI and UHCI USB controllers only (these
> controllers support USB 1.1 devices only - "low speed" and "full
> speed").
>
> - EHCI is another kind of USB controller than UHCI or OHCI - it supports
> USB 2.0 devices only ("high speed"). Unfortunately, GRUB2 currently does
> not have driver module for EHCI.
>
> - According to UHCI/OHCI/EHCI specification, "legacy support" means HW
> emulation of USB mouse&keyboard as PS/2 devices. I.e., USB mouse or
> keyboard looks like connected via PS/2 port. It is useful for BIOS,
> bootloaders and some other software (like old DOS) which does not have
> its own USB support.
>
> - Some BIOSes (for example on my computer...) mean by "legacy support"
> also booting from USB. In this case is connected USB disk "emulated" as
> HD (or FD) by BIOS. Such kind of booting should work also with GRUB2 and
> You don't need to use uhci/ohci module.
>
> - "Legacy support" DOES NOT (or, better, should not) mean support of
> USB1.1 devices, i.e., You cannot "switch" EHCI to UHCI (or OHCI) via
> "legacy support". The only one possible way is to add EHCI support into
> GRUB2 (new driver module).
>
> - USB 2.0 devices (USB disks etc.) are mostly backwards compatible, i.e.
> they are working also when connected to OHCI/UHCI controllers.
>
> Regards
> Ales
>
> >
> > On Mon, Jul 5, 2010 at 8:14 PM, Aleš Nesrsta <starous@volny.cz> wrote:
> >         > On 07/02/2010 12:30 PM, jonatan perry wrote:
> >         > > Hi all,
> >         > > I am using grub2 uhci.c usb driver for testing new
> >         hardware, on some
> >         > > occuisions the UHCI signature test fails (can be found on
> >         the PCI
> >         > > iteration routine), the driver thest if the controller
> >         founded by PCI
> >         > > has a signature as uhci should have (0x0c0300), on some of
> >         my new
> >         > > hardwares the signature is as EHCI (usb 2.0) means
> >         0x0c0302, if i
> >         > > change the signature that the driver searches the rest of
> >         the driver
> >         > > fails, probably because i need to activate a legacy bit in
> >         the
> >         > > configuration register in the EHCI Controller.
> >         > EHCI is never alone. It must always have a companion
> >         controller (UHCI or
> >         > OHCI). Also be sure to use either bzr trunk or usb branch.
> >
> >
> >         Note:
> >         Unfortunately, according to specification, EHCI can be
> >         installed alone
> >         (without companion UHCI or OHCI controller(s)) but it is
> >         probably very
> >         rare computer HW configuration.
> >         Try command "lspci" in Linux and search for lines with "USB
> >         Controller"
> >         - if You will find EHCI only, You really have "EHCI only"
> >         computer.
> >         But You can have some bad BIOS setting (You should enable USB
> >         1.1
> >         controller(s) in BIOS.).
> >
> >
> >         > > i have searched EHCI Specs for legacy mode and could not
> >         understand
> >         > > how to configure legacy mode... and i hope some of you guy
> >         could help me.
> >         > >
> >         > > thanks!
> >         > >
> >         > >
> >         > > _______________________________________________
> >         > > Grub-devel mailing list
> >         > > Grub-devel@gnu.org
> >         > > http://lists.gnu.org/mailman/listinfo/grub-devel
> >         > >
> >         >
> >         >
> >         > _______________________________________________
> >         > Grub-devel mailing list
> >         > Grub-devel@gnu.org
> >         > http://lists.gnu.org/mailman/listinfo/grub-devel
> >
> >
> >         _______________________________________________
> >         Grub-devel mailing list
> >         Grub-devel@gnu.org
> >         http://lists.gnu.org/mailman/listinfo/grub-devel
> >
> >
> >
> > _______________________________________________
> > Grub-devel mailing list
> > Grub-devel@gnu.org
> > http://lists.gnu.org/mailman/listinfo/grub-devel
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>

[-- Attachment #2: Type: text/html, Size: 7389 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: USB Driver uhci.c legacy mode
  2010-07-10  5:18         ` jonatan perry
@ 2010-07-12 11:29           ` jonatan perry
  2010-07-24 18:15             ` Aleš Nesrsta
  0 siblings, 1 reply; 11+ messages in thread
From: jonatan perry @ 2010-07-12 11:29 UTC (permalink / raw)
  To: The development of GNU GRUB

[-- Attachment #1: Type: text/plain, Size: 5702 bytes --]

i have another question regarding grub usb ehci support - is such support
under development? is such support are planned to be? what is the current
status?

thanks.

On Sat, Jul 10, 2010 at 7:18 AM, jonatan perry <jonatan44@gmail.com> wrote:

> hello ales,
> thank you so much for you detailed answers!
> how would i surely know that grub usb driver would not work on this
> platform?
>
>
>
> On Mon, Jul 5, 2010 at 10:58 PM, Aleš Nesrsta <starous@volny.cz> wrote:
>
>> jonatan perry wrote:
>> > Hello Ales,
>> > Unfortunately, the discussed platform (Lenovo t410 laptop) includes no
>> > UHCI controller along with the EHCI, as well no BIOS USB 1.0 (UHCI)
>> > legacy support.
>> > as I understand from the EHCI specs there are several legacy
>> > registers, named USBLEGSUP and USBLEGCTLSTS, can I assists those
>> > registers in order to achieve legacy support?
>> > I didn't found any source code examples nor additional documentation
>> > regarding those registers.
>> >
>> > any help would be most welcome.
>>
>> Hi,
>>
>> in this case it looks like You unfortunately cannot use USB devices with
>> GRUB2 because GRUB2 does not support EHCI controllers yet.
>>
>> Short and simplified overview - to clarify some things/words/terms:
>>
>> - GRUB2 currently supports OHCI and UHCI USB controllers only (these
>> controllers support USB 1.1 devices only - "low speed" and "full
>> speed").
>>
>> - EHCI is another kind of USB controller than UHCI or OHCI - it supports
>> USB 2.0 devices only ("high speed"). Unfortunately, GRUB2 currently does
>> not have driver module for EHCI.
>>
>> - According to UHCI/OHCI/EHCI specification, "legacy support" means HW
>> emulation of USB mouse&keyboard as PS/2 devices. I.e., USB mouse or
>> keyboard looks like connected via PS/2 port. It is useful for BIOS,
>> bootloaders and some other software (like old DOS) which does not have
>> its own USB support.
>>
>> - Some BIOSes (for example on my computer...) mean by "legacy support"
>> also booting from USB. In this case is connected USB disk "emulated" as
>> HD (or FD) by BIOS. Such kind of booting should work also with GRUB2 and
>> You don't need to use uhci/ohci module.
>>
>> - "Legacy support" DOES NOT (or, better, should not) mean support of
>> USB1.1 devices, i.e., You cannot "switch" EHCI to UHCI (or OHCI) via
>> "legacy support". The only one possible way is to add EHCI support into
>> GRUB2 (new driver module).
>>
>> - USB 2.0 devices (USB disks etc.) are mostly backwards compatible, i.e.
>> they are working also when connected to OHCI/UHCI controllers.
>>
>> Regards
>> Ales
>>
>> >
>> > On Mon, Jul 5, 2010 at 8:14 PM, Aleš Nesrsta <starous@volny.cz> wrote:
>> >         > On 07/02/2010 12:30 PM, jonatan perry wrote:
>> >         > > Hi all,
>> >         > > I am using grub2 uhci.c usb driver for testing new
>> >         hardware, on some
>> >         > > occuisions the UHCI signature test fails (can be found on
>> >         the PCI
>> >         > > iteration routine), the driver thest if the controller
>> >         founded by PCI
>> >         > > has a signature as uhci should have (0x0c0300), on some of
>> >         my new
>> >         > > hardwares the signature is as EHCI (usb 2.0) means
>> >         0x0c0302, if i
>> >         > > change the signature that the driver searches the rest of
>> >         the driver
>> >         > > fails, probably because i need to activate a legacy bit in
>> >         the
>> >         > > configuration register in the EHCI Controller.
>> >         > EHCI is never alone. It must always have a companion
>> >         controller (UHCI or
>> >         > OHCI). Also be sure to use either bzr trunk or usb branch.
>> >
>> >
>> >         Note:
>> >         Unfortunately, according to specification, EHCI can be
>> >         installed alone
>> >         (without companion UHCI or OHCI controller(s)) but it is
>> >         probably very
>> >         rare computer HW configuration.
>> >         Try command "lspci" in Linux and search for lines with "USB
>> >         Controller"
>> >         - if You will find EHCI only, You really have "EHCI only"
>> >         computer.
>> >         But You can have some bad BIOS setting (You should enable USB
>> >         1.1
>> >         controller(s) in BIOS.).
>> >
>> >
>> >         > > i have searched EHCI Specs for legacy mode and could not
>> >         understand
>> >         > > how to configure legacy mode... and i hope some of you guy
>> >         could help me.
>> >         > >
>> >         > > thanks!
>> >         > >
>> >         > >
>> >         > > _______________________________________________
>> >         > > Grub-devel mailing list
>> >         > > Grub-devel@gnu.org
>> >         > > http://lists.gnu.org/mailman/listinfo/grub-devel
>> >         > >
>> >         >
>> >         >
>> >         > _______________________________________________
>> >         > Grub-devel mailing list
>> >         > Grub-devel@gnu.org
>> >         > http://lists.gnu.org/mailman/listinfo/grub-devel
>> >
>> >
>> >         _______________________________________________
>> >         Grub-devel mailing list
>> >         Grub-devel@gnu.org
>> >         http://lists.gnu.org/mailman/listinfo/grub-devel
>> >
>> >
>> >
>> > _______________________________________________
>> > Grub-devel mailing list
>> > Grub-devel@gnu.org
>> > http://lists.gnu.org/mailman/listinfo/grub-devel
>>
>>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> http://lists.gnu.org/mailman/listinfo/grub-devel
>>
>
>

[-- Attachment #2: Type: text/html, Size: 7966 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: USB Driver uhci.c legacy mode
  2010-07-12 11:29           ` jonatan perry
@ 2010-07-24 18:15             ` Aleš Nesrsta
  2010-07-27  4:54               ` D, Eshwar (Eshwar)
  0 siblings, 1 reply; 11+ messages in thread
From: Aleš Nesrsta @ 2010-07-24 18:15 UTC (permalink / raw)
  To: The development of GNU GRUB

Hi, I am sorry to be late with answer, unfortunately, I have few time
during our school holidays...
To Your questions, chronologically:

> how would i surely know that grub usb driver would not work on this
> platform?

None of current USB drivers will work if Your PC is EHCI-only PC. One
way how to find it I described before (via lspci). But You have to be
sure You have properly set USB part in BIOS (or You should try all
possible USB BIOS configurations etc. ...).
Another way is for example to find detailed specification of Your laptop
HW. I tried shortly to find something on Internet but there are
specifications like "USB 2.0 compatible" etc. and the same
specifications are often used also for controllers which includes
OHCI/UHCI USB 1.0 too - so, I am not sure.

Definitely You can find it by check of HCSPARAMS register of EHCI.
According EHCI specification, this 32-bit register should be at USBBASE
+ 08h (USBBASE pointer should be in PCI configuration registers at PCI
base + 10h).
Bits 15:12 of HCSPARAMS should be nonzero. If You find zero there, You
have EHCI-only controller (without OHCI/UHCI companion controllers) in
Your PC, i.e., Your USB controller is currently not directly supported
by GRUB :-(


> jonatan perry wrote:
> i have another question regarding grub usb ehci support - is such
> support under development? is such support are planned to be? what is
> the current status?

Hm, I am not the right person to answer these questions properly, I am
not coordinator... Maybe Vladimir Serbinenko will answer it better.

From my point of view:
- Development of EHCI is planned.
- Current status of EHCI driver development - probably 0%. AFAIK, nobody
is currently working on EHCI support. But I could be wrong and it can
change at any time.

I was asked some months ago by Vladimir, if I am interesting also in
EHCI. I answered "no" originally - because I thought that all EHCI
controllers have also companion OHCI/EHCI controllers and speed of USB
1.0/1.1 devices is not critical for GRUB (because it is "only"
bootloader...).
I changed point of view from some reasons short time ago. I wanted, at
least, find why some devices are not working on my EHCI/UHCI port - it
looks like problem is on powering of ports (but UHCI has no power
control of its ports - or, at least, it is not written in UHCI
specification...). I think that this problem is maybe somewhere in EHCI,
so I want to start some experiments with EHCI.

But:
- GRUB USB development is currently focused on enhancement and debugging
of current USB drivers and related code - for example hot-plugging and
hub support. I want to help with these things first before doing
something new (and generate new bugs...).
- EHCI is different and more complex than OHCI/UHCI
- it looks like I will too busy in next weeks/months. So, if EHCI
support will depend only on me, it will take very long time... Maybe
somebody else will start development of EHCI driver sooner (or maybe it
is started?)...?

With regards
Ales





^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: USB Driver uhci.c legacy mode
  2010-07-24 18:15             ` Aleš Nesrsta
@ 2010-07-27  4:54               ` D, Eshwar (Eshwar)
  2010-08-01 15:41                 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 1 reply; 11+ messages in thread
From: D, Eshwar (Eshwar) @ 2010-07-27  4:54 UTC (permalink / raw)
  To: The development of GNU GRUB

HI,
   I would like to contribute for EHCI driver.. Let me know if any space is available for me... By the way I already spoke to Ales & Vladimir... 

Regards
Eshwar

> -----Original Message-----
> From: grub-devel-bounces+eshwar.d=alcatel-lucent.com@gnu.org 
> [mailto:grub-devel-bounces+eshwar.d=alcatel-lucent.com@gnu.org
> ] On Behalf Of Aleš Nesrsta
> Sent: Saturday, July 24, 2010 11:45 PM
> To: The development of GNU GRUB
> Subject: Re: USB Driver uhci.c legacy mode
> 
> Hi, I am sorry to be late with answer, unfortunately, I have 
> few time during our school holidays...
> To Your questions, chronologically:
> 
> > how would i surely know that grub usb driver would not work on this 
> > platform?
> 
> None of current USB drivers will work if Your PC is EHCI-only 
> PC. One way how to find it I described before (via lspci). 
> But You have to be sure You have properly set USB part in 
> BIOS (or You should try all possible USB BIOS configurations 
> etc. ...).
> Another way is for example to find detailed specification of 
> Your laptop HW. I tried shortly to find something on Internet 
> but there are specifications like "USB 2.0 compatible" etc. 
> and the same specifications are often used also for 
> controllers which includes OHCI/UHCI USB 1.0 too - so, I am not sure.
> 
> Definitely You can find it by check of HCSPARAMS register of EHCI.
> According EHCI specification, this 32-bit register should be 
> at USBBASE
> + 08h (USBBASE pointer should be in PCI configuration registers at PCI
> base + 10h).
> Bits 15:12 of HCSPARAMS should be nonzero. If You find zero 
> there, You have EHCI-only controller (without OHCI/UHCI 
> companion controllers) in Your PC, i.e., Your USB controller 
> is currently not directly supported by GRUB :-(
> 
> 
> > jonatan perry wrote:
> > i have another question regarding grub usb ehci support - is such 
> > support under development? is such support are planned to 
> be? what is 
> > the current status?
> 
> Hm, I am not the right person to answer these questions 
> properly, I am not coordinator... Maybe Vladimir Serbinenko 
> will answer it better.
> 
> >From my point of view:
> - Development of EHCI is planned.
> - Current status of EHCI driver development - probably 0%. 
> AFAIK, nobody is currently working on EHCI support. But I 
> could be wrong and it can change at any time.
> 
> I was asked some months ago by Vladimir, if I am interesting 
> also in EHCI. I answered "no" originally - because I thought 
> that all EHCI controllers have also companion OHCI/EHCI 
> controllers and speed of USB
> 1.0/1.1 devices is not critical for GRUB (because it is "only"
> bootloader...).
> I changed point of view from some reasons short time ago. I 
> wanted, at least, find why some devices are not working on my 
> EHCI/UHCI port - it looks like problem is on powering of 
> ports (but UHCI has no power control of its ports - or, at 
> least, it is not written in UHCI specification...). I think 
> that this problem is maybe somewhere in EHCI, so I want to 
> start some experiments with EHCI.
> 
> But:
> - GRUB USB development is currently focused on enhancement 
> and debugging of current USB drivers and related code - for 
> example hot-plugging and hub support. I want to help with 
> these things first before doing something new (and generate 
> new bugs...).
> - EHCI is different and more complex than OHCI/UHCI
> - it looks like I will too busy in next weeks/months. So, if 
> EHCI support will depend only on me, it will take very long 
> time... Maybe somebody else will start development of EHCI 
> driver sooner (or maybe it is started?)...?
> 
> With regards
> Ales
> 
> 
> 
> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
> 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: USB Driver uhci.c legacy mode
  2010-07-27  4:54               ` D, Eshwar (Eshwar)
@ 2010-08-01 15:41                 ` Vladimir 'φ-coder/phcoder' Serbinenko
  2010-08-03  5:26                   ` D, Eshwar (Eshwar)
  0 siblings, 1 reply; 11+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-08-01 15:41 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 4825 bytes --]

On 07/27/2010 06:54 AM, D, Eshwar (Eshwar) wrote:
> HI,
>    I would like to contribute for EHCI driver.. Let me know if any space is available for me... By the way I already spoke to Ales & Vladimir... 
>
>   
AFAIK nobody else is working on EHCI even if it's important.
Unfortunately I can't give you write access to offical bzr both because
of legal and technical reasons. I recommend creating an account at
launchpad. Also I recommend sending early patches to ML even if they
don't work so nobody gets an impression that you've just disappeared and
so we can comment early on your code. Some mistakes may go unnoticed on
some hardware but be fatal on some other hardware.
> Regards
> Eshwar
>
>   
>> -----Original Message-----
>> From: grub-devel-bounces+eshwar.d=alcatel-lucent.com@gnu.org 
>> [mailto:grub-devel-bounces+eshwar.d=alcatel-lucent.com@gnu.org
>> ] On Behalf Of Aleš Nesrsta
>> Sent: Saturday, July 24, 2010 11:45 PM
>> To: The development of GNU GRUB
>> Subject: Re: USB Driver uhci.c legacy mode
>>
>> Hi, I am sorry to be late with answer, unfortunately, I have 
>> few time during our school holidays...
>> To Your questions, chronologically:
>>
>>     
>>> how would i surely know that grub usb driver would not work on this 
>>> platform?
>>>       
>> None of current USB drivers will work if Your PC is EHCI-only 
>> PC. One way how to find it I described before (via lspci). 
>> But You have to be sure You have properly set USB part in 
>> BIOS (or You should try all possible USB BIOS configurations 
>> etc. ...).
>> Another way is for example to find detailed specification of 
>> Your laptop HW. I tried shortly to find something on Internet 
>> but there are specifications like "USB 2.0 compatible" etc. 
>> and the same specifications are often used also for 
>> controllers which includes OHCI/UHCI USB 1.0 too - so, I am not sure.
>>
>> Definitely You can find it by check of HCSPARAMS register of EHCI.
>> According EHCI specification, this 32-bit register should be 
>> at USBBASE
>> + 08h (USBBASE pointer should be in PCI configuration registers at PCI
>> base + 10h).
>> Bits 15:12 of HCSPARAMS should be nonzero. If You find zero 
>> there, You have EHCI-only controller (without OHCI/UHCI 
>> companion controllers) in Your PC, i.e., Your USB controller 
>> is currently not directly supported by GRUB :-(
>>
>>
>>     
>>> jonatan perry wrote:
>>> i have another question regarding grub usb ehci support - is such 
>>> support under development? is such support are planned to 
>>>       
>> be? what is 
>>     
>>> the current status?
>>>       
>> Hm, I am not the right person to answer these questions 
>> properly, I am not coordinator... Maybe Vladimir Serbinenko 
>> will answer it better.
>>
>> >From my point of view:
>> - Development of EHCI is planned.
>> - Current status of EHCI driver development - probably 0%. 
>> AFAIK, nobody is currently working on EHCI support. But I 
>> could be wrong and it can change at any time.
>>
>> I was asked some months ago by Vladimir, if I am interesting 
>> also in EHCI. I answered "no" originally - because I thought 
>> that all EHCI controllers have also companion OHCI/EHCI 
>> controllers and speed of USB
>> 1.0/1.1 devices is not critical for GRUB (because it is "only"
>> bootloader...).
>> I changed point of view from some reasons short time ago. I 
>> wanted, at least, find why some devices are not working on my 
>> EHCI/UHCI port - it looks like problem is on powering of 
>> ports (but UHCI has no power control of its ports - or, at 
>> least, it is not written in UHCI specification...). I think 
>> that this problem is maybe somewhere in EHCI, so I want to 
>> start some experiments with EHCI.
>>
>> But:
>> - GRUB USB development is currently focused on enhancement 
>> and debugging of current USB drivers and related code - for 
>> example hot-plugging and hub support. I want to help with 
>> these things first before doing something new (and generate 
>> new bugs...).
>> - EHCI is different and more complex than OHCI/UHCI
>> - it looks like I will too busy in next weeks/months. So, if 
>> EHCI support will depend only on me, it will take very long 
>> time... Maybe somebody else will start development of EHCI 
>> driver sooner (or maybe it is started?)...?
>>
>> With regards
>> Ales
>>
>>
>>
>>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> http://lists.gnu.org/mailman/listinfo/grub-devel
>>
>>     
> _______________________________________________
> 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: 294 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: USB Driver uhci.c legacy mode
  2010-08-01 15:41                 ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2010-08-03  5:26                   ` D, Eshwar (Eshwar)
  0 siblings, 0 replies; 11+ messages in thread
From: D, Eshwar (Eshwar) @ 2010-08-03  5:26 UTC (permalink / raw)
  To: The development of GNU GRUB



> -----Original Message-----
> From: grub-devel-bounces+eshwar.d=alcatel-lucent.com@gnu.org 
> [mailto:grub-devel-bounces+eshwar.d=alcatel-lucent.com@gnu.org
] On Behalf Of Vladimir 'f-coder/phcoder' Serbinenko
> Sent: Sunday, August 01, 2010 9:11 PM
> To: grub-devel@gnu.org
> Subject: Re: USB Driver uhci.c legacy mode
> 
> On 07/27/2010 06:54 AM, D, Eshwar (Eshwar) wrote:
> > HI,
> >    I would like to contribute for EHCI driver.. Let me know 
> if any space is available for me... By the way I already 
> spoke to Ales & Vladimir... 
> >
> >   
> AFAIK nobody else is working on EHCI even if it's important.
> Unfortunately I can't give you write access to offical bzr 
> both because of legal and technical reasons. I recommend 
> creating an account at launchpad. Also I recommend sending 
> early patches to ML even if they don't work so nobody gets an 
> impression that you've just disappeared and so we can comment 
> early on your code. Some mistakes may go unnoticed on some 
> hardware but be fatal on some other hardware.

Thank you very much.... I will start working from today onwards...

Regards
Eshwar
> >   
> >> -----Original Message-----
> >> From: grub-devel-bounces+eshwar.d=alcatel-lucent.com@gnu.org
> >> [mailto:grub-devel-bounces+eshwar.d=alcatel-lucent.com@gnu.org
> >> ] On Behalf Of Aleš Nesrsta
> >> Sent: Saturday, July 24, 2010 11:45 PM
> >> To: The development of GNU GRUB
> >> Subject: Re: USB Driver uhci.c legacy mode
> >>
> >> Hi, I am sorry to be late with answer, unfortunately, I 
> have few time 
> >> during our school holidays...
> >> To Your questions, chronologically:
> >>
> >>     
> >>> how would i surely know that grub usb driver would not 
> work on this 
> >>> platform?
> >>>       
> >> None of current USB drivers will work if Your PC is 
> EHCI-only PC. One 
> >> way how to find it I described before (via lspci).
> >> But You have to be sure You have properly set USB part in BIOS (or 
> >> You should try all possible USB BIOS configurations etc. ...).
> >> Another way is for example to find detailed specification of Your 
> >> laptop HW. I tried shortly to find something on Internet but there 
> >> are specifications like "USB 2.0 compatible" etc.
> >> and the same specifications are often used also for 
> controllers which 
> >> includes OHCI/UHCI USB 1.0 too - so, I am not sure.
> >>
> >> Definitely You can find it by check of HCSPARAMS register of EHCI.
> >> According EHCI specification, this 32-bit register should be at 
> >> USBBASE
> >> + 08h (USBBASE pointer should be in PCI configuration registers at 
> >> + PCI
> >> base + 10h).
> >> Bits 15:12 of HCSPARAMS should be nonzero. If You find zero there, 
> >> You have EHCI-only controller (without OHCI/UHCI companion 
> >> controllers) in Your PC, i.e., Your USB controller is 
> currently not 
> >> directly supported by GRUB :-(
> >>
> >>
> >>     
> >>> jonatan perry wrote:
> >>> i have another question regarding grub usb ehci support - is such 
> >>> support under development? is such support are planned to
> >>>       
> >> be? what is
> >>     
> >>> the current status?
> >>>       
> >> Hm, I am not the right person to answer these questions 
> properly, I 
> >> am not coordinator... Maybe Vladimir Serbinenko will answer it 
> >> better.
> >>
> >> >From my point of view:
> >> - Development of EHCI is planned.
> >> - Current status of EHCI driver development - probably 0%. 
> >> AFAIK, nobody is currently working on EHCI support. But I could be 
> >> wrong and it can change at any time.
> >>
> >> I was asked some months ago by Vladimir, if I am 
> interesting also in 
> >> EHCI. I answered "no" originally - because I thought that all EHCI 
> >> controllers have also companion OHCI/EHCI controllers and speed of 
> >> USB
> >> 1.0/1.1 devices is not critical for GRUB (because it is "only"
> >> bootloader...).
> >> I changed point of view from some reasons short time ago. 
> I wanted, 
> >> at least, find why some devices are not working on my 
> EHCI/UHCI port 
> >> - it looks like problem is on powering of ports (but UHCI has no 
> >> power control of its ports - or, at least, it is not 
> written in UHCI 
> >> specification...). I think that this problem is maybe somewhere in 
> >> EHCI, so I want to start some experiments with EHCI.
> >>
> >> But:
> >> - GRUB USB development is currently focused on enhancement and 
> >> debugging of current USB drivers and related code - for example 
> >> hot-plugging and hub support. I want to help with these 
> things first 
> >> before doing something new (and generate new bugs...).
> >> - EHCI is different and more complex than OHCI/UHCI
> >> - it looks like I will too busy in next weeks/months. So, if EHCI 
> >> support will depend only on me, it will take very long 
> time... Maybe 
> >> somebody else will start development of EHCI driver sooner 
> (or maybe 
> >> it is started?)...?
> >>
> >> With regards
> >> Ales
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Grub-devel mailing list
> >> Grub-devel@gnu.org
> >> http://lists.gnu.org/mailman/listinfo/grub-devel
> >>
> >>     
> > _______________________________________________
> > Grub-devel mailing list
> > Grub-devel@gnu.org
> > http://lists.gnu.org/mailman/listinfo/grub-devel
> >
> >   
> 
> 
> --
> Regards
> Vladimir 'φ-coder/phcoder' Serbinenko
> 
> 
> 

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-08-03  5:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-02 10:30 USB Driver uhci.c legacy mode jonatan perry
2010-07-02 17:20 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-07-05 17:14   ` Aleš Nesrsta
2010-07-05 18:38     ` jonatan perry
2010-07-05 19:58       ` Aleš Nesrsta
2010-07-10  5:18         ` jonatan perry
2010-07-12 11:29           ` jonatan perry
2010-07-24 18:15             ` Aleš Nesrsta
2010-07-27  4:54               ` D, Eshwar (Eshwar)
2010-08-01 15:41                 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-08-03  5:26                   ` D, Eshwar (Eshwar)

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.