Re: UME Daily Images - Root Password??

2007-09-18 Thread Adilson Oliveira
Charles Johnson escreveu:
> Does anyone from Canonical know the default "ume" password ?? 
> 

Charlie, in my installation, done using image-creator, there was no
password IIRC and I even changed it using passwd.
Unfortunately, I can't be sure right now as it's being a few days since
I made an installation from scratch as I'm currently testing and
refining the applications which is proving to be a great idea as I
caught some weird bugs :)
Sorry not be able to help more.

[]s

Adilson.

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Re: UME Daily Images - Root Password??

2007-09-18 Thread Matt Zimmerman
Looking at the code, it appears to be "ume", though I haven't confirmed this
in the daily build.

On Tue, Sep 18, 2007 at 03:44:12PM -0700, Charles Johnson wrote:
> Does anyone from Canonical know the default "ume" password ??
> 
> --Charlie
> 
> On 9/18/07, Rusty Lynch <[EMAIL PROTECTED]> wrote:
> >
> > Looks like a change in the postinst of the ume-config-common package.  I
> > don't have a device to test right now, but it looks like we are setting
> > up an account for a new user called 'ume', and then setting the root to
> > a garbage entry (with the idea that you would log in as ume and sudo to
> > get root access.)
> >
> > And no... i do not know the default password for ume, but you can see
> > the encrypted passwd in the postinst script.
> >
> > --rusty
> >
> > On Tue, 2007-09-18 at 11:43 -0700, Johnson, Charles F wrote:
> > > So noone else has this issue ??  I'm surprised that there was no reply.
> > > Previous builds did not prompt me for a password to enter maintenance
> > > mode.
> > >
> > >
> > > Charles Johnson
> > > Ultra-Mobility Group
> > > Platform Software Engineering
> > > Intel Corporation
> > > [EMAIL PROTECTED]
> > >
> > >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On Behalf Of Johnson,
> > > Charles F
> > > Sent: Monday, September 17, 2007 4:24 PM
> > > To: ubuntu-mobile@lists.ubuntu.com
> > > Subject: UME Daily Images - Root Password??
> > >
> > > The daily builds of the menlow_full image is now insisting on a root
> > > password to boot into single user mode.  (To install the flash plugin.)
> > > Anyone know what password it is looking for ??
> > >
> > > Charles Johnson
> > > Ultra-Mobility Group
> > > Platform Software Engineering
> > > Intel Corporation
> > > [EMAIL PROTECTED]
> > >
> > > --
> > > Ubuntu-mobile mailing list
> > > Ubuntu-mobile@lists.ubuntu.com
> > > Modify settings or unsubscribe at:
> > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
> > >
> >
> > --
> > Ubuntu-mobile mailing list
> > Ubuntu-mobile@lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
> >
> 
> 
> 
> -- 
> Charles Johnson
> Intel Corporation, Inc.
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]

> -- 
> Ubuntu-mobile mailing list
> Ubuntu-mobile@lists.ubuntu.com
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


-- 
 - mdz

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Re: UME Daily Images - Root Password??

2007-09-18 Thread Charles Johnson
Does anyone from Canonical know the default "ume" password ??

--Charlie

