USB HID on Fedora Core 1 no longer works with custom kernel
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Red Hat support > Red Hat General > USB HID on Fedora Core 1 no longer works with custom kernel




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    USB HID on Fedora Core 1 no longer works with custom kernel  
noone


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-17-04 07:59 AM


I am running the stock 2.4.22-1.2199.nptl i686 kernel, but the NTFS
modules was not built. So what I did was:

*) cd /usr/src/linux

*) make mrpoper

*) make menuconfig

*) Changed processor type to Pentium IV

*) Then selected NTFS module

*) Then de-selected other modules that I dont need ( e.g.: wireless,
radio,  ISDN, etc ... )

*) make bzImage

*) copied arch/i386/boot/bzImage to /boot/vmlinuz-2.4.22-1.2199.nptlcustom
*) make modules

*) make modules_install, which created the directory
/lib/modules/2.4.22-1.2199.nptlcustom

*) copied System.map to /boot/System.map-2.4.22-1.2199.nptlcustom
mkinitrd --with=ext3 /boot/initrd-2.4.22-1.2199.nptlcustom.img
2.4.22-1.2199.nptlcustom

*) Created a new entry in /boot/grub/menu.lst to boot off my new
compiled kernel

... then rebooted.
However, the Microsoft optical USB wheel mouse no longer works ( not
even on the non-X console ).

Just to make sure I have the necessary modules installed, I compared
/usr/src/linux/.config with /boot/config-2.4.22-1.2199.nptl:

$ grep HID /boot/config-2.4.22-1.2199.nptl
# USB Human Interface Devices (HID)
CONFIG_USB_HID=m
CONFIG_USB_HIDDEV=m
CONFIG_USB_HIDINPUT=m

$ grep HID /usr/src/linux-2.4/.config
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=m
CONFIG_USB_HIDDEV=m




$ grep MOUSE /boot/config-2.4.22-1.2199.nptl
CONFIG_INPUT_MOUSEDEV=m
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_ATIXL_BUSMOUSE=m
CONFIG_LOGIBUSMOUSE=m
CONFIG_MS_BUSMOUSE=m
CONFIG_MOUSE=y
CONFIG_PSMOUSE=y
CONFIG_MK712_MOUSE=m
# CONFIG_USB_MOUSE is not set
CONFIG_BUSMOUSE=m
CONFIG_82C710_MOUSE=m

$ grep MOUSE /usr/src/linux-2.4/.config
CONFIG_INPUT_MOUSEDEV=m
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_BUSMOUSE=m
CONFIG_ATIXL_BUSMOUSE=m
CONFIG_LOGIBUSMOUSE=m
CONFIG_MS_BUSMOUSE=m
CONFIG_MOUSE=y
CONFIG_PSMOUSE=y
CONFIG_82C710_MOUSE=m
CONFIG_MK712_MOUSE=m
# CONFIG_USB_MOUSE is not set



I could not find anything different that would affact the USB mouse.
What I did notice different were the following:


1) /sbin/lsmod on the stock 2199.nptl kernel shows:

hid                    23908   0 (unused)
usb-ohci               21544   0 (unused)
usbcore                78752   1 [hid usb-ohci]
mousedev                5268   1 (autoclean)
input                   5888   0 (autoclean) [keybdev hid mousedev]

/sbin/lsmod on the custom 2199.nptl kernel shows:

hid                    23908   0 (unused)
usb-ohci               21544   0 (unused)
usbcore                78752   1 [hid usb-ohci]
mousedev                5268   1 (autoclean)
input                   5888   0 (autoclean) [keybdev mousedev]

* This is not the exact output, copied and pasted from the above to
here, the different being the sizes of the modules.

( Note that input is not referred to by the hid module )


2) dmesg on the stock 2199.nptl kernel shows:

hub.c: new USB device 00:02.3-1, assigned address 2
input: USB HID v1.00 Mouse [Microsoft Microsoft Wheel Mouse Optical?] on
usb2:2.0


dmesg on the custom 2199.nptl kernel shows:

hub.c: new USB device 00:02.3-1, assigned address 2
: USB HID v1.00 Mouse [Microsoft Microsoft Wheel Mouse Optical?] on usb2
:2.0

( Note that missing "input" before the colon ( )


3) /lib/modules/2.4.22-1.2199.nptl/modules.dep shows:

/lib/modules/2.4.22-1.2199.nptl/kernel/drivers/usb/hid.o:
/lib/modules/2.4.22-1.2199.nptl/kernel/drivers/usb/usbcore.o \
/lib/modules/2.4.22-1.2199.nptl/kernel/drivers/input/input.o


/lib/modules/2.4.22-1.2199.nptlcustom/modules.dep shows:

/lib/modules/2.4.22-1.2199.nptlcustom/kernel/drivers/usb/hid.o:
/lib/modules/2.4.22-1.2199.nptlcustom/kernel/drivers/usb/usbcore.o



So what am I missing ?
The necessary modules are certainly loaded, but somehow, it seems that
the hid.o module compiled from the kernel source does not access / refer
to the input.o module, as if CONFIG_USB_HIDINPUT is not selected at
all!, even though it is.

I even tried a silly thing as manually adding the input.o module as
being one of the modules that hid.o depends on. Of course, that does not
work.


Any help appreciated.









[ Post a follow-up to this message ]



    Re: USB HID on Fedora Core 1 no longer works with custom kernel  
noone


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-17-04 07:59 AM

noone wrote:
>
> I am running the stock 2.4.22-1.2199.nptl i686 kernel, but the NTFS
> modules was not built. So what I did was:
>
> *) cd /usr/src/linux
>
> *) make mrpoper
>
> *) make menuconfig
>
> *) Changed processor type to Pentium IV
>
> *) Then selected NTFS module
>
> *) Then de-selected other modules that I dont need ( e.g.: wireless,
> radio,  ISDN, etc ... )
>

Forgot to add that I did do a make dep; make clean prior to make bzImage
and make modules


> *) make bzImage
>






[ Post a follow-up to this message ]



    Re: USB HID on Fedora Core 1 no longer works with custom kernel  
Lenard


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-17-04 10:54 PM

On Tue, 17 Aug 2004 06:03:18 +0000, noone wrote:


Corrected custom kernel process, as per;
http://www.redhat.com/docs/manuals/...odularized.html

> I am running the stock 2.4.22-1.2199.nptl i686 kernel, but the NTFS
> modules was not built. So what I did was:
>
> *) cd /usr/src/linux
>
> *) make mrpoper

Copy the working /boot/config-2.4.22-1.2199 to .config here or use the
command 'make oldconfig' here


> *) make menuconfig
>
> *) Changed processor type to Pentium IV
>
> *) Then selected NTFS module
>
> *) Then de-selected other modules that I dont need ( e.g.: wireless,
> radio,  ISDN, etc ... )


make dep

make clean

> *) make bzImage

make modules

> *) make modules_install

make install

You might want to have a look here;
http://linux-ntfs.sourceforge.net/rpm/fedora1.html


--
Hi!  I'm a .sig virus!  Please copy me to your .sig! so I can spread
This E-mail is safe, no Microsoft products where used in creating me!






[ Post a follow-up to this message ]



    Re: USB HID on Fedora Core 1 no longer works with custom kernel  
Jan Gerrit Kootstra


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-18-04 07:48 AM


"Lenard" <lenard@127.0.0.1> schreef in bericht
news:pan.2004.08.17.14.23.00.310689@127.0.0.1...
> On Tue, 17 Aug 2004 06:03:18 +0000, noone wrote:
>
>
> Corrected custom kernel process, as per;
>
http://www.redhat.com/docs/manuals/...ed.ht
ml
> 
>
> Copy the working /boot/config-2.4.22-1.2199 to .config here or use the
> command 'make oldconfig' here
or should be and
>
> 
>
>
> make dep
>
> make clean
> 
>
> make modules
> 
>
> make install
>
> You might want to have a look here;
> http://linux-ntfs.sourceforge.net/rpm/fedora1.html
>
>
> --
> Hi!  I'm a .sig virus!  Please copy me to your .sig! so I can spread
> This E-mail is safe, no Microsoft products where used in creating me!
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:13 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register