Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-27-2013, 11:14 PM   #16
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
REF: https://www.mobileread.com/forums/sho...d.php?t=189159

[root@kindle root]# [ -d /tmp/binfmt_misc ] || mkdir /tmp/binfmt_misc
[root@kindle root]# insmod /mnt/us/extensions/midori/usr/modules/binfmt_misc.ko
[root@kindle root]# mount -t binfmt_misc none /tmp/binfmt_misc

REF:
Code:
#!/bin/sh
# enable automatic i386 program execution by the kernel
## We need to have insmodded and mounted by now...

    echo ':i386:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x03\x00:\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/mnt/us/extensions/midori/usr/bin/qemu-i386:' > /tmp/binfmt_misc/register
    echo ':i486:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x06\x00:\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/mnt/us/extensions/midori/usr/bin/qemu-i386:' > /tmp/binfmt_misc/register
    echo ":x86_64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x3e\x00:\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/mnt/us/extensions/midori/usr/bin/qemu-x86_64:" > /tmp/binfmt_misc/register


Does this cover our linux use case? EDIT: Yes, Yes it does

Last edited by twobob; 06-12-2014 at 01:40 PM.
twobob is offline   Reply With Quote
Old 10-28-2013, 01:09 AM   #17
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Code:
[root@kindle root]# echo ':i386:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x03\x00:\xff\xff\xff\xff\x
ff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/mnt/us/extensions/midori/usr/bin/qemu-i386:' > /tmp/binfmt_misc/register
[root@kindle root]# ls /mnt/us/extensions/midori/usr/lib/foreign/
Quote:
ld-linux.so.2 libc.so.6 libproc-3.2.8.so libtinfo.so.5
[root@kindle root]# /mnt/us/extensions/midori/usr/lib/foreign/ld-linux.so.2 --library-path /mnt/us/extensions/midori/usr/lib/foreign/ /mnt/us/extensions/midori/usr/bin/top

result

http://nspluginwrapper.org/ I'm looking at you...

Last edited by twobob; 10-28-2013 at 02:52 AM.
twobob is offline   Reply With Quote
Advert
Old 10-31-2013, 10:55 AM   #18
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Force refresh on Later devices
echo 1> /sys/devices/platform/mxc_epdc_fb/mxc_epdc_update

attempting to get some output about the underlying device possibilities..
[root@kindle root]# echo -1> /sys/devices/platform/mxc_epdc_fb/mxc_epdc_debug
Quote:
[!]131031:145649 Requested waveforms: mode: 0x101 __ BW: 0x0 __ Gray : 0x0
[!]131031:145649 Converted waveforms: mode: 0x101 __ BW: 0x1 __ Gray : 0x2
[!]131031:145649 WAVEFORM_AUTO: PXP returns hist_stat = 0x8 and waveform is 0x2
digging around to add dithering to the module...
https://gitorious.org/efikamx/linux-.../mxc_epdc_fb.c

derping the panning module (it has a 4 times Y size)

[root@kindle root]# echo 0,200> /sys/devices/platform/mxc_epdc_fb/graphics/fb0/pan
[root@kindle root]# echo 1> /sys/devices/platform/mxc_epdc_fb/mxc_epdc_update


and back again
[root@kindle root]# echo 0,0> /sys/devices/platform/mxc_epdc_fb/graphics/fb0/pan
[root@kindle root]# echo 1> /sys/devices/platform/mxc_epdc_fb/mxc_epdc_update


[root@kindle root]# cat /sys/devices/platform/mxc_epdc_fb/driver/module/parameters/waveform_to_use
stored
[root@kindle root]# cat /sys/devices/platform/mxc_epdc_fb/driver/module/parameters/use_builtin_cmap
0
[root@kindle root]# cat /sys/devices/platform/mxc_epdc_fb/driver/module/parameters/default_update_mode
1
[root@kindle root]# cat /sys/devices/platform/mxc_epdc_fb/driver/module/parameters/default_panel_hw_init
1


would THIS be a likely place to add our custom code???
https://gitorious.org/efikamx/linux-...pdc_fb.c#L1271

Last edited by twobob; 10-31-2013 at 11:45 AM.
twobob is offline   Reply With Quote
Old 11-02-2013, 06:09 PM   #19
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
x:
Quote:
LDFLAGS="-Wl,-rpath,/mnt/us/extensions/xorg/usr/lib" ./configure --prefix=/mnt/us/extensions/xorg/usr --with-builderstring=twobobbed
xinit:
Quote:
LDFLAGS="-Wl,-rpath,/mnt/us/extensions/xorg/usr/lib" ./configure --prefix=/mnt/us/extensions/xorg/usr --with-xserver=/mnt/us/extensions/xorg/usr/bin/x --with-xmodmap=/mnt/us/extensions/xorg/usr/bin/xmodmap --with-release-version=twobob.kindle --with-xauth=/mnt/us/extensions/xorg/usr/bin/xauth --with-xinitdir=/mnt/us/extensions/xorg/etc/X11 --with-xinit=/mnt/us/extensions/xorg/usr/bin/xinit
xauth:
Quote:
LDFLAGS="-Wl,-rpath,/mnt/us/extensions/xorg/usr/lib" ./configure --prefix=/mnt/us/extensions/xorg/usr --enable-unix-transport --with-release-version=twobob.kindle --enable-local-transport
xkbcomp
Quote:
cd x11-xkb-utils-7.5+5/xkbcomp
LDFLAGS="-Wl,-rpath,/mnt/us/extensions/xorg/usr/lib" ./configure --prefix=/mnt/us/extensions/xorg/usr --with-release-version=twobob.kindle
lxterminal-0.1.8:
Quote:
LDFLAGS="-Wl,-rpath,/mnt/us/extensions/xorg/usr/lib" ./configure --prefix=/mnt/us/extensions/xorg/usr --disable-nls
vte-0.24.3
Quote:
LDFLAGS="-Wl,-rpath,/mnt/us/extensions/xorg/usr/lib" ./configure --prefix=/mnt/us/extensions/xorg/usr --disable-nls --with-gnu-ld --disable-gnome-pty-helper --disable-glade
awesome-3.4.6:
Quote:
cmake \
-DCMAKE_EXE_LINKER_FLAGS="-Wl,-rpath,/mnt/us/extensions/awesome/usr/lib" \
-DCMAKE_PREFIX_PATH=/mnt/us/extensions/awesome/usr \
-DSYSCONFDIR=/mnt/us/extensions/awesome/etc && make
florence-0.5.0 (BACKPORTS)

Quote:
LDFLAGS="-Wl,-rpath,/mnt/us/extensions/xorg/usr/lib" ./configure --prefix=/mnt/us/extensions/florence/usr --without-notification --without-panelapplet --disable-scrollkeeper --disable-schemas-install
nitrogen-1.5.1 (BUG FIX)
Quote:
LDFLAGS="-Wl,-rpath,/mnt/us/extensions/xorg/usr/lib" ./configure --prefix=/mnt/us/extensions/nitrogen/usr --disable-inotify --disable-xinerama
ffmpeg

Quote:
LDFLAGS="-Wl,-rpath,/mnt/us/extensions/ffmpeg/usr/lib -static-libstdc++" CXXFLAGS=" -Wa,-march=armv7a -mcpu=cortex-a8 -mfpu=neon -ffast-math -mfloat-abi=softfp -mvectorize-with-neon-quad" ./configure --prefix=/mnt/us/extensions/ffmpeg/usr --disable-mipsfpu --disable-mipsdspr2 --disable-mipsdspr1 --disable-mips32r2 --disable-sse42 --disable-sse4 --disable-ssse3 --disable-sse3 --disable-sse2 --disable-sse --disable-mmxext --disable-mmx --disable-amd3dnowext --disable-amd3dnow --enable-lto --disable-thumb --enable-hardcoded-tables --enable-sram --extra-version=kindle --disable-dxva2 --disable-vaapi --disable-os2threads --disable-w32threads --disable-txtpages --disable-podpages --disable-manpages --disable-htmlpages --disable-doc --enable-gray --enable-gpl --disable-parser=dvd_nav --disable-parser=dvdsub
mplayer
Quote:
./configure --prefix=/mnt/us/extensions/mplayer/usr --extra-cflags="-Wa,-march=armv7a -mcpu=cortex-a8 -mfpu=neon -ffast-math -mfloat-abi=softfp" --extra-ldflags="-Wl,-rpath,/mnt/us/extensions/mplayer/usr/lib" --enable-dynamic-plugins --enable-profile --enable-hardcoded-tables --disable-fastmemcpy --enable-neon --enable-armvfp --target=arm-linux --disable-ossaudio --disable-arts --disable-esd --disable-pulse --disable-jack --disable-openal --disable-sgiaudio --disable-sunaudio --disable-kai --disable-dart --disable-win32waveout --disable-coreaudio --disable-quartz --disable-corevideo --enable-x11 --disable-vidix --disable-vidix-pcidb --disable-matrixview --disable-cddb --disable-cdparanoia --disable-libdvdcss-internal --disable-dvdread-internal --disable-dvdread --disable-dvdnav --disable-bluray --disable-vcd --enable-xshape --enable-alsa --disable-gethostbyname2 --disable-inet6 --disable-apple-ir --disable-apple-remote --enable-png
--enable-static static build is horribly broken... rebuilding shared... EDIT: In fact the building of mplayer is pretty sketchy. I'll look for something else.

