Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MS Explorer 1.1 inoperative kernel 2.6.7-R10/1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Hivemind
n00b
n00b


Joined: 15 Jul 2004
Posts: 22

PostPosted: Fri Jul 16, 2004 9:01 pm    Post subject: MS Explorer 1.1 inoperative kernel 2.6.7-R10/1 Reply with quote

I have a MS Explorer optical 1.1A, running under 2.6.7-R10 with KDE 3.2.3. The system refuses to see ANY button event beyond the 3rd (center) button, no wheel, no side buttons, NOTHING!

I tried several of the fixes on this site and have come up empty, my homedir has no .xinitrc file, and creating it and attempting those fixes causes problems (X dies).
Any advice for someone banging his head against the proverbial wall.
the XF86Config file uses Explorer PS/2 Zaxismapping 6 7 (usb port mouse).
Back to top
View user's profile Send private message
Jake
Veteran
Veteran


Joined: 31 Jul 2003
Posts: 1132

PostPosted: Fri Jul 16, 2004 9:22 pm    Post subject: Reply with quote

What device file is X using? With 2.6 kernels, it should be /dev/input/mice. Posting your .xinitrc and the errors you get when X dies might help too.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54638
Location: 56N 3W

PostPosted: Fri Jul 16, 2004 9:24 pm    Post subject: Reply with quote

Hivemind,

Please post your /proc/bus/usb/devices and the pointer section of your XF86Config.

Also look for /dev/input/mouse0. If thats missing your kernel is broken and any USB mouse functionality you have is because your motherboard is making your mouse look like a PS/2 device.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Hivemind
n00b
n00b


Joined: 15 Jul 2004
Posts: 22

PostPosted: Fri Jul 16, 2004 9:45 pm    Post subject: Reply with quote

ok, here's some code for you guys:
XF86Config:
Code:
    Identifier  "Mouse1"
    Driver      "mouse"
    Option      "Protocol"     "ExplorerPS/2"
    Option      "Device"       "/dev/mouse"
    Option      "Buttons"      "7"
    Option      "ZAxisMapping" "6 7"                                                                                                           
    Option "Resolution" "1200"
EndSection


.xinitrc (from my homedir, i had to create this)
Code:
xmodmap -e "pointer = 1 5 3 2 4"
imwheel -k b "45"


and the /proc/dev/usb/devices:
Code:
root@localhost input # cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 6
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.7-gentoo-r10 ehci_hcd
S:  Product=nVidia Corporation nForce2 USB Controller
S:  SerialNumber=0000:00:02.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms


also, dev/input/mouse0 exists

will have X server crash info in a bit, i needed to create the xinitrc file (if it exists (that's the entire file), it'll kill X)
Back to top
View user's profile Send private message
Hivemind
n00b
n00b


Joined: 15 Jul 2004
Posts: 22

PostPosted: Fri Jul 16, 2004 9:58 pm    Post subject: Reply with quote

update:
i crashed X to get output, couldn't find the log file...
restarted x properly, firefox won't start. throws this at me in a terminal:
Code:
newtonb@localhost newtonb $ firefox
/usr/lib/MozillaFirefox/mozilla-xremote-client: Error: Failed to find a running server.
No running windows found

this may be unrelated, but it hasn't happened before :-(
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54638
Location: 56N 3W

PostPosted: Fri Jul 16, 2004 10:01 pm    Post subject: Reply with quote

Hivemind,

Theres no mouse in your /proc/bus/usb/device file
It only shows the USB 2.0 root hubs and driver.

You also need ohci_hcd to make USB 1.1 work. Then to get the mouse working properly, you need the HID modules (Two config items in USB) but not the boot protocol keyboard and mouse drivers.

Get usbview, its much easier to look at /proc/bus/usb/devices that way.

I'm surprised that you have a /dev/input/mouse0 with this set up.
Try modprobing ohci_hcd and see if you get mouse with usbview. If not, you need to fix your kernel.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Hivemind
n00b
n00b


Joined: 15 Jul 2004
Posts: 22

PostPosted: Fri Jul 16, 2004 10:08 pm    Post subject: Reply with quote

ok, i managed to kill the kernel sources doing some patching, reemerging replaced r10 with r11, i need the r10 sources, yes this is a really dumb question, i'm not too portage savvy...

need gentoo-dev-sources-2.6.7-r10

will check configs after i get those sources back. thanks for the insight.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54638
Location: 56N 3W

PostPosted: Fri Jul 16, 2004 10:20 pm    Post subject: Reply with quote

Hivemind,
Code:

emerge =gentoo-dev-sources-2.6.7-r10
should do what you need.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Hivemind
n00b
n00b


Joined: 15 Jul 2004
Posts: 22

PostPosted: Fri Jul 16, 2004 11:10 pm    Post subject: Reply with quote

ok, i recompiled the kernel, now evrything shows up in XEV.

the X crash shows nothing strange, it just... dies, no debug messages at all. and as long as ~/.xinetrc is there is fails to work.

what now?
Back to top
View user's profile Send private message
Hivemind
n00b
n00b


Joined: 15 Jul 2004
Posts: 22

PostPosted: Fri Jul 16, 2004 11:15 pm    Post subject: Reply with quote

side note: the wheel/side buttons work but their functions are backwards (the side buttons scroll, wheel does button functions)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54638
Location: 56N 3W

PostPosted: Sat Jul 17, 2004 11:21 am    Post subject: Reply with quote

Hivemind,

You have the wrong numbers for the buttons/wheel in XF86Conf.
After the first 3, which are always L, R, middle. Its up to you.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Hivemind
n00b
n00b


Joined: 15 Jul 2004
Posts: 22

PostPosted: Sun Jul 18, 2004 4:08 am    Post subject: Reply with quote

woohoo!
got it working

all i need to do now is figure out how to write a xinitrc file and not have it crash X trying to start, for now i have a file called xinit that i execute manually every time i go into X.

a few more settling in adjustments:
KDE (or a mixer... somewhere) insists on maxing out the master volume on my alsa-powered audigy, blasting my ears (and speakers...) out... any suggestions for a fix?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum