一、PuTTY连接问题

Putty不是每次都能连上,有时需要把连接线先拔掉,再插上,就能登录kindle了。

 

二、usr/bin下的一些程序

  • powerd_test:有关电源的一些测试,但测试完后,kindle就重启了,连接也断掉了。还能查看当前电源状态:通过powerd_test -s 。

详细说明:

 
  
  1. powerd_test: Utility to test powerd 
  2. Options: 
  3.   s          : Print status 
  4.   i          : Simulate input event 
  5.   p          : Simulate power button pressed event 
  6.   h          : Simulate power button held event 
  7.   l          : Simulate low batt low event 
  8.   d <value>  : Set defer sleep property to given value 
  9.   r          : Simulate a random series of events at random intervals. 
  10.                Max interval is 10s by default
  11.   b<optional>: Set fake battery level if a value is provided.  
  12. Remember to there is no space between b and value.  If no value is 
  13. provided, it interactively accepts values from you and sets fake battery level 
  14.   t <value>  : Max interval between events in seconds. 
  15.                Valid only when used with -r 
  16.  
  17.   NOTE       : Only one of i,p,d, b and r can be used at one time 
  •  speaker_test:测试音频播放

 

 
  
  1. speaker-test 1.0.22 
  2.  
  3. Usage: speaker-test [OPTION]... 
  4. -h,--help       help 
  5. -D,--device     playback device 
  6. -r,--rate       stream rate in Hz 
  7. -c,--channels   count of channels in stream 
  8. -f,--frequency  sine wave frequency in Hz 
  9. -F,--format     sample format 
  10. -b,--buffer     ring buffer size in us 
  11. -p,--period     period size in us 
  12. -P,--nperiods   number of periods 
  13. -t,--test       pink=use pink noise, sine=use sine wave, wav=WAV file 
  14. -l,--nloops     specify number of loops to test, 0 = infinite 
  15. -s,--speaker    single speaker test. Values 1=Left2=right, etc 
  16. -w,--wavfile    Use the given WAV file as a test sound 
  17. -W,--wavdir     Specify the directory containing WAV files 
  18.  
  19. Recognized sample formats are: S8 S16_LE S16_BE FLOAT_LE S32_LE S32_BE 
  •  xwininfo:接触touch的触摸屏可返回touch的窗体信息。
 
  
  1. usage:  xwininfo [-options ...] 
  2.  
  3. where options include: 
  4.     -help                print this message 
  5.     -display host:dpy    X server to contact 
  6.     -root                use the root window 
  7.     -id windowid         use the window with the specified id 
  8.     -name windowname     use the window with the specified name 
  9.     -int                 print window id in decimal 
  10.     -children            print parent and child identifiers 
  11.     -tree                print children identifiers recursively 
  12.     -stats               print window geometry [DEFAULT] 
  13.     -bits                print window pixel information 
  14.     -events              print events selected for on window 
  15.     -size                print size hints 
  16.     -wm                  print window manager hints 
  17.     -shape               print shape extents 
  18.     -frame               don't ignore window manager frames 
  19.     -english             print sizes in english units 
  20.     -metric              print sizes in metric units 
  21.     -all                 -tree, -stats, -bits, -events, -wm, -size, -shape 
  • lipc-probe:可检测目前支持的服务。

 

 
  
  1. lipc-probe: Provides various functions for viewing properties offered by processes. 
  2. Usage: 
  3. lipc-probe [OPTIONS] [<service_name>] [<service_name>] ... 
  4. With no options, it probes the service.  It prints a list of properties offered by that service 
  5. OPTIONS: 
  6. -l:     List all available services in the system 
  7. -a:     List all services and probe each service 
  8. -v:     When listing a property, get the property's current 
  9.         value if the property is readable. If used along with -a, 
  10.         it will print values of all probed services.  It can not be 
  11.         used in conjunction with -l 

执行:

 
  
  1. lipc-probe -a

