Active Topics

 


Reply
Thread Tools
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#341
Originally Posted by mcow View Post
Can you check whether both OpenSSH and Dropbear are installed before enabling long-tap on the SSH widget?
Why?

When I make a connection to OpenSSH, it goes from a blank display to "2 clients" If I open a second terminal window to it, it increments from 2 to 4.
Why does each external connection count for 2 rather than 1?
Establishing an ssh connection to your n8x0 and then greping for "sshd" should give you something like this:

Code:
2119 root       3484 SW< /usr/sbin/sshd
3190 root       6044 SW< sshd: root@pts/0
The first line is the OpenSSH server, the second line is a client and multiple connections to your n8x0 will result in multiple client processes. Is your server creating multiple processes per client?
 
Posts: 22 | Thanked: 4 times | Joined on Mar 2008 @ Telford, UK
#342
Just installed this, excellent piece of kit. Both advanced power and backlight are no more!

This and Diablo Turbo in one weekend has made me and my N810 very happy.
 
Posts: 86 | Thanked: 8 times | Joined on May 2010
#343
Originally Posted by auouymous View Post
> Can you check whether both OpenSSH and Dropbear are
> installed before enabling long-tap on the SSH widget?

Why?
Because with only one, the long-tap is a no-op, but there is still the marker on the button indicating it will do something on a long tap.
 
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#344
New test binaries for ASUI (asui dt) and asui-settings (asui ds).
  • fix: config button was in the wrong location when in portrait mode
  • fix: config button will only launch one instance of asui-settings
  • no longer allows brightness and volume step to be set to zero
  • widgets and dialogs will no longer be repainted by dbus changes if the screen is off
  • removed the charging runlevel button on secondary widget page
  • renamed "config" button to "settings"
  • asui-settings app supports most settings

EDIT: the settings button in ASUI will always launch the test binary for asui-settings if available, you just need to download it with 'asui ds'.

Last edited by auouymous; 2011-02-15 at 12:06.
 

The Following 2 Users Say Thank You to auouymous For This Useful Post:
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#345
May want to check the 127 brightness stuff, as it seems the 1 setting is actually a 25 setting or something.

btw, do you lock out the button repeat on the dpad? if so, check to see if it is reenabled when asui is closed as i find myself unable to hold a dpad direction to scroll lists after using dpad to adjust brightness or volume (tho it works again after a device reboot). Err, some more testing seems to indicate that asui has nothing to do with my dpad issue.
__________________
Be warned, posts are often line of thoughts at highway speeds...

Last edited by tso; 2011-02-15 at 13:14.
 
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#346
Originally Posted by tso View Post
May want to check the 127 brightness stuff, as it seems the 1 setting is actually a 25 setting or something.
Does ASUI's brightness slider say 25 is max? When checked ASUI should have 127 and when unchecked it should have 5 that scale between the first 64 brightness levels. Although some of those 5 levels are the same brightness on my device.

After unchecking this I did discover that ASUI didn't turn off enhanced brightness and just made the brightness scroller act weird. Its always the one setting you forget to check that doesn't work. Will fix it soon.
 
Posts: 5 | Thanked: 0 times | Joined on Jan 2009 @ New Zealand
#347
LOVE this application, thank you!

Eliminated display/volume applet for me. But not quite advanced power. Any chance of implementing USB OTG/host options, and perhaps swap?


Keep up the great work!
 
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#348
Originally Posted by pobstil View Post
Any chance of implementing USB OTG/host options, and perhaps swap?
What if a long press on memory toggled between swap and ram, would that work?

I can google it but do you know how to detect host or otg and how to change it?
 
Posts: 5 | Thanked: 0 times | Joined on Jan 2009 @ New Zealand
#349
Long press sounds good!

I got this from the wiki page:

Changes to host:
$sudo gainroot
$echo host> /sys/devices/platform/musb_hdrc/mode

Changes back to OTG:
$echo otg > /sys/devices/platform/musb_hdrc/mode


The same file changes based on the mode, but doesn't display 'otg' or 'host', rather 'a_wait_bcon' and 'b_idle'.. I guess that might be reliable enough to check the state?

$cat /sys/devices/plateform/musb_hdrc/mode
 
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#350
Originally Posted by pobstil View Post
The same file changes based on the mode, but doesn't display 'otg' or 'host', rather 'a_wait_bcon' and 'b_idle'.. I guess that might be reliable enough to check the state?
Looks like it returns one of these when in host mode:
a_idle
a_wait_vrise
a_wait_bcon
a_host
a_suspend
a_peripheral
a_wait_vfall
a_vbus_err

And one of these in OTG mode:
b_idle
b_srp_init
b_peripheral
b_wait_acon
b_host

I think when connected, it will return a_host or b_host depending on mode. Could you test both modes connected to devices and tell me if this is correct? I can use this to display "connected" in the widget.

Do you know what peripheral mode is for? Does adv-power support it?
 
Reply

Tags
bada blows, bada rox


 
Forum Jump


All times are GMT. The time now is 21:40.