Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: USB Touch Screen support ?



Hello,

Le Jeu 21 mai 2009 20:23, ryo%nerv.org@localhost a écrit :
>
>>I just modded my EeePC 701 with an "Easy to Touch" touch screen set.
>>The whole new stuff seem to be recognised but now what ? :-)
>>
>>The relevant dmesg part seem to be:
>>uhidev0 at uhub5 port 1 configuration 1 interface 0
>>uhidev0: HID TOUCH HID Touch Panel, rev 1.10/0.00, addr 4, iclass 3/0
>>uhidev0: 3 report ids
>>uhid0 at uhidev0 reportid 1: input=0, output=0, feature=21
>>ums0 at uhidev0 reportid 2
>>ums0: X report 0x0002 not supported
>>
>>Attached is the full output.
>
> Perhaps, this patch help you.
> http://mail-index.netbsd.org/netbsd-bugs/2008/12/28/msg008008.html
>

I applied the patch and recompile the kernel.
Things look a bit better now :-D

I've attached the kernel and Xorg outputs.

"bad wsmouse event" messages appear as soon as (and each time) I touch the
screen.

I run (5.0's native) Xorg, twm and an xterm.

If the cursor is in the middle of the Xterm and I touch the screen,
nothing happen. If I press "Ctrl" and touch the screen, the Xterm menu
appears.

If the cursor is on twm's background and I touch the screen, twm's menu
appears. It appears where the cursor is and not where I touch the screen.
When I stop touching the screen, the menu disapears. If I drag my finger,
no selection is done on the menu.

So now what ? :-)
Do I need another mouse entry in xorg.conf ?
Any thoughts ?

TIA,
     Jo
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.0 (EEEPC701) #1: Sun May 24 00:59:40 CEST 2009
        root@:/usr/src/sys/arch/i386/compile/EEEPC701
