LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Usb + Hid (https://www.linuxquestions.org/questions/slackware-14/usb-hid-62262/)

vexer 05-28-2003 08:05 AM

Usb + Hid
 
I reinstalled slack due to an unfortunate formatting accident heh, got the 2.4.20

Anyways, I wanted to know how you set up your USB mouse.

Did you have, input core support? HID layer? (attached to the normal hid thing). the hid one just below the layer in the menu (forget the name, sorry). Obvisouly you had usbcore support. Were they all modulated?

None of my modules load except for a few. modprobe -a \* loads alot more than what was there, say 10 more then what loads off boot.

Answer the first question if your only going to answer to one, it's more pressing.

BTW:cat /dev/input/mice works. So I switched the /dev/mouse for the link and it didn't work for some reason, so I believe I am missing something. So could you post your USB support in the kernel?

vexer 05-28-2003 03:34 PM

Anyone.
I got some info you might like to have..
bash-2.05b# lsmod
Module Size Used by Tainted: P
nvidia 1539840 17
bcm4400 27040 1
sr_mod 14136 0 (unused)
cdrom 28992 0 [sr_mod]
sg 28748 0 (unused)
usb-uhci 24236 0 (unused)
usbcore 65280 2 [usb-uhci]
ide-scsi 8880 0

Is there a command like, chnon or something that I need to use on /dev/input/mice?

hotplug usb
May 28 16:30:11 synack kernel: hub.c: new USB device 00:10.2-1, assigned address 3
May 28 16:30:14 synack /etc/hotplug/usb.agent: Setup hid for USB product 45e/40/300
May 28 16:30:14 synack /etc/hotplug/usb.agent: Setup mousedev for USB product 45e/40/300
May 28 16:30:23 synack kernel: usb.c: USB disconnect on device 00:10.2-1 address 3
May 28 16:33:47 synack /sbin/hotplug: no runnable /etc/hotplug/-v.agent is installed
May 28 16:33:50 synack /etc/hotplug/usb.agent: Bad USB agent invocation==> /var/log/syslog <==
May 28 16:28:39 synack modprobe: modprobe: Can't locate module char-major-10-134
May 28 16:29:22 synack modprobe: modprobe: Can't locate module char-major-10-134
May 28 16:29:57 synack modprobe: modprobe: Can't locate module char-major-10-134
May 28 16:30:11 synack kernel: usb.c: USB device 3 (vend/prod 0x45e/0x40) is not claimed by any active driver.
May 28 16:30:14 synack modprobe: modprobe: Can't locate module keybdev which is needed for hid
May 28 16:30:14 synack modprobe: modprobe: Can't locate module mousedev
May 28 16:30:58 synack modprobe: modprobe: Can't locate module char-major-10-134
May 28 16:31:51 synack modprobe: modprobe: Can't locate module char-major-10-134
May 28 16:32:19 synack modprobe: modprobe: Can't locate module char-major-10-134
May 28 16:33:39 synack modprobe: modprobe: Can't locate module char-major-10-13

neenee 05-28-2003 04:48 PM

i use 'make menuconfig' to configure my to-be
compiled kernel and i have all compiled the
following into the kernel, so i do not have
to load modules for mouse / usb support.

here are my settings for make menuconfig:

input core support ->

input core support
mouse support

usb support ->

support for usb
uhci (intel piix4, via, ...) support
usb human interface device (full hid) support
hid input layer support

character devices -> mice ->

mouse support (not serial and bus mice)


good luck.

Azmeen 05-28-2003 07:56 PM

I'm using a USB mouse and a P/S2 keyboard with a USB convertot... so basically all my input devices are USB.

Everything works well even with the vmlinuz-2.4.20-ide stock kernel I used before compiling my own.

Anyway, if you're looking to compile your own kernel, then follow neenee's advice. At the uhci section, just choose your chipset manufacturer, it would save some kbs to the overall size of your kernel. Preferable include them directly to the kernel, do not add as modules.

Hope this helps :)

vexer 05-28-2003 09:46 PM

I have, the same as you neenee, with 2 added things

being, event support (under input core) and PSAUX support (microsoft gave me an adapter)


All times are GMT -5. The time now is 08:46 PM.