可以得到:

 

 
  
  1. com.lab126.todo 
  2.     w   Str reportStatus 
  3.     w   Str captivePortalResponse 
  4.     r   Int driveAvailInternally 
  5.     rw  Str logMask 
  6.     w   Str scheduleToDoItems 
  7.     w   Int scheduleToDo 
  8.     w   Str wifiPopupDone 
  9.     w   Str isToDoAvailable 
  10.     w   Str wirelessOn 
  11.     w   Int enableToDo 
  12.     rw  Str logLevel 
  13.     w   Int disableToDo 
  14. com.lab126.amazonRegistrationService 
  15.     r   Int isRegistered 
  16. com.lab126.audio 
  17.     rw  Str URI 
  18.     w   Str PlayerStop 
  19.     rw  Int Control 
  20.     rw  Int GstrLatency 
  21.     r   Int ManagerInitialize 
  22.     rw  Str logLevel 
  23.     rw  Int CmdIVolume 
  24.     r   Int CmdISpeakerMax 
  25.     w   Str SendEvent 
  26.     w   Int ThreadUp 
  27.     rw  Str logMask 
  28.     w   Str PlayerDataReady 
  29.     w   Str PlayerRelease 
  30.     r   Int ManagerCleanup 
  31.     w   Str PlayerResume 
  32.     rw  Int Seek 
  33.     w   Str PlayerCreate 
  34.     w   Str PlayerPrefetch 
  35.     r   Int CmdINSinks 
  36.     rw  Int Chapter 
  37.     w   Str PlayerLoop 
  38.     w   Str PlayerSeek 
  39.     w   Str PlayerPause 
  40.     r   Int CmdICurrentMax 
  41.     w   Str PlayerSuspend 
  42.     w   Int ResetVolume 
  43.     rw  Int GstrBufferTime 
  44.     w   Str PlayerStart 
  45.     r   Int ManagerShutdown 
  46.     w   Int Kill 
  47.     rw  Int Volume 
  48. com.lab126.winmgr.ligl 
  49.     w   Str logMask 
  50. com.lab126.booklet 
  51.     w   Str kill 
  52.     w   Str run 
  53. com.lab126.powerd 
  54.     w   Int addSuspendLevels 
  55.     r   Str status 
  56.     w   Int wakeUp 
  57.     rw  Int preventScreenSaver 
  58.     rw  Str logMask 
  59.     w   Int suspendGrace 
  60.     rw  Str logLevel 
  61.     w   Int deferSuspend 
  62.     w   Int powerButton 
  63.     w   Int touchScreenSaverTimeout 
  64.     r   Str state 
  65.     w   Int abortSuspend 
  66.     r   Int isCharging 
  67.     r   Int battLevel 
  68.     w   Int rtcWakeup 
  69. com.lab126.booklet.settings 
  70.     w   Int chromeStatus 
  71.     w   Str searchBarButtonSelected 
  72.     w   Str unload 
  73.     w   Str startresult 
  74.     w   Str pause 
  75.     w   Str load 
  76.     w   Str go 
  77. com.lab126.kaf 
  78.     w   Int allocHeap 
  79.     w   Str dumpHeap 
  80.     w   Str callCVM 
  81.     r   Int heapUsed 
  82.     rw  Str logMask 
  83.     r   Str timezoneId 
  84.     rw  Str logLevel 
  85.     w   Str callInspector 
  86.     r   Int frameworkStarted 
  87. com.lab126.winmgr 
  88.     r   Str accelerometer 
  89.     r   Str orientation 
  90.     w   Str refreshOnTurn 
  91.     rw  Int chromeState 
  92.     rw  Str orientationLock 
  93.     rw  Str logMask 
  94.     rw  Int altChrome 
  95.     w   Int liglPause 
  96.     rw  Str logLevel 
  97.     rw  Str debugInfo 
  98. com.lab126.booklet.home 
  99.     w   Int chromeStatus 
  100.     w   Str searchBarButtonSelected 
  101.     w   Str unload 
  102.     w   Str startresult 
  103.     w   Str pause 
  104.     w   Str load 
  105.     w   Str go 
  106. com.lab126.odot 
  107.     w   Str queueMessage 
  108. com.lab126.acxreaderplugin 
  109.     w   Str refreshAcxList 
  110.     r   Str currentPageBounds 
  111.     r   Str getCurrentBookSidecarLocation 
  112.     w   Str clearOnRestoreData 
  113.     rw  Has contentForRange 
  114.     r   Str currentContentMetadata 
  115.     w   Str setDocumentTitle 
  116.     r   Str currentContentItem 
  117.     r   Str currentSelection 
  118.     w   Str reportedAcxState 
  119.     w   Str registerPositionsForACX 
  120.     rw  Has convertPositions 
  121.     w   Str gotoPosition 
  122.     r   Str allReaderData 
  123.     w   Str setOnRestoreData 
  124.     r   Str readerSettings 
  125. com.lab126.JournalingService 
  126.     r   Int isEnabled 
  127. com.lab126.transferService 
  128.     rw  Has transferProgressNotification 
  129. com.lab126.adManager 
  130.     w   Str adViewerMessage 
  131.     r   Str peekNextAd 
  132.     r   Str nextAd 
  133.     w   Str adImpression 
  134. com.lab126.acxManager 
  135.     w   Str userAgentReady 
  136.     w   Str ACX_RefreshList 
  137.     rw  Str logLevel 
  138.     w   Str ACX_Done 
  139.     w   Str ACX_Start 
  140.     w   Str ACX_DoneStoreState 
  141.     w   Str userAgentContextStateChanged 
  142. com.lab126.pmond 
  143.     r   Str summary 
  144.     w   Str start 
  145.     w   Str restart 
  146.     w   Str stop 
  147.     rw  Str logMask 
  148.     w   Str kill 
  149.     w   Str heartbeat_start 
  150.     w   Str mem_limit 
  151.     rw  Str logLevel 
  152.     w   Str heartbeat_stop 
  153. com.lab126.DeviceAuthenticationService 
  154.     w   Int installCredentials 
  155.     r   Str cookies 
  156. com.lab126.blanket 
  157.     rw  Str unload 
  158.     rw  Str logMask 
  159.     rw  Str logLevel 
  160.     rw  Str load 
  161. com.lab126.archive 
  162.     rw  Str logMask 
  163.     rw  Str logLevel 
  164.     rw  Has transferProgressNotification 
  165.     w   Str handleToDoItem 
  166. com.lab126.system 
  167.     w   Str enableTimeAutoUpdate 
  168.     r   Str orientation 
  169.     w   Str disableTimeAutoUpdate 
  170.     r   Str monoTimeSaved 
  171.     w   Str sendEvent 
  172.     r   Str boardid 
  173.     w   Str takeScreenShot 
  174.     r   Str version 
  175.     w   Str date 
  176.     r   Str usid 
  177.     r   Str monoTime 
  178.     r   Str waveformversion 
  179.     r   Str isTimeAutoUpdateEnabled 
  180. com.amazon.kindle.inputMethod 
  181.     w   Str keyboardReplace 
  182.     w   Str keyboardDelete 
  183.     w   Str keyboardGetSurround 
  184.     w   Str keyboardSetPreeditString 
  185.     w   Str keyboardCommit 
  186. com.lab126.indexer 
  187.     r   Int numberOfItemsToBeIndexed 
  188.     r   Str pauseIndexerTillTimeMilliseconds 
  189.     w   Str pauseIndexerSourceMilliseconds 
  190.     w   Int pauseIndexerMilliseconds 
  191.     w   Int dumpIndexerState 
  192.     w   Str indexAndSearchContent 
  193. com.lab126.acxwua 
  194.     w   Str captivePortalResponse 
  195.     w   Str open 
  196.     w   Str wifiPopupDone 
  197.     w   Str wirelessOn 
  198.     w   Str close 
  199.     w   Str resume 
  200.     w   Str pause 
  201.     rw  Str logLevel 
  202. com.lab126.extractor.java 
  203.     w   Str logExtractors 
  204.     w   Str add 
  205.     w   Str delete 
  206.     w   Str update 
  207. com.lab126.scanner 
  208.     w   Int doFullScan 
  209.     rw  Str logMask 
  210.     rw  Str logLevel 
  211.     r   Int fullScanStatus 
  212. com.lab126.transfer 
  213.     rw  Has dump_queues 
  214.     rw  Has modify 
  215.     rw  Has get_info 
  216.     rw  Has request_upload 
  217.     rw  Has dequeue 
  218.     rw  Str logMask 
  219.     rw  Str logLevel 
  220.     rw  Has send_status 
  221.     rw  Has request_download 
  222.     rw  Has obliterate 
  223. com.lab126.dynconfig 
  224.     rw  Str logMask 
  225.     rw  Str logLevel 
  226.     rw  Has transferProgressNotification 
  227.     w   Str handleToDoItem 
  228. com.lab126.cmd 
  229.     w   Str ensureConnection 
  230.     rw  Has interfaceProperties 
  231.     r   Str activeInterface 
  232.     rw  Str logMask 
  233.     rw  Has availableInterfaces 
  234.     rw  Str logLevel 
  235.     rw  Int wirelessEnable 
  236.     rw  Int dbgEnableBlocked 
  237. com.lab126.todo.kaf 
  238.     w   Str handleToDoItem 
  239. com.lab126.keyboard 
  240.     r   Int show 
  241.     r   Int height 
  242.     r   Int flags 
  243.     w   Str open 
  244.     rw  Str logMask 
  245.     r   Int id 
  246.     rw  Str language 
  247.     w   Str close 
  248.     r   Int lang 
  249.     rw  Str languages 
  250.     rw  Str logLevel 
  251.     r   Str appID 
  252.     w   Str setSurround 
  253. com.lab126.pillow 
  254.     w   Str keyboardSetPreeditString 
  255.     w   Str displayChrome 
  256.     w   Str keyboardCommit 
  257.     w   Str searchResults 
  258.     w   Str keyboardReplace 
  259.     w   Str keyboardGetSurround 
  260.     w   Str configureChrome 
  261.     rw  Str logMask 
  262.     w   Str activityIndicator 
  263.     w   Str pillowAlert 
  264.     w   Str interrogatePillow 
  265.     w   Str keyboardDelete 
  266.     rw  Str logLevel 
  267.     w   Str debugInfo 
  268.     w   Str disableEnablePillow 
  269.     w   Str customDialog 
  270.     w   Str dismissChrome 
  271. com.lab126.tts 
  272.     rw  Str TtsSVoice 
  273.     w   Int CtrlBookmark 
  274.     rw  Has playFile 
  275.     rw  Int TextToProcess 
  276.     w   Int stop 
  277.     rw  Str logMask 
  278.     w   Int pause 
  279.     rw  Str logLevel 
  280.     w   Int unpause 
  281.     rw  Str TtsSModel 
  282.     rw  Int TtsISpeed 
  283. com.lab126.booklet.reader 
  284.     w   Str go 
  285.     w   Str searchSelection 
  286.     w   Int chromeStatus 
  287.     w   Str unload 
  288.     w   Str startresult 
  289.     w   Str pause 
  290.     w   Str load 
  291.     w   Str searchBarButtonSelected 
  292. com.lab126.wifid 
  293.     rw  Has createProfile 
  294.     r   Str signalStrength 
  295.     rw  Has cmNWProperties 
  296.     rw  Has netConfig 
  297.     r   Str manufacturerCode 
  298.     rw  Has profileData 
  299.     w   Int hotSpotDBDownloadStatus 
  300.     r   Str feelingLuckyProfile 
  301.     w   Str cmDisconnect 
  302.     rw  Has currentEssid 
  303.     r   Str 711 
  304.     r   Int profileCount 
  305.     w   Str cmConnMode 
  306.     r   Str cmState 
  307.     w   Str scan 
  308.     rw  Str logMask 
  309.     rw  Has createNetConfig 
  310.     r   Int scanListCount 
  311.     w   Str cmCheckConnection 
  312.     r   Int cmIntfInUse 
  313.     rw  Int enable 
  314.     r   Str macAddress 
  315.     rw  Str logLevel 
  316.     w   Str deleteProfile 
  317.     r   Str scanState 
  318.     w   Str cmConnect 
  319.     rw  Has scanList 
  320.     rw  Has cmIntfInfo 
  321.     r   Str macSecret 
  322. com.lab126.lxinit 
  323. com.lab126.appmgrd 
  324.     w   Str runresult 
  325.     w   Str pauseresult 
  326.     rw  Str logMask 
  327.     w   Str start 
  328.     w   Str goresult 
  329.     w   Str logallapps 
  330.     w   Int backward 
  331.     w   Str stop 
  332.     w   Str loghistory 
  333.     w   Str unloadresult 
  334.     w   Int forward 
  335.     w   Str loadresult 
  336.     w   Str savecontext 
  337.     rw  Str logLevel 
  338.     r   Str activeApp 
  339.     w   Int startdefault 
  340. com.lab126.phd 
  341.     w   Str newSPHSchedule 
  342.     rw  Str logMask 
  343.     rw  Str logLevel 
  344. com.lab126.volumd 
  345.     r   Int userstoreFreeSpace 
  346.     r   Int driveModeState 
  347.     r   Int userstoreTotalSpace 
  348.     rw  Str logMask 
  349.     rw  Int useUsbForNetwork 
  350.     w   Int userstoreReadyToUnMount 
  351.     w   Int userstoreDeferUnmountRequest 
  352.     rw  Str logLevel 
  353.     r   Int userstoreIsAvailable 
  354. com.lab126.ccat 
  355.     rw  Str logMask 
  356.     rw  Str logLevel 
  357. com.lab126.extractor.bridge 
  358. com.lab126.linux.arm.connectionutilities 
  359.     w   Str captivePortalResponse 
  360.     w   Str wifiPopupDone 
  361.     w   Str wirelessOn 
  362. com.lab126.ota 
  363.     w   Int startUpdate 
  364.     rw  Str logMask 
  365.     rw  Str logLevel 
  366.     r   Int isUpdateAvailable 
  367.     rw  Has transferProgressNotification 
  368.     w   Str handleToDoItem 
  369.     r   Str getUpdateVersion 
  370. com.lab126.sharing 
  371.     r   Int isSharingEnabled 
  372.     w   Str shareBookEvent 
  373.     w   Str shareBookText 
  374.     w   Str shareMessageAboutBook 
  375. com.lab126.cvm 
  376.     rw  Str logMask 
  377.     rw  Str logLevel