Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-18-2011, 08:48 AM   #16
tvjohn
Connoisseur
tvjohn is a glorious beacon of lighttvjohn is a glorious beacon of lighttvjohn is a glorious beacon of lighttvjohn is a glorious beacon of lighttvjohn is a glorious beacon of lighttvjohn is a glorious beacon of lighttvjohn is a glorious beacon of lighttvjohn is a glorious beacon of lighttvjohn is a glorious beacon of lighttvjohn is a glorious beacon of lighttvjohn is a glorious beacon of light
 
Posts: 83
Karma: 12307
Join Date: Apr 2011
Device: Kindle 3, K4NT
http://breadboardconfessions.blogspo...rfaces-to.html

may be useful? It might be worth contacting him, as he's building this to help his Sister, so you could perhaps compare notes.

I do intend to investigate the console port, but haven't as yet, as I haven't thought of a good way to bring out the 3 wires cable through the case.

I imagine forward & back page is your main goal so your Dad can just work through a book, but more switch control would be useful?
tvjohn is offline   Reply With Quote
Old 04-18-2011, 11:36 AM   #17
h1uke
Zealot
h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.
 
Posts: 121
Karma: 82565
Join Date: Aug 2010
Location: Maryland, USA
Device: dxg, k3w,k4nt,kpw
Quote:
Originally Posted by Robar46 View Post
Can anyone provide a list of commands that would activate different buttons?
in order to simulate key- or fiveway manipulator presses you have to write
a command to a /proc/keypad or /proc/fiveway special file, respectively.

The command can be one of the following:
  • send nn
  • sendshift nn
  • sendalt nn

This can be done by issuing the echo command to the linux console shell:

echo "send nn" >/proc/keypad

'nn' here is a key code according to a list below:

Code:
; Alt + Row1 

1 = 2
2 = 3
3 = 4
4 = 5
5 = 6
6 = 7
7 = 8
8 = 9
9 = 10
0 = 11

; Row1 

Q = 16
W = 17
E = 18
R = 19
T = 20
Y = 21
U = 22
I = 23
O = 24
P = 25

; Row2 

A = 30
S = 31
D = 32
F = 33
G = 34
H = 35
J = 36
K = 37
L = 38
Del = 14

; Row3 

Z = 44
X = 45
C = 46
V = 47
B = 48
N = 49
M = 50
Dot = 52
Slash = 53
Enter = 28

; Row4 

Shift = 42
Alt = 56
Space = 57
aA = 90
Sym = 94

; Edge

VPlus = 115
VMinus = 114
Home = 98
< = 109
> = 124
Menu = 139
Back = 91

; FiveWay manipulator

; 
FW_Left = 105
FW_Right = 106
FW_Up = 122
FW_Down = 123
FW_Press = 92

; Kindle3-specific keys

; Row4
k3_aA =	190
k3_Sym	= 126
k3_Home	= 102
k3_Back	= 158

; Edge, left and right 
k3_> = 191
lk3_< = 193
lk3_> = 104

; bottom edge. same codes as on DXG, but generated by dev/input/event2 
k3_VPlus = 115
k3_VMinus = 114

; FiveWay manipulator 
k3_FW_Up = 103
k3_FW_Down = 108
k3_FW_Press = 194

Last edited by h1uke; 04-18-2011 at 11:40 AM.
h1uke is offline   Reply With Quote
 
Advertisement
Old 04-19-2011, 06:58 PM   #18
Robar46
Junior Member
Robar46 began at the beginning.
 
Posts: 3
Karma: 12
Join Date: Apr 2011
Device: Kindle DX (graphite)
Thanks for the help, but I am not really familiar with linux at all. What does it mean to send a command to the "linux console shell"? Do I have to access it somehow before sending a command? I've soldered wires to the serial port pads according to the layout in this post: http://www.mobileread.com/forums/showthread.php?t=49942, and I've tried sending some echo commands as you suggested but I'm not getting any response (115200kbps, 8-N-1). I've also monitored the TX line with an oscilloscope when starting it up, but I didn't see any activity.
Robar46 is offline   Reply With Quote
Old 04-19-2011, 07:11 PM   #19
Bricorn
Addict
Bricorn ought to be getting tired of karma fortunes by now.Bricorn ought to be getting tired of karma fortunes by now.Bricorn ought to be getting tired of karma fortunes by now.Bricorn ought to be getting tired of karma fortunes by now.Bricorn ought to be getting tired of karma fortunes by now.Bricorn ought to be getting tired of karma fortunes by now.Bricorn ought to be getting tired of karma fortunes by now.Bricorn ought to be getting tired of karma fortunes by now.Bricorn ought to be getting tired of karma fortunes by now.Bricorn ought to be getting tired of karma fortunes by now.Bricorn ought to be getting tired of karma fortunes by now.
 
