
Devices
jelly_bear
Technologies come and technologies go, but insight is forever.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
加载驱动时出现问题
hello: version magic '2.6.32' should be '2.6.32.2-FriendlyARM mod_unload ARMv4' 需要重新编译内核,make menuconfig 在General setup里面有一个()Local version的选项,点进去把,-friendlyarm给删除了,退出,make zImage,重新烧内核到开发板中,解决问题。转载 2012-04-08 23:13:24 · 874 阅读 · 0 评论 -
自动分配设备节点时出现问题
问题: class_create, class_device_create 等未详细定义 解决方法:添加linux/device.h 注意 这里class_device_create 已经改变为device_create 这里要注意了 device_create 返回结构体为device 而不是class_device! 所以要对 static struct class_device *d原创 2012-04-10 22:10:07 · 400 阅读 · 0 评论 -
驱动 编译时 出现问题
1.warning: passing argument 5 of 鈥榬equest_irq鈥?makes pointer from integer without a cast 将device_id 变为静态变量 static int tmp_irq = 1; request_irq(IRQ_ADC, s3c2440_adc_handler, IRQF_SHARED,转载 2012-04-20 08:26:30 · 749 阅读 · 0 评论 -
移植tslib 到mini2440
apt-get install autoconf apt-get install automake apt-get install libtool 编译: tar xzf tslib-1.4.tar.gz cd tslib ./autogen.sh mkdir tmp echo "ac_cv_func_malloc_0_nonnull=yes" >arm-linux.cach转载 2012-05-11 14:18:30 · 474 阅读 · 0 评论 -
mac 公共密钥
1.创建密钥 ssh-keygen -t rsa -C "xxx@xxx.com" 输入密码 2.上传生成id_rsa_xxx 到服务器 3.添加密钥 ssh-add id_rsa_xxx 4.登录 ssh xxx@server.com -p 1046原创 2017-05-08 15:51:18 · 843 阅读 · 0 评论