mplayer2-2.0-554-gf63dbad
Quote:
./configure --prefix=/mnt/us/extensions/mplayer2/usr --extra-ldflags="-Wl,-rpath,/mnt/us/extensions/mplayer2/usr/lib" --extra-cflags=" -Wa,-march=armv7a -mcpu=cortex-a8 -mfpu=neon -ffast-math -mfloat-abi=softfp" --enable-profile --disable-fastmemcpy --enable-neon --enable-armvfp --enable-static --target=arm-linux --disable-ossaudio --disable-pulse --disable-jack --disable-openal --disable-sunaudio --disable-win32waveout --disable-coreaudio --disable-corevideo --enable-x11 --disable-cddb --disable-libdvdcss-internal --disable-dvdread-internal --disable-dvdread --disable-dvdnav --disable-bluray --disable-vcd --disable-apple-ir --disable-apple-remote --disable-vdpau

fluxbox-1.3.2
Quote:
CXXFLAGS=" -Wa,-march=armv7a -mcpu=cortex-a8 -mfpu=neon -ffast-math -mfloat-abi=softfp" LDFLAGS="-Wl,-rpath,/mnt/us/extensions/fluxbox/usr/lib -static-libstdc++" ./configure --prefix=/mnt/us/extensions/fluxbox/usr --with-x --disable-xinerama --enable-nls
mpv
Quote:
./configure --prefix=/mnt/us/extensions/mplayer2/usr --extra-ldflags="-Wl,-rpath,/mnt/us/extensions/mplayer2/usr/lib" --extra-cflags=" -Wa,-march=armv7a -mcpu=cortex-a8 -mfpu=neon -ffast-math -mfloat-abi=softfp" --target=arm-linux --disable-ossaudio --disable-pulse --disable-jack --disable-openal --disable-coreaudio --disable-corevideo --enable-x11 --disable-dvdread --disable-bluray --disable-vcd --disable-vdpau --enable-sdl2 --disable-portaudio --disable-rsound --disable-sndio --disable-vcd --disable-libass --disable-libass-osd --enable-rpath --disable-radio-v4l2 --disable-tv --disable-tv-v4l2 --disable-smb

gtk+-2.8.19
Quote:
LDFLAGS="-Wl,-rpath,/mnt/us/extensions/gtk/usr/lib -static-libstdc++" ./configure --with-x --prefix=/mnt/us/extensions/gtk/usr --with-gdktarget=x11 --with-xinput=yes --disable-modules --with-included-loaders

aqualung#
Quote:
CFLAGS=" -Wa,-march=armv7a -mcpu=cortex-a8 -mfpu=neon -ffast-math -mfloat-abi=softfp" CXXFLAGS=" -Wa,-march=armv7a -mcpu=cortex-a8 -mfpu=neon -ffast-math -mfloat-abi=softfp" LDFLAGS="-Wl,-O1 -Wl,-rpath,/mnt/us/extensions/aqualung/lib" ./configure --disable-systray --disable-podcast --disable-jack-mgmt --disable-nls --with-alsa --without-jack --without-oss --without-pulse --without-sndio --without-winmm --prefix=/mnt/us/extensions/aqualung
KINDLE 3:
postgresql-8.4-8.4.2
Quote:
CFLAGS="-O2 -march=armv6j -mtune=arm1136jf-s -mfpu=vfp -pipe -fomit-frame-pointer -fno-stack-protector -U_FORTIFY_SOURCE" CXXFLAGS=${CFLAGS} LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-rpath,/mnt/us/extensions/postgresql/usr/lib" ./configure --prefix=/mnt/us/extensions/postgresql/usr --with-libxml --with-libxslt --with-system-tzdata=/mnt/us/extensions/postgresql/usr/share/zoneinfo/ --with-python --with-perl

perl-5.10.x
Quote:
CFLAGS="-O2 -march=armv6j -mtune=arm1136jf-s -mfpu=vfp -pipe -fomit-frame-pointer -fno-stack-protector -U_FORTIFY_SOURCE" CXXFLAGS=${CFLAGS} LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-rpath,/mnt/us/extensions/perl/usr/lib" ./Configure -des -Dprefix=/mnt/us/extensions/perl/usr -Dvendorprefix=/mnt/us/extensions/perl/usr -Dpager="/usr/bin/less" -Duseshrplib

rt-4.2.0
Quote:
CFLAGS="-O2 -march=armv6j -mtune=arm1136jf-s -mfpu=vfp -pipe -fomit-frame-pointer -fno-stack-protector -U_FORTIFY_SOURCE" CXXFLAGS=${CFLAGS} LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-rpath,/mnt/us/extensions/rt/usr/lib" ./configure --prefix=/mnt/us/extensions/rt/usr --with-my-user-group --with-db-dba=root --enable-gd --enable-graphviz --with-db-port=5432 --with-web-handler=fastcgi,standalone,modperl1,modperl2 --with-db-type=Pg
MISSING RT MODULES to get via CPAN
Quote:
HTTP::Request::Common LWP Encode Crypt::Eksblowfish Module::Versions::Report List::MoreUtils DBI Devel::StackTrace HTTP::Message Text::Password::Pronounceable Devel::GlobalDestruction Time::ParseDate Tree::Simple HTML::Scrubber HTML::Quoted Mail::Mailer Data::GUID HTML::Mason HTML::Entities LWP::Simple Symbol::Global::Name DateTime::Format::Natural Plack Class::Accessor Text::Wrapper Regexp::Common::net::CIDR Log::Dispatch HTML::FormatText::WithLinks::AndTables DateTime CGI::Emulate::PSGI Text::Quoted Regexp::IPv6 CSS::Squish DateTime::Locale CGI::PSGI Apache::Session Date::Extract HTML::Mason::PSGIHandler MIME::Entity Locale::Maketext::Lexicon Module::Refresh Role::Basic Date::Manip HTML::RewriteAttributes Text::Template XML::RSS Text::WikiFormat DBIx::SearchBuilder File::ShareDir Regexp::Common HTML::FormatText::WithLinks Mail::Header Locale::Maketext::Fuzzy Email::Address::List Net::CIDR JSON UNIVERSAL::require Email::Address Plack::Handler::Starlet URI::QueryParam URI MIME::Types FCGI::ProcManager FCGI GD::Text GD GD::Graph PerlIO::eol GnuPG::Interface IPC::Run GraphViz Data::ICal LWP::UserAgent Crypt::SSLeay Net::SSL LWP::Protocol::https Mozilla::CA Apache::Request Apache::DBI Apache::DBI DBD::Pg Convert::Color SOME LWP::UserAgent Mozilla::CA Net::SSL LWP::Protocol::https Crypt::SSLeay Convert::Color DBD::Pg Apache::DBI URI MIME::Types URI::QueryParam Data::ICal Apache::DBI Apache::Request HTTP::Request::Common LWP IPC::Run GraphViz PerlIO::eol GnuPG::Interface GD::Graph GD::Text GD FCGI::ProcManager FCGI DateTime CGI::Emulate::PSGI Text::Quoted Regexp::IPv6 Encode Crypt::Eksblowfish CSS::Squish DateTime::Locale CGI::PSGI Module::Versions::Report Apache::Session Date::Extract HTML::Mason::PSGIHandler MIME::Entity List::MoreUtils DBI Locale::Maketext::Lexicon Devel::StackTrace Module::Refresh Role::Basic HTTP::Message Text::Password::Pronounceable Devel::GlobalDestruction Time::ParseDate Date::Manip HTML::RewriteAttributes Tree::Simple Text::Template HTML::Scrubber HTML::Quoted Text::WikiFormat XML::RSS DBIx::SearchBuilder Data::GUID Mail::Mailer File::ShareDir Regexp::Common HTML::Mason HTML::Entities LWP::Simple Symbol::Global::Name HTML::FormatText::WithLinks DateTime::Format::Natural Plack Mail::Header Class::Accessor Locale::Maketext::Fuzzy Email::Address::List Text::Wrapper Regexp::Common::net::CIDR HTML::FormatText::WithLinks::AndTables Log::Dispatch Net::CIDR JSON UNIVERSAL::require Email::Address Plack::Handler::Starlet
Hot and dirty install mathod
Quote:
perl -MCPAN -e "CPAN::Shell->notest('install', 'Plack::Handler::Starlet')"
nginx-0.7.67
Quote:
CFLAGS="-O2 -march=armv6j -mtune=arm1136jf-s -mfpu=vfp -pipe -fomit-frame-pointer -fno-stack-protector -U_FORTIFY_SOURCE" CXXFLAGS=${CFLAGS} LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-rpath,/mnt/us/extensions/nginx/usr/lib" ./configure --prefix=/mnt/us/extensions/nginx/usr --with-pcre --user=root --group=root --with-http_perl_module --with-perl_modules_path=/mnt/us/extensions/perl/usr/lib/5.10.1 --with-perl=/mnt/us/extensions/perl/usr/bin/perl --http-fastcgi-temp-path=/mnt/us/extensions/system/fastcgi
Quote:
Configuration summary
+ using system PCRE library
+ OpenSSL library is not used
+ md5: using system crypto library
+ sha1 library is not used
+ using system zlib library

nginx path prefix: "/mnt/us/extensions/nginx/usr"
nginx binary file: "/mnt/us/extensions/nginx/usr/sbin/nginx"
nginx configuration prefix: "/mnt/us/extensions/nginx/usr/conf"
nginx configuration file: "/mnt/us/extensions/nginx/usr/conf/nginx.conf"
nginx pid file: "/mnt/us/extensions/nginx/usr/logs/nginx.pid"
nginx error log file: "/mnt/us/extensions/nginx/usr/logs/error.log"
nginx http access log file: "/mnt/us/extensions/nginx/usr/logs/access.log"
nginx http client request body temporary files: "client_body_temp"
nginx http proxy temporary files: "proxy_temp"
nginx http fastcgi temporary files: "/mnt/us/extensions/system/fastcgi"

lighttpd-1.4.19
Quote:
CFLAGS="-O2 -march=armv6j -mtune=arm1136jf-s -mfpu=vfp -pipe -fomit-frame-pointer -fno-stack-protector -U_FORTIFY_SOURCE" CXXFLAGS=${CFLAGS} LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-rpath,/mnt/us/extensions/lighttpd/usr/lib" ./configure --prefix=/mnt/us/extensions/lighttpd/usr --with-fam --with-bzip2 --with-zlib --with-pcre
A few configures to note.

Last edited by twobob; 06-15-2014 at 01:39 PM.
twobob is offline   Reply With Quote
Old 11-02-2013, 06:28 PM   #20
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
The mplayer/mplayer2/mpv buildsystem makes very heavy use of automagic deps. You can't use --enable-* flags without heavily tweaking the env & searchpaths so that it actually find & use said dep. The usual way is to just --disable-* the stuff you're sure you want to kill, and let the rest be automagically detected.

(See the mpv-build repo for an example of how the mpv guys do it to link against a static ffmpeg).
NiLuJe is offline   Reply With Quote
Advert
Old 11-02-2013, 06:47 PM   #21
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by NiLuJe View Post
The mplayer/mplayer2/mpv buildsystem makes very heavy use of automagic deps. You can't use --enable-* flags without heavily tweaking the env & searchpaths so that it actually find & use said dep. The usual way is to just --disable-* the stuff you're sure you want to kill, and let the rest be automagically detected.

(See the mpv-build repo for an example of how the mpv guys do it to link against a static ffmpeg).
yup. I browsed the 8000 line configure. and spoke with them on #irc.
--enable-static is an exception, and for some reason

Code:
  Install prefix: /mnt/us/extensions/mplayer2/usr
  Data directory: /mnt/us/extensions/mplayer2/usr/share/mplayer
  Config direct.: /mnt/us/extensions/mplayer2/usr/etc/mplayer

  Byte order: little-endian
  Optimizing for:
I can't convince the build system to pick an "Optimizing for: " target...
That was what I was working towards..
twobob is offline   Reply With Quote
Old 11-02-2013, 07:02 PM   #22
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@twobob: can't remember, that's been zapped in mpv (possibly mplayer2, too).

On the other hand, ffmpeg should autodetect arm/neon properly, IIRC.
NiLuJe is offline   Reply With Quote
Old 11-02-2013, 08:30 PM   #23
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
been hunting around trying to get us the very best player/driver combo.

I think it will be a long road. Just a few missed nights sleep aren't going to cut it this time... but I'll post an updated video soon to show some progress / options.

Thanks for the heads up.

Last edited by twobob; 11-02-2013 at 08:36 PM.
twobob is offline   Reply With Quote
Old 11-06-2013, 09:32 PM   #24
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Backport minitube 2.0 from sid to wheezy
http://forums.debian.net/viewtopic.php?f=20&t=104399

and more generally
https://wiki.debian.org/SimpleBackportCreation


Code:
────────────────────Warning: Phonon is not functional───────────────────────┐
│ Missing back-end for Phonon                                                │
│                                                                            │
│ Applications using Phonon (the Qt 4 multimedia framework) will produce     │
│ no audio or video output, because only a dummy Phonon back-end is          │
│ installed on this system. This is typically an unintended                  │
│ configuration.                                                             │
│                                                                            │
│ To restore full Phonon multimedia capabilities, install one of the real    │
│ Phonon back-end packages which are currently available for this system:    │
│                                                                            │
│ phonon-backend-vlc (recommended), phonon-backend-gstreamer


Quote:
root@dev:/usr/local/src/minitube-2.0# apt-get install phonon-backend-gstreamer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
phonon
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
gconf-service gconf2 gconf2-common gstreamer0.10-alsa gstreamer0.10-gconf
gstreamer0.10-plugins-base gstreamer0.10-plugins-good libavc1394-0 libdv4
libgconf-2-4 libgudev-1.0-0 libiec61883-0 libqt4-opengl libraw1394-11
libshout3 libtag1-vanilla libtag1c2a libv4l-0 libv4lconvert0 libvisual-0.4-0
libwavpack1 phonon
Suggested packages:
gstreamer0.10-plugins-ugly
The following packages will be REMOVED:
libphonon-dev phonon-backend-null
The following NEW packages will be installed:
gconf-service gconf2 gconf2-common gstreamer0.10-alsa gstreamer0.10-gconf
gstreamer0.10-plugins-base gstreamer0.10-plugins-good libavc1394-0 libdv4
libgconf-2-4 libgudev-1.0-0 libiec61883-0 libqt4-opengl libraw1394-11
libshout3 libtag1-vanilla libtag1c2a libv4l-0 libv4lconvert0 libvisual-0.4-0
libwavpack1 phonon phonon-backend-gstreamer
Quote:
root@dev:/usr/local/src/minitube-2.0# apt-get install libphonon-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gconf-service gconf2 gconf2-common gstreamer0.10-alsa gstreamer0.10-gconf
gstreamer0.10-plugins-base gstreamer0.10-plugins-good libavc1394-0 libdv4
libgconf-2-4 libgudev-1.0-0 libiec61883-0 libqt4-opengl libraw1394-11
libshout3 libtag1-vanilla libtag1c2a libv4l-0 libv4lconvert0 libvisual-0.4-0
libwavpack1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
phonon-backend-null
The following packages will be REMOVED:
phonon-backend-gstreamer
The following NEW packages will be installed:
libphonon-dev phonon-backend-null
0 upgraded, 2 newly installed, 1 to remove and 21 not upgraded.
Need to get 0 B/125 kB of archives.
After this operation, 690 kB of additional disk space will be used.
Do you want to continue [Y/n]?
t's a bit of a mess

Last edited by twobob; 11-08-2013 at 08:54 PM.
twobob is offline   Reply With Quote
Old 11-08-2013, 11:25 PM   #25
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Kindle 3 info burst

root@kindle:/# hwinfo
Spoiler:
============ start debug info ============
libhd version 14.19 (arm)
using /var/lib/hardware
kernel version is 2.6
----- /proc/cmdline -----
console=ttymxc0,115200 mem=256M panic=10 root=/dev/mmcblk0p1 ro ip=none quiet lpj=2555904
----- /proc/cmdline end -----
debug = 0xff7ffff7
probe = 0x0000138fc4a8107cf9fffe (+memory +pci +isapnp +net +floppy +misc +misc.serial +misc.par +misc.floppy +serial +cpu +bios +monitor +mouse +scsi +usb -usb.mods +modem +modem.usb +parallel +parallel.lp +parallel.zip -isa -isa.isdn +isdn +kbd +prom +sbus +int -braille -braille.alva -braille.fhp -braille.ht -ignx11 +sys -bios.vbe -isapnp.old -isapnp.new -isapnp.mod -braille.baum -manual +fb +pppoe -scan +pcmcia -fork -parallel.imm +s390 -cpuemu -sysfs -s390disks +udev +block +block.cdrom +block.part +edd +edd.mod -bios.ddc -bios.fb -bios.mode +input +block.mods +bios.vesa -cpuemu.debug -scsi.noserial +wlan -bios.crc -hal -bios.vram -bios.acpi -bios.ddc.ports=1 -bios.ddc.ports=2 -bios.ddc.ports=3 -bios.ddc.ports=4 -modules.pata -max -lxrc)
shm: attached segment 1540096 at 0x402f4000
>> hal.1: read hal data
hal: connected to: :1.3
hal: libhal_ctx_init: (null): (null)
>> floppy.1: get nvram
>> floppy.2: klog info
>> sys.1: cpu
>> misc.9: kernel log
----- kernel log -----
<4>eink_fb: I bs_cmd_ld_img_upd_data_which:def:temp=23C:from pmic
...
<6>EXT3 FS on mmcblk0p1, internal journal
----- kernel log end -----
>> misc.1: misc data
>> misc.1.1: open serial
>> misc.1.2: open parallel
>> misc.2.1: io
>> misc.2.2: dma
>> misc.2.3: irq
----- /proc/ioports -----
----- /proc/ioports end -----
----- /proc/interrupts -----
4: 1432 - mxc_i2c
7: 13903607 - mmc0
8: 55939 - mxsdhci
9: 0 - mmc2
10: 565816 - mxc_i2c
13: 0 - CSPI_IRQ
14: 205796 - CSPI_IRQ
24: 56 - mxckpd
25: 0 - mxc_rtc
29: 4747410 - gpt-irq
31: 0 - dvfs
34: 1 - mxcsdma
35: 540 - ehci_hcd:usb1
37: 83952 - fsl-usb2-udc
41: 0 - mxc_ipu
42: 0 - mxc_ipu
45: 1357 - mxcintuart
65: 0 MXC_GPIO mmc0
66: 0 MXC_GPIO mxsdhci
67: 31 MXC_GPIO papyrus_pg
68: 0 MXC_GPIO volume
69: 0 MXC_GPIO volume
74: 0 MXC_GPIO fiveway
95: 0 MXC_GPIO HS_det
102: 0 MXC_GPIO MX35_Accessory
108: 34 MXC_GPIO PMIC_IRQ
123: 6 MXC_GPIO fiveway
124: 3 MXC_GPIO fiveway
126: 7 MXC_GPIO fiveway
127: 6 MXC_GPIO fiveway
133: 0 MXC_GPIO Accessory_Charger
140: 0 MXC_GPIO mmc2
141: 63 MXC_GPIO papyrus_temp
Err: 0
----- /proc/interrupts end -----
----- /proc/dma -----
----- /proc/dma end -----
>> misc.3: FPU
>> misc.3.1: DMA
>> misc.3.2: PIC
>> misc.3.3: timer
>> misc.3.4: RTC
>> cpu.1: cpuinfo
----- /proc/cpuinfo -----
Processor : ARMv6-compatible processor rev 3 (v6l)
BogoMIPS : 511.18
Features : swp half thumb fastmult vfp edsp java
CPU implementer : 0x41
CPU architecture: 6TEJ
CPU variant : 0x1
CPU part : 0xb36
CPU revision : 3
Cache type : write-back
Cache clean : cp15 c7 ops
Cache lockdown : format C
Cache format : Harvard
I size : 16384
I assoc : 4
I line length : 32
I sets : 128
D size : 16384
D assoc : 4
D line length : 32
D sets : 128

Hardware : Amazon MX35 Luigi Board
Revision : 35020

