Hi,

I enabled tscadc in the dts-file and then tried to read the ADC from 
command line:

ubuntu@arm:/sys/bus/iio/devices/iio:device0$ cat in_voltage*
3961
3581
3933
2233
2272
3400
3187
3816
ubuntu@arm:/sys/bus/iio/devices/iio:device0$ cat in_voltage*
3960
3588
3936
2454
2500
2891

and here it hangs. In dmesg I get every two minutes

[ 1680.880664] INFO: task cat:1775 blocked for more than 120 seconds.
[ 1680.887475]       Not tainted 3.18.4-bone1 #1
[ 1680.892385] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
[ 1680.900979] cat             D c05bfe53     0  1775   1690 0x00000001
[ 1680.901090] [<c05bfe53>] (__schedule) from [<c03c8b27>] 
(am335x_tsc_se_set_once+0x87/0xb8)
[ 1680.901188] [<c03c8b27>] (am335x_tsc_se_set_once) from [<bf8184b9>] 
(tiadc_read_raw+0x84/0x114 [ti_am335x_adc])
[ 1680.901344] [<bf8184b9>] (tiadc_read_raw [ti_am335x_adc]) from 
[<bf800a1f>] (iio_read_channel_info+0x56/0x5c [industrialio])
[ 1680.901687] [<bf800a1f>] (iio_read_channel_info [industrialio]) from 
[<c03b31c7>] (dev_attr_show+0x13/0x34)
[ 1680.901749] [<c03b31c7>] (dev_attr_show) from [<c0135d4b>] 
(sysfs_kf_seq_show+0x63/0xa8)
[ 1680.901798] [<c0135d4b>] (sysfs_kf_seq_show) from [<c0106c49>] 
(seq_read+0x125/0x2d8)
[ 1680.901846] [<c0106c49>] (seq_read) from [<c00f1bc5>] 
(vfs_read+0x5d/0x110)
[ 1680.901886] [<c00f1bc5>] (vfs_read) from [<c00f20d3>] 
(SyS_read+0x33/0x70)
[ 1680.901933] [<c00f20d3>] (SyS_read) from [<c000d401>] 
(ret_fast_syscall+0x1/0x44)

and I can't kill the "cat" task. Have others encountered this? Are there 
known issues with the ADC on BBB? I'm using Ubuntu 14.04 with kernel 
3.18.4-bone1.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to