You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
1-Wire: crc=NO and w1_slave No such file or directory during high ethernet throughput #252
Hi.
I'm using three 1-Wire temperature sensor in the same time on the Raspberry Pi, all works OK also in Parasite power (w1-gpio pullup=1 into the file /etc/modules).
There is only a problem during a considerable ethernet throughput.
I try to explane it better, follow this example:
I'm downloading three files in the same time, the total network download speed is 1.8 MB/sec, if I interrogate one or more sensor I beginning to get crc=NO, and later, after more crc=NO, I get: No such file or directory (es: cat /sys/devices/w1_bus_master1/3b-00000014fe14/w1_slave: No such file or directory). After same minutes the sensor come up again and the file w1_slave is again there. Leter the problem happens again untill the ethernet traffic will finish. This problem occurred even before the pullups option for w1 interface.
The /var/log/messages says:
Mar 19 11:23:13 raspberrypi kernel: [ 2694.207597] w1_slave_driver 3b-00000014fe14: 18S20 doesn't respond to CONVERT_TEMP.
but only during crc=NO, no infos during w1_slave: No such file or directory.
This will have been significantly improved through the use of tasklet-context USB URB completions, which eliminates a significant source of hard-IRQ latency.
Additionally, smsc95xx.turbo_mode=N has been a default for a while which also seems to help with IRQ latency.
Raspberry Pis have no 1wire hardware - the interface is bit-bashed in software using GPIOs. For small numbers of devices where the system is lightly loaded this can work fine, but if you start doing exotic things like parasitic powering with more than one device then you are unlikely to succeed.
If you want more support you'll have to write more than a me-too, but essentially there isn't much we can do.
Activity
P33M commentedon Jul 14, 2015
This will have been significantly improved through the use of tasklet-context USB URB completions, which eliminates a significant source of hard-IRQ latency.
Additionally, smsc95xx.turbo_mode=N has been a default for a while which also seems to help with IRQ latency.
Reply if this is still an issue.
lib/ratelimit.c: use deferred printk() version
lib/ratelimit.c: use deferred printk() version
arslankhawar commentedon Dec 24, 2019
File "temp.py", line 9, in
device_folder = glob.glob(base_dir + '28*')[0]
IndexError: list index out of range
I'm getting this error in my file .
I'm using DS18B20 with raspberry zero w.
These are the files it showing
sudo modprobe w1-gpio
pi@raspberrypi:~ $ sudo modprobe w1-therm
pi@raspberrypi:~ $ cd /sys/bus/w1/devices
pi@raspberrypi:/sys/bus/w1/devices $ ls
00-080000000000 00-700000000000 00-f00000000000 w1_bus_master1
and when is use
cd 00-080000000000
pi@raspberrypi:/sys/bus/w1/devices/00-080000000000 $ cat w1_slave
cat: w1_slave: No such file or directory
it gives me this error...!!!
Kindly someone help me to resolve this issue...
Thanks in advance ....!!!!
dennisdegreef commentedon Apr 20, 2020
I am experiencing the same...
pelwell commentedon Apr 20, 2020
Raspberry Pis have no 1wire hardware - the interface is bit-bashed in software using GPIOs. For small numbers of devices where the system is lightly loaded this can work fine, but if you start doing exotic things like parasitic powering with more than one device then you are unlikely to succeed.
If you want more support you'll have to write more than a me-too, but essentially there isn't much we can do.
btrfs: inode: Verify inode mode to avoid NULL pointer dereference
selftest/bpf: Add various selftests for program limits
selftests/bpf: Test bpf_mprog query API via libbpf and raw syscall
selftests/bpf: Test query on empty mprog and pass revision into attach
btrfs: zoned: skip reporting zone for new block group
btrfs: zoned: skip reporting zone for new block group
selftests/bpf: Add mprog API tests for BPF tcx opts
selftests/bpf: Add test for detachment on empty mprog entry
selftests/bpf: Add various more tcx test cases
selftests/bpf: Add additional mprog query test coverage