Re: [PATCH] Re: Missing USB devices.

2013-09-23 Thread Aleš Nesrsta
OK, committed. I simply removed the line you mentioned... BR, Ales Dne 23.9.2013 14:47, Vladimir 'φ-coder/phcoder' Serbinenko napsal(a): On 31.08.2013 23:12, Aleš Nesrsta wrote: - grub_boot_time ("Ownership of EHCI port taken"); + grub_boot_time ("Ownership of EHCI controller ta

Re: [PATCH] Re: Missing USB devices.

2013-09-23 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 31.08.2013 23:12, Aleš Nesrsta wrote: > - grub_boot_time ("Ownership of EHCI port taken"); > + grub_boot_time ("Ownership of EHCI controller taken"); This has to be after SMI_EN is written as writes to SMI_EN may cause SMI which would take time and may cause trouble. Other than this

RE: USB controller hand-back (original thread: Missing USB devices.)

2013-09-02 Thread Melki Christian (consultant)
> 2.9.2013 09:01, Melki Christian (consultant) wrote: > > Exactly. > > The EHCI handback is provided by the EHCI spec handover state machine. > Problem is, most BIOS:es don't implement it, or just screw it up trying. > > The scenario is like this: > > Load grub2 with EHCI usb. > > Grub2 loads windo

Re: USB controller hand-back (original thread: Missing USB devices.)

2013-09-02 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 02.09.2013 23:33, Aleš Nesrsta wrote: > 2.9.2013 09:01, Melki Christian (consultant) wrote: >> Exactly. >> The EHCI handback is provided by the EHCI spec handover state machine. >> Problem is, most BIOS:es don't implement it, or just screw it up trying. >> The scenario is like this: >> Load grub

USB controller hand-back (original thread: Missing USB devices.)

2013-09-02 Thread Aleš Nesrsta
2.9.2013 09:01, Melki Christian (consultant) wrote: Exactly. The EHCI handback is provided by the EHCI spec handover state machine. Problem is, most BIOS:es don't implement it, or just screw it up trying. The scenario is like this: Load grub2 with EHCI usb. Grub2 loads windows 7 or something. Wi

Re: [PATCH] Missing USB devices.

2013-09-02 Thread Aleš Nesrsta
] Re: Missing USB devices. at 31.8.2013 23:12) - patch related to bug in EHCI QH handling (sent in ML thread named "[PATCH] Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation." at 18.7.2013 18:10 CET) BR, Ales 2.9.2013 14:32, Melki Christian (consultant) wrote: Fou

RE: [PATCH] Missing USB devices.

2013-09-02 Thread Melki Christian (consultant)
Found the bug after a couple of hours digging. Quite serious. Patch provided. Trivial but extremely irritating none the less. Vladimir: Please apply. Regards, Christian usb_hub_ports_20130902.patch Description: usb_hub_ports_20130902.patch ___ Grub-de

RE: [PATCH] Re: Missing USB devices.

2013-09-02 Thread Melki Christian (consultant)
23:13 > To: The development of GNU GRUB > Subject: [PATCH] Re: Missing USB devices. > > Hmmm, today is not a good day - I sent wrong patch with mistake, sorry... :-( > > I hope attached patch is finally OK... > > BR, > Ales > > > Sorry, I missed the patch... :

RE: Missing USB devices.

2013-09-02 Thread Melki Christian (consultant)
> Hi guys, > sorry for the delay - I was too busy on business trip... > > > Vladimir: > ... > >> I am waiting mainly for Vladimir's "Go on!" :-) > > I don't see any messages in mymailbox from you tagged as pending > > patches. Can you tell me the date and subject? > Oh, sorry, maybe I missed some

[PATCH] Re: Missing USB devices.

2013-08-31 Thread Aleš Nesrsta
Hmmm, today is not a good day - I sent wrong patch with mistake, sorry... :-( I hope attached patch is finally OK... BR, Ales Sorry, I missed the patch... :-) There it is. 28.8.2013 08:59, Melki Christian (consultant) wrote: I'm thinking of the EHCI hand-over. In the case of EHCI handover

[PATCH] Re: Missing USB devices.

2013-08-31 Thread Aleš Nesrsta
Sorry, I missed the patch... :-) There it is. 28.8.2013 08:59, Melki Christian (consultant) wrote: I'm thinking of the EHCI hand-over. In the case of EHCI handover beeing successful within the timeout, you never clear the USBLEGCTLSTS register (SMI's). You do that in the other cases however. Wh

Re: Missing USB devices.

2013-08-31 Thread Aleš Nesrsta
28.8.2013 08:59, Melki Christian (consultant) wrote: I'm thinking of the EHCI hand-over. In the case of EHCI handover beeing successful within the timeout, you never clear the USBLEGCTLSTS register (SMI's). You do that in the other cases however. Why? I can not think of any case of a success

Re: Missing USB devices.

2013-08-30 Thread Aleš Nesrsta
Hi guys, sorry for the delay - I was too busy on business trip... Vladimir: ... I am waiting mainly for Vladimir's "Go on!" :-) I don't see any messages in mymailbox from you tagged as pending patches. Can you tell me the date and subject? Oh, sorry, maybe I missed something. (Exists/Are somew

RE: Missing USB devices.

2013-08-28 Thread Melki Christian (consultant)
Ales, I'm thinking of the EHCI hand-over. In the case of EHCI handover beeing successful within the timeout, you never clear the USBLEGCTLSTS register (SMI's). You do that in the other cases however. Why? I can not think of any case of a successful handover with SMI's still enabled. To what pur

Re: Missing USB devices.

2013-08-27 Thread Vladimir 'φ-coder/phcoder' Serbinenko
found only two disks from my three connected disks > in nativedisk mode (as I remember, it found only SATA disks, not PATA > disk - or something like that) - but maybe it is solved now, I didn't > test it again yet. > > BR, > Ales > >> >> Regards, >>

Re: Missing USB devices.

2013-08-27 Thread Aleš Nesrsta
g [mailto:grub-devel-bounces+christian.melki=saabgroup....@gnu.org] On Behalf Of Aleš Nesrsta Sent: den 10 augusti 2013 00:25 To: The development of GNU GRUB Subject: Re: Missing USB devices. Hi, I forgot one important thing - try to use "nativedisk" command instead of separate loading ehci&a

RE: Missing USB devices.

2013-08-27 Thread Melki Christian (consultant)
00:25 > To: The development of GNU GRUB > Subject: Re: Missing USB devices. > > Hi, > I forgot one important thing - try to use "nativedisk" command instead of > separate loading ehci&uhci modules. > BR, > Ales > > Dne 9.8.2013 20:27, Aleš Nesrsta napsal(a

Re: Missing USB devices.

2013-08-09 Thread Aleš Nesrsta
Hi, I forgot one important thing - try to use "nativedisk" command instead of separate loading ehci&uhci modules. BR, Ales Dne 9.8.2013 20:27, Aleš Nesrsta napsal(a): Hi, please send output of lspci -vvv lsusb -vvv Run it as root or via sudo. Some general advices: 1. Do not include "insmod

Re: Missing USB devices.

2013-08-09 Thread Aleš Nesrsta
Hi, please send output of lspci -vvv lsusb -vvv Run it as root or via sudo. Some general advices: 1. Do not include "insmod usb_keyboard" - this module should be loaded automatically from usb module. 2. If Your keyboard is connected to USB controller via hub (it can be internal, integrated

RE: Missing USB devices.

2013-08-08 Thread Melki Christian (consultant)
> > Hi. > > > > I'm running trunk version 5079 on a rather normal PC. EHCI + UHCI > controller. > > Did it work in earlier versions? I made a rather big jump... from a backported usb stack on 1.99 to trunk. :( Anyway, I solved both my problems. I solved them both with letting devices settle befor

Re: Missing USB devices.

2013-08-07 Thread Andrey Borzenkov
В Wed, 7 Aug 2013 08:16:00 + "Melki Christian (consultant)" пишет: > Hi. > > I'm running trunk version 5079 on a rather normal PC. EHCI + UHCI controller. Did it work in earlier versions? > I load all USB drivers including OHCI. Now with this latest version GRUB > doesn't seem to want to

Missing USB devices.

2013-08-07 Thread Melki Christian (consultant)
Hi. I'm running trunk version 5079 on a rather normal PC. EHCI + UHCI controller. I load all USB drivers including OHCI. Now with this latest version GRUB doesn't seem to want to talk to my keyboard anymore. If I replug the device and reload usb_keyboard then it might work, but not right off the