LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Kernel 2.4.26 and usb problems (https://www.linuxquestions.org/questions/linux-hardware-18/kernel-2-4-26-and-usb-problems-182018/)

antipop 06-09-2004 09:48 PM

Sorry for the late reply but i was kinda busy
I did the "make menuconfig"
then it asked me to do a "make dep" which i did
I then did a "modprobe usbhid" but without any result, maybe i have to reboot to have it installed

ps : i don't know what happened but i can't launch synaptic anymore, it's telling me it has a problem with pango, do you know how i can fix this?

antipop 06-09-2004 09:54 PM

Sorry for the synaptic, i was able to repair, don't mind the message thanks

Muzzy 06-10-2004 12:10 PM

after make dep :
make modules
make modules_install

I think the module is called hid.o, so try
Code:

modprobe hid

antipop 06-10-2004 01:05 PM

after i did a lsmod, i found that there was a module called hid
So now the mouse should work fine on the usb?

Muzzy 06-10-2004 01:39 PM

Maybe - try it! You may need some more modules - I have usb-uhci and ehci-hcd too - not sure what they do, but I think you need them to get any USB device to work. Can you post your lsmod?

antipop 06-10-2004 06:20 PM

This is my lsmod, i tried to make the mosue work on the usb port but it doesn't work

Module Size Used by Not tainted
snd-cs46xx 71368 3 (autoclean)
snd-ac97-codec 50236 0 (autoclean) [snd-cs46xx]
snd-pcm-oss 39428 0 (autoclean) (unused)
snd-mixer-oss 13880 0 (autoclean) [snd-pcm-oss]
snd-pcm 62596 1 (autoclean) [snd-cs46xx snd-pcm-oss]
snd-timer 14660 0 (autoclean) [snd-pcm]
snd-page-alloc 6548 0 (autoclean) [snd-cs46xx snd-pcm]
gameport 1676 0 (autoclean) [snd-cs46xx]
snd-rawmidi 13984 0 (autoclean) [snd-cs46xx]
snd-seq-device 4240 0 (autoclean) [snd-rawmidi]
snd 33764 2 (autoclean) [snd-cs46xx snd-ac97-codec snd-pcm-oss snd-mi xer-oss snd-pcm snd-timer snd-rawmidi snd-seq-device]
soundcore 3940 6 (autoclean) [snd]
af_packet 13608 1 (autoclean)
nls_cp437 4348 1 (autoclean)
ntfs 54464 1 (autoclean)
dm-mod 29608 0 (unused)
8139too 15240 1
mii 2464 0 [8139too]
crc32 2912 0 [8139too]
usb-storage 70048 0 (unused)
scsi_mod 95076 1 [usb-storage]
ieee1394 186628 0 (unused)
hid 21988 0 (unused)
usbmouse 2264 0 (unused)
keybdev 2244 0 (unused)
usbkbd 3640 0 (unused)
input 3648 0 [hid usbmouse keybdev usbkbd]
usb-uhci 23568 0 (unused)
usbcore 63756 0 [usb-storage hid usbmouse usbkbd usb-uhci]
rtc 7112 0 (autoclean)
reiserfs 190256 2 (autoclean)
isofs 26612 0 (autoclean)
vfat 10892 0 (autoclean)
fat 32792 0 (autoclean) [vfat]
ext2 51176 0 (autoclean)
ext3 82536 0 (autoclean)
jbd 42980 0 (autoclean) [ext3]
ide-detect 288 0 (autoclean) (unused)
ide-disk 16928 4 (autoclean)
piix 8904 2 (autoclean)
ide-core 111228 4 (autoclean) [usb-storage ide-detect ide-disk piix]
unix 15500 130 (autoclean)


ps : i also have to type everytime the xmodmap command, i create a file called .xinitrc but it doesn't seems to load at startup
in the file i only wrote the command, nothing else

Muzzy 06-11-2004 02:33 PM

You have the correct modules loaded.

Do you have /dev/input/mice ?

How does your mouse section look in /etc/X11/XF86Config?

antipop 06-11-2004 05:27 PM

I have the /dev/input/mice
I have to check the XF86Confing-4 file to check where it's pointing
When i do a more /dev/input/mice it doesn't tell me that the device doesn't exist (like for the others files) but i don't get any symbols when i move the mouse
Maybe i should try updating the XF file and then reboot the comp with the mouse on the usb to see if this work

antipop 06-20-2004 04:29 AM

I tied to boot with the /dev/input/mice in the XF86 file but X crashes and tells me that he didn't found the mouse
I really don't know what to do next, i've tried everything you said
Is it because i put the hid and all inside the kernel and not as a module?

Muzzy 06-20-2004 08:32 AM

Quote:

Is it because i put the hid and all inside the kernel and not as a module?
Possibly, yes. I have them as modules, and it works fine. Try again but using modules. Remember to update your lilo/grub and reboot, and check that the modules are loaded at boot time. If they do not load automatically, modprobe them manually. Please post the exact error messages, if any.

Muzzy 06-20-2004 08:35 AM

You seem to be missing ehci-hcd from lsmod, so make sure you have that selected as a module too, and modprobe it.

antipop 06-20-2004 08:39 AM

i didn't find it in the usb menu when i added the modules

Muzzy 06-20-2004 11:37 AM

Under 'Code maturity level options', select 'Prompt for development and/or incomplete code/drivers' and then it will appear under USB :) It is marked as EXPERIMENTAL so it won't even show up in the menu unless this option is selected.

antipop 06-20-2004 12:22 PM

alright 10x i'll try that

antipop 06-20-2004 08:00 PM

i've added ehci and i switch the others to modules (i added them to the modules files so to load them at booting) but htat didn't help, the mouse still won't work when it's in the usb port
I can post the result i get with dmesg (or i can link it here)


All times are GMT -5. The time now is 02:23 PM.