Asus Eee Note, a peek within.... - Page 9

+ Reply to Thread
Page 9 of 53 FirstFirst ... 567891011121319 ... LastLast
Results 81 to 90 of 525
  1. #81
    Pen Pal - Newbie
    Join Date
    Jan 2011
    Posts
    6
    Rep Power
    0

    Default Re: Asus Eee Note, a peek within....

    Are you using an external microsd card or the internal one? I believe the dvt_check script goes on an external microsd card that you load in the slot.

  2. #82
    Artist
    Join Date
    Dec 2010
    Location
    Florida
    Posts
    262
    Rep Power
    5

    Default Re: Asus Eee Note, a peek within....

    Quote Originally Posted by jjsimpso View Post
    Are you using an external microsd card or the internal one? I believe the dvt_check script goes on an external microsd card that you load in the slot.
    Oh add another micro sd card in the slot along side with the internal one that is already in the device? so in total 2 micro sd cards but one with the fullinstall.zip info?
    Http://www.mixedcandy.com
    Custom Mascot Design and Creation

    Slates/tablet pc's I own:
    -Samsung Series 7 Slate (Wacom)
    -Boogie board Rip
    -Samsung Galaxy Note 10.1 (Wacom)
    -Ipad 3 with green smart cover
    -Nexus 7 Tablet

  3. #83
    Pen Pal - Newbie
    Join Date
    Jan 2011
    Posts
    6
    Rep Power
    0

    Default Re: Asus Eee Note, a peek within....

    Just to clarify, the dvt_check script doesn't go on the microsd card you pulled from inside your Eee Note. All you have to do is put the script on any blank microsd card you have laying around and load it into the slot on the bottom of the Eee Note.

    It appears that it is a test script that is automatically called from any external microsd card that is in the slot on bootup.

    Am I making sense?

    EDIT: Yes, I think you've got it! (I haven't tried it myself, but that is my understanding)

  4. #84
    Artist
    Join Date
    Dec 2010
    Location
    Florida
    Posts
    262
    Rep Power
    5

    Default Re: Asus Eee Note, a peek within....

    Aha wow ok I feel dumb, I got it to work. Thank you so much for this file
    Http://www.mixedcandy.com
    Custom Mascot Design and Creation

    Slates/tablet pc's I own:
    -Samsung Series 7 Slate (Wacom)
    -Boogie board Rip
    -Samsung Galaxy Note 10.1 (Wacom)
    -Ipad 3 with green smart cover
    -Nexus 7 Tablet

  5. #85
    Pen Pro - Senior Member
    Join Date
    Jan 2011
    Location
    Huntsville, AL
    Posts
    194
    Rep Power
    4

    Default Re: Asus Eee Note, a peek within....

    Hi all,

    We need a way to stop processing the profile script if we are logging in via telnet. Currently, a telnet login attempts to load kernel modules, re-attach the wacom panel and launch the eeeserver.

    Spawning a second eeeserver instance also causes some of the child apps to spawn and causes problems as the QCop messages are recieved by both instances of the eeeserver and whatever child app each eeeserver thinks is in focus.

    Basically, the EeeNote starts freaking out every time you telnet in.

    I assume there must be some way to determine if the profile is being executed from a telnet session and if so, exit the profile script.

    Anyone?

    pb

  6. #86
    Scribbler - Standard Member
    Join Date
    Jan 2011
    Posts
    42
    Rep Power
    4

    Default Re: Asus Eee Note, a peek within....

    In the same dvt_check used to start telnetd, use a sed script to add another user in /etc/passwd. Or, add the -l switch to telnetd to start a different shell. I stupidly left my external microSD at work, and am not able to test some of these things.

    I will try to add some of your scripts to the github project later tonight (EST).

    Joshua

    EDIT: assuming telnetd is actually a busy box applet
    Last edited by Joshua.Lamorie; 02-02-2011 at 06:30 PM.

  7. #87
    Pen Pal - Newbie
    Join Date
    Jan 2011
    Posts
    24
    Rep Power
    4

    Default Re: Asus Eee Note, a peek within....

    I think we can check whether we are on pty (remote login) or tty (console) using the tty command. The problem is, which part of profile can be retained, and which part should be omitted? Some part of profile should still be retained, such as setting up environmental variables, paths, aliases, etc.

    EDIT:
    Links to tty command
    Last edited by wahaha432; 02-02-2011 at 07:22 PM. Reason: add link to tty command usage

  8. #88
    Scribbler - Standard Member
    Join Date
    Jan 2011
    Posts
    42
    Rep Power
    4

    Default Re: Asus Eee Note, a peek within....

    Hey, DaEvil,

    Without any research, the syntax of that remark file looks like JSON. However, as far as storage of note files, I assumed that everything was being stored in sqlite files.

    Code:
    [jpl@jpl-desktop onboard_sd]$ find . -name *.db
    ./sdb6/eTablet/etc/db/notedata.db
    ./sdb6/eTablet/etc/db/ebookdata.db
    ./sdb6/eTablet/etc/db/voicedata.db
    ./sdb6/eTablet/etc/db/stickymemodata.db
    ./sdb6/eTablet/etc/db/photodata.db
    ./sdb6/eTablet/etc/db/phonebookdata.db
    ./sdb6/eTablet/etc/db/tagdata.db
    Here are some details regarding the notedata database.

    Code:
    sqlite> .databases
    seq  name             file                                                      
    ---  ---------------  ----------------------------------------------------------
    0    main             /home/jpl/Documents/Eee Note/onboard_sd/sdb6/eTablet/etc/d
    sqlite> .tables
    book      page      template
    sqlite> .schema book
    CREATE TABLE [book] (
      [ID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, 
      [CreateTime] TEXT NOT NULL, 
      [LastAccTime] TEXT NOT NULL, 
      [Name] NVARCHAR(100) NOT NULL, 
      [TemplateID] INTEGER DEFAULT (1), 
      [Thumbnail] BLOB, 
      [LastOpenPageID] INTEGER, 
      [FirstAlpha] INT, 
      [IsLock] BOOLEAN DEFAULT (0), 
      [IsDelete] BOOLEAN DEFAULT (0), 
      [Type] INTEGER DEFAULT (2));
    sqlite> .schema page
    CREATE TABLE [page] (
      [ID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, 
      [BookID] INTEGER NOT NULL, 
      [CreateTime] TEXT NOT NULL, 
      [LastAccTime] TEXT NOT NULL, 
      [Name] NVARCHAR(100), 
      [PageIndex] INTEGER, 
      [TemplateID] INTEGER, 
      [Path] TEXT, 
      [Thumbnail] BLOB, 
      [DrawArea] TEXT, 
      [IsDelete] BOOLEAN DEFAULT (0), 
      [FirstAlpha] INTEGER);
    sqlite> .schema template
    CREATE TABLE [template] (
    [ID] INTEGER  NOT NULL PRIMARY KEY AUTOINCREMENT,
    [Name] NVARCHAR(200)  NOT NULL,
    [Path] NVARCHAR(200)  NOT NULL
    );
    So, this implies that the image data is not stored in the data base, unless that's what 'DrawArea' is supposed to be. However, I think that it is most likely Path. For example;

    Code:
    sqlite> select Path from page;
    page_201101161625410.gif
    page_201101170858221.gif
    page_201101170922182.gif
    ...
    And then if I look for where that first file is...

    Code:
    [jpl@jpl-desktop onboard_sd]$ find . -name page_201101161625410.gif
    ./sdb6/eTablet/var/enotes/page_201101161625410.gif
    Interesting none the less.

    Joshua

  9. #89
    Pen Pro - Senior Member
    Join Date
    Jan 2011
    Location
    Huntsville, AL
    Posts
    194
    Rep Power
    4

    Default Re: Asus Eee Note, a peek within....

    Ok..

    I can test whether we are in a telnet session by checking that $PPID != 1. The parent ID of the main shell is 1, while the parent ID of a telnet shell is the PID of the telnet daemon.

    To that end I edited the profile, wrapping the commands after the "Done" notification in an if/else condition. If we're in telnet, I set some environment variables and skip over the rest. The main shell executes normally in the else clause.

    I also added a function in dvt_check that prints the fbecho statements in a more logical Y order. That's just a minor detail.

    The FullInstall.zip file has been updated accordingly.

    pb

  10. #90
    Pen Pro - Senior Member
    Join Date
    Jan 2011
    Location
    Huntsville, AL
    Posts
    194
    Rep Power
    4

    Default Re: Asus Eee Note, a peek within....

    Hi Joshua,

    I've had a look at the databases content while looking at creating and importing my own notes.

    The [Thumbnail] column is BLOB data which contains a 212x300 pixel PNG file. The PNG file is a zoomed area of the page which actually contains pixels drawn by the pen. The [DrawArea] column is text data in the format "x1,y1,x2,y2" which are screen coordinates that define the total area that was drawn on by the pen.

    Not so easy to inject custom data.

    pb

 

 

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

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
  •  
All times are GMT -5. The time now is 07:14 PM.
Powered by vBulletin® Version 4.2.2
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO 3.6.1