Page 2 of 21 FirstFirst 123412 ... LastLast
Results 11 to 20 of 202

Thread: Experiences with acer 1825 ?

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

    Re: Experiences with acer 1825 ?

    Some new informations about the accelerometor used by the Acer 1825ptz...

    I found out a few 2 years old codes used by a other model : lis3lv02DL (in HTC Shift) but closed to the one use by the 1825pt(z).

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

    Just download i2c-gsensor file, edit the i2c-gsensor.c file and change the line :

    #define WHO_AM_I 0x3a

    by

    #define WHO_AM_I 0x3b

    Compile and play with it under Terminal !

    As you will notice, this is a 3 axis only accelerometor. That means you won't be able to make difference between Left and Right... ^^

    After a deep search in the linux source code, I finally found the same reference (lis3lv02DL) in driver/hwmon and probably the magic number under lis3lv02d.h . That means that the code and modules are already there, but I don't know how to use them yet... ^^
    I will let you know as soon I have more informations.

    regards

  2. #12
    Join Date
    May 2010
    Beans
    107
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Experiences with acer 1825 ?

    Hi again,

    I forgot to mention you need to load i2c-i801 and i2c-dev modules first before you can use the i2c-gsensor util... ^^

    I'm surprised about nobody's reactions about this...

  3. #13
    Join Date
    May 2008
    Beans
    10

    Re: Experiences with acer 1825 ?

    Hi

    and sorry for not responding, did you manage the sensors to work ?

    I didn't have the time yet to play with the sensors jet.

    And I also have some issues with the Desktop freezing somehow maybe because of some compiz action, not shure jet, but I can always go to the terminal with strg+alt+f1 and do a restart gdm.

  4. #14
    Join Date
    Aug 2010
    Location
    Germany
    Beans
    7

    Re: Experiences with acer 1825 ?

    Hi

    Great Job !!

    Best regards,
    Alex

  5. #15
    Join Date
    Nov 2008
    Location
    Germany
    Beans
    8

    Re: Experiences with acer 1825 now MULTITOUCHED

    i got multitouch working!

    what works: more than one MouseCursor on screen
    what not: marcos identifying mousemoves and firing marcos 4 : rotating window / zoon (in/out) / 3tip= right-click / scroll(up/down)

    how did it works:

    Hardware: Acer 1825PTZ

    OS: Ubuntu 10.04 64 Bit

    -> update&&upgrade
    described here:

    http://www.howtoforge.com/how-to-ins....04-lucid-lynx

    replace kernelversion : 2.6.35-20

    -> get the multitouch drivers:
    http://lii-enac.fr/en/projects/share...-evdev.tar.bz2

    patch:
    ( modify xf86-input-evdev/src/evdev.c:Line:2312 replace
    if (num_buttons || TestBit(BTN_TOOL_FINGER, pEvdev->key_bitmask)) {
    by
    if (TestBit(BTN_TOOL_FINGER, pEvdev->key_bitmask)) {
    )
    $ sudo ./autogen.sh -prefix=/usr
    $ sudo make && sudo make install

    reboot

    now u have:
    a kernel handling the cando 11.6 correct
    latest inteldrivers
    latest X server

    upgrading from single 2 multitouch

    get the multitouch-"i call it deamon"-d

    http://lii-enac.fr/en/projects/share...touchd.tar.bz2

    to compile this this tool u need the following packages

    $ sudo apt-get install libxtst6 libxtst-dev libxcursor1 xcursor-themes

    in the multitouchd dir:

    $ make

    finally:
    $ ./multitouchd

    now u hopefully can see alt least 2 cursors following your fingers at a time

    REF: http://lii-enac.fr/en/projects/shareit/xorg-howto.html
    REF: http://ubuntuforums.org/showpost.php...94&postcount=2
    REF: http://www.howtoforge.com/how-to-ins....04-lucid-lynx
    PS: this is my first how-to-like post

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

    Re: Experiences with acer 1825 ?

    Quote Originally Posted by lrohr View Post
    Hi

    and sorry for not responding, did you manage the sensors to work ?

    I didn't have the time yet to play with the sensors jet.

    And I also have some issues with the Desktop freezing somehow maybe because of some compiz action, not shure jet, but I can always go to the terminal with strg+alt+f1 and do a restart gdm.
    Sorry not, I had no time to work on it for the moment as I work on different projects at the same time :
    1) Still working on the multitouch issue.
    2) I'm also working on a mod of my Wind U115 trying to make it a touch tablet with an accelorometer... ^^
    3) For the sensor of the 1825ptz, I have to contact the authors of the lis3lv02d module to modify their modules to take in account the specification of this sensor.
    4) I have to write a specific script for auto-rotation as the one I have use the Wacom modules...

    Concerning your specific problem with the Desktop freeze, I guess it is due to the rotate manual script with the P-button, isn't it ? Nothing specific about compiz, I think...
    I think I have a solution, but again it is a matter if time : the issue is to write two separate scripts. This will be my first priority !

    regards,

  7. #17
    Join Date
    May 2010
    Beans
    107
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Experiences with acer 1825 now MULTITOUCHED

    Quote Originally Posted by modemlamer View Post
    i got multitouch working!

    what works: more than one MouseCursor on screen
    what not: marcos identifying mousemoves and firing marcos 4 : rotating window / zoon (in/out) / 3tip= right-click / scroll(up/down)

    how did it works:

    Hardware: Acer 1825PTZ

    OS: Ubuntu 10.04 64 Bit

    -> update&&upgrade
    described here:

    http://www.howtoforge.com/how-to-ins....04-lucid-lynx

    replace kernelversion : 2.6.35-20

    -> get the multitouch drivers:
    http://lii-enac.fr/en/projects/share...-evdev.tar.bz2

    patch:


    $ sudo ./autogen.sh -prefix=/usr
    $ sudo make && sudo make install

    reboot

    now u have:
    a kernel handling the cando 11.6 correct
    latest inteldrivers
    latest X server

    upgrading from single 2 multitouch

    get the multitouch-"i call it deamon"-d

    http://lii-enac.fr/en/projects/share...touchd.tar.bz2

    to compile this this tool u need the following packages

    $ sudo apt-get install libxtst6 libxtst-dev libxcursor1 xcursor-themes

    in the multitouchd dir:

    $ make

    finally:
    $ ./multitouchd

    now u hopefully can see alt least 2 cursors following your fingers at a time

    REF: http://lii-enac.fr/en/projects/shareit/xorg-howto.html
    REF: http://ubuntuforums.org/showpost.php...94&postcount=2
    REF: http://www.howtoforge.com/how-to-ins....04-lucid-lynx
    PS: this is my first how-to-like post
    Your workaroud for multitouch, I guess, is some kind of "false positive"... I have experiment it myself more or less the same way, but what you get (2 cursors following the fingers at the same time) is due to a wrong detection of the characteristics. I have contacted Benjamin Tissoire, the author of the http://lii-enac.fr/en/projects/share...-evdev.tar.bz2 multitouch driver who confirm this problem...

    You will have to wait for a further version... ^^ and futur release of utouch...

    Sorry.

  8. #18
    Join Date
    May 2010
    Beans
    107
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Experiences with acer 1825 ?

    Here is a new version of the manual rotation script.

    Rename rotate.sh to rotate and rotate-screen.sh to rotate-screen
    It is written in 2 parts and both files are to be placed in the same dir (part of your env variables).
    Only the rotate script is to be binded to the P-button.

    If someone can propose better optimization...

    I "may" post a first version of an auto-rotate script soon... Hopefully... ^^
    Attached Files Attached Files

  9. #19
    Join Date
    May 2010
    Beans
    107
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Experiences with acer 1825 ?

    Great news !!!

    For the most adventurious geeks, here is an experimental "driver" for auto-rotation of the screen panel for the Acer 1825(PT-PTZ) :

    http://forum.ubuntu-fr.org/viewtopic...50522#p3750522

    This is not really a driver nor a module, but a small program based on the i2c-gsensor program I have previously given a link to and which have been modified by imarune, a french guy. You will also find a script to be loaded at startup time and which call this program every time you turn the computer in any four directions.

    As I mentioned above, this is experimental and it need some modifications as it has been written for the Fedora version of Linux, and for what I have tested, it only works if you turn the computer around, but not if you only turn the panel... ^^

    The program and the script should work with other machines than the Acer 1825 with little modifications as long as it use a 8 bits "lis3llv02d" based accelerometer.

    I will publish the the modified script that suit the Ubuntu system (with the c source code) with english explanations if imarune allow me to do it, unless he does it himself.

    About the "lis3llv02d module, it contains all the code needed to handle the accelerometer of the Acer 1825, but it must be called by another module, hp_accel, which a glue between the system and the module. But the problem is that it is harded coded for HP computers. I'm experimenting a modified version and I'm compiling it at the present time. Hopefully it will work... ^^

  10. #20
    Join Date
    May 2008
    Beans
    10

    Re: Experiences with acer 1825 ?

    Hi arobase40,

    I modified your code a little bit, maybe your interested in it.

    first I changed the lines
    Code:
    xinput set-int-prop "$id" "Evdev Axis Calibration" 32 $calibx $caliby
    to
    Code:
    xinput set-prop --type=int --format=32 "$id" "Evdev Axis Calibration" $caliby $calibx
    because set-int-prop is deprecated.

    I also tried to work with onboard as a on screen keyboard. I used your old skript, the new one looks like you did this to, but may be in a nicer way than I did, not shure yet.

    I frirst do a ps -ef | grep to look if a onboard is running and kill it than. And afterwards I start it new, always in the downer left corner, except when I go back to "normal".

    So the changes looks like this
    Code:
    # search for the process ids (pid) of running on screen keyboard called onboard
    pids="$(ps -ef | grep  onboard | awk '{print $2}')"
    
    #for each pid
    for pid in ${pids[@]}
    do
        kill $pid 
    # kill the onboard process 
    # since the "grep onboard" also gives a pid which is no longer available when kill is called
    # this line produces an error which isn't oft intrest anyway
    done
    
    
    if [ "$dir" == "normal" ]
    then
        xinput set-prop "$id" "Evdev Axis Inversion" 0, 0
            xinput set-prop "$id" "Evdev Axes Swap" 0
            xinput set-prop --type=int --format=32 "$id" "Evdev Axis Calibration" $calibx $caliby
    # I don't want onboard in normal mode if you like uncomment the line below
    #    onboard -x 0 -y 500 -s 1366x268 &
    fi
    
    if [ "$dir" == "left" ]
    then
        xinput set-prop "$id" "Evdev Axis Inversion" 1, 0
            xinput set-prop "$id" "Evdev Axes Swap" 1
        xinput set-prop --type=int --format=32 "$id" "Evdev Axis Calibration" $caliby $calibx
        #produce the onboard keyboard 
        onboard -x 0 -y 1100 -s 768x266 & 
    fi
    
    if [ "$dir" == "right" ]
    then
        xinput set-prop "$id" "Evdev Axis Inversion" 0, 1
            xinput set-prop "$id" "Evdev Axes Swap" 1
            xinput set-prop --type=int --format=32 "$id" "Evdev Axis Calibration" $caliby $calibx
        #produce the onboard keyboard 
        onboard -x 0 -y 1100 -s 768x266 & 
    fi
    
    if [ "$dir" == "inverted" ]
    then
        xinput set-prop "$id" "Evdev Axis Inversion" 1, 1
            xinput set-prop "$id" "Evdev Axes Swap" 0
            xinput set-prop --type=int --format=32 "$id" "Evdev Axis Calibration" $calibx $caliby
        #produce the onboard keyboard 
        onboard -x 0 -y 500 -s 1366x268 & 
    fi
    maybe you like it.

    Now I take a look at your link to use the gsensors.

    Greetings

    lrohr

Page 2 of 21 FirstFirst 123412 ... 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
  •