LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-24-2003, 07:58 PM   #1
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 30
Question modprobe joydev stopped working


okay normally before playing ZSNES and whatnot i plug in my PSX->USB convertor (EMSUSB2 to be exact) and i bring up my terminal and do

$ su -
$ modprobe joydev

it thinks for awhile and ta-da! I can use my controller now and everything works fabulous. well I was lazy one day and just kinda left it in there. I switched over to windows and restarted once or something (i was changing somethings in my fstab, making sure it all worked) and now when i do modprobe joydev, like before, it doesn't think at all and my joystick module doesn't load... does anyone know wtf i did? im really confused and im missing out on some good StepMania and Super NES time ^_^
 
Old 09-24-2003, 08:14 PM   #2
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 50
<edit> you were messing with your fstab? check that /proc/bus/usb is mounted

mount | grep usb

and if it isnt then mount it

mount usbdevfs /proc/bus/usb -t usbdevfs
</edit>

i dont know whats happened but to get my psx->usb converter working i need the following modules, check your lsmod and modprobe what you havnt got then see what happens.
Code:
lsmod output:

joydev                  6048   0  (unused)
keybdev                 2080   0  (unused)
mousedev                4276   0  (unused)
hid                    15496   0  (unused)
input                   3552   0  [joydev keybdev mousedev hid]
usb-uhci               23212   0  (unused)
usbcore                62816   0  [hid usb-uhci]
keybdev and mousedev are required by input due to misconfigured dependancy in the kernel source. if a module isnt loading it will tell you why in your system log.

Last edited by kev82; 09-24-2003 at 08:18 PM.
 
Old 09-24-2003, 08:39 PM   #3
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Original Poster
Rep: Reputation: 30
[root@localhost root]# lsmod
Module Size Used by Tainted: P
udf 98432 0 (autoclean)
joydev 7296 0
etc...

well thats not it..
 
Old 09-24-2003, 09:04 PM   #4
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 50
did you check if /proc/bus/usb was mounted? did you check your system log for any module loading errors?
 
Old 09-24-2003, 09:16 PM   #5
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Original Poster
Rep: Reputation: 30
[root@localhost root]# mount | grep usb
usbdevfs on /proc/bus/usb type usbdevfs (rw)

and i wasn't too sure about my system log, but i did a google and i came up with a command called "dmesg" so i did that after i disc/reconnected my USB convertor and did modprobe joydev, ill only list the last part unless more is needed.

$ dmesg
[bunch of stuff i see at boot]
usb.c: USB disconnect on device 00:02.3-3 address 4
hub.c: new USB device 00:02.3-3, assigned address 5
usb.c: USB device 5 (vend/prod 0xb9a/0x16a) is not claimed by any active driver.

seems as though there isn't anything about modprobe :-\
 
Old 09-24-2003, 09:22 PM   #6
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 50
the hid driver isnt recognising your device, are you sure the hid and input modules i listed above are loaded?
 
Old 09-24-2003, 10:34 PM   #7
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Original Poster
Rep: Reputation: 30
[root@localhost root]# lsmod
Module Size Used by Tainted: P
joydev 7296 0
keybdev 2976 0 (unused)
mousedev 5556 1
hid 22244 0 (unused)
input 5856 0 [joydev keybdev mousedev hid]
usb-ohci 21704 0 (unused)
usbcore 79040 1 [hid usb-ohci]

yeah... it looks like they are all here
 
Old 09-24-2003, 10:44 PM   #8
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 50
well im a bit stuck, the snippet from your dmesg means that hid is not recognising your device and i cant imagine why unless youve switched kernel. i would start googling for your device and see if anyone else has had similar problems.
 
Old 09-25-2003, 01:33 AM   #9
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Original Poster
Rep: Reputation: 30
okay i was scanning through my dmesg readout and i came across this

isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found

does this have anything to do with it? i can't say if i had it on before the problems occurred but something tells me this is my problem.
 
Old 09-25-2003, 08:25 AM   #10
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 50
no that wont have anything to do with it, that is refering to isa devices(the predecessor to pci)

have a look here and try to find your device and see what people say about making it work.
 
Old 09-25-2003, 04:17 PM   #11
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Original Poster
Rep: Reputation: 30
wow... im really pissed off. i found out my little brother just switched it over from "PC" to "GAME" which made it not load properly.... i can't believe i didn't check that... sorry for having you look through all that stuff, at least my problem is fixed tho ^^;
 
Old 09-25-2003, 04:29 PM   #12
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 50
lol, little brothers eh

at least you learnt some stuff like dmesg and a little bit more about lsmod, mount, etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
su stopped working bulldogzerofive Linux - Software 5 01-17-2005 03:05 AM
modprobe joydev problem maslater Linux - Hardware 2 10-08-2004 12:48 PM
X stopped working sueno Fedora 15 10-02-2004 01:23 PM
It stopped working. UmneyDurak Fedora 8 08-15-2004 03:41 PM
My X just stopped working??? freeindy Linux - Newbie 4 11-30-2002 11:53 AM


All times are GMT -5. The time now is 11:31 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration