Skip to content

Commit

Permalink
Added scripts for auto-enabling/hiding the Onboard on-screen keyboard…
Browse files Browse the repository at this point in the history
… when the tablet is undocked/docked
  • Loading branch information
jfwells committed Feb 23, 2014
1 parent e185ee0 commit 0a6758e
Show file tree
Hide file tree
Showing 6 changed files with 632 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etc/udev/rules.d/95-hybrid-onscreen-keyboard.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ACTION=="add", SUBSYSTEMS=="usb", ATTRS{manufacturer}=="ASUSTek COMPUTER INC.", ATTRS{idProduct}=="17e0", RUN+="USER=`/usr/bin/who | /bin/grep :0 | /usr/bin/head -1 | /usr/bin/cut -f 1 -d ' '`; /bin/su $USER -c /lib/udev/base-station-added.sh"
ACTION=="remove", SUBSYSTEMS=="usb", ATTRS{manufacturer}=="ASUSTek COMPUTER INC.", ATTRS{idProduct}=="17e0", RUN+="USER=`/usr/bin/who | /bin/grep :0 | /usr/bin/head -1 | /usr/bin/cut -f 1 -d ' '`; /bin/su $USER -c /lib/udev/base-station-removed.sh"
160 changes: 160 additions & 0 deletions lib/firmware/brcm/brcmfmac43241b4-sdio.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
#Sample variables file for BCM94324A1 iPA+iLNA FCBGA REF board
# NV VER: 0.2.3.0.XV1
# 20130829 Change Note:
# Enable Out of band GPIO for connected standby
# 20130809 Change Note:
# REMOVE 2x2 BTC effect BIT
# Change CCODE to XV/1
# 20130816 Change Note:
# Change PA parameters for TSSI
# 20130830 Change Note:
# Change Power-per-rate settings
# 20130903 Change Note:
# Change Power-per-rate settings
devid=0x4374
boardtype=0x5f0
boardrev=0x1200
boardflags=0x201
#boardflags2=0x00800000
macaddr=00:90:4c:cc:11:33
sromrev=9
xtalfreq=37400
nocrc=1
ag0=0x2
ag1=0x2
ag2=0xff
ag3=0xff
txchain=0x1
rxchain=0x1
aa2g=1
aa5g=1
ccode=XV
regrev=1
ledbh0=0xff
ledbh1=0xff
ledbh2=0xff
ledbh3=0xff
leddc=0xffff
pa2gw0a0=0xFFC5
pa2gw1a0=0x1597
pa2gw2a0=0xFED8
pa2gw0a1=0xFFC9
pa2gw1a1=0x15B5
pa2gw2a1=0xFED4
maxp2ga0=64
maxp2ga1=64
maxp5ga0=50
maxp5ga1=50
maxp5gha0=50
maxp5gha1=50
maxp5gla0=64
maxp5gla1=72
pa0itssit=62
pa1itssit=62
antswctl2g=0x9
antswctl5g=0xa
antswitch=0x0
subband5gver=0
pa5gw0a0=0xFFBB
pa5gw1a0=0x120C
pa5gw2a0=0xFEF2
pa5gw0a1=0xFFCA
pa5gw1a1=0x1332
pa5gw2a1=0xFEF9
pa5glw0a0=0xFFC6
pa5glw1a0=0x11e4
pa5glw2a0=0xFF01
pa5glw0a1=0xFFCB
pa5glw1a1=0x135D
pa5glw2a1=0xFEF6
pa5ghw0a0=0xFFC1
pa5ghw1a0=0x1253
pa5ghw2a0=0xFEF9
pa5ghw0a1=0xFFCE
pa5ghw1a1=0x1356
pa5ghw2a1=0xFEF5
extpagain2g=2
extpagain5g=2
pdetrange2g=2
pdetrange5g=2
triso2g=4
triso5g=5
tssipos2g=1
tssipos5g=1
cckbw202gpo=0x0000
cckbw20ul2gpo=0x0000
legofdmbw202gpo=0x77777777
legofdmbw20ul2gpo=0x77777777
mcsbw202gpo=0xBBBBBBBB
mcsbw20ul2gpo=0xBBBBBBBB
mcsbw402gpo=0xBBBBBBBB
mcs32po=0x5555
leg40dup2gpo=0x2
legofdmbw205glpo=0x44332200
legofdmbw20ul5glpo=0x44332200
legofdmbw205gmpo=0x00000000
legofdmbw20ul5gmpo=0x00000000
legofdmbw205ghpo=0x00000000
legofdmbw20ul5ghpo=0x00000000
mcsbw205glpo=0x66442200
mcsbw20ul5glpo=0x66442200
mcsbw405glpo=0xaa887766
mcsbw205gmpo=0x11110000
mcsbw20ul5gmpo=0x11110000
mcsbw405gmpo=0x33221100
mcsbw205ghpo=0x11110000
mcsbw20ul5ghpo=0x11110000
mcsbw405ghpo=0x33221100
itt2ga0=0x20
itt5ga0=0x3e
itt2ga1=0x20
itt5ga1=0x3e
tempthresh=120
otpimagesize=232
usbepnum=0x2
muxenab=0x0
noisecaloffset=14
noisecaloffset5g=14
rssicorrnorm_core0=0x2004
rssicorrnorm_core1=0x2004
rssicorrnorm_core0_5g1=0x2203
rssicorrnorm_core0_5g2=0x1f03
rssicorrnorm_core0_5g3=0x1903
rssicorrnorm_core1_5g1=0x2a03
rssicorrnorm_core1_5g2=0x2303
rssicorrnorm_core1_5g3=0x1d03
triso5g_l_c0=5
triso5g_l_c1=5
triso5g_m_c0=5
triso5g_m_c1=5
triso5g_h_c0=5
triso5g_h_c1=5
pa2gw0a0_lo=0xFFFA
pa2gw1a0_lo=0x0766
pa2gw2a0_lo=0xFF7B
pa2gw0a1_lo=0xFFEE
pa2gw1a1_lo=0x07AD
pa2gw2a1_lo=0xFF6E
pa5gw0a0_lo=0xFFF0
pa5gw1a0_lo=0x08D0
pa5gw2a0_lo=0xFF5C
pa5gw0a1_lo=0xFFD4
pa5gw1a1_lo=0x09B0
pa5gw2a1_lo=0xFF3F
pa5glw0a0_lo=0xFFE1
pa5glw1a0_lo=0x0934
pa5glw2a0_lo=0xFF4A
pa5glw0a1_lo=0xFFEA
pa5glw1a1_lo=0x09AD
pa5glw2a1_lo=0xFF4E
pa5ghw0a0_lo=0xFFDD
pa5ghw1a0_lo=0x08DD
pa5ghw2a0_lo=0xFF4D
pa5ghw0a1_lo=0xFFDE
pa5ghw1a1_lo=0x09D1
pa5ghw2a1_lo=0xFF46

# Out-of-band GPIO wakeup
sd_gpout=0
sd_gpval=1
sd_gpdc=0
187 changes: 187 additions & 0 deletions lib/firmware/brcm/modified-nvram1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
devid=0x4374
boardtype=0x5f0
boardrev=0x1200
boardflags=0x200
#boardflags2=0x00800000
macaddr=bc:ee:7b:a2:b9:eb
sromrev=9
xtalfreq=37400
nocrc=1
ag0=0x2
ag1=0x2
ag2=0xff
ag3=0xff
txchain=0x1
rxchain=0x1
aa2g=1
aa5g=1
#ccode=XV
regrev=1
ledbh0=0xff
ledbh1=0xff
ledbh2=0xff
ledbh3=0xff
leddc=0xffff
pa2gw0a0=0xFFC5
pa2gw1a0=0x1597
pa2gw2a0=0xFED8
pa2gw0a1=0xFFC9
pa2gw1a1=0x15B5
pa2gw2a1=0xFED4
maxp2ga0=64
maxp2ga1=64
maxp5ga0=50
maxp5ga1=50
maxp5gha0=50
maxp5gha1=50
maxp5gla0=64
maxp5gla1=72
pa0itssit=62
pa1itssit=62
antswctl2g=0x9
antswctl5g=0xa
antswitch=0x0
subband5gver=0
pa5gw0a0=0xFFBB
pa5gw1a0=0x120C
pa5gw2a0=0xFEF2
pa5gw0a1=0xFFCA
pa5gw1a1=0x1332
pa5gw2a1=0xFEF9
pa5glw0a0=0xFFC6
pa5glw1a0=0x11e4
pa5glw2a0=0xFF01
pa5glw0a1=0xFFCB
pa5glw1a1=0x135D
pa5glw2a1=0xFEF6
pa5ghw0a0=0xFFC1
pa5ghw1a0=0x1253
pa5ghw2a0=0xFEF9
pa5ghw0a1=0xFFCE
pa5ghw1a1=0x1356
pa5ghw2a1=0xFEF5
extpagain2g=2
extpagain5g=2
pdetrange2g=2
pdetrange5g=2
triso2g=4
triso5g=5
tssipos2g=1
tssipos5g=1
cckbw202gpo=0x0000
cckbw20ul2gpo=0x0000
legofdmbw202gpo=0x77777777
legofdmbw20ul2gpo=0x77777777
mcsbw202gpo=0xBBBBBBBB
mcsbw20ul2gpo=0xBBBBBBBB
mcsbw402gpo=0xBBBBBBBB
mcs32po=0x5555
leg40dup2gpo=0x2
legofdmbw205glpo=0x44332200
legofdmbw20ul5glpo=0x44332200
legofdmbw205gmpo=0x00000000
legofdmbw20ul5gmpo=0x00000000
legofdmbw205ghpo=0x00000000
legofdmbw20ul5ghpo=0x00000000
mcsbw205glpo=0x66442200
mcsbw20ul5glpo=0x66442200
mcsbw405glpo=0xaa887766
mcsbw205gmpo=0x11110000
mcsbw20ul5gmpo=0x11110000
mcsbw405gmpo=0x33221100
mcsbw205ghpo=0x11110000
mcsbw20ul5ghpo=0x11110000
mcsbw405ghpo=0x33221100
itt2ga0=0x20
itt5ga0=0x3e
itt2ga1=0x20
itt5ga1=0x3e
tempthresh=120
otpimagesize=232
usbepnum=0x2
muxenab=0x0
noisecaloffset=14
noisecaloffset5g=14
rssicorrnorm_core0=0x2004
rssicorrnorm_core1=0x2004
rssicorrnorm_core0_5g1=0x2203
rssicorrnorm_core0_5g2=0x1f03
rssicorrnorm_core0_5g3=0x1903
rssicorrnorm_core1_5g1=0x2a03
rssicorrnorm_core1_5g2=0x2303
rssicorrnorm_core1_5g3=0x1d03
triso5g_l_c0=5
triso5g_l_c1=5
triso5g_m_c0=5
triso5g_m_c1=5
triso5g_h_c0=5
triso5g_h_c1=5
pa2gw0a0_lo=0xFFFA
pa2gw1a0_lo=0x0766
pa2gw2a0_lo=0xFF7B
pa2gw0a1_lo=0xFFEE
pa2gw1a1_lo=0x07AD
pa2gw2a1_lo=0xFF6E
pa5gw0a0_lo=0xFFF0
pa5gw1a0_lo=0x08D0
pa5gw2a0_lo=0xFF5C
pa5gw0a1_lo=0xFFD4
pa5gw1a1_lo=0x09B0
pa5gw2a1_lo=0xFF3F
pa5glw0a0_lo=0xFFE1
pa5glw1a0_lo=0x0934
pa5glw2a0_lo=0xFF4A
pa5glw0a1_lo=0xFFEA
pa5glw1a1_lo=0x09AD
pa5glw2a1_lo=0xFF4E
pa5ghw0a0_lo=0xFFDD
pa5ghw1a0_lo=0x08DD
pa5ghw2a0_lo=0xFF4D
pa5ghw0a1_lo=0xFFDE
pa5ghw1a1_lo=0x09D1
pa5ghw2a1_lo=0xFF46
sd_gpout=0
sd_gpval=1
sd_gpdc=0



# 11g paparams
pa0b0=5542,5542,5542
pa0b1=64244,64244,64244
pa0b2=65202,65202,65202

pa0itssit=62
pa0maxpwr=74
opo=0
mcs2gpo0=0x6666
mcs2gpo1=0x6666

# 11g rssi params
rssismf2g=0xa,0xa,0xa
rssismc2g=0xb,0xb,0xb
rssisav2g=0x3,0x3,0x3
bxa2g=0

# country code
ccode=ALL
cctl=0x0
cckdigfilttype=0
ofdmdigfilttype=1

nocrc=1

#for mfgc
otpimagesize=182

# sdio extra configs
hwhdr=0x05ffff031030031003100000

#This generates empty F1, F2 and F3 tuple chains, and may be used if the host SDIO stack does not require the standard tuples.
#RAW1=80 02 fe ff

#This includes the standard FUNCID and FUNCE tuples in the F1, F2, F3 and common CIS.
RAW1=80 32 fe 21 02 0c 00 22 2a 01 01 00 00 c5 0 e6 00 00 00 00 00 40 00 00 ff ff 80 00 00 00 00 00 00 00 00 00 00 c8 00 00 00 00 00 00 00 00 00 00 00 00 00 ff 20 04 D0 2 29 43 21 02 0c 00 22 04 00 20 00 5A
nvramver=4.218.214.0


Loading

0 comments on commit 0a6758e

Please sign in to comment.