Bricorn's Avatar
 
Posts: 246
Karma: 1498522
Join Date: Sep 2009
Location: Cornwall, UK
Device: Kindle DXG
Thinking simpler, how about a low voltage solenoid (battery powered) physically clamped over the page turn button with a foot pedal to activate it?
Bricorn is offline   Reply With Quote
Old 04-30-2011, 09:59 AM   #20
Sir Alex
Groupie
Sir Alex once ate a cherry pie in a record 7 seconds.Sir Alex once ate a cherry pie in a record 7 seconds.Sir Alex once ate a cherry pie in a record 7 seconds.Sir Alex once ate a cherry pie in a record 7 seconds.Sir Alex once ate a cherry pie in a record 7 seconds.Sir Alex once ate a cherry pie in a record 7 seconds.Sir Alex once ate a cherry pie in a record 7 seconds.Sir Alex once ate a cherry pie in a record 7 seconds.Sir Alex once ate a cherry pie in a record 7 seconds.Sir Alex once ate a cherry pie in a record 7 seconds.Sir Alex once ate a cherry pie in a record 7 seconds.
 
Posts: 157
Karma: 1777
Join Date: Sep 2010
Location: Minsk, Belarus
Device: Kindle 4
Tomorrow, I successfully checked my idea with serial line. So it possible to control Kindle over Serial line. You must change root password (via ssh and usbnetwork). Reboot Kindle and enter within 60 sec, root login and password when login prompt (in the terminal). After this you can send commands to console in example:
echo "send 193" > /proc/keypad
this will turn next page.
Left to do ATMEL (or other MCU) based adapter and write software for it
Sir Alex is offline   Reply With Quote
Old 02-14-2013, 10:35 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,552
Karma: 6021146
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 h1uke View Post
in order to simulate key- or fiveway manipulator presses you have to write
a command to a /proc/keypad or /proc/fiveway special file, respectively.

The command can be one of the following:
  • send nn
  • sendshift nn
  • sendalt nn

This can be done by issuing the echo command to the linux console shell:

echo "send nn" >/proc/keypad

'nn' here is a key code according to a list below:

Code:
; Alt + Row1 

1 = 2
2 = 3
3 = 4
4 = 5
5 = 6
6 = 7
7 = 8
8 = 9
9 = 10
0 = 11

; Row1 

Q = 16
W = 17
E = 18
R = 19
T = 20
Y = 21
U = 22
I = 23
O = 24
P = 25

; Row2 

A = 30
S = 31
D = 32
F = 33
G = 34
H = 35
J = 36
K = 37
L = 38
Del = 14

; Row3 

Z = 44
X = 45
C = 46
V = 47
B = 48
N = 49
M = 50
Dot = 52
Slash = 53
Enter = 28

; Row4 

Shift = 42
Alt = 56
Space = 57
aA = 90
Sym = 94

; Edge

VPlus = 115
VMinus = 114
Home = 98
< = 109
> = 124
Menu = 139
Back = 91

; FiveWay manipulator

; 
FW_Left = 105
FW_Right = 106
FW_Up = 122
FW_Down = 123
FW_Press = 92

; Kindle3-specific keys

; Row4
k3_aA =	190
k3_Sym	= 126
k3_Home	= 102
k3_Back	= 158

; Edge, left and right 
k3_> = 191
lk3_< = 193
lk3_> = 104

; bottom edge. same codes as on DXG, but generated by dev/input/event2 
k3_VPlus = 115
k3_VMinus = 114

; FiveWay manipulator 
k3_FW_Up = 103
k3_FW_Down = 108
k3_FW_Press = 194
Super genuinely helpful. Thanks
twobob is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-350 Page Turn Pomtroll Sony Reader 39 02-10-2011 04:23 PM
PRS-600 Page turn John F Sony Reader 6 09-03-2010 09:13 AM
PRS-300 5 Second to turn Page! Elton Noway Sony Reader 7 06-05-2010 06:38 PM
Why turn off eink device? BongoBong General Discussions 27 04-15-2010 05:55 PM
Can't turn off device-Help EvieE Sony Reader 0 04-07-2009 09:04 AM


All times are GMT -4. The time now is 09:45 PM.


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