:: Re: [DNG] Adjusting LCD backlight i…
Pàgina inicial
Delete this message
Reply to this message
Autor: Lars Noodén
Data:  
A: dng
Assumpte: Re: [DNG] Adjusting LCD backlight in XFCE4
On 05/18/2017 10:08 AM, Florian Zieboll wrote:
[snip]
> if it really is a Toshiba, you could try this little script which I


It a Slimbook Katana. Everything works as it should with Ubuntu 16.04,
but Devuan has some rough edges. Here is the harware info, if that helps.

The xbacklight utility, as mentioned earlier, does not work so the
archlinux link that Ralph provided probably does not help. Though if I
can find the right numbers to use, I can give it a try.

   Section "Device"
       Identifier  "card0"
       Driver      "intel"
       Option      "Backlight"  "intel_backlight"
       BusID       "PCI:0:2:0"
   EndSection


Based on what's below, what should I use for "BusID" there?

Regards,
Lars

computer
    description: Computer
    width: 64 bits
    capabilities: smbios-2.8 vsyscall32
  *-core
       description: Motherboard
       physical id: 0
     *-memory
          description: System memory
          physical id: 0
          size: 7926MiB
     *-cpu
          product: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
          vendor: Intel Corp.
          physical id: 1
          bus info: cpu@0
          size: 2301MHz
          capacity: 2301MHz
          width: 64 bits
          capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce
cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse
sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64 constant_tsc
arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf
eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma
cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer
aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch ida arat epb
xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase
tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap
clflushopt cpufreq
     *-pci
          description: Host bridge
          product: Intel Corporation
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 08
          width: 32 bits
          clock: 33MHz
        *-display UNCLAIMED
             description: VGA compatible controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 07
             width: 64 bits
             clock: 33MHz
             capabilities: pciexpress msi pm vga_controller bus_master
cap_list
             configuration: latency=0
             resources: memory:a0000000-a0ffffff
memory:90000000-9fffffff ioport:4000(size=64)
        *-generic:0 UNCLAIMED
             description: System peripheral
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 8
             bus info: pci@0000:00:08.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: msi pm bus_master cap_list
             configuration: latency=0
             resources: memory:a132a000-a132afff
        *-usb
             description: USB controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 20
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi xhci bus_master cap_list
             configuration: driver=xhci_hcd latency=0
             resources: irq:141 memory:a1300000-a130ffff
        *-generic:1 UNCLAIMED
             description: Signal processing controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 14.2
             bus info: pci@0000:00:14.2
             version: 20
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: latency=0
             resources: memory:a132b000-a132bfff
        *-communication UNCLAIMED
             description: Communication controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 16
             bus info: pci@0000:00:16.0
             version: 20
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi cap_list
             configuration: latency=0
             resources: memory:a132c000-a132cfff
        *-storage
             description: SATA controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 17
             bus info: pci@0000:00:17.0
             version: 20
             width: 32 bits
             clock: 66MHz
             capabilities: storage msi pm ahci_1.0 bus_master cap_list
             configuration: driver=ahci latency=0
             resources: irq:142 memory:a1328000-a1329fff
memory:a1331000-a13310ff ioport:4080(size=8) ioport:4088(size=4)
ioport:4060(size=32) memory:a132f000-a132f7ff
        *-pci:0
             description: PCI bridge
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1c
             bus info: pci@0000:00:1c.0
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode
bus_master cap_list
             configuration: driver=pcieport
             resources: irq:138 ioport:3000(size=4096)
memory:a1200000-a12fffff ioport:a1000000(size=1048576)
           *-network
                description: Ethernet interface
                product: RTL8101E/RTL8102E PCI Express Fast Ethernet
controller
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:01:00.0
                logical name: eth0
                version: 05
                serial: [REMOVED]
                size: 100Mbit/s
                capacity: 100Mbit/s
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress msix vpd bus_master
cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd
autonegotiation
                configuration: autonegotiation=on broadcast=yes
driver=r8169 driverversion=2.3LK-NAPI duplex=full
firmware=rtl_nic/rtl8105e-1.fw ip=[REMOVED] latency=0 link=yes
multicast=yes port=MII speed=100Mbit/s
                resources: irq:140 ioport:3000(size=256)
memory:a1200000-a1200fff memory:a1000000-a1003fff
        *-pci:1
             description: PCI bridge
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1c.4
             bus info: pci@0000:00:1c.4
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode
bus_master cap_list
             configuration: driver=pcieport
             resources: irq:139 memory:a1100000-a11fffff
           *-network DISABLED
                description: Wireless interface
                product: Wireless 7265
                vendor: Intel Corporation
                physical id: 0
                bus info: pci@0000:02:00.0
                logical name: wlan0
                version: 61
                serial: [REMOVED]
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
ethernet physical wireless
                configuration: broadcast=yes driver=iwlwifi
