Advertisement
Guest User

2017-02-23 RPi2B Raspbian Jessie 4.9.11-v7+ i2c-bcm2708

a guest
Feb 23rd, 2017
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.62 KB | None | 0 0
  1. pi@raspberrypi:~ $ lsmod
  2. Module Size Used by
  3. bnep 12051 2
  4. bluetooth 365511 5 bnep
  5. cfg80211 542899 0
  6. rfkill 20851 3 bluetooth,cfg80211
  7. rtc_ds1307 13908 0
  8. hwmon 10552 1 rtc_ds1307
  9. snd_bcm2835 24427 1
  10. snd_pcm 97226 1 snd_bcm2835
  11. snd_timer 23840 1 snd_pcm
  12. snd 70032 5 snd_timer,snd_bcm2835,snd_pcm
  13. i2c_bcm2708 5994 0
  14. bcm2835_gpiomem 3940 2
  15. evdev 12423 6
  16. lirc_rpi 9032 0
  17. lirc_dev 10583 1 lirc_rpi
  18. rc_core 24213 1 lirc_dev
  19. uio_pdrv_genirq 3923 0
  20. uio 10204 1 uio_pdrv_genirq
  21. fixed 3285 0
  22. i2c_dev 6913 0
  23. fuse 99501 3
  24. ipv6 406215 73
  25. pi@raspberrypi:~ $ . trace
  26. 1
  27. # tracer: nop
  28. #
  29. # entries-in-buffer/entries-written: 0/0 #P:4
  30. #
  31. # _-----=> irqs-off
  32. # / _----=> need-resched
  33. # | / _---=> hardirq/softirq
  34. # || / _--=> preempt-depth
  35. # ||| / delay
  36. # TASK-PID CPU# |||| TIMESTAMP FUNCTION
  37. # | | | |||| | |
  38. pi@raspberrypi:~ $ sudo hwclock -r
  39. hwclock: ioctl(RTC_RD_TIME) to /dev/rtc to read the time failed: Input/output error
  40. pi@raspberrypi:~ $ . trace > trace.txt
  41. pi@raspberrypi:~ $ cat trace.txt
  42. 1
  43. # tracer: nop
  44. #
  45. # entries-in-buffer/entries-written: 18/18 #P:4
  46. #
  47. # _-----=> irqs-off
  48. # / _----=> need-resched
  49. # | / _---=> hardirq/softirq
  50. # || / _--=> preempt-depth
  51. # ||| / delay
  52. # TASK-PID CPU# |||| TIMESTAMP FUNCTION
  53. # | | | |||| | |
  54. hwclock-1094 [000] .... 108.746353: smbus_read: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA
  55. hwclock-1094 [000] .... 108.746375: i2c_write: i2c-1 #0 a=068 f=0000 l=1 [00]
  56. hwclock-1094 [000] .... 108.746379: i2c_read: i2c-1 #1 a=068 f=0001 l=7
  57. hwclock-1094 [000] .... 109.770111: i2c_result: i2c-1 n=0 ret=-110
  58. hwclock-1094 [000] .... 109.770127: smbus_reply: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA l=8 [07-a9-cc-bd-8c-a9-90-bd]
  59. hwclock-1094 [000] .... 109.770133: smbus_result: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA rd res=-110
  60. hwclock-1094 [000] .... 109.770164: smbus_read: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA
  61. hwclock-1094 [000] .... 109.770173: i2c_write: i2c-1 #0 a=068 f=0000 l=1 [00]
  62. hwclock-1094 [000] .... 109.770176: i2c_read: i2c-1 #1 a=068 f=0001 l=7
  63. hwclock-1094 [000] .... 110.810094: i2c_result: i2c-1 n=0 ret=-110
  64. hwclock-1094 [000] .... 110.810109: smbus_reply: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA l=8 [07-a9-08-00-00-00-0e-00]
  65. hwclock-1094 [000] .... 110.810114: smbus_result: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA rd res=-110
  66. hwclock-1094 [000] .... 110.810167: smbus_read: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA
  67. hwclock-1094 [000] .... 110.810174: i2c_write: i2c-1 #0 a=068 f=0000 l=1 [00]
  68. hwclock-1094 [000] .... 110.810177: i2c_read: i2c-1 #1 a=068 f=0001 l=7
  69. hwclock-1094 [000] .... 111.850068: i2c_result: i2c-1 n=0 ret=-110
  70. hwclock-1094 [000] .... 111.850083: smbus_reply: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA l=8 [07-00-01-bd-8c-a9-11-00]
  71. hwclock-1094 [000] .... 111.850090: smbus_result: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA rd res=-110
  72. pi@raspberrypi:~ $ sudo i2cget -y 1 0x69 0
  73. Error: Read failed
  74. pi@raspberrypi:~ $ . trace > trace.txt
  75. pi@raspberrypi:~ $ cat trace.txt
  76. 1
  77. # tracer: nop
  78. #
  79. # entries-in-buffer/entries-written: 24/24 #P:4
  80. #
  81. # _-----=> irqs-off
  82. # / _----=> need-resched
  83. # | / _---=> hardirq/softirq
  84. # || / _--=> preempt-depth
  85. # ||| / delay
  86. # TASK-PID CPU# |||| TIMESTAMP FUNCTION
  87. # | | | |||| | |
  88. hwclock-1094 [000] .... 108.746353: smbus_read: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA
  89. hwclock-1094 [000] .... 108.746375: i2c_write: i2c-1 #0 a=068 f=0000 l=1 [00]
  90. hwclock-1094 [000] .... 108.746379: i2c_read: i2c-1 #1 a=068 f=0001 l=7
  91. hwclock-1094 [000] .... 109.770111: i2c_result: i2c-1 n=0 ret=-110
  92. hwclock-1094 [000] .... 109.770127: smbus_reply: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA l=8 [07-a9-cc-bd-8c-a9-90-bd]
  93. hwclock-1094 [000] .... 109.770133: smbus_result: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA rd res=-110
  94. hwclock-1094 [000] .... 109.770164: smbus_read: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA
  95. hwclock-1094 [000] .... 109.770173: i2c_write: i2c-1 #0 a=068 f=0000 l=1 [00]
  96. hwclock-1094 [000] .... 109.770176: i2c_read: i2c-1 #1 a=068 f=0001 l=7
  97. hwclock-1094 [000] .... 110.810094: i2c_result: i2c-1 n=0 ret=-110
  98. hwclock-1094 [000] .... 110.810109: smbus_reply: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA l=8 [07-a9-08-00-00-00-0e-00]
  99. hwclock-1094 [000] .... 110.810114: smbus_result: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA rd res=-110
  100. hwclock-1094 [000] .... 110.810167: smbus_read: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA
  101. hwclock-1094 [000] .... 110.810174: i2c_write: i2c-1 #0 a=068 f=0000 l=1 [00]
  102. hwclock-1094 [000] .... 110.810177: i2c_read: i2c-1 #1 a=068 f=0001 l=7
  103. hwclock-1094 [000] .... 111.850068: i2c_result: i2c-1 n=0 ret=-110
  104. hwclock-1094 [000] .... 111.850083: smbus_reply: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA l=8 [07-00-01-bd-8c-a9-11-00]
  105. hwclock-1094 [000] .... 111.850090: smbus_result: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA rd res=-110
  106. i2cget-1120 [000] .... 198.554689: smbus_read: i2c-1 a=069 f=0000 c=0 BYTE_DATA
  107. i2cget-1120 [000] .... 198.554710: i2c_write: i2c-1 #0 a=069 f=0000 l=1 [00]
  108. i2cget-1120 [000] .... 198.554715: i2c_read: i2c-1 #1 a=069 f=0001 l=1
  109. i2cget-1120 [000] .... 199.610495: i2c_result: i2c-1 n=0 ret=-110
  110. i2cget-1120 [000] .... 199.610511: smbus_reply: i2c-1 a=069 f=0000 c=0 BYTE_DATA l=1 [00]
  111. i2cget-1120 [000] .... 199.610516: smbus_result: i2c-1 a=069 f=0000 c=0 BYTE_DATA rd res=-110
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement