From owner-freebsd-mobile@FreeBSD.ORG Sun Apr 18 10:51:49 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9F7A16A4CE; Sun, 18 Apr 2004 10:51:49 -0700 (PDT) Received: from smtp.newipnet.com (5.Red-80-32-157.pooles.rima-tde.net [80.32.157.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A46C43D4C; Sun, 18 Apr 2004 10:51:45 -0700 (PDT) (envelope-from freebsd@newipnet.com) Received: by smtp.newipnet.com (ESMTP Server, from userid 511) id EFD112051B; Sun, 18 Apr 2004 19:51:41 +0200 (CEST) Received: from madre (madre.newipnet.com [192.168.128.4]) by smtp.newipnet.com (ESMTP Server) with ESMTP id E97BF2051C; Sun, 18 Apr 2004 19:51:24 +0200 (CEST) Message-ID: <200404181952430311.14EEAC8A@192.168.128.16> X-Mailer: Courier 3.50.00.09.1092 (http://www.rosecitysoftware.com) (P) Date: Sun, 18 Apr 2004 19:52:43 +0200 From: "Carlos Velasco" To: "M. Warner Losh" Content-Type: text/plain; charset="ISO-8859-1" X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on atlas.newipnet.com X-Spam-Level: X-Spam-Status: No, hits=-104.9 required=5.0 tests=BAYES_00,USER_IN_WHITELIST autolearn=ham version=2.63 cc: freebsd-current@freebsd.org cc: freebsd-mobile@freebsd.org Subject: pccard after new patches X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Apr 2004 17:51:49 -0000 After latest ACPI patches by imp, I have found this related to pccard and 64k alignment: Initial allocation for cbb is made at 0xf000000: ==== cbb0: at device 3.0 on pci0 cbb0: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0xf0000000 cbb0: Found memory at f0000000 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib0: slot 3 INTA is routed to irq 11 cbb1: at device 3.1 on pci0 cbb1: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0xf0001000 cbb1: Found memory at f0001000 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 ==== As previous cbb allocation is far of 0x88000000 (CBB_START_MEMORY), pccard success: ==== Status is 0x30000410 cbb0: card inserted: event=0x00000000, state=30000410 pccard0: chip_socket_enable cbb_pcic_socket_enable: cbb0: cbb_power: 5V pccard0: read_cis rman_reserve_resource: request: [0x88000000, 0xffffffff], length 0x1000, flags 16384, device pccard0 considering [0xd0000, 0xefffffff] truncated region: [0x88000000, 0xefffffff]; size 0x68000000 (requested 0x1000) candidate region: [0xefffffff, 0x88000000], size 0x68000000 splitting region in three parts: [0xd0000, 0x87ffffff]; [0x88000000, 0x88000fff]; [0x88001000, 0xefffffff] cis mem map 0xdcfa6000 (resource: 0x88000000) pccard0: CIS tuple chain: CISTPL_DEVICE type=null speed=null 01 02 00 ff CISTPL_DEVICE_A type=null speed=null 17 02 00 ff CISTPL_VERS_1 15 3b 05 00 58 69 72 63 6f 6d 00 43 72 65 64 69 74 43 61 72 64 20 45 74 68 65 72 6e 65 74 20 31 30 2f 31 30 30 20 2b 20 4d 6f 64 65 6d 20 35 36 00 43 45 4d 35 36 00 31 2e 30 30 00 ff unhandled CISTPL 88 88 08 73 2f f6 00 00 00 00 00 CISTPL_MANFID 20 05 05 01 0a 11 46 unhandled CISTPL 44 44 04 d2 3b 77 25 CISTPL_CONFIG 1a 05 01 3f 80 ff 67 CISTPL_CFTABLE_ENTRY 1b 14 e7 c1 9d 0f 55 4d 5d 4e e0 17 17 ea 60 e8 02 07 f0 bc 8e 20 CISTPL_CFTABLE_ENTRY 1b 07 1f 08 ea 60 e8 03 07 CISTPL_CFTABLE_ENTRY 1b 07 17 08 ea 60 f8 02 07 CISTPL_CFTABLE_ENTRY 1b 07 0f 08 ea 60 f8 03 07 CISTPL_CFTABLE_ENTRY 1b 03 3f 08 63 CISTPL_FUNCID 21 02 02 00 CISTPL_FUNCE 22 04 00 02 0f 5c CISTPL_FUNCE 22 0c 02 06 00 3f 1c 03 03 0f 07 00 01 b5 CISTPL_FUNCE 22 08 13 06 00 0b 00 02 00 b5 CISTPL_FUNCID 21 02 06 00 CISTPL_FUNCE 22 08 04 06 00 10 a4 f6 2f 73 unhandled CISTPL 8a 8a 0c 39 30 30 31 48 52 46 36 32 46 37 33 unhandled CISTPL 8b 8b 04 01 00 00 00 CISTPL_NO_LINK 14 00 CISTPL_END ff pccard0: check_cis_quirks pccard0: CIS version PC Card Standard 5.0 pccard0: CIS info: Xircom, CreditCard Ethernet 10/100 + Modem 56, CEM56, 1.00 pccard0: Manufacturer code 0x105, product 0x110a pccard0: function 0: network adapter, ccr addr ff80 mask 67 pccard0: function 0, config table entry 39: I/O card; irq mask 8ebc; iomask a, iospace 2e8-2ef; mwait_required rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown pccard0: function 0, config table entry 31: I/O card; irq mask 8ebc; iomask a, iospace 3e8-3ef; mwait_required rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown pccard0: function 0, config table entry 23: I/O card; irq mask 8ebc; iomask a, iospace 2f8-2ff; mwait_required rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown pccard0: function 0, config table entry 15: I/O card; irq mask 8ebc; iomask a, iospace 3f8-3ff; mwait_required rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown pccard0: function 0, config table entry 63: I/O card; irq mask 8ebc; iomask 3, iospace 0-7; mwait_required rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown pccard0: functions scanning pccard0: Card has 1 functions. pccard_mfc is 0 pccard0: I/O rid 0 start 2e8 end 2ef rman_reserve_resource: request: [0x2e8, 0x2ef], length 0x8, flags 3072, device pccard0 considering [0x1f8, 0x2f7] truncated region: [0x2e8, 0x2ef]; size 0x8 (requested 0x8) candidate region: [0x2ef, 0x2e8], size 0x8 splitting region in three parts: [0x1f8, 0x2e7]; [0x2e8, 0x2ef]; [0x2f0, 0x2f7] rman_reserve_resource: request: [0xb, 0xb], length 0x1, flags 4, device pccard0 considering [0xb, 0xb] region is allocated considering [0xc, 0xc] s->r_start (0xc) > end (0xb) no unshared regions found cbb_pcic_socket_enable: cbb0: cbb_power: 0V cbb0: cbb_power: 5V rman_reserve_resource: request: [0x88000000, 0xffffffff], length 0x400, flags 12288, device pccard0 considering [0xd0000, 0xefffffff] truncated region: [0x88000000, 0xefffffff]; size 0x68000000 (requested 0x400) candidate region: [0xefffffff, 0x88000000], size 0x68000000 splitting region in three parts: [0xd0000, 0x87ffffff]; [0x88000000, 0x880003ff]; [0x88000400, 0xefffffff] pccard0: ccr_res == 88000000-880003ff, base=ff80 pccard0: function 0 CCR at 0 offset f80: 67 0 0 0, 0 0 ff ff, ff xe0: at port 0x2e8-0x2ef irq 11 function 0 config 39 on pccard0 rman_reserve_resource: request: [0x100, 0x3ff], length 0x10, flags 0, device pccard0 considering [0x65, 0x16f] truncated region: [0x100, 0x16f]; size 0x70 (requested 0x10) candidate region: [0x16f, 0x100], size 0x70 splitting region in three parts: [0x65, 0xff]; [0x100, 0x10f]; [0x110, 0x16f] rman_reserve_resource: request: [0x100, 0x10f], length 0x10, flags 4096, device xe0 considering [0x65, 0x16f] truncated region: [0x100, 0x10f]; size 0x10 (requested 0x10) candidate region: [0x10f, 0x100], size 0x10 splitting region in three parts: [0x65, 0xff]; [0x100, 0x10f]; [0x110, 0x16f] rman_reserve_resource: request: [0xb, 0xb], length 0x1, flags 4, device xe0 considering [0xb, 0xb] region is allocated considering [0xc, 0xc] s->r_start (0xc) > end (0xb) no unshared regions found xe0: [GIANT-LOCKED] rman_reserve_resource: request: [0x88000000, 0xffffffff], length 0x1000, flags 12288, device pccard0 considering [0x88000000, 0x880003ff] region is allocated considering [0x88000400, 0xefffffff] truncated region: [0x88001000, 0xefffffff]; size 0x67fff000 (requested 0x1000) candidate region: [0xefffffff, 0x88001000], size 0x67fff000 splitting region in three parts: [0x88000400, 0x88000fff]; [0x88001000, 0x88001fff]; [0x88002000, 0xefffffff] rman_reserve_resource: request: [0x88001000, 0x88001fff], length 0x1000, flags 12288, device xe0 considering [0x88000400, 0xefffffff] truncated region: [0x88001000, 0x88001fff]; size 0x1000 (requested 0x1000) candidate region: [0x88001fff, 0x88001000], size 0x1000 splitting region in three parts: [0x88000400, 0x88000fff]; [0x88001000, 0x88001fff]; [0x88002000, 0xefffffff] rman_reserve_resource: request: [0x88001000, 0x88001fff], length 0x1000, flags 12288, device pccard0 considering [0x88000400, 0xefffffff] truncated region: [0x88001000, 0x88001fff]; size 0x1000 (requested 0x1000) candidate region: [0x88001fff, 0x88001000], size 0x1000 splitting region in three parts: [0x88000400, 0x88000fff]; [0x88001000, 0x88001fff]; [0x88002000, 0xefffffff] xe0: Xircom CreditCard Ethernet 10/100 + Modem 56, version 0x55/0x05, 100Mbps capable, with modem xe0: Ethernet address: 00:10:a4:f6:2f:73 pccard0: function 0 CCR at 0 offset f80 mask 67: 67 80 ee e8, e8 2 67 67, 67 === However, I think that if we insert another pcmcia card (16 bits) it will break, I have emulated it modifying hw.cbb.star_memory sysctl variable: # sysctl hw.cbb.start_memory="0x88001000" hw.cbb.start_memory: 2281701376 -> 2281705472 Then inserting card: ==== Status is 0x30000510 cbb0: card inserted: event=0x00000000, state=30000510 pccard0: chip_socket_enable cbb_pcic_socket_enable: cbb0: cbb_power: 5V pccard0: read_cis rman_reserve_resource: request: [0x88001000, 0xffffffff], length 0x1000, flags 16384, device pccard0 considering [0xd0000, 0xefffffff] truncated region: [0x88010000, 0xefffffff]; size 0x67ff0000 (requested 0x1000) candidate region: [0xefffffff, 0x88010000], size 0x67ff0000 splitting region in three parts: [0xd0000, 0x8800ffff]; [0x88010000, 0x88010fff]; [0x88011000, 0xefffffff] cis mem map 0xdcfaf000 (resource: 0x88010000) pccard0: CIS tuple chain: CISTPL_DEVICE type=null speed=null 01 02 00 ff CISTPL_DEVICE_A type=null speed=null 17 02 00 ff CISTPL_VERS_1 15 3b 05 00 58 69 72 63 6f 6d 00 43 72 65 64 69 74 43 61 72 64 20 45 74 68 65 72 6e 65 74 20 31 30 2f 31 30 30 20 2b 20 4d 6f 64 65 6d 20 35 36 00 43 45 4d 35 36 00 31 2e 30 30 00 ff unhandled CISTPL 88 88 08 73 2f f6 00 00 00 00 00 CISTPL_MANFID 20 05 05 01 0a 11 46 unhandled CISTPL 44 44 04 d2 3b 77 25 CISTPL_CONFIG 1a 05 01 3f 80 ff 67 CISTPL_CFTABLE_ENTRY 1b 14 e7 c1 9d 0f 55 4d 5d 4e e0 17 17 ea 60 e8 02 07 f0 bc 8e 20 CISTPL_CFTABLE_ENTRY 1b 07 1f 08 ea 60 e8 03 07 CISTPL_CFTABLE_ENTRY 1b 07 17 08 ea 60 f8 02 07 CISTPL_CFTABLE_ENTRY 1b 07 0f 08 ea 60 f8 03 07 CISTPL_CFTABLE_ENTRY 1b 03 3f 08 63 CISTPL_FUNCID 21 02 02 00 CISTPL_FUNCE 22 04 00 02 0f 5c CISTPL_FUNCE 22 0c 02 06 00 3f 1c 03 03 0f 07 00 01 b5 CISTPL_FUNCE 22 08 13 06 00 0b 00 02 00 b5 CISTPL_FUNCID 21 02 06 00 CISTPL_FUNCE 22 08 04 06 00 10 a4 f6 2f 73 unhandled CISTPL 8a 8a 0c 39 30 30 31 48 52 46 36 32 46 37 33 unhandled CISTPL 8b 8b 04 01 00 00 00 CISTPL_NO_LINK 14 00 CISTPL_END ff pccard0: check_cis_quirks pccard0: CIS version PC Card Standard 5.0 pccard0: CIS info: Xircom, CreditCard Ethernet 10/100 + Modem 56, CEM56, 1.00 pccard0: Manufacturer code 0x105, product 0x110a pccard0: function 0: network adapter, ccr addr ff80 mask 67 pccard0: function 0, config table entry 39: I/O card; irq mask 8ebc; iomask a, iospace 2e8-2ef; mwait_required rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown pccard0: function 0, config table entry 31: I/O card; irq mask 8ebc; iomask a, iospace 3e8-3ef; mwait_required rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown pccard0: function 0, config table entry 23: I/O card; irq mask 8ebc; iomask a, iospace 2f8-2ff; mwait_required rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown pccard0: function 0, config table entry 15: I/O card; irq mask 8ebc; iomask a, iospace 3f8-3ff; mwait_required rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown pccard0: function 0, config table entry 63: I/O card; irq mask 8ebc; iomask 3, iospace 0-7; mwait_required rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown pccard0: functions scanning pccard0: Card has 1 functions. pccard_mfc is 0 pccard0: I/O rid 0 start 2e8 end 2ef rman_reserve_resource: request: [0x2e8, 0x2ef], length 0x8, flags 3072, device pccard0 considering [0x1f8, 0x2f7] truncated region: [0x2e8, 0x2ef]; size 0x8 (requested 0x8) candidate region: [0x2ef, 0x2e8], size 0x8 splitting region in three parts: [0x1f8, 0x2e7]; [0x2e8, 0x2ef]; [0x2f0, 0x2f7] rman_reserve_resource: request: [0xb, 0xb], length 0x1, flags 4, device pccard0 considering [0xb, 0xb] region is allocated considering [0xc, 0xc] s->r_start (0xc) > end (0xb) no unshared regions found cbb_pcic_socket_enable: cbb0: cbb_power: 0V cbb0: cbb_power: 5V rman_reserve_resource: request: [0x88001000, 0xffffffff], length 0x400, flags 12288, device pccard0 considering [0xd0000, 0xefffffff] truncated region: [0x88001000, 0xefffffff]; size 0x67fff000 (requested 0x400) candidate region: [0xefffffff, 0x88001000], size 0x67fff000 splitting region in three parts: [0xd0000, 0x88000fff]; [0x88001000, 0x880013ff]; [0x88001400, 0xefffffff] pccard0: ccr_res == 88001000-880013ff, base=ff80 pccard0: function 0 CCR at 0 offset f80: 67 0 0 0, 0 0 0 0, 0 xe0: at port 0x2e8-0x2ef irq 11 function 0 config 39 on pccard0 rman_reserve_resource: request: [0x100, 0x3ff], length 0x10, flags 0, device pccard0 considering [0x65, 0x16f] truncated region: [0x100, 0x16f]; size 0x70 (requested 0x10) candidate region: [0x16f, 0x100], size 0x70 splitting region in three parts: [0x65, 0xff]; [0x100, 0x10f]; [0x110, 0x16f] rman_reserve_resource: request: [0x100, 0x10f], length 0x10, flags 4096, device xe0 considering [0x65, 0x16f] truncated region: [0x100, 0x10f]; size 0x10 (requested 0x10) candidate region: [0x10f, 0x100], size 0x10 splitting region in three parts: [0x65, 0xff]; [0x100, 0x10f]; [0x110, 0x16f] rman_reserve_resource: request: [0xb, 0xb], length 0x1, flags 4, device xe0 considering [0xb, 0xb] region is allocated considering [0xc, 0xc] s->r_start (0xc) > end (0xb) no unshared regions found xe0: [GIANT-LOCKED] rman_reserve_resource: request: [0x88001000, 0xffffffff], length 0x1000, flags 12288, device pccard0 considering [0x88001000, 0x880013ff] region is allocated considering [0x88001400, 0xefffffff] truncated region: [0x88002000, 0xefffffff]; size 0x67ffe000 (requested 0x1000) candidate region: [0xefffffff, 0x88002000], size 0x67ffe000 splitting region in three parts: [0x88001400, 0x88001fff]; [0x88002000, 0x88002fff]; [0x88003000, 0xefffffff] rman_reserve_resource: request: [0x88002000, 0x88002fff], length 0x1000, flags 12288, device xe0 considering [0x88001400, 0xefffffff] truncated region: [0x88002000, 0x88002fff]; size 0x1000 (requested 0x1000) candidate region: [0x88002fff, 0x88002000], size 0x1000 splitting region in three parts: [0x88001400, 0x88001fff]; [0x88002000, 0x88002fff]; [0x88003000, 0xefffffff] rman_reserve_resource: request: [0x88002000, 0x88002fff], length 0x1000, flags 12288, device pccard0 considering [0x88001400, 0xefffffff] truncated region: [0x88002000, 0x88002fff]; size 0x1000 (requested 0x1000) candidate region: [0x88002fff, 0x88002000], size 0x1000 splitting region in three parts: [0x88001400, 0x88001fff]; [0x88002000, 0x88002fff]; [0x88003000, 0xefffffff] xe0: Xircom CreditCard Ethernet 10/100 + Modem 56, version 0x44/0x04, 100Mbps capable, with modem xe0: Ethernet address: 00:10:a4:f6:2f:73 pccard0: function 0 CCR at 0 offset f80 mask 67: 67 0 0 0, 0 0 0 0, 0 ==== After this last line, laptop hangs up. If I remove the card, page fault: ==== Fatal trap 12: page fault while in kernel mode fault virtual address = 0xc1dfc000 fault code = supervisor write, page not present instruction pointer = 0x8:0xc04b7d65 stack pointer = 0x10:0xd6aa6c98 frame pointer = 0x10:0xd6aa6cb8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 22 (irq11: cbb0 cbb1+) trap number = 12 panic: page fault at line 815 in file /usr/src/sys/i386/i386/trap.c syncing disks, buffers remaining... 420 420 420 420 420 420 420 420 420 420 420 420 420 420 420 420 420 420 420 420 giving up on 354 buffers Uptime: 2m44s cbb0: cbb_power: 0V Shutting down ACPI Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... ==== I have patched pccard to allocate 64k alignment and this solves the problem... still not sure about why 64k alignment is needed: # diff -u sys/dev/pccard/pccard.c sysnew/dev/pccard/ --- sys/dev/pccard/pccard.c Wed Mar 17 17:50:38 2004 +++ sysnew/dev/pccard/pccard.c Sun Apr 18 18:05:15 2004 @@ -1075,6 +1075,7 @@ int passthrough = (device_get_parent(child) != dev); int isdefault = (start == 0 && end == ~0UL && count == 1); struct resource *r = NULL; + u_int align; /* XXX I'm no longer sure this is right */ if (passthrough) { @@ -1090,8 +1091,15 @@ if (rle == NULL || rle->res == NULL) { /* Do we want this device to own it? */ /* XXX I think so, but that might be lame XXX */ + + /* force 64k page align */ + if (type == SYS_RES_MEMORY) + align = (flags & ~RF_ALIGNMENT_MASK) | + rman_make_alignment_flags(64*1024); + else + align = flags; r = bus_alloc_resource(dev, type, rid, start, end, - count, flags /* XXX aligment? */); + count, align); if (r == NULL) goto bad; resource_list_add(&dinfo->resources, type, *rid, Regards, Carlos Velasco From owner-freebsd-mobile@FreeBSD.ORG Sun Apr 18 12:05:40 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 766AD16A4CE; Sun, 18 Apr 2004 12:05:40 -0700 (PDT) Received: from av4-2-sn3.vrr.skanova.net (av4-2-sn3.vrr.skanova.net [81.228.9.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F54F43D2F; Sun, 18 Apr 2004 12:05:40 -0700 (PDT) (envelope-from petero2@telia.com) Received: by av4-2-sn3.vrr.skanova.net (Postfix, from userid 502) id 49DB137E54; Sun, 18 Apr 2004 21:05:39 +0200 (CEST) Received: from smtp1-1-sn3.vrr.skanova.net (smtp1-1-sn3.vrr.skanova.net [81.228.9.177]) by av4-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 3BFD737E44; Sun, 18 Apr 2004 21:05:39 +0200 (CEST) Received: from p4.localdomain (h136n1fls305o1035.telia.com [81.227.176.136]) by smtp1-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 035B538011; Sun, 18 Apr 2004 21:05:39 +0200 (CEST) Received: from localhost (p4.localdomain [127.0.0.1]) by p4.localdomain (8.12.8/8.12.8) with ESMTP id i3IJ5bSD000517; Sun, 18 Apr 2004 21:05:38 +0200 Date: Sun, 18 Apr 2004 21:05:37 +0200 (CEST) From: Peter Osterlund X-X-Sender: petero@p4.localdomain To: Arne Schwabe In-Reply-To: <86ptamv0tk.fsf@kamino.rfc1149.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org cc: freebsd-mobile@freebsd.org Subject: Re: Synaptics Driver Patch (new Version) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Apr 2004 19:05:40 -0000 On Mon, 5 Apr 2004, Arne Schwabe wrote: > Peter Osterlund writes: > > > On Sat, 3 Apr 2004, Arne Schwabe wrote: > > > >> some Months ago I posted a very hacky synaptics driver patch. > >> > >> Here is a new Version: > >> > >> It is still not perfect, but since it will be almost perfect (I hope) > >> for some people I posting this. > > ... > >> download http://w1.894.telia.com/~u89404340/touchpad/files/synaptics-0.12.5.tar.bz2 > >> extract it (tar xfvj synatpics-0.12.5.tar.bz2) > >> > >> Apply > >> http://www.plaisthos.de/freebsd/synaptics.driver.patch > > > > I'll try to merge this into the XFree86 driver, but I don't want to use > > the patch as is. I'd like to avoid #ifdef's and conditional compilation if > > possible. My unfinished changes can be found here: > > > > http://w1.894.telia.com/~u89404340/syn.tar.bz2 > > Okay let me hear If you got something, so I can test it. Now I have uploaded a new version to the same URL. You should set Protocol to "psm" in XF86Config to enable the FreeBSD psm driver protocol. Feedback is wanted, because I don't have a FreeBSD system to test on. -- Peter Osterlund - petero2@telia.com http://w1.894.telia.com/~u89404340 From owner-freebsd-mobile@FreeBSD.ORG Sun Apr 18 12:10:58 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 994AD16A4CE for ; Sun, 18 Apr 2004 12:10:58 -0700 (PDT) Received: from fuf.mingrone.org (fuf.mingrone.org [204.251.2.34]) by mx1.FreeBSD.org (Postfix) with SMTP id 58BDC43D5A for ; Sun, 18 Apr 2004 12:10:57 -0700 (PDT) (envelope-from joey@mingrone.org) Received: (qmail 34817 invoked from network); 18 Apr 2004 19:10:55 -0000 Received: from fuf.mingrone.org (HELO ?127.0.0.1?) (204.251.2.34) by fuf.mingrone.org with SMTP; 18 Apr 2004 19:10:55 -0000 From: Joey Mingrone To: freebsd-mobile@freebsd.org Date: Sun, 18 Apr 2004 16:10:00 -0300 User-Agent: KMail/1.6.1 MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-Id: <200404181610.52524.joey@mingrone.org> Subject: recommendations X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Apr 2004 19:10:58 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I've been looking for a notebook for quite some time, and after lots of=20 research I have narowed my search down to two different systems. =20 The first is made by Asus and it can be found by a few different names: Asus M6000N or M6N=20 (http://usa.asus.com/prog/spec.asp?m=3DM6000N%20Series&langs=3D09) Chembook 2060 (http://www.chembook.chemusa.com/prod_specs.php3?product_id= =3D52) PowerPro C 3:17 (http://www.powernotebooks.com/specs/PowerPro/c3-17.php) The second system is a AMD64 system: eMachines M6809=20 (http://www.e4me.com/products/products.html?prod=3DeMachines_M6809) I believe the ODM is mitac. eMachines doesn't provided very detailed specifications, but thanks to Chri= s=20 =46aulhaber's post=20 (http://groups.google.com/groups?q=3Demachines+group:mailing.freebsd.*&hl= =3Den&lr=3D&ie=3DUTF-8&group=3Dmailing.freebsd.*&selm=3Dc1ihjt%24rn4%241%40= =46reeBSD.csie.NCTU.edu.tw&rnum=3D1)=20 I've a bit better idea of what to expect. Nothing about either system is listed here=20 http://gerda.univie.ac.at/freebsd-laptops/ so if anyone has any thoughts th= ey=20 would like to share about either of these notebooks, it would be much=20 appreciated. Thanks, Joey =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAgtKW0NQPEWppBZsRAirxAKDrFbxJxD4egfjl1eeYrO4NqAJVhQCgjxhc CZ2LfmM/Hpyht96T8IOmzg0=3D =3DO+5o =2D----END PGP SIGNATURE----- From owner-freebsd-mobile@FreeBSD.ORG Sun Apr 18 21:01:29 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0236416A4CE for ; Sun, 18 Apr 2004 21:01:29 -0700 (PDT) Received: from smtp.hotbox.ru (smtp.hotbox.ru [80.68.244.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 108FC43D53 for ; Sun, 18 Apr 2004 21:01:28 -0700 (PDT) (envelope-from killdos@hotbox.ru) Received: from www.SAS ([62.213.30.30]) (authenticated bits=0) by smtp.hotbox.ru (8.12.9/8.12.9) with ESMTP id i3J3tMxZ091526 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Mon, 19 Apr 2004 07:55:34 +0400 (MSD) (envelope-from killdos@hotbox.ru) To: freebsd-mobile@freebsd.org From: Alex Content-Type: text/plain; format=flowed; charset=windows-1251 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Mon, 19 Apr 2004 08:57:18 +0500 Message-ID: User-Agent: Opera7.23/FreeBSD M2 build 518 Subject: freebsd 845 patch X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: killdos@hotbox.ru List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 04:01:29 -0000 hello! please be so kindly, explain me how do i apply this patch? is it only for Dell i1100 or it will work on any i845 based system? -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ From owner-freebsd-mobile@FreeBSD.ORG Mon Apr 19 08:55:32 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1656C16A4CE for ; Mon, 19 Apr 2004 08:55:32 -0700 (PDT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7181C43D2F for ; Mon, 19 Apr 2004 08:55:31 -0700 (PDT) (envelope-from freebsd-mobile@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BFb7K-0000ph-00 for ; Mon, 19 Apr 2004 17:55:30 +0200 Received: from makrothumia.wingnet.net ([206.30.215.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Apr 2004 17:55:30 +0200 Received: from jesse by makrothumia.wingnet.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Apr 2004 17:55:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-mobile@freebsd.org From: Jesse Guardiani Date: Mon, 19 Apr 2004 11:55:26 -0400 Organization: WingNET Lines: 26 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: makrothumia.wingnet.net User-Agent: KNode/0.7.2 X-Mail-Copies-To: never Sender: news Subject: firewire cardbus recommendations? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jesse@wingnet.net List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 15:55:32 -0000 Howdy list, I've determined that the 4 pin firewire port on my IBM A30p, while being detected by the kernel, seems to be incapable of detecting a bus powered 6 pin external SBP hdd. I even tried putting a self powered firewire hub between the hdd and my 4 pin port with no change in behavior (i.e. the hdd wasn't detected). However, I *have* tried the drive with multiple 6 pin firewire controllers (Mac Powerbook and PCI Firewire VIA controller under FreeBSD 5.2.1-RC2), so I think the best solution is to buy a 6 pin firewire cardbus card for my laptop. Does anyone have one that they recommend for use with 5.2.1? I know that `man fwohci` lists workable chipsets, but I find it difficult to find cardbus cards that list the chipset. Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net From owner-freebsd-mobile@FreeBSD.ORG Mon Apr 19 09:42:00 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 546F916A4CF for ; Mon, 19 Apr 2004 09:42:00 -0700 (PDT) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57AB043D46 for ; Mon, 19 Apr 2004 09:41:59 -0700 (PDT) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 0E94C65468; Mon, 19 Apr 2004 17:41:57 +0100 (BST) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 98672-01-5; Mon, 19 Apr 2004 17:41:56 +0100 (BST) Received: from empiric.dek.spc.org (82-147-17-88.dsl.uk.rapidplay.com [82.147.17.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id EFB3E65449; Mon, 19 Apr 2004 17:41:53 +0100 (BST) Received: by empiric.dek.spc.org (Postfix, from userid 1001) id 422A1612E; Mon, 19 Apr 2004 17:41:51 +0100 (BST) Date: Mon, 19 Apr 2004 17:41:51 +0100 From: Bruce M Simpson To: Jesse Guardiani Message-ID: <20040419164150.GC1053@empiric.dek.spc.org> Mail-Followup-To: Jesse Guardiani , freebsd-mobile@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline In-Reply-To: cc: freebsd-mobile@freebsd.org Subject: Re: firewire cardbus recommendations? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 16:42:00 -0000 --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Apr 19, 2004 at 11:55:26AM -0400, Jesse Guardiani wrote: > Does anyone have one that they recommend for use with 5.2.1? I know > that `man fwohci` lists workable chipsets, but I find it difficult > to find cardbus cards that list the chipset. I use the Ratoc Systems CBFW1. This card is based on the NEC uPD72861 chipset and is fully supported by the fwohci(4) driver. This card in particular is good because it uses a dongle with a DC power injector jack (for use with any generic DC power supply), a 6-pin connector, and a 4-pin connector. It even has a friendly picture of a dinosaur in a red bow-tie on it. Regards, BMS --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: '' iD8DBQFAhAFOueUpAYYNtTsRAlpfAJ9fvyijgtHJtjzaYjf6HHdWFnxCqwCgqcBW L0UjLpTE5rKAV+c2+N6vm98= =WniV -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt-- From owner-freebsd-mobile@FreeBSD.ORG Mon Apr 19 13:45:26 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A80FC16A4CF for ; Mon, 19 Apr 2004 13:45:26 -0700 (PDT) Received: from sizone.org (mortar.sizone.org [65.126.154.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3ECD343D75 for ; Mon, 19 Apr 2004 13:45:25 -0700 (PDT) (envelope-from dgilbert@daveg.ca) Received: by sizone.org (Postfix, from userid 66) id 609F23138F; Mon, 19 Apr 2004 16:45:23 -0400 (EDT) Received: by canoe.dclg.ca (Postfix, from userid 101) id CFD611D1E96; Mon, 19 Apr 2004 16:45:20 -0400 (EDT) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16516.14944.803882.9721@canoe.dclg.ca> Date: Mon, 19 Apr 2004 16:45:20 -0400 To: killdos@hotbox.ru In-Reply-To: References: X-Mailer: VM 7.17 under 21.5 (beta15) "celery" XEmacs Lucid cc: dell-d800@eicat.ca cc: freebsd-mobile@freebsd.org Subject: freebsd 845 patch X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 20:45:26 -0000 >>>>> "Alex" == Alex writes: Alex> hello! please be so kindly, explain me how do i apply this Alex> patch? is it only for Dell i1100 or it will work on any i845 Alex> based system? 845 patch ... at least as I have it, stopped working with -CURRENT in the last month-or-so. However, Dell's new BIOS (A29) has support for setting the video RAM size. Dave. -- ============================================================================ |David Gilbert, Independent Contractor. | Two things can only be | |Mail: dave@daveg.ca | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================ From owner-freebsd-mobile@FreeBSD.ORG Tue Apr 20 03:39:34 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D03EB16A4CE for ; Tue, 20 Apr 2004 03:39:34 -0700 (PDT) Received: from hexagon.stack.nl (hexagon.stack.nl [131.155.140.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id E533243D2F for ; Tue, 20 Apr 2004 03:39:33 -0700 (PDT) (envelope-from marcov@stack.nl) Received: from toad.stack.nl (zen.stack.nl [IPv6:2001:610:1108:5010::130]) by hexagon.stack.nl (Postfix) with ESMTP id 4084FDE4#B81E551FC for ; Tue, 20 Apr 2004 12:39:32 +0200 (CEST) Received: by toad.stack.nl (Postfix, from userid 816) id 9551E83; Tue, 20 Apr 2004 12:39:32 +0200 (CEST) To: freebsd-mobile@freebsd.org Date: Tue, 20 Apr 2004 12:39:32 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20040420103932.9551E83@toad.stack.nl> From: marcov@stack.nl (Marco van de Voort) Subject: unsupported io range problem X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2004 10:39:34 -0000 I've installed FreeBSD 5.2.1 on a Latitude Cpi. The Cpi has a C/dock dockingstation that works fine under 4.9. Contents: a 3c905 integrated, a 3c900 in the free PCI slot, and some adaptec SCSI controller. There is also a Latitude modular bay which is an IDE device. For all the docking station devices I get errors like: pcib1: device xl0 requested unsupported I/O range 0xfcc0-0xfcff (decoding 0x0-0xfff) The normal laptop devices seem to go ok. (the realtek is a 32-bits cardbus card, so in the laptop, not the docking) Some googling made me find the a hw.pci.unsupported...="1" key that I added to loader.conf, to no avail. Anybody any hints Dmesg: Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc09e3000. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (233.86-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ff real memory = 134152192 (127 MB) avail memory = 120692736 (115 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 5 entries at 0xc00fb940 pcib0: at pcibus 0 on motherboard pci0: on pcib0 pci_cfgintr: 0:2 INTA BIOS irq 11 pci_cfgintr: 0:3 INTA BIOS irq 11 pci_cfgintr: 0:3 INTB BIOS irq 11 pci_cfgintr: 0:7 INTD BIOS irq 11 pci0: at device 2.0 (no driver attached) cbb0: irq 11 at device 3.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [MPSAFE] cbb1: irq 11 at device 3.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 cbb1: [MPSAFE] isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x860-0x86f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] uhci0: port 0xece0-0xecff irq 11 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered piix0: port 0x840-0x84f at device 7.3 on pci0 Timecounter "PIIX" frequency 3579545 Hz quality 0 pcib1: at device 17.0 on pci0 pci1: on pcib1 pci_cfgintr: 0:17 INTB routed to irq 11 pcib1: slot 1 INTA is routed to irq 11 pci_cfgintr: 0:17 INTB routed to irq 11 pcib1: slot 5 INTA is routed to irq 11 pci_cfgintr: 0:17 INTD routed to irq 11 pcib1: slot 7 INTA is routed to irq 11 pci_cfgintr: 0:17 INTA routed to irq 11 pcib1: slot 8 INTA is routed to irq 11 xl0: <3Com 3c900-COMBO Etherlink XL> port 0xfcc0-0xfcff irq 11 at device 1.0 on pci1 end (fcff) > sc->iolimit (fff) pcib1: device xl0 requested unsupported I/O range 0xfcc0-0xfcff (decoding 0x0-0xfff) xl0: couldn't map ports/memory device_probe_and_attach: xl0 attach returned 6 atapci1: port 0xfc80-0xfc8f,0xfc98-0xfc9b,0xfca0-0xfca7,0xfcb0-0xfcb3,0xfcb8-0xfcbf irq 11 at device 5.0 on pci1 end (fc8f) > sc->iolimit (fff) pcib1: device atapci1 requested unsupported I/O range 0xfc80-0xfc8f (decoding 0x0-0xfff) atapci1: [MPSAFE] atapci1: HW has secondary channel disabled end (fcbf) > sc->iolimit (fff) pcib1: device atapci1 requested unsupported I/O range 0xfcb8-0xfcbf (decoding 0x0-0xfff) ahc0: port 0xf800-0xf8ff mem 0xfdfff000-0xfdffffff irq 11 at device 7.0 on pci1 end (f8ff) > sc->iolimit (fff) pcib1: device ahc0 requested unsupported I/O range 0xf800-0xf8ff (decoding 0x0-0xfff) ahc0: can't allocate register resources device_probe_and_attach: ahc0 attach returned 12 xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xfc40-0xfc7f irq 11 at device 8.0 on pci1 end (fc7f) > sc->iolimit (fff) pcib1: device xl0 requested unsupported I/O range 0xfc40-0xfc7f (decoding 0x0-0xfff) xl0: couldn't map ports/memory device_probe_and_attach: xl0 attach returned 6 orm0: