Hi Kiran, Use usbhid, it will detect your device as generic usb device as show in below mail. then find out the right driver in hid e.g. if device is dual touch, then driver/hid/hid-cando.c can be modified for your device.
Regards, Goutam On Tue, Jul 3, 2012 at 2:23 PM, kiran nayak <nieki...@gmail.com> wrote: > hi > i m using egalx touchkit device. > which driver i need to use .. is it usbtouchscreen.ko or usbhid > when i manullay try to load usbtouchscreen.ko its giving the error > > usbtouchscreen.ko failed (Invalid argument) > > what are hte valid argument i need to supply > pls help > > On Jul 2, 12:39 pm, Luccio <moukne...@gmail.com> wrote: > > Hi Gutam, > > thanks for reply, can you please give me more details about your suggest > ? > > > > Best Regards. > > > > Le vendredi 29 juin 2012 10:04:19 UTC+2, Goutam Kumar a écrit : > > > > > > > > > Hi Luccio, > > > > > Please share and look into the kernel log. I feel the USB TS device is > > > getting detected as generic usb hid device. If yes then this need to > > > correct and enable driver for your device. For eGalax support is > already > > > available. > > > > > Regards, > > > Goutam > > > > > On Thu, Jun 28, 2012 at 5:42 PM, Luccio <moukne...@gmail.com> wrote: > > > > >> Hi, > > >> i am trying to add my eGalax capacitive touchscreen to my platform, > for > > >> that i build the usbtouchscreen driver and i add the idc file with > > >> idVendor,idProduct of my eGalax. However the touchscreen is handled > by the > > >> usbhid driver. > > >> How can make it working with the usbtouhscreen driver ? > > >> here is the idf file which i am using > > > > >> # Copyright (C) 2010 The Android Open Source Project > > >> # > > >> # Licensed under the Apache License, Version 2.0 (the "License"); > > >> # you may not use this file except in compliance with the License. > > >> # You may obtain a copy of the License at > > >> # > > >> # http://www.apache.org/licenses/LICENSE-2.0 > > >> # > > >> # Unless required by applicable law or agreed to in writing, software > > >> # distributed under the License is distributed on an "AS IS" BASIS, > > >> # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or > implied. > > >> # See the License for the specific language governing permissions and > > >> # limitations under the License. > > > > >> # > > >> # Emulator keyboard configuration file #1. > > >> # > > > > >> #touch.deviceType = touchScreen > > >> #touch.orientationAware = 1 > > > > >> #keyboard.layout = qwerty > > >> #keyboard.characterMap = qwerty > > >> #keyboard.orientationAware = 1 > > >> #keyboard.builtIn = 1 > > > > >> #cursor.mode = navigation > > >> #cursor.orientationAware = 1 > > > > >> # Touch Size > > >> touch.deviceType = touchScreen > > >> touchSize.calibration = pressure > > > > >> # Tool Size > > >> touch.toolSize.calibration = linear > > >> touch.toolSize.linearScale = 10 > > >> touch.toolSize.linearBias = 160 > > >> touch.toolSize.isSummed = 1 > > > > >> # Pressure > > >> touch.pressure.calibration = amplitude > > >> touch.pressure.source = default > > >> touch.pressure.scale = 0.01 > > > > >> # Size > > >> touch.size.calibration = normalized > > > > >> # Orientation > > >> touch.orientation.calibration = interpolated > > > > >> Best Regards, > > > > >> -- > > >> unsubscribe: android-porting+unsubscr...@googlegroups.com > > >> website:http://groups.google.com/group/android-porting > > > > > > -- > unsubscribe: android-porting+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-porting > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting