Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 13 Jul 2002 17:45:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 13 Jul 2002 17:45:23 -0400 Received: from mortar.viawest.net ([216.87.64.7]:63891 "EHLO mortar.viawest.net") by vger.kernel.org with ESMTP id ; Sat, 13 Jul 2002 17:45:20 -0400 Date: Sat, 13 Jul 2002 14:48:01 -0700 From: A Guy Called Tyketto To: Vojtech Pavlik Cc: linux-kernel@vger.kernel.org Subject: Re: kbd not functioning in 2.5.25-dj2 Message-ID: <20020713214801.GA276@wizard.com> References: <1026545050.1203.116.camel@psuedomode> <20020713073717.GA9203@wizard.com> <1026547292.1224.132.camel@psuedomode> <1026549957.1224.136.camel@psuedomode> <20020713110619.A28835@ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020713110619.A28835@ucw.cz> User-Agent: Mutt/1.4i X-Operating-System: Linux/2.5.25-dj2 (i686) X-uptime: 2:37pm up 0 min, 1 user, load average: 0.29, 0.09, 0.03 X-RSA-KeyID: 0xE9DF4D85 X-DSA-KeyID: 0xE319F0BF X-GPG-Keys: see http://www.wizard.com/~tyketto/pgp.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 13732 Lines: 290 On Sat, Jul 13, 2002 at 11:06:19AM +0200, Vojtech Pavlik wrote: > Hi! > > Okay, I wrote all these input drivers. So I'd like to see them working. ;) > > All you should need for proper function of both keyboard and mouse on a > all-input-driver based system (like -dj kernels, or linux-input BK tree > are) is: > > CONFIG_INPUT=y > CONFIG_INPUT_KEYBDEV=y > CONFIG_INPUT_MOUSEDEV=y > CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 > CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 > CONFIG_SERIO=y > CONFIG_SERIO_I8042=y > CONFIG_I8042_REG_BASE=60 > CONFIG_I8042_KBD_IRQ=1 > CONFIG_I8042_AUX_IRQ=12 > CONFIG_INPUT_KEYBOARD=y > CONFIG_KEYBOARD_ATKBD=y > CONFIG_INPUT_MOUSE=y > CONFIG_MOUSE_PS2=y > I just gave this a try with 2.5.25-dj2, and I still don't have a working keyboard. Mouse works fine; no response from the keyboard. revelant parts of .config below: CONFIG_INPUT=y CONFIG_INPUT_KEYBDEV=y CONFIG_INPUT_MOUSEDEV=y CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 CONFIG_INPUT_EVDEV=m # CONFIG_INPUT_EVBUG is not set CONFIG_GAMEPORT=m CONFIG_SOUND_GAMEPORT=m CONFIG_GAMEPORT_FM801=m CONFIG_SERIO=y CONFIG_SERIO_I8042=y CONFIG_I8042_REG_BASE=60 CONFIG_I8042_KBD_IRQ=1 CONFIG_I8042_AUX_IRQ=12 CONFIG_SERIO_SERPORT=m CONFIG_INPUT_KEYBOARD=y CONFIG_KEYBOARD_ATKBD=y CONFIG_INPUT_MOUSE=y CONFIG_MOUSE_PS2=y /proc/interrupts shows: CPU0 0: 108187 XT-PIC timer 2: 0 XT-PIC cascade 4: 182 XT-PIC serial 5: 1 XT-PIC parport0 8: 1 XT-PIC rtc 10: 530 XT-PIC eth0 12: 830 XT-PIC i8042 14: 3754 XT-PIC ide0 15: 1 XT-PIC ide1 NMI: 0 LOC: 108090 ERR: 124 MIS: 0 From the above part of .config, IRQ1 should be set for the keyboard, while IRQ 12 for the AUX port. 12 is set, 1 is not. dmesg shows: Linux version 2.5.25-dj2 (root@bellicha) (gcc version 2.95.3 20010315 (release)) #1 Sat Jul 13 14:30:44 PDT 2002 Video mode to be used for restore is f00 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000001fff0000 (usable) BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS) BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) user-defined physical RAM map: user: 0000000000000000 - 000000000009fc00 (usable) user: 000000000009fc00 - 00000000000a0000 (reserved) user: 00000000000f0000 - 0000000000100000 (reserved) user: 0000000000100000 - 000000001fff0000 (usable) user: 000000001fff0000 - 000000001fff3000 (ACPI NVS) user: 000000001fff3000 - 0000000020000000 (ACPI data) user: 00000000ffff0000 - 0000000100000000 (reserved) 0MB HIGHMEM available. 511MB LOWMEM available. On node 0 totalpages: 131056 zone(0): 4096 pages. zone(1): 126960 pages. zone(2): 0 pages. Kernel command line: BOOT_IMAGE=unix ro root=301 ether=0,0,0,eth0 ether=0,0,0,eth1 mem=512m devfs=mount video=aty128fb:mode:1280x1024,font:SUN12x22 Local APIC disabled by BIOS -- reenabling. Found and enabled local APIC! Initializing CPU#0 Detected 1133.544 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 2228.22 BogoMIPS Memory: 516620k/524224k available (1183k kernel code, 7216k reserved, 345k data, 244k init, 0k highmem) Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: Before vendor init, caps: 0183fbff c1c7fbff 00000000, vendor = 2 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) CPU: After vendor init, caps: 0183fbff c1c7fbff 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. Machine check exception polling timer started. CPU: After generic, caps: 0183fbff c1c7fbff 00000000 00000000 CPU: Common caps: 0183fbff c1c7fbff 00000000 00000000 CPU: AMD Athlon(tm) Processor stepping 02 Enabling fast FPU save and restore... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX enabled ExtINT on CPU#0 ESR value before enabling vector: 00000000 ESR value after enabling vector: 00000000 Using local APIC timer interrupts. calibrating APIC timer ... ..... CPU clock speed is 1133.0220 MHz. ..... host bus clock speed is 266.0640 MHz. cpu: 0, clocks: 266640, slice: 133320 CPU0 Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket PCI: PCI BIOS revision 2.10 entry at 0xfb440, last bus=1 PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) Disabling VIA memory write queue (PCI ID 0305, rev 03): [55] 89 & 1f -> 09 PCI: Using IRQ router VIA [1106/0686] at 00:07.0 apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16) Starting kswapd BIO: pool of 256 setup, 14Kb (56 bytes/bio) biovec: init pool 0, 1 entries, 12 bytes biovec: init pool 1, 4 entries, 48 bytes biovec: init pool 2, 16 entries, 192 bytes biovec: init pool 3, 64 entries, 768 bytes biovec: init pool 4, 128 entries, 1536 bytes biovec: init pool 5, 256 entries, 3072 bytes Journalled Block Device driver loaded devfs: v1.17 (20020514) Richard Gooch (rgooch@atnf.csiro.au) devfs: devfs_debug: 0x0 devfs: boot_options: 0x1 Applying VIA southbridge workaround. PCI: Disabling Via external APIC routing aty128fb: Rage128 BIOS located at segment C00C0000 aty128fb: Rage128 Pro TF (AGP) [chip rev 0x4] 32M 128-bit SDR SGRAM (1:1) Console: switching to colour frame buffer device 80x30 fb0: ATY Rage128 frame buffer device on PCI aty128fb: Rage128 MTRR set to ON pty: 256 Unix98 ptys configured Real Time Clock Driver v1.11 Linux agpgart interface v0.99 (c) Jeff Hartmann agpgart: Maximum main memory to use for agp memory: 439M agpgart: Detected Via Apollo Pro KT133 chipset agpgart: AGP aperture is 64M @ 0xd0000000 [drm] AGP 0.99 on VIA Apollo KT133 @ 0xd0000000 64MB [drm] Initialized r128 2.2.0 20010917 on minor 0 [drm] AGP 0.99 on VIA Apollo KT133 @ 0xd0000000 64MB [drm] Initialized radeon 1.3.1 20020611 on minor 1 block: 256 slots per queue, batch=32 ATA/ATAPI device driver v7.0.0 ATA: PCI bus speed 33.3MHz ATA: VIA Technologies, Inc. Bus Master IDE, PCI slot 00:07.1 ATA: chipset rev.: 6 ATA: non-legacy mode: IRQ probe delayed VP_IDE: VIA vt82c686b (rev 40) ATA UDMA100 controller on PCI 00:07.1 ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:pio hda: Maxtor 91531U3, DISK drive hdb: WDC WD200AB-00BVA0, DISK drive hdc: CD-W54E, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: 30015216 sectors w/512KiB Cache, CHS=29777/16/63, UDMA(66) /dev/ide/host0/bus0/target0/lun0: [PTBL] [1868/255/63] p1 p2 p3 p4 < p5 p6 p7 p8 > hdb: 39102336 sectors w/2048KiB Cache, CHS=38792/16/63, UDMA(100) /dev/ide/host0/bus0/target1/lun0: [PTBL] [2434/255/63] p1 p2 p3 p4 < p5 p6 p7 p8 p9 p10 p11 > mice: PS/2 mouse device common for all mice serio: i8042 KBD port at 0x60,0x64 irq 1 input: ImPS/2 Microsoft IntelliMouse on isa0060/serio1 serio: i8042 AUX port at 0x60,0x64 irq 12 NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 4096 buckets, 32Kbytes TCP: Hash tables configured (established 32768 bind 32768) kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,1), internal journal EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Mounted devfs on /dev Freeing unused kernel memory: 244k freed NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. Adding 1028120k swap on /dev/hdb1. Priority:-1 extents:1 EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,1), internal journal kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,2), internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,3), internal journal EXT3-fs: mounted filesystem with ordered data mode. found reiserfs format "3.6" with standard journal Reiserfs journal params: device ide0(3,67), size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 reiserfs: checking transaction log (ide0(3,67)) for (ide0(3,67)) Using r5 hash to sort names found reiserfs format "3.6" with standard journal Reiserfs journal params: device ide0(3,71), size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 reiserfs: checking transaction log (ide0(3,71)) for (ide0(3,71)) Using r5 hash to sort names found reiserfs format "3.6" with standard journal Reiserfs journal params: device ide0(3,70), size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 reiserfs: checking transaction log (ide0(3,70)) for (ide0(3,70)) Using r5 hash to sort names found reiserfs format "3.6" with standard journal Reiserfs journal params: device ide0(3,7), size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 reiserfs: checking transaction log (ide0(3,7)) for (ide0(3,7)) Using r5 hash to sort names found reiserfs format "3.6" with standard journal Reiserfs journal params: device ide0(3,69), size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 reiserfs: checking transaction log (ide0(3,69)) for (ide0(3,69)) Using r5 hash to sort names found reiserfs format "3.6" with standard journal Reiserfs journal params: device ide0(3,5), size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 reiserfs: checking transaction log (ide0(3,5)) for (ide0(3,5)) Using r5 hash to sort names found reiserfs format "3.6" with standard journal Reiserfs journal params: device ide0(3,66), size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 reiserfs: checking transaction log (ide0(3,66)) for (ide0(3,66)) Using r5 hash to sort names found reiserfs format "3.6" with standard journal Reiserfs journal params: device ide0(3,6), size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 reiserfs: checking transaction log (ide0(3,6)) for (ide0(3,6)) Using r5 hash to sort names found reiserfs format "3.6" with standard journal Reiserfs journal params: device ide0(3,72), size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 reiserfs: checking transaction log (ide0(3,72)) for (ide0(3,72)) Using r5 hash to sort names found reiserfs format "3.6" with standard journal Reiserfs journal params: device ide0(3,73), size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 reiserfs: checking transaction log (ide0(3,73)) for (ide0(3,73)) Using r5 hash to sort names found reiserfs format "3.6" with standard journal Reiserfs journal params: device ide0(3,74), size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 reiserfs: checking transaction log (ide0(3,74)) for (ide0(3,74)) Using r5 hash to sort names found reiserfs format "3.6" with standard journal Reiserfs journal params: device ide0(3,8), size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 reiserfs: checking transaction log (ide0(3,8)) for (ide0(3,8)) Using r5 hash to sort names eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin and others PCI: Found IRQ 10 for device 00:08.0 eth0: Intel Corp. 82557 [Ethernet Pro 100], 00:90:27:10:08:1C, IRQ 10. Receiver lock-up bug exists -- enabling work-around. Board assembly 689661-004, Physical connectors present: RJ45 Primary interface chip i82555 PHY #1. General self-test: passed. Serial sub-system self-test: passed. Internal registers self-test: passed. ROM checksum self-test: passed (0x24c9f043). Receiver lock-up workaround activated. parport0: PC-style at 0x278, irq 5 [PCSPP(,...)] lp0: using parport0 (interrupt-driven). ip_tables: (C) 2000-2002 Netfilter core team ip_conntrack version 2.0 (4095 buckets, 32760 max) - 292 bytes per conntrack ASSERT ip_conntrack_core.c:544 &ip_conntrack_lock not readlocked Software Watchdog Timer: 0.06, soft_margin: 60 sec, nowayout: 1 So I don't really know what is causing my keyboard (PS/2) to not work with the new API. I also don't know how others are getting it to work.. any insight? BL. -- Brad Littlejohn | Email: tyketto@wizard.com Unix Systems Administrator, | tyketto@ozemail.com.au Web + NewsMaster, BOFH.. Smeghead! :) | http://www.wizard.com/~tyketto PGP: 1024D/E319F0BF 6980 AAD6 7329 E9E6 D569 F620 C819 199A E319 F0BF - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/