Re: [Ac100] suspend breakage vs android 2.2 bootloader?

2011-10-02 Thread Pierre-Hugues Husson
2011/10/2 Jani Monoses j...@ubuntu.com:
 Should anyone still use this parameter?
No, it's read from bootloader's atags (confirmed by marc)
 I have lp0_vec untouched in my cmdline and have suspend working after
 downgrading to the 2.1 boot partitions.
Resume vector address depends on bootloader's freewill.

___
Mailing list: https://launchpad.net/~ac100
Post to : ac100@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ac100
More help   : https://help.launchpad.net/ListHelp


[Ac100] suspend breakage vs android 2.2 bootloader?

2011-09-27 Thread Jani Monoses
Following current  discussion in the IRC channel let's see if the two are
related

I know  I upgraded to Android 2.2 before flashing linux and I have non
working suspend now.
I wonder if others who have suspend/resume broken are in the same situation?
This is one of the few things which can be different on two identical
installs (userland+kernel)

Jani
___
Mailing list: https://launchpad.net/~ac100
Post to : ac100@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ac100
More help   : https://help.launchpad.net/ListHelp


Re: [Ac100] suspend breakage vs android 2.2 bootloader?

2011-09-27 Thread Anders Runeson
I have working suspend with 2.1 bootloader.
On Sep 27, 2011 2:05 PM, Jani Monoses jani.mono...@gmail.com wrote:
 Following current discussion in the IRC channel let's see if the two are
 related

 I know I upgraded to Android 2.2 before flashing linux and I have non
 working suspend now.
 I wonder if others who have suspend/resume broken are in the same
situation?
 This is one of the few things which can be different on two identical
 installs (userland+kernel)

 Jani
___
Mailing list: https://launchpad.net/~ac100
Post to : ac100@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ac100
More help   : https://help.launchpad.net/ListHelp


Re: [Ac100] suspend breakage vs android 2.2 bootloader?

2011-09-27 Thread Leon Romanovsky
On Tue, Sep 27, 2011 at 15:04, Jani Monoses jani.mono...@gmail.com wrote:
 Following current  discussion in the IRC channel let's see if the two are
 related
 I know  I upgraded to Android 2.2 before flashing linux and I have non
 working suspend now.
 I wonder if others who have suspend/resume broken are in the same situation?
 This is one of the few things which can be different on two identical
 installs (userland+kernel)
 Jani
I have non-working suspend with Android 2.2

 ___
 Mailing list: https://launchpad.net/~ac100
 Post to     : ac100@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~ac100
 More help   : https://help.launchpad.net/ListHelp





-- 
Leon Romanovsky | Independent Linux Consultant
        www.leon.nu | l...@leon.nu

___
Mailing list: https://launchpad.net/~ac100
Post to : ac100@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ac100
More help   : https://help.launchpad.net/ListHelp


Re: [Ac100] suspend breakage vs android 2.2 bootloader?

2011-09-27 Thread Jani Monoses
I reflashed the Android 2.1 boot partitions and suspend works now!
Mistery solved but a proper kernel fix is needed imo to cover the bits that
may have been set up by 2.1 for free :)

This sequence worked after two trials which left the machine non-bootable. I
used an explicitly separate step for downloading fastboot,
then waited a bit after the last command.

sudo LD_LIBRARY_PATH=. ./nvflash --bl fastboot.bin --go
sudo LD_LIBRARY_PATH=. ./nvflash  --bl ./fastboot.bin --go --rawdevicewrite
0 1536 tac100-part-2.img
sudo LD_LIBRARY_PATH=. ./nvflash  --bl ./fastboot.bin --go --rawdevicewrite
1536 256 tac100-part-3.img
sudo LD_LIBRARY_PATH=. ./nvflash  --bl ./fastboot.bin --go --rawdevicewrite
1792 1024 tac100-part-4.img


Here's a tarball of these 3 partitions as factory defaults for the 10z model
- should be same for all but who knows.

http://startx.ro/~jani/bootparts_ac100_z.tgz

Jani



On Tue, Sep 27, 2011 at 3:16 PM, Leon Romanovsky l...@leon.nu wrote:

 On Tue, Sep 27, 2011 at 15:04, Jani Monoses jani.mono...@gmail.com
 wrote:
  Following current  discussion in the IRC channel let's see if the two are
  related
  I know  I upgraded to Android 2.2 before flashing linux and I have non
  working suspend now.
  I wonder if others who have suspend/resume broken are in the same
 situation?
  This is one of the few things which can be different on two identical
  installs (userland+kernel)
  Jani
 I have non-working suspend with Android 2.2

  ___
  Mailing list: https://launchpad.net/~ac100
  Post to : ac100@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~ac100
  More help   : https://help.launchpad.net/ListHelp
 
 



 --
 Leon Romanovsky | Independent Linux Consultant
 www.leon.nu | l...@leon.nu

