work daily

20150829 :


audio:


gst-launch playbin uri=file:///root/god.mp3 &


speaker:


echo "01 0808" > codec_reg


cat codec_reg | grep 48  #resever
echo "48 c800" > codec_reg






touchscreen :


###########fts_read_data: [485,1016], down = 1 
[ERROR] Touch ID readed is illegal!!
###########fts_read_data: [-3295,130], down = 1 
[ERROR] Touch ID readed is illegal!!
Bad event, ignore!!!
[ERROR] Touch ID readed is illegal!!
Bad event, ignore!!!
[ERROR] Touch ID readed is illegal!!
Bad event, ignore!!!
[ERROR] Touch ID readed is illegal!!
Bad event, ignore!!!
[ERROR] Touch ID readed is illegal!!
Bad event, ignore!!!
###########fts_read_data: [800,0], down = 1 
###########fts_read_data: [800,0], down = 1 
###########fts_read_data: [800,0], down = 1 
###########fts_read_data: [800,0], down = 1 
###########fts_read_data: [800,0], down = 1 
###########fts_read_data: [800,0], down = 1 
###########fts_read_data: [800,0], down = 1 
###########fts_read_data: [800,0], down = 1 
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = 80004000
[00000000] *pgd=00000000
Internal error: Oops: 80000005 [#1] PREEMPT SMP
Modules linked in:
CPU: 0    Not tainted  (3.0.35-gb729377-dirty #23)
PC is at 0x0
LR is at fts_read_data+0x22c/0x388
pc : [<00000000>]    lr : [<8035a288>]    psr: 60000013
sp : b262bf60  ip : 00000000  fp : 00000000
r10: 00000000  r9 : 00000000  r8 : 00000000
r7 : 00000000  r6 : 00000000  r5 : 00000000  r4 : ffffffff
r3 : 00000000  r2 : 00000000  r1 : 00000013  r0 : 00000000




20150907
to enable 125M clock


25M
 memtool -32 0x20c4060=0x010e00DB                               


set gpio6_15 to clko2
memtool -32 0x20e02ec=4


set clk root to 125M and div 2
memtool -32 0x20c4060=0x012900DB   


using gpio16 (NET_REF_CLK)
mx6dl:
memtool 0x20E080c=0x1 
memtool 0x20E0214=0x12 


gpr1 set bit 21 to 1
As for CCM_ANALOG_PLL_ENETn, please try the next configuration  memtool 0x20c80E0 CCM_ANALOG_PLL():
1) clear bit 16, BYPASS ;
2) set bit 13, ENABLE ;
3) clear bit 12, POWERDOWN.
memtool 0x20c80E0=0x80002003


HDMI detect
HDMI_IH_PHY_STAT0:offset 0x104  0x120104(absolute address)
result: fail, could not access the reg in uboot (to be find the resion)


无法打开大文件错误解决办法
fopen: Value too large for defined data type


-D_FILE_OFFSET_BITS=64




shell获取文件长度
ls -l /kscufs.ext3 | awk '{print $5}'  //$5为ls出来的第5个数据


ls -l /kscufs.ext3 | awk '{print int($5/10485760)}'




20150915:
issue: m603 生产的板子大概有1%会死机,换MX6可以正常,开始怀疑是mx6的问题,结果是供电不符合要求,mx6需要1.25v,给的电只有1.2v




20150929:


插入含有4个audio 通道的DSPGUSB时,usb会不断reset。
reset位置:
drivers/hid/usbhid/hid-core.c
97 static void hid_retry_timeout(unsigned long _hid)
 106         //hid_io_error(hid);
注掉这行可以正常使用这个usbaudio 设备


aplay使用方法:


aplay file.wav -D hw:1,0




20150930:


ipx300 插入有4个audio 通道的DSPGUSB时,出现kernel panel,
原因:重复注册switch_dev:
暂时的解决办法: 去掉sound/usb/card.c中关于switch_dev部分






20151013:
ubuntu 关机进入small graphic mode


sudo chown lightdm:lightdm -R arbghtdm
sudo chown avahi-autoipd:avahi-autoipd -R arb/avahi-autoipd
sudo chown colord:colord -R arb/colord


ubuntu 关机自动跳到输入密码的登陆界面:
检查:/usr/polkit-1/actions/org.freedesktop.consolekit.policy
添加:/etc/polkit-1/localauthority/50-local.d/usershutdown.pkla

[Allow Shutdown]
Identity=unix-user:*
Action=org.freedesktop.consolekit.system.stop-multiple-users
ResultAny=yes
ResultInactive=yes
ResultActive=yes


[Allow Restart]
Identity=unix-user:*
Action=org.freedesktop.consolekit.system.restart-multiple-users
ResultAny=yes
ResultInactive=yes
ResultActive=yes
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值