+ Reply to Thread
Results 81 to 90 of 525
Thread: Asus Eee Note, a peek within....
-
02-02-2011, 01:03 PM #81Pen Pal - Newbie
- Join Date
- Jan 2011
- Posts
- 6
- Rep Power
- 0
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.
-
02-02-2011, 01:26 PM #82
Re: Asus Eee Note, a peek within....
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
-
02-02-2011, 01:31 PM #83Pen Pal - Newbie
- Join Date
- Jan 2011
- Posts
- 6
- Rep Power
- 0
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)
-
02-02-2011, 01:32 PM #84
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
-
02-02-2011, 05:10 PM #85
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
-
02-02-2011, 06:22 PM #86Scribbler - Standard Member
- Join Date
- Jan 2011
- Posts
- 42
- Rep Power
- 3
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 appletLast edited by Joshua.Lamorie; 02-02-2011 at 06:30 PM.
-
02-02-2011, 07:10 PM #87Pen Pal - Newbie
- Join Date
- Jan 2011
- Posts
- 24
- Rep Power
- 3
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 commandLast edited by wahaha432; 02-02-2011 at 07:22 PM. Reason: add link to tty command usage
-
02-02-2011, 11:21 PM #88Scribbler - Standard Member
- Join Date
- Jan 2011
- Posts
- 42
- Rep Power
- 3
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.
Here are some details regarding the notedata database.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
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> .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 );
And then if I look for where that first file is...Code:sqlite> select Path from page; page_201101161625410.gif page_201101170858221.gif page_201101170922182.gif ...
Interesting none the less.Code:[jpl@jpl-desktop onboard_sd]$ find . -name page_201101161625410.gif ./sdb6/eTablet/var/enotes/page_201101161625410.gif
Joshua
-
02-02-2011, 11:22 PM #89
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
-
02-02-2011, 11:33 PM #90
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)



LinkBack URL




Reply With Quote





Bookmarks