If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:gpio (procfs)

From BoxMatrix


BoxMatrix >> System >> gpio (procfs) @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Devices Filesystems Partitions Sockets Netlink Pipes Interfaces Bridges Ports Events Sources Sinks AVMIPC Processes Watchdogs Memory Slab Vmalloc ProcFS SysFS Research

Info
  
Name-Collision - multiple objects in this wiki use the name gpio!
gpio (procfs) GPIO port regions or pins in use.
gpio (sysfs) List and configuration of all GPIO ports.

Procfs-Object

Goto:   Examples  -  Dependencies   -   Model-Matrix   -   Help Supportdata2   -   SMW-Browser

Details

gpio shows GPIO port regions or pins in use. This is platform specific.

On some platforms the region map is listed in iogpio.
On some platforms the pin assignment is listed in list.

Supportdata2 includes gpio in the GPIO section since sd2-09.
In Supportdata-Probes it was never included (up to fw 7.39).

GPIO ports:

Examples

7530 fw 7.29 example:

root@fritz1:/var/mod/root# cat /proc/gpio

0010-0010 : piglet_dect_rdgpio
0014-0014 : gpio_avm_pcmlink_mcl
0015-0015 : gpio_avm_pcmlink_dcl
0016-0016 : gpio_avm_pcmlink_fsc
0017-0017 : gpio_avm_pcmlink_di
0018-0018 : gpio_avm_pcmlink_mcl_2
0019-0019 : gpio_avm_pcmlink_dcl_2
001a-001a : gpio_avm_pcmlink_fsc_2
001b-001b : gpio_avm_pcmlink_do
0022-0022 : LED: wlan
0023-0023 : LED: voice
0027-0027 : LED: power
0028-0028 : piglet_dectresetgpio
002d-002d : LED: connect

6490 fw 7.29 examples:

root@fritz2:/var/mod/root# rpc cat /proc/gpio

 GPIO | Dir | Val
 -----|-----|-----
    0 | In  | 1
    1 | Out | 0
    2 | In  | 1
    3 | In  | 1
    4 | In  | 1
    5 | In  | 1
    6 | In  | 1
    7 | In  | 1
    8 | Out | 1
    9 | In  | 1
   10 | In  | 1
   11 | In  | 1
   12 | In  | 1
   13 | In  | 1
   14 | In  | 1
   15 | In  | 1
   16 | In  | 1
   17 | In  | 1
   18 | In  | 1
   19 | In  | 1
   20 | In  | 1
   21 | In  | 1
   22 | In  | 1
   23 | In  | 1
   24 | In  | 1
   25 | In  | 1
   26 | In  | 1
   27 | In  | 1
   28 | In  | 1
   29 | In  | 0
   30 | In  | 0
   31 | In  | 1
   32 | In  | 1
   33 | In  | 1
   34 | In  | 1
   35 | In  | 0
   36 | In  | 1
   37 | In  | 1
   38 | In  | 0
   39 | In  | 1
   40 | In  | 0
   41 | In  | 0
   42 | Out | 0
   43 | In  | 0
   44 | In  | 1
   45 | In  | 1
   46 | In  | 1
   47 | In  | 1
   48 | In  | 1
   49 | In  | 1
   50 | Out | 1
   51 | In  | 1
   52 | Out | 1
   53 | In  | 1
   54 | Out | 1
   55 | In  | 0
   56 | In  | 0
   57 | Out | 1
   58 | In  | 1
   59 | In  | 0
   60 | In  | 1
   61 | In  | 1
   62 | In  | 0
   63 | In  | 0
   64 | In  | 1
   65 | In  | 1
   66 | In  | 1
   67 | In  | 1
   68 | In  | 1
   69 | In  | 1
   70 | In  | 1
   71 | In  | 1
   72 | In  | 1
   73 | In  | 1
   74 | In  | 0
   75 | Out | 1
   76 | Out | 1
   77 | In  | 0
   78 | In  | 1
   79 | In  | 1
   80 | In  | 1
   81 | In  | 1
   82 | In  | 0
   83 | In  | 1
   84 | In  | 0
   85 | In  | 0
   86 | In  | 0
   87 | In  | 1
   88 | In  | 1
   89 | Out | 1
   90 | In  | 0
   91 | Out | 0
   92 | Out | 0
   93 | Out | 1
   94 | In  | 1
   95 | In  | 1
   96 | Out | 1
   97 | Out | 1
   98 | Out | 1
   99 | Out | 1
  100 | Out | 1
  101 | Out | 1
  102 | Out | 0
  103 | Out | 1
  104 | Out | 1
  105 | In  | 0
  106 | In  | 0
  107 | In  | 0
  108 | In  | 0
  109 | In  | 0
  110 | In  | 0
  111 | In  | 0
  112 | In  | 0
  113 | In  | 0
  114 | In  | 0
  115 | In  | 0
  116 | In  | 0
  117 | In  | 1
  118 | In  | 1
  119 | In  | 0
  120 | In  | 0
  121 | In  | 1
  122 | In  | 1
  123 | In  | 1
  124 | In  | 1
  125 | In  | 0
  126 | In  | 1
  127 | In  | 1

7150 fw 4.72 example:

root@fritz:/var/mod/root# cat /proc/gpio

0002-0002 : piglet_reset
0003-0003 : ssi_cs3
0004-0004 : ssi_clk
0005-0005 : ssi_data
0008-0008 : ssi_cs
000b-000b : ssi_cs2
0012-0012 : piglet_irq_gpio

Dependencies

Daily updated index of all dependencies of this object. Last update: GMT.
A ** in the Mod column marks info from Supportdata2 probes, which will always stay incomplete.
A - in the Mod column marks manual research, the Firmware then shows where the Object occurs, not the Relation.

Relation Typ Object Mod Firmware Info Origin
0 dependencies for this object

Model-Matrix

Daily updated index of the presence, path and size of this object for each model. Last update: 2024-12-23 05:10 GMT.
Showing all models using this object. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl) label in the Model column shows which CPU is meant for Multi-Linux models.
Note that this list comes from Supportdata2 probes, which can have arbitrary settings and come from different firmware versions.
It doesn't say much if a model is not listed here. It may be a missing supportdata2 file or just a disabled feature.

Help Supportdata2

The data in this article is incomplete since it was manually collected using the Supportdata2 project.

Unlike the Supportdata-Probes which have been collected for years Supportdata2 is brand new and only has a few probes.
If you have access to a shell then please help to extend the Supportdata2 collection to improve this data.

It's easy and it's done in minutes. Please send created data as an Email attachment to the address listed here. Thanks!

SMW-Browser

Information is currently being retrieved from the backend.