View Single Post
Old 01-26-2013, 09:34 PM   #5
eureka
but forgot what it's like
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
On Kindle Touch 5.3.2
Code:
devcap-encrypt -i /etc/deviceConfig.conf /tmp/deviceConfig.decrypted.conf
will create INI-like file:
Spoiler:
Code:
# Groups are started by a header line containing the group name enclosed in '[' and ']',
# and ended implicitly by the start of the next group or the end of the file. 
# The group common contains features common to all devices, the remaining groups are devices associated with the platform.
# If feature.available=value does not exist its value will be assumed as false by default.
# For example audio.available key not existing means that there is no audio available.
# Please make sure the entries added here are not part of values calculated at runtime. Those value will be overwritten.
# For example varlocal.size will be overwritten by the value obtained from the ioctl call.
[common]
screen.available=true
screen.dpi=167
screen.resolution.width=600
screen.resolution.height=800
framebuffer.stride=608
wifi.available=true
touch.available=true
touch.proc=/proc/touch
button.home.available=true
usb.available=true
audio.available=true
accessory.available=true
adtcp.available=false
menu.wireless.available=true
archivepurchasedate.update=true
verticalswipe.available=true
[whitney]
wan.available=true
[whitney_wfo]

Obviously, it's the source for devcap-get-feature tool:
Code:
# devcap-get-feature -a audio
1
# devcap-get-feature -s audio available
true
# devcap-get-feature -i screen dpi
167
eureka is offline   Reply With Quote