Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Knoppix Help Forum > No USB mouse in Knoppix Operator, kernel 2.4

Forgot Password?
 Knoppix Help Forum   For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 07-18-2008   #1 (permalink)
Just Joined!
 
Join Date: Jun 2008
Posts: 9
No USB mouse in Knoppix Operator, kernel 2.4

I am using this OS to do network security testing at home.

I have installed the OS as a dual boot with Win XP pro.

I boot it up and the mouse does not work.

Please can someone tell me what the xf86config-4 file should look like.

And if there are any other methods to solve this problem.


I tried using cat /dev/psaux and moving the mouse - this worked.

Thanks
John4720 is offline  


Reply With Quote
Old 07-18-2008   #2 (permalink)
/etc/init.d/moderator
 
bigtomrodney's Avatar
 
Join Date: Nov 2004
Location: Sunny South-East of Ireland
Posts: 6,031
Whoa! If you're using Kernel 2.4 and XF86Config-4 I can tell you're using an old release, probably back to 2004?

Can you post the contents of your /etc/X11/XF86Config-4 here?

If at all possible though you might consider running a newer distro. Mouse drivers back then were very specific, serial, PS2, USB etc. Nowadays almost all mice are handled by a single driver and rarely require intervention.
__________________
Registered Linux user #378740
New members read here / Forum Rules
#linuxforums on irc.freenode.net
bigtomrodney is offline   Reply With Quote
Old 07-18-2008   #3 (permalink)
Just Joined!
 
Join Date: Jun 2008
Posts: 9
Cheers for the reply.

Can I ask which parts of the file as I will have to type this out lol, I cannot even mount usb pen drives at the moment to get it over to my desktop which is on the internet lol.

I need to use this kernel for my network card.
John4720 is offline   Reply With Quote
Old 07-18-2008   #4 (permalink)
/etc/init.d/moderator
 
bigtomrodney's Avatar
 
Join Date: Nov 2004
Location: Sunny South-East of Ireland
Posts: 6,031
Is there a section for Input or Mouse? Just the couple of lines starting there up as far as the closing [Endsection] for that part.

Unfortunately you're back using the old stuff where a lot was manual (why I'd suggest a newer release if possible). If you open a terminal directly after inserting your usb pen drive you can run these commands as root
Code:
dmesg
mkdir /mnt/USBDRIVE
mount -t vfat /dev/sda1 /mnt/USBDRIVE
That is assuming your drive is formatted in FAT which is the usual setup. When you run dmesg the last lines should indicate what device your drive is - generally sda so /dev/sda1 is the first partition on it. You will then be able to access your drive in the folder /mnt/USBDRIVE.
__________________
Registered Linux user #378740
New members read here / Forum Rules
#linuxforums on irc.freenode.net
bigtomrodney is offline   Reply With Quote
Old 07-18-2008   #5 (permalink)
Just Joined!
 
Join Date: Jun 2008
Posts: 9
Arrow

I will type out what I think is relevant to this thread of the XF86Config-4 file:

Section "ServerLayout"
InputDevice "USB Mouse" "CorePointer"
EndSection

Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection

Also briefly so I can transfer the whole file - any reason why a USB pendrive would not be detected?

Cheers
John4720 is offline   Reply With Quote
Old 07-18-2008   #6 (permalink)
/etc/init.d/moderator
 
bigtomrodney's Avatar
 
Join Date: Nov 2004
Location: Sunny South-East of Ireland
Posts: 6,031
You mentioned it worked with /dev/psaux so maybe try to change it to the device that you were using earlier. Also make sure you make a copy of the file first
Code:
cd /etcX11
cp XF86Config-4 XF86Config-4.backup
Code:
Section "ServerLayout"
         InputDevice "USB Mouse" "CorePointer"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Protocol"              "IMPS/2" 
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
        Option          "Device"                "/dev/psaux"
        Option          "Emulate3Buttons"        "true"
        Option          "Emulate3Timeout"        "70"
        Option          "SendCoreEvents"        "true"     
EndSection
Quote:
Also briefly so I can transfer the whole file - any reason why a USB pendrive would not be detected?
It's not so much that it's not detected as much as it is not mounting. Older Linux kernels wouldn't have udev which is responsible for mounting drives.

...Actually yours is old enough that it may not even detect it. If it's missing hotplug you may not be able to do that. Try plugging in the drive before you boot and see if that works. If it does make sure you don't remove the drive until after you shutdown. The latest kernel is 2.6.26 so you're a whole generation behind. It's like trying to run a USB stick on Windows NT4!
__________________
Registered Linux user #378740
New members read here / Forum Rules
#linuxforums on irc.freenode.net
bigtomrodney is offline   Reply With Quote
Old 07-18-2008   #7 (permalink)
Just Joined!
 
Join Date: Jun 2008
Posts: 9
Okay mouse now works but is very fast and flickers and is not really controlable hehe.

Progress though.

Ill be posting again this weekend.

Thanks for the help
John4720 is offline   Reply With Quote
Old 07-19-2008   #8 (permalink)
Just Joined!
 
Join Date: Jun 2008
Posts: 9
Well with your help it is now working.

I used the /dev/psaux that you mentioned and I changed it to ps/2 instead of imps/2 and used 3 buttons as an option instead.

Now the problem is mounting the USB drive and getting the wireless network card to work.

When I use this command as root I get (after making the directory):

mount -t vfat /dev/sda1 /mnt/USBDRIVE

I get an error saying that vfat type is not recognised. Also tried fat with the same result. I know for sure that the drive is fat.

Please suggest a reason for this.
John4720 is offline   Reply With Quote
Old 07-19-2008   #9 (permalink)
/etc/init.d/moderator
 
bigtomrodney's Avatar
 
Join Date: Nov 2004
Location: Sunny South-East of Ireland
Posts: 6,031
Well a long time ago the msdos filetype was used. I know that it's avoided like the plague now and has been replaced by vfat. Maybe that might work for you?

With regards to getting your wireless card working...I wouldn't be very hopeful. I'm not even sure if you'd have wireless support in your networking stack, let alone drivers. I hate to keep pushing this but it is out of the question to use a newer distro? You'll certainly learn a lot this way but you're swimming against the tide here.
__________________
Registered Linux user #378740
New members read here / Forum Rules
#linuxforums on irc.freenode.net
bigtomrodney is offline   Reply With Quote
Old 07-19-2008   #10 (permalink)
Just Joined!
 
Join Date: Jun 2008
Posts: 9
Do you know any other operating systems with a 2.4 kernel? - possibly auditor?

Ill try that msdos though still.
John4720 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 04:47 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2