total memory = 2039 MB
avail memory = 1992 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
ASUSTeK Computer INC. 701 (x.x)
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel 686-class, 630MHz, id 0x6d8
ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <A M I ,OEMRSDT ,05000816>, AslId <MSFT,00000097>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
ACPI-Safe 24-bit timer
attimer1 at acpi0 (TMR, PNP0100): AT Timer
attimer1: io 0x40-0x43 irq 0
pckbc1 at acpi0 (PS2K, PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
pckbc2 at acpi0 (PS2M, SYN0A00): aux port
pckbc2: irq 12
pcppi1 at acpi0 (SPKR, PNP0800)
pcppi1: io 0x61
midi0 at pcppi1: PC speaker (CPU-intensive output)
sysbeep0 at pcppi1
npx1 at acpi0 (COPR, PNP0C04)
npx1: io 0xf0-0xff irq 13
npx1: reported by CPUID; using exception 16
acpiec0 at acpi0 (EC0, PNP0C09): ACPI Embedded Controller
acpiec0: io 0x62,0x66
acpibat0 at acpi0 (BAT0, PNP0C0A-0): ACPI Battery (Control Method)
acpibat0: battery info: ASUS, LION, 701  
acpiacad0 at acpi0 (AC0, ACPI0003): ACPI AC Adapter
asus0 at acpi0 (ATKD, ASUS010-16843008)
acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
acpibut1 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
acpitz0 at acpi0 (TZ00): critical 90.0C, passive cooling
apm0 at acpi0: Power Management spec V1.2
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pms0: Synaptics touchpad version 6.5
pms0: Palm detect
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
attimer1: attached to pcppi1
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x8086 product 0x2590 (rev. 0x04)
pchb0: returns constant 0xff stream, RNG disabled.
agp0 at pchb0: detected 7932k stolen memory
agp0: aperture at 0xd0000000, size 0x10000000
vga1 at pci0 dev 2 function 0: vendor 0x8086 product 0x2592 (rev. 0x04)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
i915drm0 at vga1: Intel i915GM (unit 0)
i915drm0: AGP at 0xd0000000 256MB
i915drm0: Initialized i915 1.5.0 20060119
vendor 0x8086 product 0x2792 (miscellaneous display, revision 0x04) at pci0 dev 
2 function 1 not configured
azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
azalia0: interrupting at ioapic0 pin 16
azalia0: host: 0x8086/0x2668 (rev. 4), HDA rev. 1.0
ppb0 at pci0 dev 28 function 0: vendor 0x8086 product 0x2660 (rev. 0x04)
pci1 at ppb0 bus 4
pci1: no spaces enabled!
ppb1 at pci0 dev 28 function 1: vendor 0x8086 product 0x2662 (rev. 0x04)
pci2 at ppb1 bus 3
pci2: memory space enabled, rd/line, wr/inv ok
lii0 at pci2 dev 0 function 0: Attansic/Atheros L2 Fast Ethernet
lii0: Ethernet address 00:1f:c6:5f:fd:1e
lii0: interrupting at ioapic0 pin 17
ukphy0 at lii0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x00c82e, model 0x0002, rev. 2
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ppb2 at pci0 dev 28 function 2: vendor 0x8086 product 0x2664 (rev. 0x04)
pci3 at ppb2 bus 1
pci3: memory space enabled, rd/line, wr/inv ok
ath0 at pci3 dev 0 function 0
ath0: interrupting at ioapic0 pin 18
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 
36Mbps 48Mbps 54Mbps
ath0: mac 14.2 phy 7.0 radio 10.2
uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x2658 (rev. 0x04)
uhci0: interrupting at ioapic0 pin 23
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 29 function 1: vendor 0x8086 product 0x2659 (rev. 0x04)
uhci1: interrupting at ioapic0 pin 19
usb1 at uhci1: USB revision 1.0
uhci2 at pci0 dev 29 function 2: vendor 0x8086 product 0x265a (rev. 0x04)
uhci2: interrupting at ioapic0 pin 18
usb2 at uhci2: USB revision 1.0
uhci3 at pci0 dev 29 function 3: vendor 0x8086 product 0x265b (rev. 0x04)
uhci3: interrupting at ioapic0 pin 16
usb3 at uhci3: USB revision 1.0
ehci0 at pci0 dev 29 function 7: vendor 0x8086 product 0x265c (rev. 0x04)
ehci0: interrupting at ioapic0 pin 23
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
ppb3 at pci0 dev 30 function 0: vendor 0x8086 product 0x2448 (rev. 0xd4)
pci4 at ppb3 bus 5
pci4: no spaces enabled!
ichlpcib0 at pci0 dev 31 function 0
ichlpcib0: vendor 0x8086 product 0x2641 (rev. 0x04)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ichlpcib0: TCO (watchdog) timer configured.
piixide0 at pci0 dev 31 function 2
piixide0: Intel 82801FBM Serial ATA Controller (ICH6) (rev. 0x04)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15
atabus1 at piixide0 channel 1
ichsmb0 at pci0 dev 31 function 3: vendor 0x8086 product 0x266a (rev. 0x04)
ichsmb0: interrupting at ioapic0 pin 19
iic0 at ichsmb0: I2C bus
isa0 at ichlpcib0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
acpiacad0: AC adapter online.
azalia0: codec[0]: Realtek ALC662-GR (rev. 1.1), HDA rev. 1.0
audio0 at azalia0: full duplex, independent
uhub0 at usb0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub3 at usb3: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhub4 at usb4: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
umass0 at uhub4 port 5 configuration 1 interface 0
umass0: ENE UB6225, rev 2.00/1.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <USB2.0, CardReader SD0, 0100> disk removable
sd0: fabricating a geometry
sd0: 15326 MB, 15326 cyl, 64 head, 32 sec, 512 bytes/sect x 31388672 sectors
sd0: fabricating a geometry
uhub5 at uhub4 port 8: vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/7.02, addr 
3
uhub5: single transaction translator
uhub5: 4 ports with 4 removable, self powered
wd0 at atabus1 drive 0: <SILICONMOTION SM223AC>
wd0: drive supports 1-sector PIO transfers, LBA addressing
wd0: 3815 MB, 7753 cyl, 16 head, 63 sec, 512 bytes/sect x 7815024 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA)
uhidev0 at uhub5 port 1 configuration 1 interface 0
uhidev0: HID TOUCH HID Touch Panel, rev 1.10/0.00, addr 4, iclass 3/0
uhidev0: 3 report ids
uhid0 at uhidev0 reportid 1: input=0, output=0, feature=21
ums0 at uhidev0 reportid 2: 3 buttons, touchpanel
wsmouse1 at ums0 mux 0
uhid1 at uhidev0 reportid 3: input=5, output=0, feature=0
uvideo0 at uhub5 port 2 configuration 1 interface 0: vendor 0xeb1a product 
0x2761, rev 2.00/12.12, addr 5
video0 at uvideo0: vendor 0xeb1a product 0x2761, rev 2.00/12.12, addr 5
ubt0 at uhub5 port 3
ubt0: vendor 0x0a12 product 0x0001, rev 2.00/31.64, addr 6
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
i915drm0: interrupting at ioapic0 pin 16
ath0: device timeout (txq 1, txintrperiod 5)

Attachment: Xorg.0.log
Description: Binary data



Home | Main Index | Thread Index | Old Index