Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-03-2004, 07:10 AM
|
#1
|
Member
Registered: May 2004
Distribution: Slackware Current
Posts: 161
Rep:
|
MDK 10.0 Official...USB woes...some success
I've recently installed Mandrake 10.0 official on my new IDEQ 200V Biostar system. I wanted to share a bit of success with USB mouse and keybaord operation and to ask for a bit of help on one remaining USB issue.
First, during install I could not have either my A4tech usb kb or my IBM optical navigator USB mouse (made by micro innovations) installed or the install would timeout on some USB command (don't remember the error) and by the time the first graphical portion of the install displayed, both the kb and mouse were frozen. So I did my original install with a generic PS2 kb and used a usb->PS2 converter with my mouse.
After install, I decided to move the mouse to USB. I simply edited my XF86Config-4. Here you can see the commented out section was based on the install with the mouse setup as a PS2.
# Section "InputDevice"
# Identifier "Mouse1"
# Driver "mouse"
# Option "Protocol" "ExplorerPS/2"
# Option "Device" "/dev/mouse"
# Option "ZAxisMapping" "6 7"
# EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "6 7"
EndSection
This worked just fine including the wheel. I only have one side button and it appeared to replicate the left button. So the next item was the kb. The BIOS has both kb and mouse USB support enabled.
I tried a bunch of ideas (gathered from here and google) and here is what I noted thus far:
1) I created a modprobe.preload (it didn't exist) and added hid.ko, usbkbd.ko and optionally usbmouse.ko. This seemed to have absolutely no affect at all. I have since deleted this file.
2) I tried a modprobe -r usbmouse as it was suggested that usbmouse and hid don't play well. This does not seem to make much difference.
3) Someone suggested that modprobe.conf should have uhci-usb instead of usb-uhci. I changed this and my kb worked! BUT, uhci-usb could not be found so I removed /sbin/modprobe uhci-usb from modprobe.conf and my kb still works. Currenlty running this setup with some success.
Below you will find configuration information. With the configuration below, I have both my USB kb working and my mouse. The one remaining issue is that I can't get the mouse wheel to work . As aforementioned, when the keyboard was PS2 and modprobe.conf had the /sbin/modprobe uhci-usb my mouse was entirely functional.
Any ideas are much appreciated. If anyone has MSK 10.0 official working with both a USB mouse and kb...could you post your configuration information including XF86Config-4, modprobe.conf, modprobe.preload (if you have one).
Thanks,
Rich
-----------------------------------------------------------------------
uname -r:
2.6.3-7mdk
-----------------------------------------------------------------------
XF86Config-4:
# File generated by XFdrake.
# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse
doesn't work
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "en_US"
Option "XkbOptions" "ctrl:swapcaps"
EndSection
# Section "InputDevice"
# Identifier "Mouse1"
# Driver "mouse"
# Option "Protocol" "ExplorerPS/2"
# Option "Device" "/dev/mouse"
# Option "ZAxisMapping" "6 7"
# EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "6 7"
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "ViewSonic"
ModelName "ViewSonic A90"
HorizSync 30-86
VertRefresh 50-180
# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563
-hsync -vsync
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Device"
Identifier "device1"
Driver "via"
Option "DPMS"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 16
Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
-----------------------------------------------------------------------
modprobe.conf:
(***I removed /sbin/modprobe usb-uhci just after usb-interface below)
alias ieee1394-controller ohci1394
alias sound-slot-0 snd-via82xx
install scsi_hostadapter /sbin/modprobe ppa; /bin/true
install snd-via82xx /sbin/modprobe --first-time --ignore-install snd-via82xx
&& { /sbin/modprobe snd-pcm-oss; /bin/true; }
install usb-interface /sbin/modprobe ehci-hcd; /bin/true
remove snd-via82xx { /sbin/modprobe -r snd-pcm-oss; } ; /sbin/modprobe -r
--first-time --ignore-remove snd-via82xx
-----------------------------------------------------------------------
lsmod:
Module Size Used by
md5 3872 1
ipv6 232352 6
nls_cp850 4736 1
vfat 13760 1
fat 45120 1 vfat
sg 38044 0
st 38616 0
sr_mod 17028 0
sd_mod 16832 2
ppa 12296 1
scsi_mod 114648 5 sg,st,sr_mod,sd_mod,ppa
binfmt_misc 9960 1
lp 12200 0
parport_pc 32832 2
parport 38952 3 ppa,lp,parport_pc
snd-seq-oss 31232 0
snd-seq-midi-event 7552 1 snd-seq-oss
snd-seq 51024 4 snd-seq-oss,snd-seq-midi-event
snd-pcm-oss 51812 0
snd-mixer-oss 17952 1 snd-pcm-oss
snd-via82xx 24128 1
snd-pcm 93156 2 snd-pcm-oss,snd-via82xx
snd-timer 24484 2 snd-seq,snd-pcm
snd-ac97-codec 58148 1 snd-via82xx
gameport 4480 1 snd-via82xx
snd-page-alloc 11972 2 snd-via82xx,snd-pcm
snd-mpu401-uart 7072 1 snd-via82xx
snd-rawmidi 23616 1 snd-mpu401-uart
snd-seq-device 8008 3 snd-seq-oss,snd-seq,snd-rawmidi
snd 52484 14
snd-seq-oss,snd-seq-midi-event,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-via82xx,snd-pcm,snd-timer,snd-ac97-codec,snd-mpu401-uart,snd-rawmidi,snd-seq-device
soundcore 9248 1 snd
af_packet 20520 0
hid 53312 0
raw 7616 1
ide-floppy 18752 0
ide-tape 34864 0
ide-cd 40548 0
cdrom 37184 2 sr_mod,ide-cd
floppy 59444 0
ohci1394 33956 0
ieee1394 287856 1 ohci1394
nls_iso8859-1 3904 2
ntfs 85932 1
supermount 37876 2
ehci-hcd 24196 0
usbcore 99132 4 hid,ehci-hcd
rtc 11576 0
ext3 110408 8
jbd 54328 1 ext3
|
|
|
12-20-2004, 07:24 AM
|
#2
|
LQ Newbie
Registered: Oct 2003
Distribution: Mandrake 10.1
Posts: 17
Rep:
|
Your problem sounds similar to the one I was having with my USB mouse. Look in your /var/log/dmesg, /var/log/messages, and any /var/log/kernel/ log files to see what the linux kernel is reporting when it tries to load up USB support. If you're seeing anything suspicious, or errors, it could be something related to your motherboard, as it was for me. I have an MSI K7T Turbo2 motherboard which has an option in the BIOS configuration screen to use three different modes of APIC support. When I installed windows the APIC option in the BIOS was set to version 1.4. Windows worked just fine. When I tried to put Mandrake 10.0 Official on the same computer I COULD NOT get my MS USB Intellimouse to work AT ALL! So I set the APIC setting in BIOS to 'disabled'. That allowed the USB mouse to work in Linux, but Windows was then totally hosed. So I finally set the BIOS APIC setting to version 1.1, and low and behold, both Windows and Linux are happy now. I don't know why the Mandrake 2.6 kernel didn't like the higher APIC BIOS setting, but it didn't. I'd see if you have any similar settings like that in your BIOS as well.
|
|
|
12-20-2004, 02:14 PM
|
#3
|
Member
Registered: May 2004
Distribution: Slackware Current
Posts: 161
Original Poster
Rep:
|
Thanks for the reply. I use Slackware now, but in MDK 10.0 my problems went away using kernel 2.6.7 from kernel.org..
|
|
|
All times are GMT -5. The time now is 08:22 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|