Announcement

Collapse
No announcement yet.

Driver Install Procedure

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Driver Install Procedure

    What is the correct procedure for install a driver in the Z-Net. I want to use the new Linksys USB AC style Wireless dongle WCUSB6300 but I need to upload the Driver 1st. I found these instructions but I am getting a Certificate Verification error. I found the clock of the Z-Net set to Jan 1970 and research shows this could be the reason. But the Z-Net will not let you change the Date or time setting.

    sudo apt-get install git
    git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux
    cd rtl8812AU_8821AU_linux
    make
    sudo make install

    cd rtl8812AU_8821AU_linux
    make clean
    make
    sudo make install

    #2
    Actually that is easy but it's a PITA cuz you will need to install the GCC/git/other stuff mostly cuz it not included probably in the primary build.

    By default base Linux builds will get their time from NTP on the internet. You can set it manually by or via the GUI. If you power it down then it will lose the time until it talks to the NTP server. You can also install NTP which will provide a bit more stuff. (sudo apt-get install ntp - then go to the /etc/ntp.cfg file to show you what NTP servers are being used).


    date --set="STRING"

    date -s "2 OCT 2006 18:00:00"

    date --set="2 OCT 2006 18:00:00"

    date +%Y%m%d -s "20081128"

    date +%T -s "10:13:13"

    Thinking the WCUSB6300 driver was new last year and it might be included now in the base RPi build from what I see googling.

    Try doing :

    1 - sudo apt-get update
    2 - sudo apt-get upgrade - note: I see changes almost every day now.

    Leave the USB stick in place and it might load up the drivers automatically. (BTW Wireless AC works but better on paper than in vivo).

    After that do a lsusb to see the device and validate that it is installed.
    - Pete

    Auto mator
    Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb

    HS4 Pro - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
    HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

    X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

    Comment


      #3
      Thanks Pete
      Where do we stand with the USB issue, because as of this moment none of my USB ports will see the original wireless dongle from Homeseer.
      The new dongle was also not seen but I am not sure it is because of the driver or not.
      Last edited by doctorpd; March 19, 2015, 11:33 AM.

      Comment


        #4
        There is an ever expanding USB device table that should be in your set up. It has (well it is said) every USB device known to mankind.

        Look here and here.

        Make sure you have whatever Homeseer stuff NOT running when you play and keep checking by doing update and upgrade.

        Validate the hardware using Linux command line tools first (well even before using the GUI).

        Most important first thing is to fix your time thing; as without time syncing you will have issues. Time stuff here is a hobby and it does relate to automation.

        My cold booting touch tabletop tablets (series 1 and 2) do not have batteries and boot up to the year 1600 or sometime around that.....and it used to cause me grief.

        1 - fix time
        2 - fix USB drivers
        3 - run Homeseer application

        Do not do 3 until you can validate 1 and 2. Post your findings right here on the forum.

        Linux is very stable and never breaks (well except now with the use of a GUI/Internet browsers introducing all sorts of stuff via the internet - but it looks nice).
        Last edited by Pete; March 19, 2015, 10:17 AM.
        - Pete

        Auto mator
        Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb

        HS4 Pro - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
        HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

        X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

        Comment


          #5
          Pete
          OK time working now after installing NTP, Item 1 complete.

          Now I need more guidance on the USB Drivers. I am not sure what the two links you supplied tells me or how to use them.
          Where is the driver list located in the Z-Net.
          I am a very, VERY new to Linux so I do not know what commands to use for the hardware check. I am OK with using the terminal window.

          Comment


            #6
            There is a default USB master list built in to the OS. Doing the update/upgrade should integrate new USB devices.

            The links I provided just give you the background information. The master USB list buried in the two links is loaded by default into the RPi OS.

            Doing lsusb afterwards should show both the zwave and wireless USB devices. If not lets try this.

            Post your results to the following:

            lspci -vvnn | grep 14e4

            From here we can install some drivers.

            Doing the update/upgrade should integrate new USB devices. Doing lsusb afterwards should show both the zwave and wireless USB devices.
            Last edited by Pete; March 19, 2015, 07:16 PM.
            - Pete

            Auto mator
            Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb

            HS4 Pro - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
            HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

            X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

            Comment


              #7
              Ok I am now running Update & Upgrade. Will get back with results.

              I did some searching and found what I think are the USB ports in /sys/dev/bus/usb/001/. In this dir I see 001, 002, 003 & 004. When I unplug the wireless USB dongle 004 will disapear. When I plug it back in it comes back. I can do this in any of the open USB ports and get the same results. Just a FYI for you.
              Last edited by doctorpd; March 20, 2015, 07:19 AM.

              Comment


                #8
                OK after the Update & Upgrade this is what I got with lsusb:

                homeseer@Z-NET ~ $ lsusb
                Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
                Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
                Bus 001 Device 004: ID 13b1:003f Linksys
                homeseer@Z-NET ~ $
                I see it see's the Linksys but it still does not connect to it. I do a scan and it will not see it.

                lspci -vvnn | grep 14e4 still give the same thing:

                homeseer@Z-NET ~ $ lspci -vvnn | grep 14e4
                pcilib: Cannot open /proc/bus/pci
                lspci: Cannot find any working access method.
                homeseer@Z-NET ~ $

                Comment


                  #9
                  I found there is no directory for the pci. The directory in bus is Input and in there is two files labeled devices & handlers.

                  Comment


                    #10
                    What we want to see are the device names / ID's with lsusb.

                    Which one of the above is the Z-Wave stick?

                    I also see ID 0424:9514 which is the RaLink USB Wifi adapter. Remove this while we do the other one.

                    I also see 0424:ec00 is a USB to NIC adapter (guessing this is working fine eh?). ls usb should show:
                    ID 0424:ec00 Standard Microsystems Corp. SMSC 9512/9514 Fast Ethernet Adapter

                    ID 13b1:003f is wireless as you write. Googling found this and this.

                    I did a 'lsusb' and found the device in the list:
                    'Bus 002 Device 006: ID 13b1:003f Linksys'
                    But I don't have any drivers to install for it. Checked linksys website and they don't have any on there. I also did a google search but I came up empty handed. Does anyone have this device working with ubuntu, or have any suggestions?
                    Do the following. See if this works. It is for Ubuntu from here:

                    Part #1 of three parts.

                    1 - sudo apt-get install --reinstall linux-headers-$(uname -r) linux-headers-generic build-essential

                    2 - wget media.cdn.ubuntu-de.org/forum/attachments/29/51/6222752-rtl8812AU_8821AU_linux_v4.2.2_7502.20130517_AC6100.tar.gz

                    3 - tar xvf 6222752-rtl8812AU_8821AU_linux_v4.2.2_7502.20130517_AC6100.tar.gz

                    4 - cd rtl8812AU_8821AU_linux_v4.2.2_7502.20130517_AC6100

                    5 - make

                    6 - sudo make install

                    Code:
                    sudo apt-get install --reinstall linux-headers-$(uname -r) linux-headers-generic build-essential
                    wget media.cdn.ubuntu-de.org/forum/attachments/29/51/6222752-rtl8812AU_8821AU_linux_v4.2.2_7502.20130517_AC6100.tar.gz
                    tar xvf 6222752-rtl8812AU_8821AU_linux_v4.2.2_7502.20130517_AC6100.tar.gz 
                    cd rtl8812AU_8821AU_linux_v4.2.2_7502.20130517_AC6100
                    make
                    sudo make install
                    Part # 2 of three parts

                    1 - modinfo 8812au | egrep -i 'versi|filen|003f'
                    2 - sudo modprobe -v 8812au
                    3 - iwconfig
                    4 - iwlist chan

                    Code:
                    modinfo 8812au | egrep -i 'versi|filen|003f'
                    sudo modprobe -v 8812au
                    iwconfig
                    iwlist chan
                    Part #3 of three parts

                    1 - cd rtl8812AU_8821AU_linux_v4.2.2_7502.20130517_AC6100
                    2 - make clean
                    3 - make
                    4 - sudo make install

                    Code:
                    cd rtl8812AU_8821AU_linux_v4.2.2_7502.20130517_AC6100
                    make clean
                    make
                    sudo make install
                    Here is another way to do this. - Easier than first methodology.

                    Part #1

                    Code:
                    sudo apt-get install git
                    git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux
                    cd rtl8812AU_8821AU_linux
                    make
                    sudo make install
                    Part #2

                    Code:
                    cd rtl8812AU_8821AU_linux
                    make clean
                    make
                    sudo make install
                    Do another lsusb after this and post results.
                    Last edited by Pete; March 20, 2015, 09:10 AM.
                    - Pete

                    Auto mator
                    Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb

                    HS4 Pro - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                    HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                    X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                    Comment


                      #11
                      Linksys is the wireless dongle
                      I got the following errors on the 1st part so I stopped:

                      root@Z-NET:/# sudo apt-get install --reinstall linux-headers-$(uname -r) linux-headers-generic build-essential
                      Reading package lists... Done
                      Building dependency tree
                      Reading state information... Done
                      Package linux-headers-generic is not available, but is referred to by another package.
                      This may mean that the package is missing, has been obsoleted, or
                      is only available from another source

                      E: Unable to locate package linux-headers-3.12.32
                      E: Couldn't find any package by regex 'linux-headers-3.12.32'
                      E: Package 'linux-headers-generic' has no installation candidate

                      root@Z-NET:/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517_AC6100# make
                      make ARCH=armv6l CROSS_COMPILE= -C /lib/modules/3.12.32+/build M=/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517_AC6100 modules
                      make[1]: *** /lib/modules/3.12.32+/build: No such file or directory. Stop.
                      Makefile:1041: recipe for target 'modules' failed
                      make: *** [modules] Error 2
                      root@Z-NET:/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517_AC6100#

                      Comment


                        #12
                        Do the second procedure above.
                        - Pete

                        Auto mator
                        Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb

                        HS4 Pro - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                        HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                        X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                        Comment


                          #13
                          I get this:

                          root@Z-NET:/# modinfo 8812au | egrep -i 'versi|filen|003f'
                          ERROR: Module 8812au not found.
                          root@Z-NET:/#

                          I found the pci dir in the root sys dir, it is empty.

                          Comment


                            #14
                            pause a minute...let me do this first.

                            There is more....

                            type uname -a and print here what you see.

                            Here is mine:

                            HomeTrollerZEE:~/rtl8812AU_8821AU_linux# uname -a
                            Linux ICS-HomeTrollerZEE 3.18.7+ #755 PREEMPT Thu Feb 12 17:14:31 GMT 2015 armv6l GNU/Linux
                            Last edited by Pete; March 20, 2015, 11:36 AM.
                            - Pete

                            Auto mator
                            Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb

                            HS4 Pro - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                            HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                            X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                            Comment


                              #15
                              OK, Thanks

                              Comment

                              Working...
                              X