/dev/i2c-*不见了

/**********************************************************************
 *                      /dev/i2c-*不见了
 * 说明:
 *     能在他的系统中没找到/dev/i2c-*设备,发现是内核中没有打开对应的驱动。
 *
 *                                2018-5-8 深圳 宝安西乡 曾剑锋
 *********************************************************************/

一、参考文档:
    1. No /dev/i2c-0 entry after insmod i2c-dev
        https://www.linuxquestions.org/questions/linux-newbie-8/no-dev-i2c-0-entry-after-insmod-i2c-dev-896482/

二、解决方法:
    
 ──────────────────────────────────────────────────────────────────────────────
  ┌────────────────────────────── I2C support ──────────────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.          │  
  │  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, │  
  │  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> │  
  │  for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       │  
  │ ┌─────────────────────────────────────────────────────────────────────┐ │  
  │ │    --- I2C support                                                  │ │  
  │ │    [*]   Enable compatibility bits for old user-space               │ │  
  │ │    <*>   I2C device interface             <---------select it       │ │  
  │ │    < >   I2C bus multiplexing support                               │ │  
  │ │    [*]   Autoselect pertinent helper modules                        │ │  
  │ │          I2C Hardware Bus support  --->                             │ │  
  │ │    [ ]   I2C Core debugging messages                                │ │  
  │ │    [ ]   I2C Algorithm debugging messages                           │ │  
  │ │    [ ]   I2C Bus debugging messages                                 │ │  
  │ └─────────────────────────────────────────────────────────────────────┘ │  
  ├─────────────────────────────────────────────────────────────────────────┤  
  │                    <Select>    < Exit >    < Help >                     │  
  └─────────────────────────────────────────────────────────────────────────┘  

 

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值