bpennypacker / phad

Pi-Hole Alternate Display
GNU General Public License v3.0
75 stars 8 forks source link

OSError on none TouchScreen #4

Closed rdsmith24 closed 5 years ago

rdsmith24 commented 5 years ago

When trying to execute ./phad -s 10 or ./phad -c phad.conf is am getting the following error:

Traceback (most recent call last): File "./phad", line 882, in load_config() File "./phad", line 786, in load_config dev = InputDevice(input_device) File "/home/pi/.local/lib/python2.7/site-packages/evdev/device.py", line 127, in init fd = os.open(dev, os.O_RDONLY | os.O_NONBLOCK) OSError: [Errno 2] No such file or directory: '/dev/input/event0'

I don't have a touchscreen therefore I commented out device for the touchscreen in the sample config file....

Not too familiar with Python so any help would be greatly appreciated.

bpennypacker commented 5 years ago

HI Roger. I have no idea why I didn't do more testing with disabling the touch screen... Let me do a little tinkering. I don't think it'll be all that difficult to make it possible to run it without requiring one.

rdsmith24 commented 5 years ago

Thanks, Let me know and I will test if….

Look forward to using your code on my Raspberry Pi

On Jan 27, 2019, at 3:13 PM, Bruce Pennypacker notifications@github.com wrote:

HI Roger. I have no idea why I didn't do more testing with disabling the touch screen... Let me do a little tinkering. I don't think it'll be all that difficult to make it possible to run it without requiring one.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bpennypacker/phad/issues/4#issuecomment-457954768, or mute the thread https://github.com/notifications/unsubscribe-auth/AB21FW48c0pDU_JwFxm70WAs6BXBSdQLks5vHhZjgaJpZM4aSGgD.