自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 资源 (2)
  • 收藏
  • 关注

原创 Fragment Tips

Fragment A+ ViewPager:  SensorListFragment + SensorDeviceFramgent ViewpagerFragment B: SensorDetailFragment1.   Create A by replace2. Create A by replace + addBackStack3. C

2016-09-02 17:55:47 232

原创 Audio Codec

DECLARE_TLV_DB_SCALE宏定义的mixer control,它所代表的值按一个固定的dB值的步长变化。该宏的第一个参数是要定义变量的名字,第二个参数是最小值,以0.01dB为单位。第三个参数是变化的步长,也是以0.01dB为单位。如果该control处于最小值时会做出mute时,需要把第四个参数设为1。

2016-01-29 15:37:40 1477

转载 linux定时任务的设置crontab

crontab, linux, 定时任务

2015-07-29 08:37:36 493

原创 lockup detector in kernel

Soft lockup and hardlockupDoc1. 抢占被长时间关闭而导致进程无法调度(soft lockup)2. 中断被长时间关闭而导致更严重的问题(hard lockup)More info please refer to Documentations/lockup_watchdogs.txtCodeImplementedin kernel/watch

2015-07-24 14:56:13 741

原创 spinlock implementation with arm

1      ARCH_SPIN_LOCK /UNLOCKTake armv7 code for example, its codes is much clear and easy tounderstandCodes static inline void arch_spin_lock(arch_spinlock_t *lock){        unsigned long tm

2015-07-22 14:38:04 568

原创 pm runtime management

2.    pm runtime introduction2.1  pm_runtimedocumentationDocumentation/power/runtime_pm.txt2.2  RuntimePM Device FieldsCommon for runtime PM status:.runtime_status = RPM_SUSPENDED;.disable

2015-07-16 09:53:03 538

原创 The C program language

1. .h文件中慎定义static变量,否则每一个包含此.h的c文件都会得到一个独立的变量,这可能不是你想要的。

2015-07-08 10:16:01 638

原创 Set up start development environment on ubuntu-12.04.1

1、安装unbutu-12.04.3系统, VMware , Win7 32 bitAttention: 把网线断开,否则安装很慢 ,安装前选定自己的硬件配置(network, mem, display,ect)Problem: I'm installing Ubuntu 12.04 on. So far the last step "Reticulating Splines"

2015-06-29 10:14:35 659

原创 sys node for g sensor KXT_9

This is the gsensor KXT_9 driver sysfs interface, any suggestion is welcomeSysfs NodesAttrDescriptionCommentintervalr/wGet/Set g sensor polling rate

2014-01-03 14:37:10 784

原创 sys interface for mpu9250

This is the gsensor MPU9250 driver sysfs interface according to my understanding; need to ask vendor for more information about sys interfaceSysfs NodesAttrDescriptionC

2014-01-03 14:34:18 1426

原创 Test DMA Module

mount -t debugfs none /sys/kernel/debug/inmod dmatest,ko    (Android shell, generic comand no effecte)chmod 777 /sys/kernel/debug/dmatest/*echo dma0chan0 > /sys/kernel/debug/dmatest/channel ec

2013-12-24 16:31:01 1040

Advanced Configuration and Power Interface Specification Revision4.0

Advanced Configuration and Power Interface Specification Revision4.0

2012-09-19

VisualC++编程资源大全源码控件

VisualC++编程资源大全源码控件,不错的资料,可以学习下

2009-04-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除