Received: from list by lists.gnu.org with archive (Exim 4.71) id 1fs62u-0003Nj-51 for mharc-grub-devel@gnu.org; Tue, 21 Aug 2018 08:46:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fs1Xl-0004Wz-W5 for grub-devel@gnu.org; Tue, 21 Aug 2018 03:57:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fs1Xi-0002gF-PR for grub-devel@gnu.org; Tue, 21 Aug 2018 03:57:37 -0400 Received: from [203.148.12.81] (port=31733 helo=ZXSHCAS1.zhaoxin.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fs1Xi-0002ai-8U for grub-devel@gnu.org; Tue, 21 Aug 2018 03:57:34 -0400 Received: from zxbjmbx3.zhaoxin.com (10.29.252.165) by ZXSHCAS1.zhaoxin.com (10.28.252.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1261.35; Tue, 21 Aug 2018 15:42:18 +0800 Received: from zxbjmbx1.zhaoxin.com (10.29.252.163) by zxbjmbx3.zhaoxin.com (10.29.252.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1261.35; Tue, 21 Aug 2018 15:42:17 +0800 Received: from zxbjmbx1.zhaoxin.com ([fe80::b41a:737:a784:b70d]) by zxbjmbx1.zhaoxin.com ([fe80::b41a:737:a784:b70d%16]) with mapi id 15.01.1261.035; Tue, 21 Aug 2018 15:42:17 +0800 From: "Sherry Zhang(BJ-RD)" To: "grub-devel@gnu.org" Subject: the rootcause of the grub2 that can support USB keyboard Thread-Topic: the rootcause of the grub2 that can support USB keyboard Thread-Index: AdQ5HxL9uB9414r+TJqm0zQXATPdog== Date: Tue, 21 Aug 2018 07:42:17 +0000 Message-ID: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.29.8.35] Content-Type: multipart/alternative; boundary="_000_b17ae19589a24f95803c9ede2a54f924zhaoxincom_" MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 203.148.12.81 X-Mailman-Approved-At: Tue, 21 Aug 2018 08:46:02 -0400 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2018 07:57:39 -0000 --_000_b17ae19589a24f95803c9ede2a54f924zhaoxincom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, Rencently, I have learned the GRUB2. And I have a question about it. The first experiment: Platform: i386-pc Sata : MBR format I have read the grub-2.02 source code and I find the core.img including the= modules : ext2 part_msdos biosdisk I delete the grub.cfg in the "/boot/grub/grub/cfg",so the system will enter= the command-line of the grub. So the grub only has modules as followings: Name Ref count Dependencies Minicmd 1 Normal 1 buf io,gettext,terminal,crypto,ext= cmd,boot Gzio 0 Bufio 1 Gettext 1 Terminal 2 Crypto 2 Extcmd 2 Boot 2 Biosdisk 1 Part_msdos 1 Ext2 1 fshelp Fshelp 2 But I have found the USB keyboard module-usb_keyboard.mod that I don't load= , So why the usb keyboard can be used when I don't load usb modules? Best regards, Sherry Zhang ????? ????????????????????????????????????????????????????? CONFIDENTIAL NOTE: This email contains confidential or legally privileged information and is f= or the sole use of its intended recipient. Any unauthorized review, use, co= pying or forwarding of this email or the content of this email is strictly = prohibited. --_000_b17ae19589a24f95803c9ede2a54f924zhaoxincom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi all,

 

Rencently, I have learned the G= RUB2. And I have a question about it.

 

The first  experiment:

 

Platform: i386-pc

Sata : MBR format

 

I have read the grub-2.02 sourc= e code and I find the core.img including the modules : ext2 part_msdos bios= disk

I delete the grub.cfg in the &#= 8220;/boot/grub/grub/cfg”,so the system will enter the command-line o= f the grub.

So the grub only has modules as= followings:

Name    &nb= sp;      Ref    count  &n= bsp;           Dependenci= es

Minicmd     = ;     1

Normal     =       1      &n= bsp;            = ;    buf io,gettext,terminal,crypto,extcmd,boot

Gzio     &n= bsp;       0

Bufio     &= nbsp;       1

Gettext     = ;      1

Terminal    &nbs= p;            2=

Crypto     =        2

Extcmd     =       2

Boot     &n= bsp;       2

Biosdisk    &nbs= p;            &= nbsp;1

Part_msdos   &nb= sp;           1

Ext2    &nb= sp;         1   &nbs= p;            &= nbsp;       fshelp

Fshelp     =        2

 

But I have found the USB keyboa= rd module-usb_keyboard.mod that I don‘t l= oad ,

So why the usb keyboard can be = used when I don’t load usb modules?

 

Best regards,=

Sherry Zhang<= /p>

 



保密声明:
本邮件含有保भ= 4;或专有信息,仅供指&= #23450;收件人使用。严禁= 545;本邮件或其内容做任= ;何未经授权的查阅、&#= 20351;用、复制或转发。
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and i= s for the sole use of its intended recipient. Any unauthorized review, use,= copying or forwarding of this email or the content of this email is strict= ly prohibited.
--_000_b17ae19589a24f95803c9ede2a54f924zhaoxincom_--