Pagina 2 di 3 primaprima 1 2 3 ultimoultimo
Visualizzazione dei risultati da 11 a 20 su 27

Discussione: Bug xfree86

  1. #11
    Utente di HTML.it
    Registrato dal
    Feb 2002
    Messaggi
    1,798
    Ciao.
    Ti è mica possibile provare con un'altra tastiera (PS/2),
    magari di un tuo amico/a? Tentar non nuoce, poi non mi viene
    altro in mente da fare.
    Slack? Smack!

  2. #12
    Utente di HTML.it L'avatar di batori
    Registrato dal
    Jun 2004
    Messaggi
    86
    Ciao,
    il problema di cui sto parlando è molto diffuso, ho fatto una ricerca in internet ed alla fine ho trovato questo messaggio:
    Usually fixing bugs in old versions of software wouldn't warrant a patch,
    but with the zealous hatred of X 4.4 being so common, I figure this
    situation is slightly different.

    Anyway, those using X 4.3 on a 2.6 kernel may have seen the following
    errors in dmesg:

    atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
    atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.Usually fixing bugs in old versions of software wouldn't warrant a patch,
    but with the zealous hatred of X 4.4 being so common, I figure this
    situation is slightly different.

    Anyway, those using X 4.3 on a 2.6 kernel may have seen the following
    errors in dmesg:

    atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
    atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.

    This patches fixes those errors.

    -------------- next part --------------
    Submitted By: Zack Winkles <winkie at linuxfromscratch.org>
    Date: 2004-03-18
    Initial Package Version: 4.3.0
    Origin: XFree86 CVS HEAD
    Upstream Status: Merged.
    Description: Fix XFree86 improperly accessing the keyboard on linux 2.6:

    atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
    atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.

    diff -Naur xc.orig/programs/Xserver/hw/xfree86/os-support/linux/lnx_io.c xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_io.c
    --- xc.orig/programs/Xserver/hw/xfree86/os-support/linux/lnx_io.c 2002-10-20 17:45:27.000000000 -0400
    +++ xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_io.c 2004-03-18 19:10:26.925106600 -0500
    @@ -80,7 +80,7 @@
    #endif

    static int
    -KDKBDREP_ioctl_ok(int rate, int delay) {
    +KDKBDREP_ioctl_ok(int fd, int rate, int delay) {
    #if defined(KDKBDREP) && !defined(__sparc__)
    /* This ioctl is defined in <linux/kd.h> but is not
    implemented anywhere - must be in some m68k patches. */
    @@ -89,7 +89,7 @@
    /* don't change, just test */
    kbdrep_s.rate = -1;
    kbdrep_s.delay = -1;
    - if (ioctl( 0, KDKBDREP, &kbdrep_s )) {
    + if (ioctl( fd, KDKBDREP, &kbdrep_s )) {
    return 0;
    }

    @@ -104,7 +104,7 @@
    if (kbdrep_s.delay < 1)
    kbdrep_s.delay = 1;

    - if (ioctl( 0, KDKBDREP, &kbdrep_s )) {
    + if (ioctl( fd, KDKBDREP, &kbdrep_s )) {
    return 0;
    }

    @@ -178,7 +178,7 @@
    delay = xf86Info.kbdDelay;


    - if(KDKBDREP_ioctl_ok(rate, delay)) /* m68k? */
    + if(KDKBDREP_ioctl_ok(xf86Info.consoleFd, rate, delay)) /* m68k? */
    return;

    if(KIOCSRATE_ioctl_ok(rate, delay)) /* sparc? */
    diff -Naur xc.orig/programs/Xserver/hw/xfree86/os-support/linux/lnx_kbd.c xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_kbd.c
    --- xc.orig/programs/Xserver/hw/xfree86/os-support/linux/lnx_kbd.c 2003-02-17 10:11:57.000000000 -0500
    +++ xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_kbd.c 2004-03-18 19:10:26.926106448 -0500
    @@ -100,7 +100,7 @@
    #endif

    static int
    -KDKBDREP_ioctl_ok(int rate, int delay) {
    +KDKBDREP_ioctl_ok(int fd, int rate, int delay) {
    #if defined(KDKBDREP) && !defined(__sparc__)
    /* This ioctl is defined in <linux/kd.h> but is not
    implemented anywhere - must be in some m68k patches. */
    @@ -109,7 +109,7 @@
    /* don't change, just test */
    kbdrep_s.rate = -1;
    kbdrep_s.delay = -1;
    - if (ioctl( 0, KDKBDREP, &kbdrep_s )) {
    + if (ioctl( fd, KDKBDREP, &kbdrep_s )) {
    return 0;
    }

    @@ -124,7 +124,7 @@
    if (kbdrep_s.delay < 1)
    kbdrep_s.delay = 1;

    - if (ioctl( 0, KDKBDREP, &kbdrep_s )) {
    + if (ioctl( fd, KDKBDREP, &kbdrep_s )) {
    return 0;
    }

    @@ -190,7 +190,7 @@
    if (pKbd->delay >= 0)
    delay = pKbd->delay;

    - if(KDKBDREP_ioctl_ok(rate, delay)) /* m68k? */
    + if(KDKBDREP_ioctl_ok(pInfo->fd, rate, delay)) /* m68k? */
    return;

    if(KIOCSRATE_ioctl_ok(rate, delay)) /* sparc? */
    Qualcuno mi può aiutare a utilizzare questi dati?

    Ciao
    Maurizio

  3. #13
    Utente di HTML.it
    Registrato dal
    Feb 2002
    Messaggi
    1,798
    Build Operating System: Linux 2.6.3-3mdkenterprise i686 [ELF]

    Che versione del kernel utilizzi?
    Sei sicuro che ti serve il 'modello' enterprise?
    Applicare patch ad un kernel MDK mi pare sia un poco
    problematico, per via della customizzazione fatta dagli
    sviluppatori della distro. Prova a ricercare sul sito ufficiale
    di MDK se trovi qualcosa a riguardo, altrimenti chiedi a chi
    utilizza MDK aiuto in merito. Di più non so dirti.

    Ciao.
    Slack? Smack!

  4. #14
    Utente di HTML.it L'avatar di batori
    Registrato dal
    Jun 2004
    Messaggi
    86
    Uso la 2.6.3-7mdk
    Maurizio

  5. #15
    Utente di HTML.it L'avatar di batori
    Registrato dal
    Jun 2004
    Messaggi
    86
    E se cambiassi tasteria?
    Maurizio

  6. #16
    Utente di HTML.it
    Registrato dal
    Feb 2002
    Messaggi
    1,798
    Originariamente inviato da batori
    Uso la 2.6.3-7mdk
    Si, scusa, avevo riletto il primo messaggio.
    E' quello che ti ho detto, però prima di spendere il soldino,
    provane un'altra. A quanto pare però si tratta di un problema
    software, non hardware. Indi per cui, cercati la patch.
    Slack? Smack!

  7. #17
    Utente di HTML.it L'avatar di batori
    Registrato dal
    Jun 2004
    Messaggi
    86
    Ho una vecchia AT con un adattore potrei provare!
    Andrebbe bene? l'adattatorre costa 1.24€.
    Che ne dici?
    Maurizio

  8. #18
    Utente di HTML.it
    Registrato dal
    Feb 2002
    Messaggi
    1,798
    Beh, puoi provare, ma IMHO si tratta di software.
    Slack? Smack!

  9. #19
    Utente di HTML.it L'avatar di batori
    Registrato dal
    Jun 2004
    Messaggi
    86
    Ok lascio stare!
    Anch eperché è scomoda come tastiera!
    Si ma dammi un mano, come faccio a trovare un patch si cui non conosco il nome?
    Con google basta che ho messo 'atkbd.c' è trovato parecchia roba, ma nel sito della Mandrake?
    Maurizio

  10. #20
    Utente di HTML.it L'avatar di batori
    Registrato dal
    Jun 2004
    Messaggi
    86
    E se aggiornassi proprio il kernel?
    Maurizio

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.