NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: wsconst changing forground/background colors
Hello RVP
On Fri, Oct 29, 2021 at 10:49 AM RVP <rvp%sdf.org@localhost> wrote:
>
> On Fri, 29 Oct 2021, RVP wrote:
>
> > On Fri, 29 Oct 2021, Riza Dindir wrote:
> >
> >> In the source file "sbin/wsconsctl/display.c" there are options for
> >> the backlight and the brightness that could be used with wsconsctl. So
> >> it might be applicable in theory.
> >>
> >> If that would be possible, I could change the brightness of my laptop
> >> screen as well.
> >>
> >
> > Those don't work yet on amd64+DRM, unfortunately...
> >
>
> Well, it needn't be that bleak:
>
> 1. If you've got your Radeon DRM driver working, then you can hack the
> driver and call its BL-control functions like this (for Intel GPUs):
>
> https://mail-index.netbsd.org/current-users/2021/03/11/msg040446.html
If I could get the radeon driver to work. I am trying to find the ROM
of that device :)
>
> 2. Poke the PCI HW directly like sysutils/intel-backlight does for
> (again) Intel cards. Look through its source and also:
>
> sys/external/bsd/drm2/dist/drm/radeon/radeon_atombios_encoders.c
> sys/external/bsd/drm2/dist/drm/radeon/radeon_legacy_encoders.c
Will look at the source code too.
>
> Hope these help...
>
> -RVP
>
Riza
Home |
Main Index |
Thread Index |
Old Index