___
Mailing list: https://launchpad.net/~ac100
Post to : ac100@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ac100
More help   : https://help.launchpad.net/ListHelp


Re: [Ac100] suspend breakage vs android 2.2 bootloader?

2011-09-27 Thread Oliver Grawert
hi,
Am Dienstag, den 27.09.2011, 16:46 +0300 schrieb Leon Romanovsky:

 Just for the record if your user has permissions to work with USB, you
 won't need sudo LD_LIBRARY_PATH=.  prefix.

i highly doubt that permissions make ld find the hight libs anyhow ...
you will in any case need LD_LIBRARY_PATH=.  ;)

also your user needs *raw* device access to the usb device, not just
some top level permission ...

ciao
oli


___
Mailing list: https://launchpad.net/~ac100
Post to : ac100@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ac100
More help   : https://help.launchpad.net/ListHelp


Re: [Ac100] suspend breakage vs android 2.2 bootloader?

2011-09-27 Thread Leon Romanovsky
On Tue, Sep 27, 2011 at 17:06, Oliver Grawert o...@ubuntu.com wrote:
 hi,
 Am Dienstag, den 27.09.2011, 16:46 +0300 schrieb Leon Romanovsky:

 Just for the record if your user has permissions to work with USB, you
 won't need sudo LD_LIBRARY_PATH=.  prefix.

 i highly doubt that permissions make ld find the hight libs anyhow ...
 you will in any case need LD_LIBRARY_PATH=.  ;)
You are totally right, there are two issues, I just combined them together:
1) sudo - can be fixed with permissions
2) LD_LIBRARY_PATH - in general you don't need that at all

 also your user needs *raw* device access to the usb device, not just
 some top level permission ...
Every user who ever connected digital camera via gphoto will have
sufficient permissions.
http://www.gphoto.org/doc/manual/permissions-usb.html


 ciao
        oli


 ___
 Mailing list: https://launchpad.net/~ac100
 Post to     : ac100@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~ac100
 More help   : https://help.launchpad.net/ListHelp




-- 
Leon Romanovsky | Independent Linux Consultant
        www.leon.nu | l...@leon.nu

___
Mailing list: https://launchpad.net/~ac100
Post to : ac100@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ac100
More help   : https://help.launchpad.net/ListHelp


Re: [Ac100] suspend breakage vs android 2.2 bootloader?

2011-09-27 Thread Anders Runeson
Good catch Jani!
On Sep 27, 2011 3:01 PM, Jani Monoses jani.mono...@gmail.com wrote:
 I reflashed the Android 2.1 boot partitions and suspend works now!
 Mistery solved but a proper kernel fix is needed imo to cover the bits
that
 may have been set up by 2.1 for free :)

 This sequence worked after two trials which left the machine non-bootable.
I
 used an explicitly separate step for downloading fastboot,
 then waited a bit after the last command.

 sudo LD_LIBRARY_PATH=. ./nvflash --bl fastboot.bin --go
 sudo LD_LIBRARY_PATH=. ./nvflash --bl ./fastboot.bin --go --rawdevicewrite
 0 1536 tac100-part-2.img
 sudo LD_LIBRARY_PATH=. ./nvflash --bl ./fastboot.bin --go --rawdevicewrite
 1536 256 tac100-part-3.img
 sudo LD_LIBRARY_PATH=. ./nvflash --bl ./fastboot.bin --go --rawdevicewrite
 1792 1024 tac100-part-4.img


 Here's a tarball of these 3 partitions as factory defaults for the 10z
model
 - should be same for all but who knows.

 http://startx.ro/~jani/bootparts_ac100_z.tgz

 Jani



 On Tue, Sep 27, 2011 at 3:16 PM, Leon Romanovsky l...@leon.nu wrote:

 On Tue, Sep 27, 2011 at 15:04, Jani Monoses jani.mono...@gmail.com
 wrote:
  Following current discussion in the IRC channel let's see if the two
are
  related
  I know I upgraded to Android 2.2 before flashing linux and I have non
  working suspend now.
  I wonder if others who have suspend/resume broken are in the same
 situation?
  This is one of the few things which can be different on two identical
  installs (userland+kernel)
  Jani
 I have non-working suspend with Android 2.2

  ___
  Mailing list: https://launchpad.net/~ac100
  Post to : ac100@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~ac100
  More help : https://help.launchpad.net/ListHelp
 
 



 --
 Leon Romanovsky | Independent Linux Consultant
 www.leon.nu | l...@leon.nu

___
Mailing list: https://launchpad.net/~ac100
Post to : ac100@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ac100
More help   : https://help.launchpad.net/ListHelp