View previous topic :: View next topic |
Author |
Message |
RaraRasputin Tux's lil' helper
Joined: 04 Jun 2004 Posts: 142 Location: Germany
|
Posted: Fri Jun 04, 2004 1:58 am Post subject: synaptics touchpad not recognized when usb mouse plugged in |
|
|
hi,
i have a problem with my touchpad. i just installed gentoo on an ibm thinkpad r40 and compiled kernel 2.6.5 from the gentoo-dev-sources.
my usb-mouse worked without any problems, but the touchpad is only recognized, when the external mouse is not plugged in when booting. when i boot without the external mouse, it is detected and even if i plug in the external mouse after booting both devices work.
i have the evdev, psmouse, ohci-hid, ehci-hid, uhci-hid and hid compiled into the kernel.
when i tried to compile these drivers as a module, loading the module psmouse at boot time cancelled just saying "Quit" and the boot process stopped and i was asked for the root password for rescue or such.
after giving the password i tried to modprobe the modules manually, which worked without errors, but psmouse kept saying "quit" both on modprobing and rmmod, and neither the touchpad nor the external mouse was detected.
thanks in advance,
Rasputin |
|
Back to top |
|
|
kamagurka Veteran
Joined: 25 Jan 2004 Posts: 1026 Location: /germany/munich
|
Posted: Thu Jun 10, 2004 7:03 pm Post subject: |
|
|
i hereby declare my interest in the solution of this problem. _________________ If you loved me, you'd all kill yourselves today.
--Spider Jerusalem, the Word |
|
Back to top |
|
|
janiskr n00b
Joined: 09 May 2004 Posts: 56 Location: Riga, Latvia
|
Posted: Thu Jun 10, 2004 7:14 pm Post subject: |
|
|
Here somehere vas thread about how to get bouth devices working.
some option like
Code: |
Option "SendCoreEvents"
|
should be set to one of devices and only one presendet as CoreDevice
I have woring synaptics and USB mouls On Dell Inspiron 2650
(I should unplug it when booting if I dont then no input devices are working (even keyboard no_ but after booting I just plug in USB mouse and restart X and everything works
I will look after this thread and pst link ASAP
edit:
https://forums.gentoo.org/viewtopic.php?t=183306&highlight=option+sendcoreevents _________________ umm... amd64 then... |
|
Back to top |
|
|
JeDi n00b
Joined: 10 Feb 2003 Posts: 42 Location: Belgium
|
Posted: Tue Jun 22, 2004 7:07 am Post subject: |
|
|
I have the exact same problem: the (2.6.7-gentoo-r1) kernel only detects the synaptics touchpad fine when my external usb mouse is not plugged in. I can plug it in after booting without problems.
Anyone found a solution yet?
Greetz,
JeDi _________________ Greetz,
JeDi |
|
Back to top |
|
|
shruggy1987 n00b
Joined: 16 Jun 2004 Posts: 50 Location: Stony Brook, NY
|
Posted: Tue Jun 22, 2004 12:42 pm Post subject: |
|
|
do you use xfree86? if you do you may want to create another mouse device in the configuration file. i use both a usb mouse and synaptics at the same time without problem in X. |
|
Back to top |
|
|
JeDi n00b
Joined: 10 Feb 2003 Posts: 42 Location: Belgium
|
Posted: Tue Jun 22, 2004 3:43 pm Post subject: |
|
|
The problem is not X related (I'm using X.org btw). The kernel doesn't recognize the touchpad when booting with the usb mouse attached, and it does fine when I unplug the mouse. Once booted, I can reinsert the mouse, and X works fine with both the touchpad and the usb mouse. _________________ Greetz,
JeDi |
|
Back to top |
|
|
dtor Guru
Joined: 19 Jan 2004 Posts: 461 Location: Indiana, USA
|
Posted: Tue Jun 22, 2004 9:12 pm Post subject: |
|
|
Please try loading all USB modules (including hid) before loading psmouse module - you most likely experiencing troubles with USB legacy emulation. _________________ Dmitry |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Tue Jun 22, 2004 9:15 pm Post subject: |
|
|
dtor wrote: | Please try loading all USB modules (including hid) before loading psmouse module - you most likely experiencing troubles with USB legacy emulation. |
Don't you mean the opposite? _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
dtor Guru
Joined: 19 Jan 2004 Posts: 461 Location: Indiana, USA
|
Posted: Tue Jun 22, 2004 9:28 pm Post subject: |
|
|
No, I do not. You want to load USB modules so uhci-hcd will turn the legacy emulation off (see uhci_reset()).
USB legacy emulation is a thing that makes older simple OSes (read DOS) see USB mouse as a PS/2 mouse and use it without USB drivers loaded. USB legacy emulation is done by BIOS and usually interferes with advanced modes of devices like Synaptics touchpad. _________________ Dmitry |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Tue Jun 22, 2004 9:33 pm Post subject: |
|
|
dtor wrote: | No, I do not. You want to load USB modules so uhci-hcd will turn the legacy emulation off (see uhci_reset()).
USB legacy emulation is a thing that makes older simple OSes (read DOS) see USB mouse as a PS/2 mouse and use it without USB drivers loaded. USB legacy emulation is done by BIOS and usually interferes with advanced modes of devices like Synaptics touchpad. |
Hmm, I load evdev then psmouse before anything for precisely this reason (my USB host driver is ohci, not uhci). Hotplug then loads ohci_ocd, and then usbhid, and all is well. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
dtor Guru
Joined: 19 Jan 2004 Posts: 461 Location: Indiana, USA
|
Posted: Tue Jun 22, 2004 10:07 pm Post subject: |
|
|
So what happens if you load USB modules before psmouse (evdev does not touch harware at allso it is irrelevant here)? Or if you don't load USB modules at all? Is your touchpad broken in these cases?
(OHCI does the same thing as UHCI - look for "USB HC TakeOver from BIOS/SMM" message) _________________ Dmitry |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Tue Jun 22, 2004 10:26 pm Post subject: |
|
|
dtor wrote: | So what happens if you load USB modules before psmouse (evdev does not touch harware at allso it is irrelevant here)? Or if you don't load USB modules at all? Is your touchpad broken in these cases?
(OHCI does the same thing as UHCI - look for "USB HC TakeOver from BIOS/SMM" message) |
Ah, interesting. Touchpad only breaks if I load psmouse after usbhid; if I don't USB at all, it works fine.
My reasoning was that psmouse driver would get confused by usbhid; but, I don't see (or recall seeing) the "TakeOver" message, so it's probably different than the BIOS thing. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
dtor Guru
Joined: 19 Jan 2004 Posts: 461 Location: Indiana, USA
|
Posted: Tue Jun 22, 2004 10:48 pm Post subject: |
|
|
Hypnos wrote: |
Ah, interesting. Touchpad only breaks if I load psmouse after usbhid; if I don't USB at all, it works fine.
|
Hmm.. that's interesting.. Not quite sure why it would happen. Care to change #undef DEBUG to #define DEBUG in drivers/input/serio/i8042.c, reboot and send output of "dmesg -s 100000" to dtor_core@ameritech.net?
Hypnos wrote: |
My reasoning was that psmouse driver would get confused by usbhid; but, I don't see (or recall seeing) the "TakeOver" message, so it's probably different than the BIOS thing. |
Its a debug message so probably not generated unless ohci has debug turned on. _________________ Dmitry |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Tue Jun 22, 2004 11:00 pm Post subject: |
|
|
dtor wrote: | Hypnos wrote: |
Ah, interesting. Touchpad only breaks if I load psmouse after usbhid; if I don't USB at all, it works fine.
|
Hmm.. that's interesting.. Not quite sure why it would happen. Care to change #undef DEBUG to #define DEBUG in drivers/input/serio/i8042.c, reboot and send output of "dmesg -s 100000" to dtor_core@ameritech.net? |
Eh, next time I reboot I'll see if the bug even exists still -- i've upgraded the kernel since I dealt with the issue. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
JeDi n00b
Joined: 10 Feb 2003 Posts: 42 Location: Belgium
|
Posted: Wed Jun 23, 2004 1:50 pm Post subject: |
|
|
Is there any way to tell the kernel which driver to load first, when compiled in? I guess not, so I'll just compile all my usb and psmouse drivers as modules. _________________ Greetz,
JeDi |
|
Back to top |
|
|
kingpinky n00b
Joined: 09 May 2004 Posts: 1
|
Posted: Tue Jul 20, 2004 7:30 am Post subject: |
|
|
Try the following parameter for grub:
Your synaptics touchpad should now be recognized at boot with plugged in USB-mouse. |
|
Back to top |
|
|
janiskr n00b
Joined: 09 May 2004 Posts: 56 Location: Riga, Latvia
|
Posted: Tue Jul 20, 2004 3:36 pm Post subject: |
|
|
For touchpad to work in kernel compile in ps/2 support (psaux) or whatever it is called
then turn on hotplug
then configure your XF86Config-4 or xorg.conf
than core pointer uses
Device "/dev/input/mice"
i'm using Protocol IMPS/2 and anyting is working (except extended touchpad features like dblclick and scrolling
and configure it as if it where simple mouse or whatever you have, save, and restart X
if something is NOT working check your dmesg, check usbwiev if it show your mouse attached if anyting is OK you can even plug usb mouse when X is running and it secognise USB mouse and can use it simultanosly with touchpad or ps/2 mouse (when I attach ps/2 mouse toucpad become disabled in BIOS) so at boot time attach PS/2 or use touchpad afer you have been booted up.
if nothig actualy not happening try to install some mouse event catcher and see if it is working.
sorry for my bad english, it was a terible day at work...
Good Luck _________________ umm... amd64 then... |
|
Back to top |
|
|
marbit n00b
Joined: 17 Jul 2004 Posts: 10
|
Posted: Tue Jul 20, 2004 4:13 pm Post subject: Opposite problem |
|
|
I once managed to configure my system so that both my synaptics and mouse worked, but cannot remeber the exact configuration and I'm not sure if I was using Gentoo at all.
My problem is this... synaptics works from the start... and after I install the driver the tapping works also.. but my USB mouse is never recognized... I recompiled different kernels with different options at least a dozen times... USBVIEW only shows that USB is a NEC chipset.
I once saved my xorg config when it was working... and it looks like something this:
Synaptics Touchpad "AlwaysCore"
Mouse0 "CorePointer"
Input Device Mouse0
Driver mouse
Protocol IMPS/2
Device /dev/input/mice
I now use the latest kernel 2.6.8-rc2, emerged xorg, manually instaled KDE 3.2.91...
I have a Compaq Presario 2825... can someone please tell me if he managed configure it so that both devices work. |
|
Back to top |
|
|
dtor Guru
Joined: 19 Jan 2004 Posts: 461 Location: Indiana, USA
|
Posted: Tue Jul 20, 2004 4:24 pm Post subject: |
|
|
Do you see your USB mouse in /proc/bus/input/devices? (post output of 'cat /proc/bus/input/devices' please) _________________ Dmitry |
|
Back to top |
|
|
marbit n00b
Joined: 17 Jul 2004 Posts: 10
|
Posted: Tue Jul 20, 2004 4:55 pm Post subject: USB mouse |
|
|
No USB mouse there ... you see...
bash-2.05b# cat /proc/bus/input/devices
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
H: Handlers=kbd event0 evbug
B: EV=40001
B: SND=6
I: Bus=0011 Vendor=0002 Product=0007 Version=0000
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio4/input0
H: Handlers=mouse0 event1 ts0 evbug
B: EV=b
B: KEY=6420 0 7000f 0 0 0 0 0 0 0 0
B: ABS=11000003
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
H: Handlers=kbd event2 evbug
B: EV=120003
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: LED=7 |
|
Back to top |
|
|
dtor Guru
Joined: 19 Jan 2004 Posts: 461 Location: Indiana, USA
|
Posted: Tue Jul 20, 2004 5:17 pm Post subject: |
|
|
Ok, do you have all your USB modules loaded (uchi_hcd || ohci_hcd and hid)?
Could you do "grep CONFIG_USB .config"? _________________ Dmitry |
|
Back to top |
|
|
nostabo Apprentice
Joined: 15 Jun 2004 Posts: 201 Location: 38° 31' N 121° 30' W
|
Posted: Tue Jul 20, 2004 8:53 pm Post subject: |
|
|
My usb mouse (Kennsington) works fine with my synaptics touchpad...and are both usable interchangably. The USB mouse even activates on hotplugging.
Look here for the way I configured it...that is assuming your USB setup is configured correctly:
https://forums.gentoo.org/viewtopic.php?t=197385&highlight=
Make sure you configure the X conf file's "ServerLayout" section like this:
Code: | Section "ServerLayout"
...
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Synaptics Mouse" "AlwaysCore" <---add this line
... |
Hope this provides some relief! |
|
Back to top |
|
|
marbit n00b
Joined: 17 Jul 2004 Posts: 10
|
Posted: Tue Jul 20, 2004 9:07 pm Post subject: Problem RESOLVED... |
|
|
Thanks a lot DTOR.... I have gone through all kinds of tutorials, forums, and nov finallllllllllly I got the USB mouse working. Can you just tell me what this OHCI, EHCI and UHCI translate into in the MENUCONFIG ?
Thanks a lot again! |
|
Back to top |
|
|
dtor Guru
Joined: 19 Jan 2004 Posts: 461 Location: Indiana, USA
|
|
Back to top |
|
|
|