Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
prblemi XFree e mouse [risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
dmorab
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 210

PostPosted: Wed Feb 18, 2004 5:38 pm    Post subject: prblemi XFree e mouse [risolto] Reply with quote

Avevo tentato di affrontare il problema in un diverso topic [strani errori di XFree. (colpa di acpi?)] ma l'oggetto si è dimostrato sbagliato.

Sul mio portatile si manifestano a volte strani malfunzionamenti: xfree si rifiuta di avviarsi ed il log riporta il seguente errore:

(**) Option "Protocol" "PS/2"
(**) Mouse1: Protocol: "PS/2"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/mouse"
(EE) xf86OpenSerial: Cannot open device /dev/mouse
Device or resource busy.
(EE) xf86OpenSerial: Cannot open device /dev/mouse
Device or resource busy.
(EE) Mouse1: cannot open input device
(EE) PreInit failed for input device "Mouse1"
(II) UnloadModule: "mouse"
(II) Keyboard "Keyboard1" handled by legacy driver
(WW) No core pointer registered
No core pointer

Fatal server error:
failed to initialize core devices


Ecco il XF86Config:


Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"

# Mouse-speed setting for PS/2 mouse.

# Option "Resolution" "256"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

# Option "Protocol" "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

# Option "BaudRate" "9600"
# Option "SampleRate" "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"

# ChordMiddle is an option for some 3-button Logitech mice

# Option "ChordMiddle"

EndSection



pensavo potesse essere causato dall'uso di acpi ma dopo numerosi esperimenti ho utilizzato il parametro acpi=off al boot: per un po' tutto Ok ma poi il problema si è ripresentato, anche se più raramente; adesso non so più cosa pensare


Last edited by dmorab on Sun Mar 21, 2004 3:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31019
Location: here

PostPosted: Wed Feb 18, 2004 5:57 pm    Post subject: Reply with quote

prova con
Code:
/dev/psaux

o
Code:
/dev/input/mice

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
dmorab
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 210

PostPosted: Thu Feb 19, 2004 2:56 pm    Post subject: Reply with quote

con /dev/psaux non ho risolto il problema;

adesso provo con /dev/input/mice.

Ma quali sono le differenze tra i vari device?
Back to top
View user's profile Send private message
dmorab
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 210

PostPosted: Thu Feb 19, 2004 3:24 pm    Post subject: Reply with quote

manco per niente: con /dev/input/mice il touchpad resta totalmente "muto"
Back to top
View user's profile Send private message
dmorab
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 210

PostPosted: Tue Mar 02, 2004 7:57 pm    Post subject: Reply with quote

basta!! ragazi sono setimane che tiro maledizioni dietro a questo problema! Ho provato a ricompilare il kernel in tutte le maniere per poter risolvere il problema del touchpad ma niente da fare: in modo casuale il malfunzionamento si ripresenta.

Adesso mi trovo co /dev/psaux che punta a /dev/misc/psaux che ogni tanto risulta essere

Device or resource busy

mandando in tilt xfree.

tra l'altro a me non risulta essere presente il device

/dev/input/mice anzi, non c'è neanche la directory /dev/input/

Non vi viene in mente niente?
Back to top
View user's profile Send private message
mtto
Apprentice
Apprentice


Joined: 11 Jan 2004
Posts: 177
Location: Bassano Del Grappa, Italia

PostPosted: Tue Mar 02, 2004 8:12 pm    Post subject: Reply with quote

dmorab wrote:
Non vi viene in mente niente?


Non potrò mai esserti di aiuto, ma... sei sicuro che il touchpad non sia difettoso?
Back to top
View user's profile Send private message
dmorab
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 210

PostPosted: Tue Mar 02, 2004 9:38 pm    Post subject: Reply with quote

beh, figlioli a meno che non ci sia incompatibilità materiale con la gentoo box........ con winzozz, mandrake, red-hat, knoppix funziona; devo ancora provare Beos, FreeBsd
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Mar 03, 2004 8:21 am    Post subject: Reply with quote

dmorab wrote:
beh, figlioli a meno che non ci sia incompatibilità materiale con la gentoo box........ con winzozz, mandrake, red-hat, knoppix funziona; devo ancora provare Beos, FreeBsd


Hai provato a mettere l'XF86Config-4 della Knoppix?
_________________
Ciao da me!
Back to top
View user's profile Send private message
dmorab
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 210

PostPosted: Wed Mar 03, 2004 7:27 pm    Post subject: Reply with quote

nella Knoppix la configurazione non si differenzia da quella che ho impostato io sulla gentoo:

Device "dev/mose"

/dev/mouse-------------------> /dev/psaux
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Wed Mar 03, 2004 8:20 pm    Post subject: Reply with quote

Che versione del kernel stai utilizzando?
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
dmorab
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 210

PostPosted: Thu Mar 04, 2004 3:25 pm    Post subject: Reply with quote

kernel 2.4.22-gentoo-r7
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Thu Mar 04, 2004 3:59 pm    Post subject: Reply with quote

hai provato un vanilla più recente o un 2.6.x?
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Thu Mar 04, 2004 4:07 pm    Post subject: Reply with quote

comunque per evitare di stare a sclerare ogni volta con i device e riavviare X prova un po' tutti i device facendo:

Code:
# cat /dev/DEVICECHEVUOI
E poi muovendo il mouse-touchpad-nasosulloschermo
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
dmorab
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 210

PostPosted: Thu Mar 04, 2004 6:02 pm    Post subject: Reply with quote

per maggiori informazioni ho provato a vedere cosa c'è in /proc/interrupts

questo quando tutto funziona

CPU0
0: 863857 XT-PIC timer
1: 559 XT-PIC keyboard
2: 0 XT-PIC cascade
5: 1035 XT-PIC orinoco_cs
8: 6 XT-PIC rtc
9: 125 XT-PIC acpi
10: 0 XT-PIC usb-ohci, usb-ohci, usb-ohci
11: 12156 XT-PIC ohci1394, i82365, SiS 7012
12: 98543 XT-PIC PS/2 Mouse
14: 165581 XT-PIC ide0
15: 0 XT-PIC ide1
NMI: 0
ERR: 0


questo invece quando il device (sempre /dev/psaux) risulta occupato

CPU0
0: 128045 XT-PIC timer
1: 116 XT-PIC keyboard
2: 0 XT-PIC cascade
8: 2 XT-PIC rtc
9: 13 XT-PIC acpi
10: 0 XT-PIC usb-ohci, usb-ohci, usb-ohci
11: 4 XT-PIC ohci1394, i82365, SiS 7012
12: 6 XT-PIC orinoco_cs
14: 2391 XT-PIC ide0
15: 0 XT-PIC ide1
NMI: 0
ERR: 0
Back to top
View user's profile Send private message
dmorab
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 210

PostPosted: Sun Mar 07, 2004 3:08 pm    Post subject: Reply with quote

stesso problema se utilizzo il vanilla-kernel 2.4.25

Mi sembra aver trovato un problema specifico per il chipset SIS. Qualcuno ne sa di più?
Back to top
View user's profile Send private message
Sasdo
Guru
Guru


Joined: 18 Feb 2004
Posts: 542
Location: 44.476474,11.644446 circa.

PostPosted: Sun Mar 07, 2004 10:52 pm    Post subject: Reply with quote

anche io ho il portatile che è tutto basato su SiS ed il TouchPad funziona a meraviglia...

prova a configurarlo con xf86cfg, fai add new mouse, lo setti sulla psaux, gli appoggi l'emulazione per il 3° tasto, e lo abiliti.

magari va.

io ho fatto così e funziona tutto. Gli ho aggiunto anche un mouse USB e li posso usare in contamporanea (creando notevole casino al povero xfree che non sa dove mandare il cursore =)
_________________
LinuxUser #362518
--
Ochei lo ammetto: il mio cervello lo tengo in frigo.
Back to top
View user's profile Send private message
dmorab
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 210

PostPosted: Mon Mar 08, 2004 4:55 pm    Post subject: Reply with quote

qui il problema non è la configurazione del XF86Config: è già settato su psaux, il problema è che quando "impazzisce" su /dev/psaux non c'è proprio nulla, non esiste device. Se guardi l'output di cat /proc/interrupts (il mio ultimo post) su interrupt 12 non viene collegato il PS/2 Mouse; il problema è capire perchè
Back to top
View user's profile Send private message
dmorab
Apprentice
Apprentice


Joined: 29 Aug 2003
Posts: 210

PostPosted: Sun Mar 21, 2004 3:19 pm    Post subject: Reply with quote

ho risolto inserendo nel /etc/pcmcia/config.opts:

exclude irq 12


così PS/2 Mouse non entra in conflitto con il modulo orinoco_cs
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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