Page 10 of 50 FirstFirst ... 8910111220 ... LastLast
Results 91 to 100 of 491

Thread: Lenovo Ideapad S10-3t

  1. #91
    Join Date
    Mar 2009
    Beans
    13
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Lenovo Ideapad S10-3t

    how exactly do i use this patch? i've tried a lot of things over the last couple hours and nothing is working. i got my touchscreen working using this thread but it's still glitchy, and single touch.

  2. #92
    Join Date
    Jan 2010
    Beans
    14

    Re: Lenovo Ideapad S10-3t

    Quote Originally Posted by jeffeulogy View Post
    how exactly do i use this patch? i've tried a lot of things over the last couple hours and nothing is working. i got my touchscreen working using this thread but it's still glitchy, and single touch.
    You'll need to install the Ubuntu kernel source first (see here: https://help.ubuntu.com/community/Kernel/Compile ) Then, change to the source directory and use patch -p1 < touchscreen.patch to apply. After that, rebuild the kernel once and install it (I've used the "old-fashioned Debian way" described on that page).

    Note: around line 218 in hid-cando.c, you might need to change
    ret = hid_hw_start(hdev,HID_CONNECT_DEFAULT);
    to
    ret = hid_hw_start(hdev,HID_CONNECT_DEFAULT|HID_CONNECT_ HIDINPUT_FORCE);

    This somewhat depends on the base kernel version you're using - I had to add the FORCE flag for 2.6.31.9.

    Floe

  3. #93
    Join Date
    Mar 2009
    Beans
    13
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Lenovo Ideapad S10-3t

    awesome, thanks a lot. i was tearing my hair out messing around with git. i'll start over with a fresh install and try it with 2.6.31-9

  4. #94
    Join Date
    Mar 2010
    Beans
    36

    Re: Lenovo Ideapad S10-3t

    so, now, just applaying this patch to kernel, we get dual touch working withot 3rd party hidtouch and netbook-launcher patching, yeah?

    ps and, if it is not difficult for you, please upload separate patch file somewhere.. i just can't understand, from where to where copy (never patching anything before)
    Last edited by zythar; April 18th, 2010 at 11:38 PM.

  5. #95
    Join Date
    Mar 2009
    Beans
    13
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Lenovo Ideapad S10-3t

    make is giving this output:

    drivers/hid/hid-cando.c: In function ‘cando_probe’:
    drivers/hid/hid-cando.c:217: error: ‘HID_CONNECT_’ undeclared (first use in this function)
    drivers/hid/hid-cando.c:217: error: (Each undeclared identifier is reported only once
    drivers/hid/hid-cando.c:217: error: for each function it appears in.)
    drivers/hid/hid-cando.c:217: error: expected ‘)’ before ‘HID_INPUT_FORCE’
    make[2]: *** [drivers/hid/hid-cando.o] Error 1
    make[1]: *** [drivers/hid] Error 2
    make: *** [drivers] Error 2

    i'm not getting the error after changing that line back to the default. here's hoping the rest goes well.

    god i wish i was smarter.
    Last edited by jeffeulogy; April 19th, 2010 at 03:11 AM. Reason: updated

  6. #96
    Join Date
    Mar 2010
    Beans
    36

    Re: Lenovo Ideapad S10-3t

    [deleted]

    i've applied patch that was suggested in previous page to kernel and comile kernel without any problems.
    now, how i can enable dual touch?
    Last edited by zythar; April 19th, 2010 at 04:12 PM.

  7. #97
    Join Date
    Jan 2010
    Beans
    14

    Re: Lenovo Ideapad S10-3t

    Quote Originally Posted by jeffeulogy View Post
    make is giving this output:

    drivers/hid/hid-cando.c: In function ‘cando_probe’:
    drivers/hid/hid-cando.c:217: error: ‘HID_CONNECT_’ undeclared (first use in this function)
    drivers/hid/hid-cando.c:217: error: (Each undeclared identifier is reported only once
    drivers/hid/hid-cando.c:217: error: for each function it appears in.)
    drivers/hid/hid-cando.c:217: error: expected ‘)’ before ‘HID_INPUT_FORCE’
    make[2]: *** [drivers/hid/hid-cando.o] Error 1
    make[1]: *** [drivers/hid] Error 2
    make: *** [drivers] Error 2

    i'm not getting the error after changing that line back to the default. here's hoping the rest goes well.

    god i wish i was smarter.
    Oops, sorry, I've just seen that there was an error in my post. There's no space to be supposed between HID_CONNECT_HIDINPUT_FORCE, it's all one word.

    Quote Originally Posted by zythar
    i've applied patch that was suggested in previous page to kernel and comile kernel without any problems.
    now, how i can enable dual touch?
    Basically, there's nothing to enable, it's there from the start. Now you just need some software that's able to use the new data - AFAICT in Lucid, you'll be able to use xf86-input-evdev and get two mouse cursors as soon as you touch the screen with two fingers.

    Floe

  8. #98
    Join Date
    Mar 2010
    Beans
    36

    Re: Lenovo Ideapad S10-3t

    Code:
    Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
            InputDevice    "Cando TouchScreen" "SendCoreEvents"
            InputDevice    "dummy"
    EndSection
    
    Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/share/fonts/X11/misc"
        FontPath     "/usr/share/fonts/X11/cyrillic"
        FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/Type1"
        FontPath     "/usr/share/fonts/X11/100dpi"
        FontPath     "/usr/share/fonts/X11/75dpi"
        FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath     "built-ins"
    EndSection
    
    Section "Module"
        Load  "record"
        Load  "dri"
        Load  "extmod"
        Load  "dri2"
        Load  "glx"
        Load  "dbe"
        Load  "hidtouch"
    EndSection
    
    Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
    EndSection
    
    Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option        "Protocol" "auto"
        Option        "Device" "/dev/input/mice"
        Option        "ZAxisMapping" "4 5 6 7"
    EndSection
    
    Section "InputDevice"
     Identifier      "Cando TouchScreen"
     Driver          "hidtouch"
     Option          "SendCoreEvents"        "true"
     Option          "ReportingMode"         "Raw"
     Option          "Device"                "/dev/usb/cando_touch"
     Option          "PacketCount"           "13"
     Option          "OpcodePressure"        "852018"
     Option          "OpcodeX"               "65584"
     Option          "OpcodeY"               "65585"
     Option          "CalibrationModel"      "1"
     Option          "CornerTopLeftX"        "80"
     Option          "CornerTopLeftY"        "80"
     Option          "CornerTopRightX"       "4020"
     Option          "CornerTopRightY"       "80"
     Option          "CornerBottomLeftX"     "80"
     Option          "CornerBottomLeftY"     "4020"
     Option          "CornerBottomRightX"    "4020"
     Option          "CornerBottomRightY"    "4020"
     Option          "CornerScreenWidth"     "1024"
     Option          "CornerScreenHeight"    "600"
    EndSection
    
    Section "InputDevice"
        Identifier "dummy"
        Driver "void"
        Option "Device" "/dev/input/mice"
    EndSection
    
    Section "Device"
            ### Available Driver options are:-
            ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
            ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
            ### [arg]: arg optional
            #Option     "NoAccel"                # [<bool>]
            #Option     "SWcursor"               # [<bool>]
            #Option     "ColorKey"               # <i>
            #Option     "CacheLines"             # <i>
            #Option     "Dac6Bit"                # [<bool>]
            #Option     "DRI"                    # [<bool>]
            #Option     "NoDDC"                  # [<bool>]
            #Option     "ShowCache"              # [<bool>]
            #Option     "XvMCSurfaces"           # <i>
            #Option     "PageFlip"               # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "Pineview Integrated Graphics Controller"
        BusID       "PCI:0:2:0"
    EndSection
    
    Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
            Viewport   0 0
            Depth     1
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     4
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     8
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     15
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     16
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     24
        EndSubSection
    EndSection
    here is my xorg.conf. what should i change?
    package of evdev (xserver-xorg-input-evdev) is installed.
    support of hid, evdev, cando dual touch are enabled in kernel.
    Last edited by zythar; April 20th, 2010 at 03:29 PM.

  9. #99
    Join Date
    Jan 2010
    Beans
    14

    Re: Lenovo Ideapad S10-3t

    Quote Originally Posted by zythar View Post
    here is my xorg.conf. what should i change?
    package of evdev (xserver-xorg-input-evdev) is installed.
    support of hid, evdev, cando dual touch are enabled in kernel.
    I believe you can remove the entire "Cando Touchscreen" section. In fact, I don't even have an xorg.conf anymore, the entire configuration is done through HAL.
    At first, the synaptics driver tried to handle my touchscreen and failed, but I've added the snippet from my earlier post to /etc/hal/fdi/policy/preferences.fdi. This switched the driver to evdev and it's working fine since.

    Floe

  10. #100
    Join Date
    May 2008
    Beans
    37

    Re: Lenovo Ideapad S10-3t

    Whenever i try to download the file, it downloads zero bytes. Can you possibly upload it elsewhere?

    Quote Originally Posted by zythar View Post
    i'm suggesting to use this package.

    in install.sh i added some debug info. i mean, while script is running, beside of work he is doing he writes what he is doing, that may be useful. and also i've added in that script check for /etc/X11/xorg.conf. if the file exists then script copies it as /etc/X11/xorg.conf.bak and only then installs it's own xorg.conf.

    because hidtouch is compiling without --prefix, which means that it's prefix is /usr/local and lib for xorg will lie in /usr/local/lib/xorg/modules/input, i've updated xorg.conf too.

    i've wanted to add some check for packages xorg-xserver-dev and build-essentials also. i mean, if there already are in system then don't run apt-get but i couldn't do it.
    here is new package. download

Page 10 of 50 FirstFirst ... 8910111220 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •