LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-28-2003, 08:05 AM   #1
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
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?
 
Old 05-28-2003, 03:34 PM   #2
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Original Poster
Rep: Reputation: 30
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
 
Old 05-28-2003, 04:48 PM   #3
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Rep: Reputation: 30
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.
 
Old 05-28-2003, 07:56 PM   #4
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
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
 
Old 05-28-2003, 09:46 PM   #5
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Original Poster
Rep: Reputation: 30
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)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Talking to USB-HID ectech Programming 1 10-24-2005 06:24 AM
HID ( Human Interface Device ) USB saeed371 Debian 1 10-16-2005 05:47 PM
Talking to USB HID ectech Programming 0 12-30-2003 10:50 AM
USB hid.o hijacking my USB Printer Relativity Linux - Hardware 0 12-09-2003 08:56 PM
Usb-hid RanmaPhreak79 Linux - Hardware 1 07-18-2003 08:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration