Page 5 of 21 FirstFirst ... 3456715 ... LastLast
Results 41 to 50 of 202

Thread: Experiences with acer 1825 ?

  1. #41
    Join Date
    May 2010
    Beans
    107
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Experiences with acer 1825 ?

    G-SENSOR / ACCELEROMETER for the Acer 1825PT(Z) : Part I
    (This should also works with some Dell machines, Samsung NB30, Acer1410, 1810TZ, 1810T (?), and some Packard Bell clones of the Acer Tablet PC laptops)

    Here we go !!!

    1° way :

    The first code is based on i2c-gsensor and gsensor-joy-1.1, so you'll have to get the i2c-gsensor tar ball in order to use the i2c-dev.h and the Makefile, then replace the i2c-gsensor.c with the code below.
    The gsensor-joy-1.1 is not needed unless you want to study it...

    http://pof.eslack.org/blog/2008/06/0...hift-g-sensor/

    Code:
    /*
        HTC Shift G-Sensor Reader
        Reads data from i2c interface, chip STMicroelectronics LIS3LV02DL
    
        Copyright (C) 2008       Esteve Espuna <esteve@eslack.org>
                                 Pau Oliva <pof@eslack.org>
    
        Based on i2cget.c:
        Copyright (C) 2005       Jean Delvare <khali@linux-fr.org>
    
        Based on i2cset.c, i2cbusses.c:
        Copyright (C) 2001-2003  Frodo Looijaard <frodol@dds.nl>, and
                                 Mark D. Studebaker <mdsxyz123@yahoo.com>
        Copyright (C) 2004-2005  Jean Delvare <khali@linux-fr.org>
        
        Modified by Arobase Chac (arobase40) and Imarune for the Acer 1825PT(Z).
        May work with some Dell machine, Samsung NB30, Acer 1410, 1810TZ, 1810T and some Packard Bell clone of the Acer tablet pc laptops...
    
        This program is free software; you can redistribute it and/or modify
        it under the terms of the GNU General Public License as published by
        the Free Software Foundation; either version 2 of the License, or
        (at your option) any later version.
    
        This program is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU General Public License for more details.
    
        You should have received a copy of the GNU General Public License
        along with this program; if not, write to the Free Software
        Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
        MA 02110-1301 USA.
    */
    
    #include <sys/types.h>
    #include <sys/stat.h>
    #include <string.h>
    #include <stdlib.h>
    #include <unistd.h>
    #include <errno.h>
    #include <stdio.h>
    #include <fcntl.h>
    #include "i2c-dev.h"
    
    #define WHO_AM_I    0x3b
    
    int open_i2c_dev(const int i2cbus, char *filename, const int quiet)
    {
        int file;
    
        sprintf(filename, "/dev/i2c/%d", i2cbus);
        file = open(filename, O_RDWR);
    
        if (file < 0 && errno == ENOENT) {
            sprintf(filename, "/dev/i2c-%d", i2cbus);
            file = open(filename, O_RDWR);
        }
    
        if (file < 0 && !quiet) {
            if (errno == ENOENT) {
                fprintf(stderr, "Error: Could not open file "
                        "`/dev/i2c-%d' or `/dev/i2c/%d': %s\n",
                        i2cbus, i2cbus, strerror(ENOENT));
            } else {
                fprintf(stderr, "Error: Could not open file "
                        "`%s': %s\n", filename, strerror(errno));
                if (errno == EACCES)
                    fprintf(stderr, "Run as root?\n");
            }
        }
        
        return file;
    }
    
    int main(int argc, char *argv[])
    {
        int res, i2cbus = 0, address, file, loop=0, dir=-1;
        int xl,xh;
        int yl,yh;
        int zl,zh;
        short x,y,z;
        int magic;
        char filename[20];
    
        if ( argc >= 2 ) {
            i2cbus = atoi(argv[1]);
            if (argc == 3 && strcmp(argv[2], "loop") == 0)
                loop = 1;
        }    
        else {
            fprintf(stderr, "Usage : %s i2cbus [loop]\n", argv[0]);
            exit (1);
        }
    
    
        address = 0x1d;
        file = open_i2c_dev(i2cbus, filename , 0);
    
        ioctl(file, I2C_SLAVE, address);
        i2c_smbus_write_byte_data(file, 0x20, 0x47);
        i2c_smbus_write_byte_data(file, 0x21, 0x63);
    
        magic = i2c_smbus_read_byte_data(file, 0xf);
        if (magic != WHO_AM_I ) {
            printf("Accelerometer not found\n");
            exit(-1);
            }
        while (1)
            {
            sleep(2);
            xh = i2c_smbus_read_byte_data(file, 0x28);
            xl = i2c_smbus_read_byte_data(file, 0x29);
            x = (xh<<8) | ( xl );
            yh = i2c_smbus_read_byte_data(file, 0x2a);
            yl = i2c_smbus_read_byte_data(file, 0x2b);
            y = (yh<<8) | ( yl );
            zh = i2c_smbus_read_byte_data(file, 0x2c);
            zl = i2c_smbus_read_byte_data(file, 0x2d);
            z = (zh<<8) | ( zl );
            printf("x = %d y = %d z = %d", x, y, z);
            if ( x < 128 ) {
                /* printf("Normal orientation\n"); */
                dir=0;
                }
            else
                {
                if ( y < 128 ) {
                    /* printf("Left orientation\n"); */
                    dir=1;
                    }
                else
                    {
                    if (  z < 128 ) {
                        /* printf("Right orientation\n"); */
                        dir=2;
                        }
                    else {
                        /* printf("Inverted orientation\n"); */
                        dir=3;
                        }
                    }
                }
            if ( !loop )
                break;
            }
        close(file);
    
        exit(dir);
    }
    Just compile it and copy it somewhere in /usr/bin or /usr/local/bin.
    Put "i2c-i801" and "i2c-dev" in your /etc/modules, then reboot.
    Finally call i2c-gsensor as root or with sudo, passing 0 and optionally "loop" as parameter.

    The loop parameter is just for testing mode (not needed in the script), while the i2cbus may vary from 0 to 7 depending of the linux distribution and the loading order of the previous modules (at boot time or loaded by the script).

    With Ubuntu, the i2cbus parameter should be 0, but I can't guarantee this is always the case.

    In Part II, you will find the script which use this pseudo-driver and which will rotate the display according to the return value of i2c-gsensor.
    In the same script there will be an optional tip to find out the entry point to the i2c bus (for the i2cbus parameter)...

    2° way :

    Now, a patch to modify the kernel lis3lv02d_i2c module.
    cd [dir_source_kernel]/drivers/hwmon; patch -p0 < [dir_patch]/lis3lv02d_i2c.patch)
    Then recompile the whole kernel and when all is done, you just need to write down "lis3lv02d_i2c" in the /etc/modules file.

    Code:
    --- lis3lv02d_i2c_orig.c 2010-09-29 03:01:22.000000000 +0200
    +++ lis3lv02d_i2c.c 2010-10-06 15:18:30.521867001 +0200
    @@ -33,6 +33,9 @@
     
    #define DRV_NAME "lis3lv02d_i2c"
     
    +/* Addresses to scan */
    +static const unsigned short normal_i2c[] = { 0x1d, I2C_CLIENT_END };
    +
    static inline s32 lis3_i2c_write(struct lis3lv02d *lis3, int reg, u8 value)
    {
    struct i2c_client *c = lis3->bus_priv;
    @@ -60,6 +63,26 @@
    return lis3->write(lis3, CTRL_REG1, reg);
    }
     
    +/* Return 0 if detection is successful, -ENODEV otherwise */
    +static int lis3lv02d_i2c_detect(struct i2c_client *client,
    + struct i2c_board_info *info)
    +{
    + int val;
    + struct i2c_adapter *adapter = client->adapter;
    +
    + if (!i2c_check_functionality(adapter,
    + I2C_FUNC_SMBUS_BYTE_DATA))
    + return -ENODEV;
    +
    + val = i2c_smbus_read_byte_data(client, WHO_AM_I);
    + if (!((val & WAI_12B) || (val & WAI_8B)))
    + return -ENODEV;
    +
    + strlcpy(info->type, "lis3lv02d", I2C_NAME_SIZE);
    +
    + return 0;
    +}
    +
    /* Default axis mapping but it can be overwritten by platform data */
    static struct axis_conversion lis3lv02d_axis_map = { LIS3_DEV_X,
    LIS3_DEV_Y,
    @@ -157,12 +180,15 @@
    .name = DRV_NAME,
    .owner = THIS_MODULE,
    },
    + .class = I2C_CLASS_HWMON, 
    .suspend = lis3lv02d_i2c_suspend,
    .shutdown = lis3lv02d_i2c_shutdown,
    .resume = lis3lv02d_i2c_resume,
    .probe = lis3lv02d_i2c_probe,
    .remove = __devexit_p(lis3lv02d_i2c_remove),
    + .detect = lis3lv02d_i2c_detect,
    .id_table = lis3lv02d_id,
    + .address_list = normal_i2c,
    };
     
    static int __init lis3lv02d_init(void)
    If everything is correctly initialized, you should see a new "p-data" platform here :

    /sys/devices/platform/lis3lv02d
    The "position" parameter contains the x, y, z axis coordinates...

    Again, this is useless without a script to interpret theses values.
    But again, you'll have to be patient...

    3° way :

    Here is the most fancy and weird way to initialize the lis3lv02d_i2c module and to initialize the gsensor/accelerometer for the 1825PT(Z) !!!
    It is also the quickest, uncommon and shortest way to do it !!!

    This is mostly an unknown workaround while this has been implemented for a while... ^^
    This was implemented for development purposes so nobody can guarantee it will exist in this form in the future...
    You will need a 2.6.35 or 2.6.36 kernel (no need for the source code). This should also work with kernel 2.6.34 even if of little interest as the touchscreen doesn't work fine with this latter version.

    Finallly here is the workaround :

    Load the standard and unmodified i2c-i801, i2c-dev and lis3lv02d_i2c modules in /etc/modules, then reboot...

    If you can find i2c-0 in /sys/devices/pci0000:00/0000:00:1f.3 then apply as root :
    #echo lis3lv02d 0x1d>/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/new_device

    To verify if that works :

    #cat /sys/devices/pci0000:00/0000:00:1f.3/i2c-0/0-001d/name
    You should see :

    #lis3lv02d
    That's it !!!!

    No need to recompile the whole kernel.
    When you're sure that all is correct, put the line (echo lis3lv02d 0x1d>/sys/devices/pci0000:00/0000:00:1f.3/i2c-0/new_device) in your /etc/rc.local

    To follow in part II, for the scripts...
    Last edited by arobase40; October 15th, 2010 at 04:09 AM.

  2. #42
    Join Date
    Mar 2010
    Location
    Germany
    Beans
    46
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Experiences with acer 1825 ?

    nice work! I will try it this afternoon. At the moment I am unsure which option I would give a try... In your opinion which one is the most energy saving option? part 3?

    [update]
    Hey I decided to choose the 3. version. Everything works like described.

    Thank you for your work.

    Now I am happily waiting on the next part with the scripts

    [update]
    third version: I have determined huge problems with suspend,shutdown and reboot with this configuration, I think the problem is the module lis3lv02d_i2c. I will try next the first version.

    [update] first version seems to work. suspend with loaded modules etc is ok
    Last edited by ceh-photo.de; October 15th, 2010 at 10:14 PM.

  3. #43
    Join Date
    May 2010
    Beans
    107
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Experiences with acer 1825 ?

    Quote Originally Posted by ceh-photo.de View Post
    nice work! I will try it this afternoon. At the moment I am unsure which option I would give a try... In your opinion which one is the most energy saving option? part 3?

    [update]
    Hey I decided to choose the 3. version. Everything works like described.

    Thank you for your work.

    Now I am happily waiting on the next part with the scripts

    [update]
    third version: I have determined huge problems with suspend,shutdown and reboot with this configuration, I think the problem is the module lis3lv02d_i2c. I will try next the first version.

    [update] first version seems to work. suspend with loaded modules etc is ok
    The scripts are not finished and not quite accurate for the moment. So be patient... unless you want them "as is" and want to work on them by yourself.
    Let me know...

  4. #44
    Join Date
    Mar 2010
    Location
    Germany
    Beans
    46
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Experiences with acer 1825 ?

    Quote Originally Posted by arobase40 View Post
    The scripts are not finished and not quite accurate for the moment. So be patient... unless you want them "as is" and want to work on them by yourself.
    Let me know...
    Hey,
    I am interested in the unstable/version, but I dont know if I have enough time to work on them. But I will try. Maybe we could improve it together.

    I had problems with your version of i2c-gesensor and the loop option. I fixed it(missing \n in printf, dont know why its a problem). All in All 3 minor changes to your version
    PHP Code:
    /*
        HTC Shift G-Sensor Reader
        Reads data from i2c interface, chip STMicroelectronics LIS3LV02DL

        Copyright (C) 2008       Esteve Espuna <esteve@eslack.org>
                                 Pau Oliva <pof@eslack.org>

        Based on i2cget.c:
        Copyright (C) 2005       Jean Delvare <khali@linux-fr.org>

        Based on i2cset.c, i2cbusses.c:
        Copyright (C) 2001-2003  Frodo Looijaard <frodol@dds.nl>, and
                                 Mark D. Studebaker <mdsxyz123@yahoo.com>
        Copyright (C) 2004-2005  Jean Delvare <khali@linux-fr.org>
        
        Modified by Arobase Chac (arobase40) and Imarune for the Acer 1825PT(Z).
        May work with some Dell machine, Samsung NB30, Acer 1410, 1810TZ, 1810T and some Packard Bell clone of the Acer tablet pc laptops...

        This program is free software; you can redistribute it and/or modify
        it under the terms of the GNU General Public License as published by
        the Free Software Foundation; either version 2 of the License, or
        (at your option) any later version.

        This program is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU General Public License for more details.

        You should have received a copy of the GNU General Public License
        along with this program; if not, write to the Free Software
        Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
        MA 02110-1301 USA.
    */

    #include <sys/types.h>
    #include <sys/stat.h>
    #include <string.h>
    #include <stdlib.h>
    #include <unistd.h>
    #include <errno.h>
    #include <stdio.h>
    #include <fcntl.h>
    #include "i2c-dev.h"

    #define WHO_AM_I    0x3b

    int open_i2c_dev(const int i2cbuschar *filename, const int quiet)
    {
        
    int file;

        
    sprintf(filename"/dev/i2c/%d"i2cbus);
        
    file open(filenameO_RDWR);

        if (
    file && errno == ENOENT) {
            
    sprintf(filename"/dev/i2c-%d"i2cbus);
            
    file open(filenameO_RDWR);
        }

        if (
    file && !quiet) {
            if (
    errno == ENOENT) {
                
    fprintf(stderr"Error: Could not open file "
                        "`/dev/i2c-%d' or `/dev/i2c/%d': %s\n"
    ,
                        
    i2cbusi2cbusstrerror(ENOENT));
            } else {
                
    fprintf(stderr"Error: Could not open file "
                        "`%s': %s\n"
    filenamestrerror(errno));
                if (
    errno == EACCES)
                    
    fprintf(stderr"Run as root?\n");
            }
        }
        
        return 
    file;
    }

    int main(int argcchar *argv[])
    {
        
    int i2cbus 0addressfileloop=0dir=-1;
        
    int xl,xh;
        
    int yl,yh;
        
    int zl,zh;
        
    short x,y,z;
        
    int magic;
        
    char filename[20];

        if ( 
    argc >= ) {
            
    i2cbus atoi(argv[1]);
            if (
    argc == && strcmp(argv[2], "loop") == 0)
                
    loop 1;
        }    
        else {
            
    fprintf(stderr"Usage : %s i2cbus [loop]\n"argv[0]);
            exit (
    1);
        }


        
    address 0x1d;
        
    file open_i2c_dev(i2cbusfilename 0);

        
    ioctl(fileI2C_SLAVEaddress);
        
    i2c_smbus_write_byte_data(file0x200x47);
        
    i2c_smbus_write_byte_data(file0x210x63);

        
    magic i2c_smbus_read_byte_data(file0xf);
        if (
    magic != WHO_AM_I ) {
            
    printf("Accelerometer not found\n");
            exit(-
    1);
            }
        while (
    1)
            {
            
    sleep(1);
            
    xh i2c_smbus_read_byte_data(file0x28);
            
    xl i2c_smbus_read_byte_data(file0x29);
            
    = (xh<<8) | ( xl );
            
    yh i2c_smbus_read_byte_data(file0x2a);
            
    yl i2c_smbus_read_byte_data(file0x2b);
            
    = (yh<<8) | ( yl );
            
    zh i2c_smbus_read_byte_data(file0x2c);
            
    zl i2c_smbus_read_byte_data(file0x2d);
            
    = (zh<<8) | ( zl );
            
    printf("x = %d y = %d z = %d\n"xyz);
            if ( 
    128 ) {
                
    /* printf("Normal orientation\n"); */
                
    dir=0;
                }
            else
                {
                if ( 
    128 ) {
                    
    /* printf("Left orientation\n"); */
                    
    dir=1;
                    }
                else
                    {
                    if (  
    128 ) {
                        
    /* printf("Right orientation\n"); */
                        
    dir=2;
                        }
                    else {
                        
    /* printf("Inverted orientation\n"); */
                        
    dir=3;
                        }
                    }
                }
            if ( !
    loop )
                break;
            }
        
    close(file);

        exit(
    dir);

    Last edited by ceh-photo.de; October 16th, 2010 at 11:37 AM.

  5. #45
    Join Date
    May 2010
    Beans
    107
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Experiences with acer 1825 ?

    Quote Originally Posted by ceh-photo.de View Post
    nice work! I will try it this afternoon. At the moment I am unsure which option I would give a try... In your opinion which one is the most energy saving option? part 3?

    [update]
    Hey I decided to choose the 3. version. Everything works like described.

    Thank you for your work.

    Now I am happily waiting on the next part with the scripts

    [update]
    third version: I have determined huge problems with suspend,shutdown and reboot with this configuration, I think the problem is the module lis3lv02d_i2c. I will try next the first version.

    [update] first version seems to work. suspend with loaded modules etc is ok
    I think the problems you encountered with suspend,shutdown and reboot, as well as the printf are due to your Ubuntu 10.10 configuration.
    I don't have theses problems with Ubuntu 10.04. But maybe it is because I also use a 2.6.36rcx kernel...

    Each version of the g-sensor driver has pros and cons :

    i2c-gsensor is really energy saving regarding the battery as there is no disk access and all is working "in-memory". But it is not quite accurate for the moment...

    The lis3lv02d_i2c patch need a complete recompilation of the kernel but you it is a good solution if you want to use the latest version of the kernel and/or lis3lv02d/lis3lv02d_i2c modules with the most recent modifications.

    With the scripts, you will better understand the pros and cons of each solution...

  6. #46
    Join Date
    May 2010
    Beans
    107
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Experiences with acer 1825 ?

    G-SENSOR / ACCELEROMETER for the Acer 1825PT(Z) : Part II

    The script below is to be use with the i2c-gsensor driver. It has no daemonize functions and is simply a skeleton. As already mentioned, this driver is not quite accurate. You may have to modify the sleep value...
    Read carefully the script if you wan to use some functions and remove some others...
    Both the script and the driver have to be in the same directory.
    Code:
    #!/bin/bash
    
    # Uncomment theses two lines below if theses 2 modules are not loaded through your /etc/modules
    # /sbin/modprobe i2c_i801
    # /sbin/modprobe i2c_dev
    
    i2cbus=0
    i2cbus_ok=0
    new_orientation=""
    old_orientation=""
    dir=0
    
    [ "$id" ] || id="`xinput list | grep 'Cando      11.6' | sed -n -e's/.*id=\([0-9]\+\).*/\1/p'`"
    [ "$id" ] || id="`xinput list | grep 'touchscreen' | sed -n -e's/.*id=\([0-9]\+\).*/\1/p'`"
    [ "$id" ] || exit 0
    
    oskb_bin=/usr/bin/onboard 
    [ "$oskb_bin" ] || oskb_bin="`type -p cellwriter`"
    [ "$oskb_bin" ] || oskb_bin="`type -p onboard`"
    [ "$oskb_bin" ] || oskb_bin="`type -p xvkbd`"
    [ "$oskb_bin" ] || exit 0
    
    killbyname () 
    {
      local killpid="$( ps xuw | grep ^$USER | grep $1 | awk '{print "kill -TERM "$2";"}' )"
      if [ "$killpid" ]; then
        eval $killpid
      fi
    }
    
    # To be able to use systool utility, install sysfsutils with your packages manager
    get_i2cbus()
    {    
        i2cbus_ok=0
    
        while [ ${i2cbus_ok} -eq 0 ] && [ ${i2cbus} -le 16 ]
        do
    # uncomment this line below if you want to use this fonctionnality
    #         systool -b i2c -A name i2c-${i2cbus} | grep -q SMBus 
            if [ $? = 0 ]
            then
                i2cbus_ok=1
                echo "i2cbus = ${i2cbus}"
            else
                ((i2cbus=i2cbus+1))
            fi
        done
    }
    
    turn ()
    {
    caliby="180 10772"
    calibx="65 18854"
    #caliby="274 10772"
    #calibx="273 18854"
    
    xrandr -o $1
    
    case $new_orientation in
        normal)
        xinput set-prop "$id" "Evdev Axis Inversion" 0, 0
            xinput set-prop "$id" "Evdev Axes Swap" 0
            xinput set-prop "$id" "Evdev Axis Calibration" $calibx $caliby
        ;;
    
        left)
        xinput set-prop "$id" "Evdev Axis Inversion" 1, 0
            xinput set-prop "$id" "Evdev Axes Swap" 1
            xinput set-prop "$id" "Evdev Axis Calibration" $caliby $calibx
    #    "$oskb_bin" -x 0 -y 1100 -s 768x266 &
        ;;
    
        right)
        xinput set-prop "$id" "Evdev Axis Inversion" 0, 1
            xinput set-prop "$id" "Evdev Axes Swap" 1
            xinput set-prop "$id" "Evdev Axis Calibration" $caliby $calibx
    #    "$oskb_bin" -x 0 -y 1100 -s 768x266 &
        ;;
    
        inverted)
        xinput set-prop "$id" "Evdev Axis Inversion" 1, 1
            xinput set-prop "$id" "Evdev Axes Swap" 0
            xinput set-prop "$id" "Evdev Axis Calibration" $calibx $caliby
    #    "$oskb_bin" -x 0 -y 500 -s 1366x268 &
        ;;
        esac
    }
    
    # uncomment this line below if you can't find the correct i2cbus value
    # get_i2cbus
    
    old_orientation="$(xrandr --query --verbose | grep LVDS1 | awk '{print $5}')"
    
    while :
     do
    
    ./i2c-gsensor ${i2cbus}
    dir=$?
    
        case $dir in
          0) new_orientation="normal" ;;
          1) new_orientation="left" ;;
          2) new_orientation="right" ;;
          3) new_orientation="inverted" ;;
        esac
    
    if [ "$new_orientation" != "$old_orientation" ]; then
        killbyname $oskb_bin
        turn
    fi
        old_orientation=$new_orientation
    #    old_orientation="$(xrandr --query --verbose | grep LVDS1 | awk '{print $5}')"
    
    done
    Next part will be the script to be used with lis3lv02d/lis3lv02d_i2c driver...
    Last edited by arobase40; October 17th, 2010 at 05:00 AM.

  7. #47
    Join Date
    Nov 2009
    Beans
    15

    Re: Experiences with acer 1825 ?

    I've installed Ubuntu 10.10 Desktop in my Acer 1825PTZ... and:

    - Is it normal that the touch screen don't follow my finger? I mean that cursor is centered and i can move it with my finger touching screen but the cursor don't goes where my finger goes, it goes to the direction I move my finger but with some inches 'in advance' ... in order to get the corner i just have to move two or three inches and the cursor gets at top of the corner ¿?

    - When I boot ubuntu 10.10 i cannot use the left click touchpad button, it doesn't make anything... but right click works aswell. I've to 'sleep' the notebook, with FN + F4 and then when i wake up it, the left click button of the touchpad begins to work ¿?¿?

    Thnx! Cheers!

  8. #48
    Join Date
    Mar 2010
    Location
    Germany
    Beans
    46
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Experiences with acer 1825 ?

    Quote Originally Posted by xvilar View Post
    I've installed Ubuntu 10.10 Desktop in my Acer 1825PTZ... and:

    - Is it normal that the touch screen don't follow my finger? I mean that cursor is centered and i can move it with my finger touching screen but the cursor don't goes where my finger goes, it goes to the direction I move my finger but with some inches 'in advance' ... in order to get the corner i just have to move two or three inches and the cursor gets at top of the corner ¿?

    - When I boot ubuntu 10.10 i cannot use the left click touchpad button, it doesn't make anything... but right click works aswell. I've to 'sleep' the notebook, with FN + F4 and then when i wake up it, the left click button of the touchpad begins to work ¿?¿?

    Thnx! Cheers!
    1. yes this is normal, because 10.10 detects the touchscreen as touchpad... you need to patch the driver or use a newer one.
    I have tried to sum up the necessary steps for enabling the touchpad on Ubuntu 10.10 on my blog: http://www.ceh-photo.de/blog/?p=175

    2. After doing the above howto I still have the same problem, but to enable the left button you need to press the touchscreen one time after boot up. After touching the touchpad works well. If you are interested in the multitouch features of the touchpad check my sum up on my blog:http://www.ceh-photo.de/blog/?p=196

    At the moment I check the gyrosensor implementations from arobase40 and will post another sumup, if everything works well.

  9. #49
    Join Date
    Nov 2009
    Beans
    15

    Re: Experiences with acer 1825 ?

    Quote Originally Posted by ceh-photo.de View Post
    1. yes this is normal, because 10.10 detects the touchscreen as touchpad... you need to patch the driver or use a newer one.
    I have tried to sum up the necessary steps for enabling the touchpad on Ubuntu 10.10 on my blog: http://www.ceh-photo.de/blog/?p=175

    2. After doing the above howto I still have the same problem, but to enable the left button you need to press the touchscreen one time after boot up. After touching the touchpad works well. If you are interested in the multitouch features of the touchpad check my sum up on my blog:http://www.ceh-photo.de/blog/?p=196

    At the moment I check the gyrosensor implementations from arobase40 and will post another sumup, if everything works well.

    Thanks a lot my friend! I'll try it! Some problems wiht autogen, i needed to apt-get install autoconf and apt-get install libtool

    Now i got at autogen command:

    Code:
    configure.ac:25: warning: AC_INIT: not a literal: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    autoreconf2.50: running: /usr/bin/autoconf
    configure.ac:25: warning: AC_INIT: not a literal: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    autoreconf2.50: running: /usr/bin/autoheader
    configure.ac:25: warning: AC_INIT: not a literal: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    autoreconf2.50: running: automake --add-missing --copy --no-force
    configure.ac:25: warning: AC_INIT: not a literal: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    
    ...
    
    configure: error: Package requirements (xorg-server xproto inputproto) were not met:
    No package 'xorg-server' found
    No package 'xproto' found
    No package 'inputproto' found
    
    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.
    
    Alternatively, you may set the environment variables XORG_CFLAGS
    and XORG_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.
    And make tells me No makefile ... ¿? So please, help me, thnx!
    Last edited by xvilar; October 19th, 2010 at 11:04 AM.

  10. #50
    Join Date
    Mar 2010
    Location
    Germany
    Beans
    46
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Experiences with acer 1825 ?

    Ok it seems there is missing some install. I need to check this at home. I will post in the afternoon/evening (now for me its noon).

Page 5 of 21 FirstFirst ... 3456715 ... LastLast

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
  •