hddled_tmj33 | linux module for controlling the HDD LEDs

 by   arnarg C Version: Current License: No License

kandi X-RAY | hddled_tmj33 Summary

kandi X-RAY | hddled_tmj33 Summary

hddled_tmj33 is a C library typically used in Internet of Things (IoT), Raspberry Pi, Arduino applications. hddled_tmj33 has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

Kernel module to control HDD LEDs on Terramaster NAS that run on Intel Celeron J33xx. I got the source code for module named led_drv_TMJ33 that was running on my F2-221's TOS 4.1 by emailing their support email. That module gives the ability to control the two HDD LEDs on that NAS (up to 5 on F5-221). I didn't like TOS and wanted to run any Linux distro on the NAS which is why I asked for the source code. The led_drv_TMJ33 module (the one provided by Terramaster support) creates char devices /dev/leddrv[1-10] that you can pipe into "led[1-10]on" and "led[1-10]off". However they don't do any tracking on which char device the user is writing into, meaning echo led2on > /dev/leddrv5 will actually turn on led2, so will echo led2on > /dev/leddrv3. I didn't like that interface so I wrote my own with the original one as reference on how to interface with the hardware. It finds the base address of the device that has the relevant GPIO pins that control the LEDs. This is done in function read_base. That address is stored in base in the following explanation. The module ioremaps address with hardcoded offset from base as follows. Green color of physical HDD LED[1-5] is connected to the first 5 in the list above (odd numbers in 1-9). Red color of physical HDD LED[1-5] is connected to the last 5 in the list above (even numbers in 2-10). So the green color of the physical HDD LEDs are offset of base in 0x8 intervals (starting at base+0xC505B8) and the red color are offset +0x28 from the green color of the same physical LED. This module creates char devices /dev/hddled[1-5]. Each device can only control a single LED. You can write [0-3] into them to control the LED in question.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              hddled_tmj33 has a low active ecosystem.
              It has 6 star(s) with 2 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 1 open issues and 1 have been closed. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of hddled_tmj33 is current.

            kandi-Quality Quality

              hddled_tmj33 has 0 bugs and 0 code smells.

            kandi-Security Security

              hddled_tmj33 has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              hddled_tmj33 code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              hddled_tmj33 does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              hddled_tmj33 releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of hddled_tmj33
            Get all kandi verified functions for this library.

            hddled_tmj33 Key Features

            No Key Features are available at this moment for hddled_tmj33.

            hddled_tmj33 Examples and Code Snippets

            No Code Snippets are available at this moment for hddled_tmj33.

            Community Discussions

            Trending Discussions on Internet of Things (IoT)

            QUESTION

            Display data from two json files in react native
            Asked 2020-May-17 at 23:55

            I have js files Dashboard and Adverts. I managed to get Dashboard to list the information in one json file (advertisers), but when clicking on an advertiser I want it to navigate to a separate page that will display some data (Say title and text) from the second json file (productadverts). I can't get it to work. Below is the code for the Dashboard and next for Adverts. Then the json files

            ...

            ANSWER

            Answered 2020-May-17 at 23:55

            The new object to get params in React Navigation 5 is:

            Source https://stackoverflow.com/questions/61859411

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install hddled_tmj33

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/arnarg/hddled_tmj33.git

          • CLI

            gh repo clone arnarg/hddled_tmj33

          • sshUrl

            git@github.com:arnarg/hddled_tmj33.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link