driverversion=3.16.0-4-amd64 firmware=23.214.9.0 latency=0 link=no
multicast=yes wireless=IEEE 802.11abgn
                resources: irq:144 memory:a1100000-a1101fff
        *-generic:2 UNCLAIMED
             description: Signal processing controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1e
             bus info: pci@0000:00:1e.0
             version: 20
             width: 64 bits
             clock: 33MHz
             capabilities: pm cap_list
             configuration: latency=0
             resources: memory:a132d000-a132dfff
        *-generic:3
             description: SD Host controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1e.4
             bus info: pci@0000:00:1e.4
             version: 20
             width: 64 bits
             clock: 33MHz
             capabilities: pm bus_master cap_list
             configuration: driver=sdhci-pci latency=0
             resources: irq:21 memory:a132e000-a132efff
        *-isa
             description: ISA bridge
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 20
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master
             configuration: latency=0
        *-memory UNCLAIMED
             description: Memory controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1f.2
             bus info: pci@0000:00:1f.2
             version: 20
             width: 32 bits
             clock: 33MHz (30.3ns)
             capabilities: bus_master
             configuration: latency=0
             resources: memory:a1324000-a1327fff
        *-multimedia
             description: Audio device
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1f.3
             bus info: pci@0000:00:1f.3
             version: 20
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=snd_hda_intel latency=32
             resources: irq:143 memory:a1320000-a1323fff
memory:a1310000-a131ffff
        *-serial UNCLAIMED
             description: SMBus
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1f.4
             bus info: pci@0000:00:1f.4
             version: 20
             width: 64 bits
             clock: 33MHz
             configuration: latency=0
             resources: memory:a1330000-a13300ff ioport:4040(size=32)
     *-scsi
          physical id: 2
          logical name: scsi2
          capabilities: emulated
        *-disk
             description: ATA Disk
             product: Samsung SSD 850
             physical id: 0.0.0
             bus info: scsi@2:0.0.0
             logical name: /dev/sda
             version: 1B6Q
             serial: [REMOVED]
             size: 465GiB (500GB)
             capabilities: gpt-1.00 partitioned partitioned:gpt
             configuration: ansiversion=5
guid=ba36d130-3188-4d9b-b295-51b5c23f3393 logicalsectorsize=512
sectorsize=512
           *-volume:0 UNCLAIMED
                description: Windows FAT volume
                vendor: mkfs.fat
                physical id: 1
                bus info: scsi@2:0.0.0,1
                version: FAT32
                serial: [REMOVED]
                size: 510MiB
                capacity: 511MiB
                capabilities: boot fat initialized
                configuration: FATs=2 filesystem=fat name=EFI System
Partition
           *-volume:1
                description: EXT4 volume
                vendor: Linux
                physical id: 2
                bus info: scsi@2:0.0.0,2
                logical name: /dev/sda2
                logical name: /
                version: 1.0
                serial: [REMOVED]
                size: 11GiB
                capabilities: journaled extended_attributes large_files
huge_files dir_nlink recover extents ext4 ext2 initialized
                configuration: created=2017-05-03 15:53:43
filesystem=ext4 lastmountpoint=/ modified=2017-05-18 09:32:17
mount.fstype=ext4
mount.options=rw,relatime,errors=remount-ro,data=ordered
mounted=2017-05-18 09:32:17 name=Devuan state=mounted
           *-volume:2
                description: Linux swap volume
                vendor: Linux
                physical id: 3
                bus info: scsi@2:0.0.0,3
                logical name: /dev/sda3
                version: 1
                serial: [REMOVED]
                size: 8113MiB
                capacity: 8114MiB
                capabilities: nofs swap initialized
                configuration: filesystem=swap pagesize=4095
           *-volume:3
                description: EXT4 volume
                vendor: Linux
                physical id: 4
                bus info: scsi@2:0.0.0,4
                logical name: /dev/sda4
                logical name: /home
                version: 1.0
                serial: [REMOVED]
                size: 446GiB
                capabilities: journaled extended_attributes large_files
huge_files dir_nlink recover extents ext4 ext2 initialized
                configuration: created=2017-05-03 11:30:51
filesystem=ext4 lastmountpoint=/home modified=2017-05-18 09:32:17
mount.fstype=ext4 mount.options=rw,relatime,data=ordered
mounted=2017-05-18 09:32:17 name=Home state=mounted
  *-network DISABLED
       description: Ethernet interface
       physical id: 1
       logical name: usb0
       serial: [REMOVED]
       capabilities: ethernet physical
       configuration: broadcast=yes driver=cdc_ncm
driverversion=22-Aug-2005 firmware=CDC NCM link=no multicast=yes