On 9/18/07, Rusty Lynch <[EMAIL PROTECTED]> wrote:
>
> Looks like a change in the postinst of the ume-config-common package.  I
> don't have a device to test right now, but it looks like we are setting
> up an account for a new user called 'ume', and then setting the root to
> a garbage entry (with the idea that you would log in as ume and sudo to
> get root access.)
>
> And no... i do not know the default password for ume, but you can see
> the encrypted passwd in the postinst script.
>
> --rusty
>
> On Tue, 2007-09-18 at 11:43 -0700, Johnson, Charles F wrote:
> > So noone else has this issue ??  I'm surprised that there was no reply.
> > Previous builds did not prompt me for a password to enter maintenance
> > mode.
> >
> >
> > Charles Johnson
> > Ultra-Mobility Group
> > Platform Software Engineering
> > Intel Corporation
> > [EMAIL PROTECTED]
> >
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Johnson,
> > Charles F
> > Sent: Monday, September 17, 2007 4:24 PM
> > To: ubuntu-mobile@lists.ubuntu.com
> > Subject: UME Daily Images - Root Password??
> >
> > The daily builds of the menlow_full image is now insisting on a root
> > password to boot into single user mode.  (To install the flash plugin.)
> > Anyone know what password it is looking for ??
> >
> > Charles Johnson
> > Ultra-Mobility Group
> > Platform Software Engineering
> > Intel Corporation
> > [EMAIL PROTECTED]
> >
> > --
> > Ubuntu-mobile mailing list
> > Ubuntu-mobile@lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
> >
>
> --
> Ubuntu-mobile mailing list
> Ubuntu-mobile@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
>



-- 
Charles Johnson
Intel Corporation, Inc.
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


20070917 & 20070918 menlow_full checksums identical

2007-09-18 Thread Johnson, Charles F
Do we have a provlem with the daily build again ??  The 20070917 &
20070918 menlow_full image checksums are identical.

Charles Johnson
Ultra-Mobility Group
Platform Software Engineering
Intel Corporation
[EMAIL PROTECTED]

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Re: UME Daily Images - Root Password??

2007-09-18 Thread Charles Johnson
Hitting enter just keeps prompting me for a password.  (This is a
menlow_full build on a Crown Beach)

It's tough to get a flash plugin installed this way.

On 9/18/07, Bryce Harrington <[EMAIL PROTECTED]> wrote:
>
> I didn't know the password either, but just hit  and it let me
> in (this was with a build from yesterday).
>
> Bryce
>
> On Tue, Sep 18, 2007 at 11:43:20AM -0700, Johnson, Charles F wrote:
> > So noone else has this issue ??  I'm surprised that there was no reply.
> > Previous builds did not prompt me for a password to enter maintenance
> > mode.
> >
> >
> > Charles Johnson
> > Ultra-Mobility Group
> > Platform Software Engineering
> > Intel Corporation
> > [EMAIL PROTECTED]
> >
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Johnson,
> > Charles F
> > Sent: Monday, September 17, 2007 4:24 PM
> > To: ubuntu-mobile@lists.ubuntu.com
> > Subject: UME Daily Images - Root Password??
> >
> > The daily builds of the menlow_full image is now insisting on a root
> > password to boot into single user mode.  (To install the flash plugin.)
> > Anyone know what password it is looking for ??
> >
> > Charles Johnson
> > Ultra-Mobility Group
> > Platform Software Engineering
> > Intel Corporation
> > [EMAIL PROTECTED]
> >
> > --
> > Ubuntu-mobile mailing list
> > Ubuntu-mobile@lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
> >
> > --
> > Ubuntu-mobile mailing list
> > Ubuntu-mobile@lists.ubuntu.com
> > Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
>
> --
> Ubuntu-mobile mailing list
> Ubuntu-mobile@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
>



-- 
Charles Johnson
Intel Corporation, Inc.
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


RE: UME Daily Images - Root Password??

2007-09-18 Thread Rusty Lynch
Looks like a change in the postinst of the ume-config-common package.  I
don't have a device to test right now, but it looks like we are setting
up an account for a new user called 'ume', and then setting the root to
a garbage entry (with the idea that you would log in as ume and sudo to
get root access.)

And no... i do not know the default password for ume, but you can see
the encrypted passwd in the postinst script.  

--rusty

