Re: wireless keyboard with built in mouse

From: Brian K. White <brian_at_aljex.com>
Date: Wed, 12 Oct 2005 12:55:09 -0400
----- Original Message ----- 
From: "Sam Lawrance" <boris_at_brooknet.com.au>
To: "Brian K. White" <brian_at_aljex.com>
Cc: <freebsd-current_at_freebsd.org>; <freebsd-usb_at_freebsd.org>
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" <brian_at_aljex.com> 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_at_amdemon.local:/usr/obj/usr/src/sys/AMDEMON
ACPI APIC Table: <Nvidia AWRDACPI>
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400800<SYSCALL,MMX+,3DNow+,3DNow>
real memory  = 1073676288 (1023 MB)
avail memory = 1041788928 (993 MB)
ioapic0 <Version 1.1> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <Nvidia AWRDACPI> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNK1> irq 10 on acpi0
pci_link1: <ACPI PCI Link LNK2> irq 11 on acpi0
pci_link2: <ACPI PCI Link LNK3> on acpi0
pci_link3: <ACPI PCI Link LNK4> irq 12 on acpi0
pci_link4: <ACPI PCI Link LNK5> on acpi0
pci_link5: <ACPI PCI Link LUBA> irq 10 on acpi0
pci_link6: <ACPI PCI Link LUBB> irq 11 on acpi0
pci_link7: <ACPI PCI Link LMAC> on acpi0
pci_link8: <ACPI PCI Link LAPU> on acpi0
pci_link9: <ACPI PCI Link LACI> irq 5 on acpi0
pci_link10: <ACPI PCI Link LMCI> on acpi0
pci_link11: <ACPI PCI Link LSMB> irq 12 on acpi0
pci_link12: <ACPI PCI Link LUB2> irq 9 on acpi0
pci_link13: <ACPI PCI Link LFIR> on acpi0
pci_link14: <ACPI PCI Link L3CM> on acpi0
pci_link15: <ACPI PCI Link LIDE> on acpi0
pci_link16: <ACPI PCI Link APC1> irq 16 on acpi0
pci_link17: <ACPI PCI Link APC2> irq 17 on acpi0
pci_link18: <ACPI PCI Link APC3> irq 18 on acpi0
pci_link19: <ACPI PCI Link APC4> irq 19 on acpi0
pci_link20: <ACPI PCI Link APC5> irq 16 on acpi0
pci_link21: <ACPI PCI Link APCF> irq 0 on acpi0
pci_link22: <ACPI PCI Link APCG> irq 0 on acpi0
pci_link23: <ACPI PCI Link APCH> irq 0 on acpi0
pci_link24: <ACPI PCI Link APCI> irq 0 on acpi0
pci_link25: <ACPI PCI Link APCJ> irq 0 on acpi0
pci_link26: <ACPI PCI Link APCK> irq 0 on acpi0
pci_link27: <ACPI PCI Link APCS> irq 23 on acpi0
pci_link28: <ACPI PCI Link APCL> irq 0 on acpi0
pci_link29: <ACPI PCI Link APCM> irq 0 on acpi0
pci_link30: <ACPI PCI Link AP3C> irq 0 on acpi0
pci_link31: <ACPI PCI Link APCZ> 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: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff,0xcf0-0xcf3 on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <NVIDIA nForce2 AGP Controller> mem 0xe0000000-0xe3ffffff at device 
0.0 on pci0
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <memory, RAM> at device 0.3 (no driver attached)
pci0: <memory, RAM> at device 0.4 (no driver attached)
pci0: <memory, RAM> at device 0.5 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xe8003000-0xe8003fff irq 20 at 
device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> mem 0xe8004000-0xe8004fff irq 21 at 
device 2.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: <OHCI (generic) USB controller> 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: <EHCI (generic) USB 2.0 controller> 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: <EHCI (generic) USB 2.0 controller> 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: <multimedia, audio> at device 6.0 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 8.0 on pci0
pci_link18: BIOS IRQ 20 for 0.6.INTA is invalid
pci1: <ACPI PCI bus> on pcib1
re0: <RealTek 8169S Single-chip Gigabit Ethernet> port 0x9000-0x90ff mem 
0xe7000000-0xe70000ff irq 16 at device 11.0 on pci1
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S media interface> on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto
re0: Ethernet address: 00:0f:ea:48:2b:b5
atapci0: <ITE IT8212F UDMA133 controller> port 
0x9410-0x9417,0x9800-0x9803,0x9c10-0x9c17,0xa000-0xa003,0xa400-0xa40f irq 17 
at device 12.0 on pci1
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
atapci1: <nVidia nForce2 UDMA133 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 9.0 on pci0
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
drm0: <ATI Radeon RV280 9200> 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: <display> at device 0.1 (no driver attached)
fdc0: <floppy drive controller> 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: <ECP parallel printer port> 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: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xccfff,0xd0000-0xd17ff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> 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 <HL-DT-ST RW/DVD GCC-4120B/2.02> at ata0-master PIO4
ad4: 76319MB <WDC WD800JB-00CRA1 17.07W17> at ata2-master UDMA100
ad6: 76319MB <WDC WD800JB-00CRA1 17.07W17> at ata3-master UDMA100
ar0: 152638MB <Integrated Technology Express RAID0 (stripe 64 KB)> 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_at_aljex.com  --  http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro  BBx    Linux  SCO  FreeBSD    #callahans  Satriani  Filk!
Received on Wed Oct 12 2005 - 14:55:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:45 UTC