1
0
mirror of https://github.com/takeshixx/redstar-tools synced 2025-07-17 20:43:21 +00:00

Added files

This commit is contained in:
takeshix
2015-11-27 15:31:09 +01:00
parent cba8c81e37
commit b316a7bb57
5 changed files with 65 additions and 0 deletions

11
rtscan/resctl.py Normal file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env python2
from fcntl import ioctl
filename = '/dev/res'
fd = open(filename, 'wb')
ret = ioctl(fd, 29187, 0)
if ret is not 0:
print('Error')
fd.close()