After upgrade to Debian 11 no screen no longer rotates


  • Using RaspadOS. Upgraded from Debian 10 to Debian 11 and no lnoger have the ability to rotate the screen. The shim is detected:

    sudo i2cdetect -y 1
        0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
    00:                         -- -- -- -- -- -- -- --  
    10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  
    30: -- -- -- -- -- -- 36 -- -- -- -- -- -- -- -- --  
    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- --

    but I think it's probably because the version of Python was upgraded? Here's the error I get on calibration:

    sudo auto-rotator calibrate
    Traceback (most recent call last):
     File "/usr/local/bin/auto-rotator", line 6, in <module>
       from pkg_resources import load_entry_point
     File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3243, in <module>
       def _initialize_master_working_set():
     File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3226, in _call_aside
       f(*args, **kwargs)
     File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set
       working_set = WorkingSet._build_master()
     File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 568, in _build_master
       ws.require(__requires__)
     File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 886, in require
       needed = self.resolve(parse_requirements(requirements))
     File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 772, in resolve
       raise DistributionNotFound(req, requirers)
    pkg_resources.DistributionNotFound: The 'sh3001==0.0.1' distribution was not found and is required by the application



  • I did also run:

    sudo pip3 install sh3001

    but even after a reboot both sudo auto-rotator install and sudo auto-rotator calibrate fail


  • @Eric Mesa Please refer to the latest tutorial:

    https://docs.raspad.com/en/latest/install_rotating_screen_service.html


  • Thanks, those docs helped perfectly!


Please login to reply this topic!