On Tue, 2007-09-18 at 11:43 -0700, Johnson, Charles F wrote:
> So noone else has this issue ??  I'm surprised that there was no reply.
> Previous builds did not prompt me for a password to enter maintenance
> mode. 
> 
> 
> Charles Johnson
> Ultra-Mobility Group
> Platform Software Engineering
> Intel Corporation
> [EMAIL PROTECTED]
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Johnson,
> Charles F
> Sent: Monday, September 17, 2007 4:24 PM
> To: ubuntu-mobile@lists.ubuntu.com
> Subject: UME Daily Images - Root Password??
> 
> The daily builds of the menlow_full image is now insisting on a root
> password to boot into single user mode.  (To install the flash plugin.)
> Anyone know what password it is looking for ??
> 
> Charles Johnson
> Ultra-Mobility Group
> Platform Software Engineering
> Intel Corporation
> [EMAIL PROTECTED]
> 
> -- 
> Ubuntu-mobile mailing list
> Ubuntu-mobile@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
> 

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Re: UME Daily Images - Root Password??

2007-09-18 Thread Bryce Harrington
I didn't know the password either, but just hit  and it let me
in (this was with a build from yesterday).

Bryce

On Tue, Sep 18, 2007 at 11:43:20AM -0700, Johnson, Charles F wrote:
> So noone else has this issue ??  I'm surprised that there was no reply.
> Previous builds did not prompt me for a password to enter maintenance
> mode. 
> 
> 
> Charles Johnson
> Ultra-Mobility Group
> Platform Software Engineering
> Intel Corporation
> [EMAIL PROTECTED]
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Johnson,
> Charles F
> Sent: Monday, September 17, 2007 4:24 PM
> To: ubuntu-mobile@lists.ubuntu.com
> Subject: UME Daily Images - Root Password??
> 
> The daily builds of the menlow_full image is now insisting on a root
> password to boot into single user mode.  (To install the flash plugin.)
> Anyone know what password it is looking for ??
> 
> Charles Johnson
> Ultra-Mobility Group
> Platform Software Engineering
> Intel Corporation
> [EMAIL PROTECTED]
> 
> -- 
> Ubuntu-mobile mailing list
> Ubuntu-mobile@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
> 
> -- 
> Ubuntu-mobile mailing list
> Ubuntu-mobile@lists.ubuntu.com
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


RE: UME Daily Images - Root Password??

2007-09-18 Thread Johnson, Charles F
So noone else has this issue ??  I'm surprised that there was no reply.
Previous builds did not prompt me for a password to enter maintenance
mode. 


Charles Johnson
Ultra-Mobility Group
Platform Software Engineering
Intel Corporation
[EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johnson,
Charles F
Sent: Monday, September 17, 2007 4:24 PM
To: ubuntu-mobile@lists.ubuntu.com
Subject: UME Daily Images - Root Password??

The daily builds of the menlow_full image is now insisting on a root
password to boot into single user mode.  (To install the flash plugin.)
Anyone know what password it is looking for ??

Charles Johnson
Ultra-Mobility Group
Platform Software Engineering
Intel Corporation
[EMAIL PROTECTED]

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Re: Run-time keyboard issue encountered while porting maemo VNC viewer to MIDs

2007-09-18 Thread Adilson Oliveira
Levinson, Aaron N escreveu:

> 
> Any ideas of what could be the cause?  My experience with X servers is
> pretty limited, and I'm not sure where to look next.
> 

Hi.

I'm pretty sure that I saw this bug before but it was about 2 years ago
I guess.
Sorry not be able to help you further but at least I can confirm that
this happened before :)
In a related matter: if you are working on any application like this,
please, do not forget to announce and, even better, make a note here:
https://wiki.ubuntu.com/MobileAndEmbedded/UserApplications so we don't
duplicate our efforts already so thin.

[]s

Adilson.

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Run-time keyboard issue encountered while porting maemo VNC viewer to MIDs

2007-09-18 Thread Levinson, Aaron N
I've been working on porting the maemo VNC viewer application (at
https://garage.maemo.org/projects/vncviewer/ ) for use on MIDs, and I've
run up against a run-time issue with the keyboard auto-repeat capability
in the X server, and I was hoping that someone on this list might be
able to further diagnose the cause of the problem.

One of the features of the VNC viewer is to scroll the main window by
holding down the hardware direction keys, a feature that also exists in
the Opera port for the Nokia Internet tablets.  For example, by holding
down the Down button, instead of sending successive down key presses to
the VNC server, it scrolls down the local VNC viewer window, thereby
scrolling the display.  This feature utilizes the following behavior:
when a hardware key is held down, the GTK Widget is signaled with repeat
key press signals until the hardware key is released, at which point the
GTK widget is signaled with a single key release signal.  The signals at
the GTK Widget layer come from the GDK layer, which has setup an X event
handler.  When the X event handler gets the KeyPress or KeyRelease
events, it translates these into the GDK_KEY_PRESS or GDK_KEY_RELEASE
GDK events, respectively, and these are later translated into the
appropriate signals by the GTKWidget class.

Unfortunately, instead of getting repeated KeyPress X events and a final
KeyRelease event, I am seeing KeyPress/KeyRelease event pairs when a
hardware key is held down.  I investigated this problem further, and it
appears to be caused by the X server, which I think is demonstrated by
an examination of the relevant GDK code.

The KeyRelease X event handler is implemented in gdkevents-xll.c as
follows:

case KeyRelease:
  if (window_private == NULL)
{
  return_val = FALSE;
  break;
}

  /* Emulate detectable auto-repeat by checking to see
   * if the next event is a key press with the same
   * keycode and timestamp, and if so, ignoring the event.
   */

  if (!display_x11->have_xkb_autorepeat && XPending
(xevent->xkey.display))
{
  XEvent next_event;

  XPeekEvent (xevent->xkey.display, &next_event);

  if (next_event.type == KeyPress &&
  next_event.xkey.keycode == xevent->xkey.keycode &&
  next_event.xkey.time == xevent->xkey.time)
{
  return_val = FALSE;
  break;
}
}

  translate_key_event (display, event, xevent);
  break;

I debugged through the code (by building GTK with debugging), and it
turns out that display_x11->have_xkb_autorepeat is 1, so it never gets
into the if statement block.  display_x11->have_xkb_autorepeat is set in
gdkdisplay_x11.c, as follows:

XkbSetDetectableAutoRepeat (display_x11->xdisplay,
True,
 
&detectable_autorepeat_supported);

GDK_NOTE (MISC, g_message ("Detectable autorepeat %s.",
   detectable_autorepeat_supported ?
   "supported" : "not supported"));

display_x11->have_xkb_autorepeat =
detectable_autorepeat_supported;

The interesting part here is the XkbSetDetectableAutoRepeat function.
The man page for XkbSetDetectableAutoRepeat states the following:

"Auto-repeat is the generation of multiple key events by a keyboard when
the user presses a key and holds it down. Keyboard hardware and
device-dependent X server software often implement auto-repeat by
generating multiple KeyPress events with no intervening KeyRelease
event. The standard behavior of the X server is to generate a KeyRelease
event for every KeyPress event. If the keyboard hardware and
device-dependent software of the X server implement auto-repeat by
generating multiple KeyPress events, the device-independent part of the
X server by default synthetically generates a KeyRelease event after
each KeyPress event. This provides predictable behavior for X clients,
but does not allow those clients to detect the fact that a key is
auto-repeating.

Xkb allows clients to request detectable auto-repeat. If a client
requests and the server supports DetectableAutorepeat, Xkb generates
KeyRelease events only when the key is physically released. If
DetectableAutorepeat is not supported or has not been requested, the
server synthesizes a KeyRelease event for each repeating KeyPress event
it generates."

So, by turning detectable auto-repeat on (which is what is happening
here), I should see the behavior that I expected, multiple KeyPress
events and a single KeyRelease event when the hardware key is released.
Plus, now the code in gdkevents-x11.c makes sense--if detectable
auto-repeat is not supported by the X server, then GDK emulates the
behavior.  However, in this case, the X server is specifically
advertising that it supports detectable auto-repeat, but it isn't
working.  Also, just for testing, I turned detectable auto-repe