kdb
[Top] [All Lists]

Re: [PATCH] Add support for USB Keyboard attached to UHCI

To: "jidong xiao" <jidong.xiao@xxxxxxxxx>
Subject: Re: [PATCH] Add support for USB Keyboard attached to UHCI
From: Konstantin Baydarov <kbaidarov@xxxxxxxxxxxxx>
Date: Thu, 29 Nov 2007 18:27:48 +0300
Cc: "Jay Lan" <jlan@xxxxxxx>, "Aaron Young" <ayoung@xxxxxxxxxxxxxxxxxxxx>, kdb@xxxxxxxxxxx
In-reply-to: <4104961b0711282247k76cb0df4o12b75634e7dedce3@mail.gmail.com>
References: <20071105211716.14674612@medved> <200711051854.lA5Isg1n4205041@kluge.engr.sgi.com> <20071107171137.792d0304@localhost.localdomain> <20071121150150.01b5d24d@localhost.localdomain> <4104961b0711280225j112fffc3gaf1974733be0291f@mail.gmail.com> <474DB2E7.9060607@sgi.com> <4104961b0711282247k76cb0df4o12b75634e7dedce3@mail.gmail.com>
Sender: kdb-bounce@xxxxxxxxxxx
On Thu, 29 Nov 2007 14:47:03 +0800
"jidong xiao" <jidong.xiao@xxxxxxxxx> wrote:

> On Nov 29, 2007 2:26 AM, Jay Lan <jlan@xxxxxxx> wrote:
> Well, According to Konstantin's email that saying:"UHCI support
> integrated to kdb-v4.4-2.6.24-rc2. Tested on i386 UP PC." So What was
> doing is:
> 1. Downloaded kernel 2.6.24-rc2.
> 2. Downloaded kdb-v4.4-2.6.24-rc2-common-2 plus
> kdb-v4.4-2.6.24-rc2-x86-2, and then applied these two patches.
> 3. Applied Konstantin's UHCI patch.
> 4. make menuconfig&make
> 
> And now I am stuck on step 4 as mentioned before.
> Here I also attached my .config file, please see the attachment.my
> machine is i386.
> The most strange thing is,those missing routines are also used by
> other usb modules, such as usb-storage, however, usb-storage can be
> successfully compiled and if I comment out CONFIG_KDB_USB, the
> compiling can totally pass.
> 
> See following which is generated by `make modules_install` after the
> kernel compiling without enabling CONFIG_KDB_USB.
> 
> localhost:~ # ls -lR /lib/modules/2.6.24-rc2/kernel/drivers/usb/
> /lib/modules/2.6.24-rc2/kernel/drivers/usb/:
> total 0
> drwxr-xr-x 2 root root  80 Nov 25 07:17 core
> drwxr-xr-x 2 root root 144 Nov 25 07:17 host
> drwxr-xr-x 2 root root  80 Nov 25 07:17 mon
> drwxr-xr-x 2 root root  80 Nov 25 07:17 storage
> 
> /lib/modules/2.6.24-rc2/kernel/drivers/usb/core:
> total 160
> -rw-r--r-- 1 root root 160232 Nov 25 07:17 usbcore.ko
> 
> /lib/modules/2.6.24-rc2/kernel/drivers/usb/host:
> total 132
> -rw-r--r-- 1 root root 49302 Nov 25 07:17 ehci-hcd.ko
> -rw-r--r-- 1 root root 40352 Nov 25 07:17 ohci-hcd.ko
> -rw-r--r-- 1 root root 39020 Nov 25 07:17 uhci-hcd.ko
> 
> /lib/modules/2.6.24-rc2/kernel/drivers/usb/mon:
> total 24
> -rw-r--r-- 1 root root 23219 Nov 25 07:17 usbmon.ko
> 
> /lib/modules/2.6.24-rc2/kernel/drivers/usb/storage:
> total 72
> -rw-r--r-- 1 root root 71200 Nov 25 07:17 usb-storage.ko
> 
> Regards
> Jason

  Jason, you "USB support" should be compiled in kernel not as module:
    Location:
      -> Device Drivers
        -> USB support (USB_SUPPORT [=y])

  I didn't know that "USB support" can be compiled as module, I'll fix it.
---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
<Prev in Thread] Current Thread [Next in Thread>