LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-03-2004, 07:10 AM   #1
rhb327
Member
 
Registered: May 2004
Distribution: Slackware Current
Posts: 161

Rep: Reputation: 30
Question 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
 
Old 12-20-2004, 07:24 AM   #2
cavemanf16
LQ Newbie
 
Registered: Oct 2003
Distribution: Mandrake 10.1
Posts: 17

Rep: Reputation: 0
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.
 
Old 12-20-2004, 02:14 PM   #3
rhb327
Member
 
Registered: May 2004
Distribution: Slackware Current
Posts: 161

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


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
Diff between mdk 10.1 official and mdk 10.1 community Damitha Mandriva 2 12-13-2004 02:01 AM
saa7133 tv tuner woes with MDK 10 official littlrussian Linux - Newbie 1 06-03-2004 04:23 AM
MDK 10 Official + speedtouch usb = 0 internet. Mr Tickle Mandriva 28 05-28-2004 08:47 PM
MDK 10 Official out EnVoy Mandriva 61 04-27-2004 02:11 PM
mdk 10 official equinox Mandriva 7 04-18-2004 11:00 AM

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

All times are GMT -5. The time now is 08:22 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
Open Source Consulting | Domain Registration