Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@raspberrypi:~ $ lsmod
- Module Size Used by
- bnep 12051 2
- bluetooth 365511 5 bnep
- cfg80211 542899 0
- rfkill 20851 3 bluetooth,cfg80211
- rtc_ds1307 13908 0
- hwmon 10552 1 rtc_ds1307
- snd_bcm2835 24427 1
- snd_pcm 97226 1 snd_bcm2835
- snd_timer 23840 1 snd_pcm
- snd 70032 5 snd_timer,snd_bcm2835,snd_pcm
- i2c_bcm2708 5994 0
- bcm2835_gpiomem 3940 2
- evdev 12423 6
- lirc_rpi 9032 0
- lirc_dev 10583 1 lirc_rpi
- rc_core 24213 1 lirc_dev
- uio_pdrv_genirq 3923 0
- uio 10204 1 uio_pdrv_genirq
- fixed 3285 0
- i2c_dev 6913 0
- fuse 99501 3
- ipv6 406215 73
- pi@raspberrypi:~ $ . trace
- 1
- # tracer: nop
- #
- # entries-in-buffer/entries-written: 0/0 #P:4
- #
- # _-----=> irqs-off
- # / _----=> need-resched
- # | / _---=> hardirq/softirq
- # || / _--=> preempt-depth
- # ||| / delay
- # TASK-PID CPU# |||| TIMESTAMP FUNCTION
- # | | | |||| | |
- pi@raspberrypi:~ $ sudo hwclock -r
- hwclock: ioctl(RTC_RD_TIME) to /dev/rtc to read the time failed: Input/output error
- pi@raspberrypi:~ $ . trace > trace.txt
- pi@raspberrypi:~ $ cat trace.txt
- 1
- # tracer: nop
- #
- # entries-in-buffer/entries-written: 18/18 #P:4
- #
- # _-----=> irqs-off
- # / _----=> need-resched
- # | / _---=> hardirq/softirq
- # || / _--=> preempt-depth
- # ||| / delay
- # TASK-PID CPU# |||| TIMESTAMP FUNCTION
- # | | | |||| | |
- hwclock-1094 [000] .... 108.746353: smbus_read: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA
- hwclock-1094 [000] .... 108.746375: i2c_write: i2c-1 #0 a=068 f=0000 l=1 [00]
- hwclock-1094 [000] .... 108.746379: i2c_read: i2c-1 #1 a=068 f=0001 l=7
- hwclock-1094 [000] .... 109.770111: i2c_result: i2c-1 n=0 ret=-110
- 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]
- hwclock-1094 [000] .... 109.770133: smbus_result: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA rd res=-110
- hwclock-1094 [000] .... 109.770164: smbus_read: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA
- hwclock-1094 [000] .... 109.770173: i2c_write: i2c-1 #0 a=068 f=0000 l=1 [00]
- hwclock-1094 [000] .... 109.770176: i2c_read: i2c-1 #1 a=068 f=0001 l=7
- hwclock-1094 [000] .... 110.810094: i2c_result: i2c-1 n=0 ret=-110
- 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]
- hwclock-1094 [000] .... 110.810114: smbus_result: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA rd res=-110
- hwclock-1094 [000] .... 110.810167: smbus_read: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA
- hwclock-1094 [000] .... 110.810174: i2c_write: i2c-1 #0 a=068 f=0000 l=1 [00]
- hwclock-1094 [000] .... 110.810177: i2c_read: i2c-1 #1 a=068 f=0001 l=7
- hwclock-1094 [000] .... 111.850068: i2c_result: i2c-1 n=0 ret=-110
- 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]
- hwclock-1094 [000] .... 111.850090: smbus_result: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA rd res=-110
- pi@raspberrypi:~ $ sudo i2cget -y 1 0x69 0
- Error: Read failed
- pi@raspberrypi:~ $ . trace > trace.txt
- pi@raspberrypi:~ $ cat trace.txt
- 1
- # tracer: nop
- #
- # entries-in-buffer/entries-written: 24/24 #P:4
- #
- # _-----=> irqs-off
- # / _----=> need-resched
- # | / _---=> hardirq/softirq
- # || / _--=> preempt-depth
- # ||| / delay
- # TASK-PID CPU# |||| TIMESTAMP FUNCTION
- # | | | |||| | |
- hwclock-1094 [000] .... 108.746353: smbus_read: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA
- hwclock-1094 [000] .... 108.746375: i2c_write: i2c-1 #0 a=068 f=0000 l=1 [00]
- hwclock-1094 [000] .... 108.746379: i2c_read: i2c-1 #1 a=068 f=0001 l=7
- hwclock-1094 [000] .... 109.770111: i2c_result: i2c-1 n=0 ret=-110
- 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]
- hwclock-1094 [000] .... 109.770133: smbus_result: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA rd res=-110
- hwclock-1094 [000] .... 109.770164: smbus_read: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA
- hwclock-1094 [000] .... 109.770173: i2c_write: i2c-1 #0 a=068 f=0000 l=1 [00]
- hwclock-1094 [000] .... 109.770176: i2c_read: i2c-1 #1 a=068 f=0001 l=7
- hwclock-1094 [000] .... 110.810094: i2c_result: i2c-1 n=0 ret=-110
- 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]
- hwclock-1094 [000] .... 110.810114: smbus_result: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA rd res=-110
- hwclock-1094 [000] .... 110.810167: smbus_read: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA
- hwclock-1094 [000] .... 110.810174: i2c_write: i2c-1 #0 a=068 f=0000 l=1 [00]
- hwclock-1094 [000] .... 110.810177: i2c_read: i2c-1 #1 a=068 f=0001 l=7
- hwclock-1094 [000] .... 111.850068: i2c_result: i2c-1 n=0 ret=-110
- 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]
- hwclock-1094 [000] .... 111.850090: smbus_result: i2c-1 a=068 f=0000 c=0 I2C_BLOCK_DATA rd res=-110
- i2cget-1120 [000] .... 198.554689: smbus_read: i2c-1 a=069 f=0000 c=0 BYTE_DATA
- i2cget-1120 [000] .... 198.554710: i2c_write: i2c-1 #0 a=069 f=0000 l=1 [00]
- i2cget-1120 [000] .... 198.554715: i2c_read: i2c-1 #1 a=069 f=0001 l=1
- i2cget-1120 [000] .... 199.610495: i2c_result: i2c-1 n=0 ret=-110
- i2cget-1120 [000] .... 199.610511: smbus_reply: i2c-1 a=069 f=0000 c=0 BYTE_DATA l=1 [00]
- 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