----- /proc/cpuinfo end -----
>> memory.1: main memory size
kcore mem: 0x0
klog mem 0: 0x0
klog mem 1: 0x0
klog mem: 0x0
bios mem: 0x0
meminfo: 0xfa86000
>> pci.1: sysfs drivers
----- sysfs driver list (id 0x4a878c8440036976) -----
mxc_pwm: /devices/platform/mxc_pwm.0
mxc_spi: /devices/platform/mxc_spi.0
mxc_spi: /devices/platform/mxc_spi.1
mxc_i2c: /devices/platform/mxc_i2c.0
mxc_i2c: /devices/platform/mxc_i2c.1
mxc_ipu: /devices/platform/mxc_ipu
pmic_light: /devices/platform/pmic_light.1
mxcintuart: /devices/platform/mxcintuart.0
mxcintuart: /devices/platform/mxcintuart.1
mxcintuart: /devices/platform/mxcintuart.2
pmic_rtc: /devices/platform/pmic_rtc.1
mxc_wdt: /devices/platform/mxc_wdt.0
pmic_adc: /devices/platform/pmic_adc.1
mxsdhci: /devices/platform/mxsdhci.0
mxsdhci: /devices/platform/mxsdhci.1
mxsdhci: /devices/platform/mxsdhci.2
pmic_leds: /devices/platform/pmic_leds.114
pmic_leds: /devices/platform/pmic_leds.103
pmic_leds: /devices/platform/pmic_leds.98
soc-audio: /devices/platform/soc-audio
mxc_rtc: /devices/platform/mxc_rtc.0
eink_fb: /devices/platform/eink_fb.0
fsl-usb2-udc: /devices/platform/fsl-usb2-udc
fsl-usb2-udc: module = arcotg_udc
mxc_keypad: /devices/platform/mxc_keypad.0
fiveway: /devices/platform/fiveway
fiveway: module = fiveway
volume: module = volume
ar6000: /devices/platform/ar6000.0
fsl-ehci: /devices/platform/fsl-ehci.0
pmic_spi: /devices/platform/mxc_spi.0/spi1.0
Luigi_Battery: /devices/platform/i2c-adapter/i2c-0/0-0055
eink_fb_papyrus_i2c: module = eink_fb_hal_broads
eink_fb_papyrus_i2c: /devices/platform/i2c-adapter/i2c-1/1-0048
WM8960 I2C Codec: /devices/platform/i2c-adapter/i2c-1/1-001a
mmcblk: /devices/platform/mxsdhci.0/mmc_host/mmc0/mmc0:0001
ar6k_wlan: /devices/platform/mxsdhci.1/mmc_host/mmc1/mmc1:0001/mmc1:0001:1
usbfs: module = usbcore
hub: module = usbcore
hub: /devices/platform/fsl-ehci.0/usb1/1-0:1.0
usb: module = usbcore
usb: /devices/platform/fsl-ehci.0/usb1
usb: /devices/platform/fsl-ehci.0/usb1/1-1
usbserial: module = usbserial
option: /devices/platform/fsl-ehci.0/usb1/1-1/1-1:1.0
option: /devices/platform/fsl-ehci.0/usb1/1-1/1-1:1.1
option: module = option
option1: module = option
option1: /devices/platform/fsl-ehci.0/usb1/1-1/1-1:1.0/ttyUSB0
option1: /devices/platform/fsl-ehci.0/usb1/1-1/1-1:1.1/ttyUSB1
----- sysfs driver list end -----
>> pci.2: get sysfs pci data
sysfs: no such bus: pci
---------- PCI raw data ----------
---------- PCI raw data end ----------
>> pci.4: build list
>> pci.3: macio
sysfs: no such bus: macio
>> pci.4: vio
sysfs: no such bus: vio
>> pci.5: xen
sysfs: no such bus: xen
>> pci.6: ps3
sysfs: no such bus: ps3_system_bus
>> pci.7: platform
platform device: name = ar6000.0
path = /devices/platform/ar6000.0
type = "platform:ar6000"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = fiveway
path = /devices/platform/fiveway
type = "platform:fiveway"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = eink_fb.0
path = /devices/platform/eink_fb.0
type = "platform:eink_fb"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = soc-audio
path = /devices/platform/soc-audio
type = "platform:soc-audio"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = fsl-usb2-udc
path = /devices/platform/fsl-usb2-udc
type = "platform:fsl-usb2-udc"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = fsl-ehci.0
path = /devices/platform/fsl-ehci.0
type = "platform:fsl-ehci"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = pmic_leds.98
path = /devices/platform/pmic_leds.98
type = "platformmic_leds"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = pmic_leds.103
path = /devices/platform/pmic_leds.103
type = "platformmic_leds"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = pmic_leds.114
path = /devices/platform/pmic_leds.114
type = "platformmic_leds"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = pmic_light.1
path = /devices/platform/pmic_light.1
type = "platformmic_light"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = pmic_power.1
path = /devices/platform/pmic_power.1
type = "platformmic_power"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = pmic_rtc.1
path = /devices/platform/pmic_rtc.1
type = "platformmic_rtc"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = pmic_battery.1
path = /devices/platform/pmic_battery.1
type = "platformmic_battery"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = pmic_adc.1
path = /devices/platform/pmic_adc.1
type = "platformmic_adc"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = mxcintuart.2
path = /devices/platform/mxcintuart.2
type = "platform:mxcintuart"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = mxcintuart.1
path = /devices/platform/mxcintuart.1
type = "platform:mxcintuart"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = mxcintuart.0
path = /devices/platform/mxcintuart.0
type = "platform:mxcintuart"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = mxsdhci.2
path = /devices/platform/mxsdhci.2
type = "platform:mxsdhci"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = mxsdhci.1
path = /devices/platform/mxsdhci.1
type = "platform:mxsdhci"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = mxsdhci.0
path = /devices/platform/mxsdhci.0
type = "platform:mxsdhci"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = lcd_claa.0
path = /devices/platform/lcd_claa.0
type = "platform:lcd_claa"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = mxc_keypad.0
path = /devices/platform/mxc_keypad.0
type = "platform:mxc_keypad"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = mxc_pwm.0
path = /devices/platform/mxc_pwm.0
type = "platform:mxc_pwm"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = mxc_dma.0
path = /devices/platform/mxc_dma.0
type = "platform:mxc_dma"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = mxc_rtc.0
path = /devices/platform/mxc_rtc.0
type = "platform:mxc_rtc"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = mxc_i2c.1
path = /devices/platform/mxc_i2c.1
type = "platform:mxc_i2c"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = mxc_i2c.0
path = /devices/platform/mxc_i2c.0
type = "platform:mxc_i2c"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = mxc_spi.1
path = /devices/platform/mxc_spi.1
type = "platform:mxc_spi"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = mxc_spi.0
path = /devices/platform/mxc_spi.0
type = "platform:mxc_spi"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = mxc_ipu
path = /devices/platform/mxc_ipu
type = "platform:mxc_ipu"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
platform device: name = mxc_wdt.0
path = /devices/platform/mxc_wdt.0
type = "platform:mxc_wdt"
platform device: sf_eth_net = (null) sf_eth_dev = (nil)
>> pci.8: of_platform
sysfs: no such bus: of_platform
>> pci.9: vm
sysfs: no such bus: vm
>> monitor.1: ddc
>> monitor.2: bios
>> monitor.3: pci
>> monitor.4: internal db
>> monitor.5: prom
>> pcmcia.1: sysfs drivers
>> pcmcia.2: pcmcia
sysfs: no such bus: pcmcia
>> pcmcia.3: pcmcia ctrl
sysfs: no such class: pcmcia_socket
>> serial.1: read info
----- serial info -----
----- serial info end -----
>> serial.2: build list
>> misc.5: misc data
----- misc resources -----
irq:0 4 ( 1432) "mxc_i2c"
irq:0 7 ( 13903607) "mmc0"
irq:0 8 ( 55939) "mxsdhci"
irq:0 9 ( 0) "mmc2"
irq:0 10 ( 565816) "mxc_i2c"
irq:0 13 ( 0) "CSPI_IRQ"
irq:0 14 ( 205796) "CSPI_IRQ"
irq:0 24 ( 56) "mxckpd"
irq:0 25 ( 0) "mxc_rtc"
irq:0 29 ( 4747410) "gpt-irq"
irq:0 31 ( 0) "dvfs"
irq:0 34 ( 1) "mxcsdma"
irq:0 35 ( 540) "ehci_hcd:usb1"
irq:0 37 ( 83952) "fsl-usb2-udc"
irq:0 41 ( 0) "mxc_ipu"
irq:0 42 ( 0) "mxc_ipu"
irq:0 45 ( 1357) "mxcintuart"
irq:0 65 ( 0) "mmc0"
irq:0 66 ( 0) "mxsdhci"
irq:0 67 ( 31) "papyrus_pg"
irq:0 68 ( 0) "volume"
irq:0 69 ( 0) "volume"
irq:0 74 ( 0) "fiveway"
irq:0 95 ( 0) "HS_det"
irq:0 102 ( 0) "MX35_Accessory"
irq:0 108 ( 34) "PMIC_IRQ"
irq:0 123 ( 6) "fiveway"
irq:0 124 ( 3) "fiveway"
irq:0 126 ( 7) "fiveway"
irq:0 127 ( 6) "fiveway"
irq:0 133 ( 0) "Accessory_Charger"
irq:0 140 ( 0) "mmc2"
irq:0 141 ( 63) "papyrus_temp"
----- misc resources end -----

----- return code: ? -----
>> parallel.2.1: lp read info
>> parallel.2.2: lp read info
>> parallel.2.3: lp read info

----- block info -----
>> block.2: sysfs drivers
>> block.3: cdrom
>> block.4: partition
----- /proc/partitions -----
7 0 3205336 loop0
7 1 1310720 loop1
179 0 3907584 mmcblk0
179 1 665628 mmcblk0p1
179 2 24576 mmcblk0p2
179 3 8192 mmcblk0p3
179 4 3205344 mmcblk0p4
----- /proc/partitions end -----
disks:
mmcblk0
partitions:
mmcblk0p1
mmcblk0p2
mmcblk0p3
mmcblk0p4
>> block.5: get sysfs block dev data
block: name = mmcblk0p4, path = /class/block/mmcblk0p4
dev = 179:4
block: name = mmcblk0p3, path = /class/block/mmcblk0p3
dev = 179:3
block: name = mmcblk0p2, path = /class/block/mmcblk0p2
dev = 179:2
block: name = mmcblk0p1, path = /class/block/mmcblk0p1
dev = 179:1
block: name = mmcblk0, path = /class/block/mmcblk0
dev = 179:0
range = 8
block device: bus = mmc, bus_id = mmc0:0001 driver = mmcblk
path = /devices/platform/mxsdhci.0/mmc_host/mmc0/mmc0:0001
>> block.5: /dev/mmcblk0
>> block.5.1: /dev/mmcblk0 geo
dev = /dev/mmcblk0, fd = 4
open ok, fd = 4
/dev/mmcblk0: ioctl(geo) ok
/dev/mmcblk0: ioctl(block size) ok
/dev/mmcblk0: ioctl(disk size) ok
block: name = loop7, path = /class/block/loop7
dev = 7:7
range = 1
block: name = loop6, path = /class/block/loop6
dev = 7:6
range = 1
block: name = loop5, path = /class/block/loop5
dev = 7:5
range = 1
block: name = loop4, path = /class/block/loop4
dev = 7:4
range = 1
block: name = loop3, path = /class/block/loop3
dev = 7:3
range = 1
block: name = loop2, path = /class/block/loop2
dev = 7:2
range = 1
block: name = loop1, path = /class/block/loop1
dev = 7:1
range = 1
block: name = loop0, path = /class/block/loop0
dev = 7:0
range = 1

>> usb.2: usb
usb dev: /devices/platform/fsl-ehci.0/usb1/1-1
usb dev: /devices/platform/fsl-ehci.0/usb1
usb device: name = 1-1:1.1
path = /devices/platform/fsl-ehci.0/usb1/1-1/1-1:1.1
modalias = "usb:v16D5p6501d0000dc00dsc00dp00icFFiscFFipFF "
bInterfaceNumber = 1
bInterfaceClass = 255
bInterfaceSubClass = 255
bInterfaceProtocol = 255
if: 1-1:1.1 @ /devices/platform/fsl-ehci.0/usb1/1-1
bDeviceClass = 0
bDeviceSubClass = 0
bDeviceProtocol = 0
idVendor = 0x16d5
idProduct = 0x6501
manufacturer = "Any DATA Corporation"
product = "AnyDATA WCDMA Products"
bcdDevice = 0000
speed = "12"
usb device: name = 1-1:1.0
path = /devices/platform/fsl-ehci.0/usb1/1-1/1-1:1.0
modalias = "usb:v16D5p6501d0000dc00dsc00dp00icFFiscFFipFF "
bInterfaceNumber = 0
bInterfaceClass = 255
bInterfaceSubClass = 255
bInterfaceProtocol = 255
if: 1-1:1.0 @ /devices/platform/fsl-ehci.0/usb1/1-1
bDeviceClass = 0
bDeviceSubClass = 0
bDeviceProtocol = 0
idVendor = 0x16d5
idProduct = 0x6501
manufacturer = "Any DATA Corporation"
product = "AnyDATA WCDMA Products"
bcdDevice = 0000
speed = "12"
usb device: name = 1-1
path = /devices/platform/fsl-ehci.0/usb1/1-1
usb device: name = 1-0:1.0
path = /devices/platform/fsl-ehci.0/usb1/1-0:1.0
modalias = "usb:v1D6Bp0002d0206dc09dsc00dp01ic09isc00ip00 "
bInterfaceNumber = 0
bInterfaceClass = 9
bInterfaceSubClass = 0
bInterfaceProtocol = 0
if: 1-0:1.0 @ /devices/platform/fsl-ehci.0/usb1
bDeviceClass = 9
bDeviceSubClass = 0
bDeviceProtocol = 1
idVendor = 0x1d6b
idProduct = 0x0002
manufacturer = "Linux 2.6.26-rt-lab126 ehci_hcd"
product = "Freescale On-Chip EHCI Host Controller"
serial = "fsl-ehci.0"
bcdDevice = 0206
speed = "480"
usb device: name = usb1
path = /devices/platform/fsl-ehci.0/usb1
removed: /devices/platform/fsl-ehci.0/usb1/1-1/1-1:1.0

>> usb.3.3: input
input: name = event2, path = /devices/virtual/input/input3/event2
dev = 13:66
input device: bus = (null), bus_id = input3 driver = (null)
path = /devices/virtual/input/input3
input: name = input3, path = /devices/virtual/input/input3
input: name = event1, path = /devices/virtual/input/input2/event1
dev = 13:65
input device: bus = (null), bus_id = input2 driver = (null)
path = /devices/virtual/input/input2
input: name = input2, path = /devices/virtual/input/input2
input: name = event0, path = /devices/virtual/input/input1/event0
dev = 13:64
input device: bus = (null), bus_id = input1 driver = (null)
path = /devices/virtual/input/input1
input: name = input1, path = /devices/virtual/input/input1
>> usb.3.4: lp
>> usb.3.5: serial
usb: name = ttyUSB1, path = /class/tty/ttyUSB1
dev = 188:1
usb device: bus = (null), bus_id = ttyUSB1 driver = option1
path = /devices/platform/fsl-ehci.0/usb1/1-1/1-1:1.1
usb: name = ttyUSB0, path = /class/tty/ttyUSB0
dev = 188:0
usb device: bus = (null), bus_id = ttyUSB0 driver = option1
path = /devices/platform/fsl-ehci.0/usb1/1-1/1-1:1.0
>> modem.1: serial
****** started child process 24490 (15s/120s) ******
****** stopped child process 24490 (120s) ******
>> mouse.2: serial
****** started child process 24491 (20s/20s) ******
****** stopped child process 24491 (20s) ******

>> input.2: input
----- /proc/bus/input/devices -----
I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="mxckpd"
P: Phys=
S: Sysfs=/devices/virtual/input/input1
U: Uniq=
H: Handlers=event0
B: EV=100003
B: KEY=2 c0000000 40000800 40002140 0 317f47f d3ff4ffd

I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="fiveway"
P: Phys=
S: Sysfs=/devices/virtual/input/input2
U: Uniq=
H: Handlers=event1
B: EV=3
B: KEY=4 0 0 1680 0 0 0

I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="volume"
P: Phys=
S: Sysfs=/devices/virtual/input/input3
U: Uniq=
H: Handlers=event2
B: EV=3
B: KEY=c0000 0 0 0

----- /proc/bus/input/devices end -----
bus = 25, name = mxckpd
handlers = event0
key = 00000002c00000004000080040002140000000000317f47fd3 ff4ffd
mouse buttons = 0
mouse wheels = 0
bus = 25, name = fiveway
handlers = event1
key = 00000004000000000000000000001680000000000000000000 000000
mouse buttons = 0
mouse wheels = 0
bus = 25, name = volume
handlers = event2
key = 000c0000000000000000000000000000
mouse buttons = 0
mouse wheels = 0
>> kbd.2: uml
>> cpu.1: cpuinfo
----- /proc/cpuinfo -----
Processor : ARMv6-compatible processor rev 3 (v6l)
BogoMIPS : 511.18
Features : swp half thumb fastmult vfp edsp java
CPU implementer : 0x41
CPU architecture: 6TEJ
CPU variant : 0x1
CPU part : 0xb36
CPU revision : 3
Cache type : write-back
Cache clean : cp15 c7 ops
Cache lockdown : format C
Cache format : Harvard
I size : 16384
I assoc : 4
I line length : 32
I sets : 128
D size : 16384
D assoc : 4
D line length : 32
D sets : 128

Hardware : Amazon MX35 Luigi Board
Revision : 35020

----- /proc/cpuinfo end -----
>> kbd.3: serial console
>> fb.1: read info
>> net.1: get network data
net interface: name = ppp0, path = /class/net/ppp0
type = 512
carrier = 1
hw_addr =
GDRVINFO ethtool error: Operation not supported
net interface: name = wlan0, path = /class/net/wlan0
type = 1
carrier = 1
hw_addr = 28:ef:01:6d:8c:6b
GDRVINFO ethtool error: Operation not supported
net interface: name = usb0, path = /class/net/usb0
type = 1
carrier = 1
hw_addr = ee:19:00:00:00:00
net device: path = /devices/platform/fsl-usb2-udc/gadget
ethtool driver: ether
ethtool bus: gadget
net interface: name = lo, path = /class/net/lo
type = 772
carrier = 1
hw_addr = 00:00:00:00:00:00
GDRVINFO ethtool error: Operation not supported
>> pppoe.1: looking for pppoe
>> wlan.1: detecting wlan features
>> isdn.1: list
>> dsl.1: list
>> int.2: cdrom
>> int.3: media
>> int.4.1: /dev/mmcblk0
read_block0: 512 bytes (5s, 0us)
>> int.4: floppy
>> int.6: mouse
>> int.7: hdb
>> int.7.1: modules
>> int.8: usbscsi
>> int.9: hotplug
>> int.10: modem
>> int.11: wlan
>> int.12: udev
----- udevinfo -----
----- udevinfo end -----
>> int.13: device names
>> int.16: parent
prop read: rdCR.n_7QNeEnh23 (failed)
old prop read: rdCR.n_7QNeEnh23 (failed)
prop read: rdCR.CxwsZFjVASF (failed)
old prop read: rdCR.CxwsZFjVASF (failed)
prop read: HAKk.Fxp0d3BezAE (failed)
old prop read: HAKk.Fxp0d3BezAE (failed)
prop read: l7UW.SE1wIdpsiiC (failed)
old prop read: l7UW.SE1wIdpsiiC (failed)
prop read: CJka.SE1wIdpsiiC (failed)
old prop read: CJka.SE1wIdpsiiC (failed)
prop read: fU_e.SE1wIdpsiiC (failed)
old prop read: fU_e.SE1wIdpsiiC (failed)
prop read: 6gEj.SE1wIdpsiiC (failed)
old prop read: 6gEj.SE1wIdpsiiC (failed)
prop read: dOTr.sL41gfREnV2 (failed)
old prop read: dOTr.sL41gfREnV2 (failed)
prop read: k4bc.C8V1Qr1AZ16 (failed)
old prop read: k4bc.C8V1Qr1AZ16 (failed)
prop read: ygIl.5lXXuQkv_C5 (failed)
old prop read: ygIl.5lXXuQkv_C5 (failed)
prop read: RRvF.GSopYcFr9cF (failed)
old prop read: RRvF.GSopYcFr9cF (failed)
prop read: AYEt.QXn1l67RSa1 (failed)
old prop read: AYEt.QXn1l67RSa1 (failed)
prop read: IhCv.SyfSGg7YspF (failed)
old prop read: IhCv.SyfSGg7YspF (failed)
prop read: ZsBS.GQNx7L4uPNA (failed)
old prop read: ZsBS.GQNx7L4uPNA (failed)
----- /proc/modules -----
ppp_async 8612 1 - Live 0xbf136000
crc_ccitt 1856 1 ppp_async, Live 0xbf134000
ppp_generic 19252 5 ppp_async, Live 0xbf12e000
slhc 5984 1 ppp_generic, Live 0xbf12b000
option 12512 2 - Live 0xbf126000
usbserial 27756 5 option, Live 0xbf11e000
ehci_hcd 38880 1 option, Live 0xbf113000
usbcore 136388 4 option,usbserial,ehci_hcd, Live 0xbf0f0000
ar6000 161076 0 - Live 0xbf0c7000
g_ether 21096 0 - Live 0xbf09f000
arcotg_udc 38628 1 g_ether, Live 0xbf094000
volume 8900 1 - Live 0xbf0c3000
fiveway 23552 1 - Live 0xbf0bc000
mxc_keyb 15904 1 - Live 0xbf0b7000
uinput 7776 0 - Live 0xbf0b4000
fuse 48348 2 - Live 0xbf0a7000
mwan 7324 2 ppp_async,ehci_hcd, Live 0xbf091000
eink_fb_shim 116732 0 - Live 0xbf073000
eink_fb_hal_broads 397532 0 - Live 0xbf010000
eink_fb_hal 59764 10 eink_fb_shim,eink_fb_hal_broads, Live 0xbf000000
----- /proc/modules end -----
used irqs: 4,7,8,9,10,13,14,24,25,29,31,34,35,37,41,42,45
=========== end debug info ============
01: None 00.0: 10107 System
[Created at sys.59]
Unique ID: rdCR.n_7QNeEnh23
Hardware Class: system
Model: "System"
Config Status: cfg=new, avail=yes, need=no, active=unknown

