Advertisement
Guest User

2017-02-23 RPi2B Raspbian Jessie 4.9.11-v7+ I2C trace output

a guest
Feb 23rd, 2017
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.25 KB | None | 0 0
  1. pi@raspberrypi:~ $ . trace
  2. 1
  3. # tracer: nop
  4. #
  5. # entries-in-buffer/entries-written: 0/0 #P:4
  6. #
  7. # _-----=> irqs-off
  8. # / _----=> need-resched
  9. # | / _---=> hardirq/softirq
  10. # || / _--=> preempt-depth
  11. # ||| / delay
  12. # TASK-PID CPU# |||| TIMESTAMP FUNCTION
  13. # | | | |||| | |
  14. pi@raspberrypi:~ $ sudo hwclock -r
  15. hwclock: Cannot access the Hardware Clock via any known method.
  16. hwclock: Use the --debug option to see the details of our search for an access method.
  17. pi@raspberrypi:~ $ . trace > trace.txt
  18. pi@raspberrypi:~ $ cat trace.txt
  19. 1
  20. # tracer: nop
  21. #
  22. # entries-in-buffer/entries-written: 0/0 #P:4
  23. #
  24. # _-----=> irqs-off
  25. # / _----=> need-resched
  26. # | / _---=> hardirq/softirq
  27. # || / _--=> preempt-depth
  28. # ||| / delay
  29. # TASK-PID CPU# |||| TIMESTAMP FUNCTION
  30. # | | | |||| | |
  31. pi@raspberrypi:~ $ sudo i2cget -y 1 0x69 0
  32. 0xff
  33. pi@raspberrypi:~ $ . trace > trace.txt
  34. pi@raspberrypi:~ $ cat trace.txt
  35. 1
  36. # tracer: nop
  37. #
  38. # entries-in-buffer/entries-written: 7/7 #P:4
  39. #
  40. # _-----=> irqs-off
  41. # / _----=> need-resched
  42. # | / _---=> hardirq/softirq
  43. # || / _--=> preempt-depth
  44. # ||| / delay
  45. # TASK-PID CPU# |||| TIMESTAMP FUNCTION
  46. # | | | |||| | |
  47. i2cget-1099 [000] .... 382.564455: smbus_read: i2c-1 a=069 f=0000 c=0 BYTE_DATA
  48. i2cget-1099 [000] .... 382.564477: i2c_write: i2c-1 #0 a=069 f=0000 l=1 [00]
  49. i2cget-1099 [000] .... 382.564482: i2c_read: i2c-1 #1 a=069 f=0001 l=1
  50. i2cget-1099 [000] .... 382.565175: i2c_reply: i2c-1 #1 a=069 f=0001 l=1 [ff]
  51. i2cget-1099 [000] .... 382.565181: i2c_result: i2c-1 n=2 ret=2
  52. i2cget-1099 [000] .... 382.565187: smbus_reply: i2c-1 a=069 f=0000 c=0 BYTE_DATA l=1 [ff]
  53. i2cget-1099 [000] .... 382.565192: smbus_result: i2c-1 a=069 f=0000 c=0 BYTE_DATA rd res=0
  54. pi@raspberrypi:~ $ lsmod
  55. Module Size Used by
  56. bnep 12051 2
  57. bluetooth 365511 5 bnep
  58. cfg80211 542899 0
  59. rfkill 20851 3 bluetooth,cfg80211
  60. rtc_ds1307 13908 0
  61. hwmon 10552 1 rtc_ds1307
  62. evdev 12423 6
  63. snd_bcm2835 24427 1
  64. snd_pcm 97226 1 snd_bcm2835
  65. snd_timer 23840 1 snd_pcm
  66. snd 70032 5 snd_timer,snd_bcm2835,snd_pcm
  67. i2c_bcm2835 7081 0
  68. bcm2835_gpiomem 3940 2
  69. lirc_rpi 9032 0
  70. lirc_dev 10583 1 lirc_rpi
  71. uio_pdrv_genirq 3923 0
  72. rc_core 24213 1 lirc_dev
  73. uio 10204 1 uio_pdrv_genirq
  74. fixed 3285 0
  75. i2c_dev 6913 0
  76. fuse 99501 3
  77. ipv6 406215 54
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement