From owner-freebsd-current@FreeBSD.ORG Wed Oct 12 16:55:19 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72D1516A41F for ; Wed, 12 Oct 2005 16:55:19 +0000 (GMT) (envelope-from brian@aljex.com) Received: from s1tank.virtdom.com (s1tank.virtdom.com [216.240.101.50]) by mx1.FreeBSD.org (Postfix) with SMTP id 8591D43D49 for ; Wed, 12 Oct 2005 16:55:18 +0000 (GMT) (envelope-from brian@aljex.com) Received: (qmail 25645 invoked by uid 89); 12 Oct 2005 17:20:30 -0000 Received: from ool-4355e580.dyn.optonline.net (HELO venti) (brian@aljex.com@67.85.229.128) by s1tank.virtdom.com with SMTP; 12 Oct 2005 17:20:30 -0000 Message-ID: <005301c5cf4d$b4aaefe0$6b1fa8c0@venti> From: "Brian K. White" To: , References: <00d201c5cf36$8117c750$6b1fa8c0@venti> <20051013002248.65978ccc@dirk.no.domain> Date: Wed, 12 Oct 2005 12:55:09 -0400 Organization: Aljex Software MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Cc: Subject: Re: wireless keyboard with built in mouse X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Oct 2005 16:55:19 -0000 ----- Original Message ----- From: "Sam Lawrance" To: "Brian K. White" Cc: ; Sent: Wednesday, October 12, 2005 10:22 AM Subject: Re: wireless keyboard with built in mouse > On Wed, 12 Oct 2005 10:09:04 -0400 > "Brian K. White" wrote: > >> A while back I posted description of the mouse part of a wireless usb >> keyboard not working on 5.4 >> this questio and got asked what happens when I cat /dev/uhid0 while >> moving the mouse, pressing the buttons etc.. >> http://docs.freebsd.org/cgi/mid.cgi?200507311722.52659.mistry.7 >> >> Then later someone else added the comment that the problem is that >> there is more than one device on one usb receiver and that 6.0 has >> the necessary usb updates to handle that: >> I can't find a link to that comment. Maybe they sent it directly >> rather than to either -current or -usb and I've deleted my copy since >> then. > > See these PRs: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=77604 > http://www.freebsd.org/cgi/query-pr.cgi?pr=85972 > > The patches provided solved a similar problem for me. I believe the > second PR there is the same problem, just waiting for submitter to > confirm. Thanks much. It's building now. Are these patches available in an un-munged form somewhere? Even the "raw pr" option on the web page still only produces a page where the original emails and attachments have been munged with "=D2" etc... When I pasted the hid.c patch into a file, patch just complains about malformed patch. I figured out that the web interface or the cutting & pasting stripped off the single leading space that unchanged lines are supposed to have, manually put them back in the patch. Manually stripped the trailing space that was added to every line, made sure the whitespace was the same (tabs vs spaces) patch doesn't complain anymore, now it just rejects the hunk for no reason I can figure out. I tried using patch -l and -F n , I ended up applying the changes completely by hand. I'm glad it was a small patch! ...time passes... Ok, it built cleanly but didn't change anything I can see. Here's dmesg: Copyright (c) 1992-2005 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 6.0-RC1 #3: Thu Oct 13 00:20:30 EDT 2005 root@amdemon.local:/usr/obj/usr/src/sys/AMDEMON ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) XP 3200+ (2191.24-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0 Features=0x383fbff AMD Features=0xc0400800 real memory = 1073676288 (1023 MB) avail memory = 1041788928 (993 MB) ioapic0 irqs 0-23 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) pci_link0: irq 10 on acpi0 pci_link1: irq 11 on acpi0 pci_link2: on acpi0 pci_link3: irq 12 on acpi0 pci_link4: on acpi0 pci_link5: irq 10 on acpi0 pci_link6: irq 11 on acpi0 pci_link7: on acpi0 pci_link8: on acpi0 pci_link9: irq 5 on acpi0 pci_link10: on acpi0 pci_link11: irq 12 on acpi0 pci_link12: irq 9 on acpi0 pci_link13: on acpi0 pci_link14: on acpi0 pci_link15: on acpi0 pci_link16: irq 16 on acpi0 pci_link17: irq 17 on acpi0 pci_link18: irq 18 on acpi0 pci_link19: irq 19 on acpi0 pci_link20: irq 16 on acpi0 pci_link21: irq 0 on acpi0 pci_link22: irq 0 on acpi0 pci_link23: irq 0 on acpi0 pci_link24: irq 0 on acpi0 pci_link25: irq 0 on acpi0 pci_link26: irq 0 on acpi0 pci_link27: irq 23 on acpi0 pci_link28: irq 0 on acpi0 pci_link29: irq 0 on acpi0 pci_link30: irq 0 on acpi0 pci_link31: irq 0 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff,0xcf0-0xcf3 on acpi0 pci0: on pcib0 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 0.3 (no driver attached) pci0: at device 0.4 (no driver attached) pci0: at device 0.5 (no driver attached) isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) ohci0: mem 0xe8003000-0xe8003fff irq 20 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xe8004000-0xe8004fff irq 21 at device 2.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered ehci0: mem 0xe8005000-0xe80050ff irq 22 at device 2.2 on pci0 ehci0: [GIANT-LOCKED] usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 6 ports with 6 removable, self powered pci0: at device 6.0 (no driver attached) pcib1: at device 8.0 on pci0 pci_link18: BIOS IRQ 20 for 0.6.INTA is invalid pci1: on pcib1 re0: port 0x9000-0x90ff mem 0xe7000000-0xe70000ff irq 16 at device 11.0 on pci1 miibus0: on re0 rgephy0: on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto re0: Ethernet address: 00:0f:ea:48:2b:b5 atapci0: port 0x9410-0x9417,0x9800-0x9803,0x9c10-0x9c17,0xa000-0xa003,0xa400-0xa40f irq 17 at device 12.0 on pci1 ata2: on atapci0 ata3: on atapci0 atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 9.0 on pci0 ata0: on atapci1 ata1: on atapci1 pcib2: at device 30.0 on pci0 pci2: on pcib2 drm0: port 0xc000-0xc0ff mem 0xd0000000-0xd7ffffff,0xe5000000-0xe500ffff irq 19 at device 0.0 on pci2 info: [drm] AGP at 0xe0000000 64MB info: [drm] Initialized radeon 1.16.0 20050311 on minor 0 pci2: at device 0.1 (no driver attached) fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0: port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xccfff,0xd0000-0xd17ff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 uhub3: vendor 0x0557 product 0x7000, class 9/0, rev 1.10/1.00, addr 2 uhub3: 4 ports with 4 removable, self powered ukbd0: Sony RF Receiver, rev 1.10/1.00, addr 3, iclass 3/1 kbd1 at ukbd0 uhid0: Sony RF Receiver, rev 1.10/1.00, addr 3, iclass 3/1 Timecounter "TSC" frequency 2191237369 Hz quality 800 Timecounters tick every 1.000 msec acd0: CDRW at ata0-master PIO4 ad4: 76319MB at ata2-master UDMA100 ad6: 76319MB at ata3-master UDMA100 ar0: 152638MB status: READY ar0: disk0 READY using ad4 at ata2-master ar0: disk1 READY using ad6 at ata3-master Trying to mount root from ufs:/dev/ar0s1a re0: link state changed to UP Thanks anyways! On a positive note. Suse 10.0 couldn't install on the same machine unless I was willing to let it install to one of the physical drives in the raid0 striped array. It's a Gigabyte gigaraid ite8212 chip on the motherboard and the installer claimed that support was present in 2.4 and removed in 2.6 and that I should install to one drive and then use the software raid. Kinda hard with a stripped array! (well, I suppose it's theoretically possible they have a util chop up an existing solid drive into stripes and redistribute half of them, all while the drive is mounted...) Meanwhile, FreeBSD 6 dropped right on the array with no fuss at all. Brian K. White -- brian@aljex.com -- http://www.aljex.com/bkw/ +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++. filePro BBx Linux SCO FreeBSD #callahans Satriani Filk!