02: None 00.0: 10102 Main Memory
[Created at memory.61]
Unique ID: fffffffffffffffffffffffff
Hardware Class: memory
Model: "Main Memory"
Memory Range: 0x00000000-0x0fa85fff (rw)
Memory Size: 256 MB
Config Status: cfg=new, avail=yes, need=no, active=unknown

03: None 00.0: 10600 Disk
[Created at block.234]
Unique ID: ffffffffffffffffffffff
SysFS ID: /class/block/mmcblk0
SysFS BusID: mmc0:0001
SysFS Device Link: /devices/platform/mxsdhci.0/mmc_host/mmc0/mmc0:0001
Hardware Class: disk
Model: "Disk"
Driver: "mxsdhci", "mmcblk"
Device File: /dev/mmcblk0
Device Number: block 179:0-179:7
Geometry (Logical): CHS 122112/4/16
Size: 7815168 sectors a 512 bytes
Config Status: cfg=new, avail=yes, need=no, active=unknown

04: None 00.0: 11300 Partition
[Created at block.403]
Unique ID: fffffffffffffffffffff
Parent ID: HAKk.Fxp0d3BezAE
SysFS ID: /class/block/mmcblk0/mmcblk0p1
Hardware Class: partition
Model: "Partition"
Device File: /dev/mmcblk0p1
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #3 (Disk)

05: None 00.0: 11300 Partition
[Created at block.403]
Unique ID: fffffffffffffffffffff
Parent ID: HAKk.Fxp0d3BezAE
SysFS ID: /class/block/mmcblk0/mmcblk0p2
Hardware Class: partition
Model: "Partition"
Device File: /dev/mmcblk0p2
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #3 (Disk)

06: None 00.0: 11300 Partition
[Created at block.403]
Unique ID: ffffffffffffffffffffffff
Parent ID: HAKk.Fxp0d3BezAE
SysFS ID: /class/block/mmcblk0/mmcblk0p3
Hardware Class: partition
Model: "Partition"
Device File: /dev/mmcblk0p3
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #3 (Disk)

07: None 00.0: 11300 Partition
[Created at block.403]
Unique ID: ffffffffffffffffffffffffff
Parent ID: HAKk.Fxp0d3BezAE
SysFS ID: /class/block/mmcblk0/mmcblk0p4
Hardware Class: partition
Model: "Partition"
Device File: /dev/mmcblk0p4
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #3 (Disk)

08: USB 00.1: 0700 Serial controller
[Created at usb.122]
Unique ID: dOTr.sL41gfREnV2
Parent ID: k4bc.C8V1Qr1AZ16
SysFS ID: /devices/platform/fsl-ehci.0/usb1/1-1/1-1:1.1
SysFS BusID: 1-1:1.1
Hardware Class: unknown
Model: "AnyDATA WCDMA Products"
Hotplug: USB
Vendor: usb 0x16d5 "Any DATA Corporation"
Device: usb 0x6501 "AnyDATA WCDMA Products"
Driver: "option"
Driver Modules: "option"
Device File: /dev/ttyUSB1
Device Number: char 188:1
Speed: 12 Mbps
Module Alias: "usb:v16D5p6501d0000dc00dsc00dp00icFFiscFFipFF "
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #10 (Hub)

10: USB 00.0: 10a00 Hub
[Created at usb.122]
Unique ID: k4bc.C8V1Qr1AZ16
SysFS ID: /devices/platform/fsl-ehci.0/usb1/1-0:1.0
SysFS BusID: 1-0:1.0
Hardware Class: hub
Model: "Linux 2.6.26-rt-lab126 ehci_hcd Freescale On-Chip EHCI Host Controller"
Hotplug: USB
Vendor: usb 0x1d6b "Linux 2.6.26-rt-lab126 ehci_hcd"
Device: usb 0x0002 "Freescale On-Chip EHCI Host Controller"
Revision: "2.06"
Serial ID: "fsl-ehci.0"
Driver: "hub"
Driver Modules: "usbcore"
Speed: 480 Mbps
Module Alias: "usb:v1D6Bp0002d0206dc09dsc00dp01ic09isc00ip00 "
Config Status: cfg=new, avail=yes, need=no, active=unknown

11: Serial 00.0: 10801 Console
[Created at kbd.154]
Unique ID: fffffffffffffffffffffff
Hardware Class: keyboard
Model: "serial console"
Device: "serial console"
Device File: /dev/ttymxc0
Speed: 115.2 kbps
Config Status: cfg=new, avail=yes, need=no, active=unknown

12: None 00.0: 10780 Network Interface
[Created at net.124]
Unique ID: fffffffffffffffffffffffffffffffffffff
SysFS ID: /class/net/ppp0
Hardware Class: network interface
Model: "Network Interface"
Device File: ppp0
Link detected: yes
Config Status: cfg=new, avail=yes, need=no, active=unknown

13: None 00.0: 1070a WLAN
[Created at net.124]
Unique ID: fffffffffffffffffffffffffffffffff
SysFS ID: /class/net/wlan0
Hardware Class: network interface
Model: "WLAN network interface"
Device File: wlan0
HW Address: 28:ef:01:6d:8c:6b
Link detected: yes
Config Status: cfg=new, avail=yes, need=no, active=unknown

14: None 00.0: 1070c USB-Link
[Created at net.124]
Unique ID: ffffffffffffffffffffffffffffffff
SysFS ID: /class/net/usb0
SysFS Device Link: /devices/platform/fsl-usb2-udc/gadget
Hardware Class: network interface
Model: "USB-Link network interface"
Driver: "ether"
Device File: usb0
HW Address: ee:19:00:00:00:00
Link detected: yes
Config Status: cfg=new, avail=yes, need=no, active=unknown

15: None 00.0: 10700 Loopback
[Created at net.124]
Unique ID: fffffffffffffffffffffffffffffffff
SysFS ID: /class/net/lo
Hardware Class: network interface
Model: "Loopback network interface"
Device File: lo
Link detected: yes
Config Status: cfg=new, avail=yes, need=no, active=unknown
twobob is offline   Reply With Quote
Old 11-10-2013, 04:18 PM   #26
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
scanning corrupted FAT partition from linux

sudo dosfsck -w -l -a -v -t /dev/<sdd1>

where <sdd1> is the device found from running the mount command

Last edited by twobob; 11-10-2013 at 04:21 PM.
twobob is offline   Reply With Quote
Old 11-14-2013, 08:06 AM   #27
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
make an ext3 partition and mount it.

Code:
dd if=/dev/zero of=/mnt/us/extensions/postgresql/data/data.ext3 bs=1M count=512
mkfs.ext3 /mnt/us/extensions/postgresql/data/data.ext3
tune2fs -i 0 -c 0 /mnt/us/extensions/postgresql/data/data.ext3
mkdir /mnt/us/extensions/postgresql/data/rt
mount -o loop -t ext3 /mnt/us/extensions/postgresql/data/data.ext3 /mnt/us/extensions/postgresql/data/rt
twobob is offline   Reply With Quote
Old 11-14-2013, 09:31 PM   #28
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Congratulations. RT is now installed.


You must now configure RT by editing /mnt/us/extensions/rt/usr/etc/RT_SiteConfig.pm.

(You will definitely need to set RT's database password in
/mnt/us/extensions/rt/usr/etc/RT_SiteConfig.pm before continuing. Not doing so could be
very dangerous. Note that you do not have to manually add a
database user or set up a database for RT. These actions will be
taken care of in the next step.)

After that, you need to initialize RT's database by running
'make initialize-database'


tomorrow...
EDIT:


[root@kindle root]# /mnt/us/extensions/nginx/usr/sbin/nginx
[root@kindle root]# pidof nginx
4169 4168

[root@kindle root]# /mnt/us/extensions/lighttpd/usr/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -f /mnt/us/extensions/rt/usr/bin/rt
Quote:
spawn-fcgi.c.197: child spawned successfully: PID: 4182
[root@kindle root]# Warning [/etc/inputrc line 15]: Re-binding char #48 from [F_DigitArgument] to meta for [100] => BackwardWord.

rt>

Last edited by twobob; 11-15-2013 at 11:32 AM.
twobob is offline   Reply With Quote
Old 11-17-2013, 02:05 PM   #29
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Code:
131117:184913 cvm[1464]: D DailyScreensaverAdRotationController:DebugInfo::DailyScreensaverAdRotation is paused.
Not setting device wakeup.

So it can be done... interesting.
twobob is offline   Reply With Quote
Old 06-11-2014, 11:24 PM   #30
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
http://rg3.github.io/youtube-dl/download.html

and

Quote:
youtube-player
Opens YouTube videos with MPlayer (uses mplayer and youtube-dl).
Code:
//~/.config/dwb/userscripts/youtube-mplayer.js
//!javascript 
// opens YouTube videos with mplayer.
var regex = new RegExp("http(.*)://www.youtube.com/watch\\?(.*&)*v=.*");

Signal.connect("navigation", function (wv, frame, request) {
  if (wv.mainFrame == frame && regex.test(request.uri)) 
    system.spawn("sh -c 'mplayer \"$(youtube-dl -g " + request.uri + ")\"'");
  return false;
});
in dwb

https://wiki.archlinux.org/index.php/Dwb

dwb runs nicely with:

Code:
#!/bin/sh
###########################################################################
#
# Twobob redefined starter for a kindle touch application.
#
###########################################################################

#setup helpful variables...
		APP=dwb

		EXTENSION=/mnt/us/extensions

export	LD_LIBRARY_PATH=${EXTENSION}/dwb/lib:/usr/lib:/lib	

#( same command for PW + Touch so ditch the detection )
#		PLATFORM="$(cat /sys/devices/platform/mxc_epdc_fb/graphics/fb0/modes)"

		SSSTATE=`lipc-get-prop com.lab126.powerd preventScreenSaver` 

cd /mnt/us/extensions/$APP

# be certin we only have one instance

killall -9 $APP &> /dev/null
usleep 500

# prevent SS from bothering us mid app.
lipc-set-prop com.lab126.powerd preventScreenSaver 1

# Run it ( same command for PW + Touch so ditch the detection )
GTK_IM_MODULE=kindle \
GDK_PIXBUF_MODULE_FILE=/mnt/us/extensions/$APP/bin/pixbuf/gdk-pixbuf.loaders \
${EXTENSION}/$APP/bin/$APP -e 0  http://google.com

lipc-set-prop com.lab126.powerd preventScreenSaver "$SSSTATE"
and in sftp://root@192.168.1.<kindleIP>/var/tmp/root/.config/awesome

I have

lab126LayerLogic.lua


and I replaced the code in it like:



Code:
function parseWindowName(str) 

    local str = str
    local charSeparator = '_'

    -- validate
    --if str == nil or not stringStartsWith(str, "L:") then
       -- return nil
    --end

Code:
	    if str == nil then
       		return nil
 		end

	if not stringStartsWith(str, "L:") then

-- Debug 		llog.info("WindowManager", "bad-client-name", "winName=" .. tostring(str), "report-untidy")
		
-- exact matches only, Ditch the system stuff, this prevents thing like "Gtkboard" matching "kb"
-- I think replacing this with some \bword\b boundary matching might work better		
		if (str == "kb") or (str == "webreader") or (str ==  "pillowd") then
       	return nil

	       else

-- we made it this far - let tidy up likely corner cases
-- tidy up spaces and other potentially magic characters
			str = string.gsub(str, "%s+", "-")
			str = string.gsub(str, "%%+", "-")
			str = string.gsub(str, "%^+", "-")
			str = string.gsub(str, "%$+", "-")
			str = string.gsub(str, "%(+", "-")
			str = string.gsub(str, "%)+", "-")
			str = string.gsub(str, "%[+", "-")
			str = string.gsub(str, "%]+", "-")
			str = string.gsub(str, "%*+", "-")
			str = string.gsub(str, "%?+", "-")
			str = string.gsub(str, "%++", "-")
			str = string.gsub(str, "%_+", "-")
			str = string.gsub(str, "%/+", "-")
			str = string.gsub(str, "%:+", "-")

-- Debug	 		llog.info("WindowManager", "good-client-name", "winName=" .. tostring(str), "post-tidy")
	        	str = "L:A_N:application_ID:" .. tostring(str) .. "_O:R_PC:N"
-- Debug			llog.info("WindowManager", "title", tostring(str) , " ✔")
    end
end

Code:
    local entries = {}

    for splitStr in stringSplit(str, '_') do
        log("splitStr is " .. splitStr)



The greyed bits show where I edited from and to.

and rc.lua is:

Code:
package.path = "/var/tmp/root/.config/awesome/?.lua;" .. package.path
dofile("/etc/xdg/awesome/rc.lua")

local lipcH, errNum, errMsg = lipc.init("com.lab126.winmgr.extra")
if not lipcH then
  log ("!!!!!!!!!!!failed to init lipc " .. tostring(errNum) .. ", " .. errMsg)
  else
   lipcH:register_string_property("restart", "w").listener = awesome.restart
   awesome.add_signal("exit", lipcH:close)
end
but the lipc restart command

Quote:
lipc-set-prop com.lab126.winmgr.extra restart now
isnt working for me. could just be my kindle.

however killall awesome works fine.

after that starting the ./dwb.sh seems to work with no error or titling fuss.

not sure how to get this working really with the keyboards as it is very keyboard heavy. happy to leave that to someone else.

I trimmed about 8mb of system included libs...
but its a vaguely interesting idea I thought and was easy to build for the touch. and PW too therefore.

but as I said "keyboard heavy interfaces" not great,

however the mplayer youtube hookup being extracted out into say a wget and an ncurses interface ditching dwb could be workable,

would be intersting to see mplayer handle that. it did elegantly handle dithering one time before albeit not perfectly reliable. worth a pop.

sticking point in python but i believe we have that. Anyone think this is not insane?
dunnno. might be cool. various aspects of it might be.

some not so much.

still needs 58mb! of supporting libs built like this... not ideal.

And The keyboard would need a double finger popup-popdown code wrapper or something I suppose.

I didnt bother wrapping it as an extension as its not finished. and its too big to run easily. or repack on here.

however those libs included once to justify a few builds might be worth it. dunno.
could probably be built smarter.

all that said; the general "Application Fronting" principle seems to work nicely now I revisit it. which is worth noting.

Im sure baf posting a much simpler LUA solution but I couldnt find it yet.

Last edited by twobob; 06-12-2014 at 01:37 PM.
twobob is offline   Reply With Quote
Reply

Tags
hello world, kindle, languages, titbits, twobob


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Free (K) World's Collider: A Shared-World Anthology [Science Fiction/Horror] kg3 Deals and Resources (No Self-Promotion or Affiliate Links) 0 09-14-2012 06:06 PM
Kindle free book: Hungarian Cookbook: Old World Recipes for New World Cooks, Expanded greencat Deals and Resources (No Self-Promotion or Affiliate Links) 0 06-15-2011 04:07 AM
UK/DE Kindle free book: World Kitchen: World Recipes greencat Deals and Resources (No Self-Promotion or Affiliate Links) 1 06-02-2011 10:53 AM
Old World and New World Computing kjk Apple Devices 0 01-31-2010 02:09 PM


All times are GMT -4. The time now is 04:37 PM.


MobileRead.com is a privately owned, operated and funded community.