sveni_lee

Members
  • Content Count

    15
  • Joined

  • Last visited

  1. I did it again... outdoorpi@orangepizero:/usr/src/linux-source-4.19.62-sunxi$ sudo make clean [sudo] password for outdoorpi: outdoorpi@orangepizero:/usr/src/linux-source-4.19.62-sunxi$ sudo make scripts HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o YACC scripts/kconfig/zconf.tab.c LEX scripts/kconfig/zconf.lex.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --syncconfig Kconfig HOSTCC scripts/dtc/dtc.o HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/livetree.o HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/srcpos.o HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/util.o LEX scripts/dtc/dtc-lexer.lex.c YACC scripts/dtc/dtc-parser.tab.h HOSTCC scripts/dtc/dtc-lexer.lex.o YACC scripts/dtc/dtc-parser.tab.c HOSTCC scripts/dtc/dtc-parser.tab.o HOSTLD scripts/dtc/dtc HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/empty.o MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o CC scripts/mod/devicetable-offsets.s HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/sumversion.o HOSTLD scripts/mod/modpost HOSTCC scripts/selinux/genheaders/genheaders HOSTCC scripts/selinux/mdp/mdp HOSTCC scripts/bin2c HOSTCC scripts/kallsyms seems to be worked... I changed the installer.sh of usb-redirector-linux-arm-gnueabihf # KERNELDIR=/lib/modules/`uname -r`/build KERNELDIR=/usr/src/linux-source-4.19.62-sunxi start the installer.sh outdoorpi@orangepizero:~/usb-redirector-linux-arm-gnueabihf$ sudo ./installer.sh install-server *** Installing USB Redirector for Linux v3.8 *** Destination dir: /usr/local/usb-redirector *** Checking installation... *** Detecting system... *** distribution: debian *** kernel: 4.19.62-sunxi *** Compiling kernel module... *** Kernel module successfully compiled *** Creating directories... *** Preparing scripts... *** Copying files... *** Setting up init script... *** Starting daemon... *** Please allow incoming connections on 32032 port for USB Sever to be able to accept connections from remote clients. *** INSTALLATION SUCCESSFUL! To uninstall, run /usr/local/usb-redirector/uninstall.sh outdoorpi@orangepizero:~/usb-redirector-linux-arm-gnueabihf$ seems also to be worked. tried to start usb-redirector: outdoorpi@orangepizero:/usr/local/usb-redirector/bin$ sudo ./usbsrv -l ******************** ERROR *********************** Cannot connect to USB Redirector daemon. Please make sure usbsrvd is loaded. If the module is not loaded, please contact our support team. Error log can be found at /var/log/usbsrvd.log **************** **************** **************** outdoorpi@orangepizero:/usr/local/usb-redirector/bin$ /var/log/usbsrvd.log Aug 19, 2019 07:03:36 Daemon startup Aug 19, 2019 07:03:40 Daemon can not be started! Error 0 Module 0x0003 Line 24 Aug 19, 2019 07:03:40 Daemon shutdown
  2. yes but I used a other package of USB-Redirection... without usb-redirector-linux-arm-gnueabihf. but same error...
  3. same without "eb"... make -C /usr/src/linux-source-4.19.62-sunxi M=/home/outdoorpi/usb-redirector-linux-arm-gnueabihf/files/modules/src/tusbd modules make[1]: Entering directory '/usr/src/linux-source-4.19.62-sunxi' CC [M] /home/outdoorpi/usb-redirector-linux-arm-gnueabihf/files/modules/src/tusbd/driver.o /bin/sh: 1: scripts/basic/fixdep: Exec format error make[2]: *** [scripts/Makefile.build:304: /home/outdoorpi/usb-redirector-linux-arm-gnueabihf/files/modules/src/tusbd/driver.o] Error 2 make[2]: *** Deleting file '/home/outdoorpi/usb-redirector-linux-arm-gnueabihf/files/modules/src/tusbd/driver.o' make[1]: *** [Makefile:1517: _module_/home/outdoorpi/usb-redirector-linux-arm-gnueabihf/files/modules/src/tusbd] Error 2 make[1]: Leaving directory '/usr/src/linux-source-4.19.62-sunxi' make: *** [Makefile:61: default] Error 2
  4. I do not understand what I'm doing wrong. outdoorpi@orangepizero:/usr/src$ sudo ./installer.sh install-server sudo: ./installer.sh: command not found outdoorpi@orangepizero:/usr/src$ cd ~ outdoorpi@orangepizero:~$ cd usb-redirector-linux-armeb-gnueabihf/ outdoorpi@orangepizero:~/usb-redirector-linux-armeb-gnueabihf$ sudo ./installer.sh install-server *** Installing USB Redirector for Linux v3.8 *** Destination dir: /usr/local/usb-redirector *** Checking installation... *** Detecting system... *** distribution: debian *** kernel: 4.19.62-sunxi *** Compiling kernel module... *** Cleaning up installation... *** *** Installation failed! ??? Cannot compile kernel module. Installation terminated. See buildlog.txt file for more information. outdoorpi@orangepizero:~/usb-redirector-linux-armeb-gnueabihf$ buidlog.txt: make -C /usr/src/linux-source-4.19.62-sunxi M=/home/outdoorpi/usb-redirector-linux-armeb-gnueabihf/files/modules/src/tusbd modules make[1]: Entering directory '/usr/src/linux-source-4.19.62-sunxi' CC [M] /home/outdoorpi/usb-redirector-linux-armeb-gnueabihf/files/modules/src/tusbd/driver.o /bin/sh: 1: scripts/basic/fixdep: Exec format error make[2]: *** [scripts/Makefile.build:304: /home/outdoorpi/usb-redirector-linux-armeb-gnueabihf/files/modules/src/tusbd/driver.o] Error 2 make[2]: *** Deleting file '/home/outdoorpi/usb-redirector-linux-armeb-gnueabihf/files/modules/src/tusbd/driver.o' make[1]: *** [Makefile:1517: _module_/home/outdoorpi/usb-redirector-linux-armeb-gnueabihf/files/modules/src/tusbd] Error 2 make[1]: Leaving directory '/usr/src/linux-source-4.19.62-sunxi' make: *** [Makefile:61: default] Error 2
  5. okay after reboot and sudo apt-get install linux-source-4.19.62-next-sunxi i got the right kernel-source outdoorpi@orangepizero:/usr/src$ ls -la total 409096 drwxrwxr-x 2 root root 4096 Aug 18 08:51 . drwxr-xr-x 10 root root 4096 Jul 15 08:50 .. -rw-rw-r-- 1 root root 418864896 Jul 31 20:02 linux-source-4.19.62-sunxi.tar.xz -rw-rw-r-- 1 root root 33776 Jul 31 20:02 linux-sunxi-next_4.19.62_5.92_config.xz outdoorpi@orangepizero:/usr/src$ so what next? only unpack the linux-source-4.19.62-sunxi.tar.xz or is there more to do?
  6. okay, would like to install those packages, but how can I update to this kernel? yes but still on the same kernel...
  7. outdoorpi@orangepizero:~$ sudo apt install linux-source-4.19.63-next Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package linux-source-4.19.63-next E: Couldn't find any package by glob 'linux-source-4.19.63-next' E: Couldn't find any package by regex 'linux-source-4.19.63-next' outdoorpi@orangepizero:~$ has the same effect for me... or should I install by "hand"?
  8. thanks for that... outdoorpi@orangepizero:~$ uname -r 4.19.59-sunxi outdoorpi@orangepizero:~$ could not find kernel-source outdoorpi@orangepizero:~$ sudo apt install linux-source-4.19.59-next-sunxi Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package linux-source-4.19.59-next-sunxi E: Couldn't find any package by glob 'linux-source-4.19.59-next-sunxi' E: Couldn't find any package by regex 'linux-source-4.19.59-next-sunxi' outdoorpi@orangepizero:~$
  9. if I install Kernel via armbian-config it installs linux-source-4.19.57-sunxi64 Kernel source. So how can I get the right kernel.source?
  10. I installed the kernel-source and kernel-headers with ambian-config and used first the version usb-redirector-linux-armeb-gnueabihf.tar.gz but always run in the same error... So I really do not know what to next...
  11. did not work for me... outdoorpi@orangepizero:~/usb-redirector-linux-arm64$ sudo ./installer.sh install-server [sudo] password for outdoorpi: *** Installing USB Redirector for Linux v3.8 *** Destination dir: /usr/local/usb-redirector *** Checking installation... *** Detecting system... *** distribution: debian *** kernel: 4.19.59-sunxi *** Compiling kernel module... *** Kernel module successfully compiled *** Creating directories... *** Preparing scripts... *** Copying files... *** Setting up init script... *** Starting daemon... *** Please allow incoming connections on 32032 port for USB Sever to be able to accept connections from remote clients. *** INSTALLATION SUCCESSFUL! To uninstall, run /usr/local/usb-redirector/uninstall.sh outdoorpi@orangepizero:~/usb-redirector-linux-arm64$ cd /usr/local/usb-redirector/bin/ outdoorpi@orangepizero:/usr/local/usb-redirector/bin$ usbsrv -l -bash: /usr/local/bin/usbsrv: cannot execute binary file: Exec format error outdoorpi@orangepizero:/usr/local/usb-redirector/bin$ sudo usbsrv -l /usr/local/bin/usbsrv: 3: /usr/local/bin/usbsrv: Syntax error: "(" unexpected outdoorpi@orangepizero:/usr/local/usb-redirector/bin$
  12. will try later with arm64 maybe that will solf the problrm outdoorpi@orangepizero:~/usb-redirector-linux-arm64$ sudo ./installer.sh install-server [sudo] password for outdoorpi: *** Installing USB Redirector for Linux v3.8 *** Destination dir: /usr/local/usb-redirector *** Checking installation... *** Detecting system... *** distribution: debian *** kernel: 4.19.59-sunxi *** Cleaning up installation... *** *** INSTALLATION FAILED! ??? Kernel sources or kernel headers directory not found. Please install the corresponding package first. outdoorpi@orangepizero:~/usb-redirector-linux-arm64$
  13. I'm not sure if copiling runs well...
  14. seems not to work for me... compiling maybe works but in the end I got... outdoorpi@orangepizero:~/usb-redirector-linux-armeb-gnueabihf$ sudo ./installer.sh install-server *** Installing USB Redirector for Linux v3.8 *** Destination dir: /usr/local/usb-redirector *** Checking installation... *** Detecting system... *** distribution: debian *** kernel: 4.19.59-sunxi *** Compiling kernel module... *** Kernel module successfully compiled *** Creating directories... *** Preparing scripts... *** Copying files... *** Setting up init script... *** Starting daemon... *** Please allow incoming connections on 32032 port for USB Sever to be able to accept connections from remote clients. *** INSTALLATION SUCCESSFUL! To uninstall, run /usr/local/usb-redirector/uninstall.sh outdoorpi@orangepizero:~/usb-redirector-linux-armeb-gnueabihf$ installation works but when I start the program outdoorpi@orangepizero:/usr/local/usb-redirector/bin$ sudo usbsrv -l /usr/local/bin/usbsrv: 1: /usr/local/bin/usbsrv: Syntax error: word unexpected (expecting ")") outdoorpi@orangepizero:/usr/local/usb-redirector/bin$ so same problem as before...
  15. Hi, I have a Opi zero 512 and did a fresh install Debian Buster with Armbian Linux 4.19.59-sunxi I installes the Linux-Kernel but I run into problems with compiling a driver. outdoorpi@orangepizero:~/usb-redirector-linux-armeb-gnueabihf/files/modules/src/tusbd$ sudo make KERNELDIR=/usr/src/linux-source-4.19.57-sunxi64 make -C /usr/src/linux-source-4.19.57-sunxi64 M=/home/outdoorpi/usb-redirector-linux-armeb-gnueabihf/files/modules/src/tusbd modules make[1]: Entering directory '/usr/src/linux-source-4.19.57-sunxi64' CC [M] /home/outdoorpi/usb-redirector-linux-armeb-gnueabihf/files/modules/src/tusbd/driver.o /bin/sh: 1: scripts/basic/fixdep: Exec format error make[2]: *** [scripts/Makefile.build:304: /home/outdoorpi/usb-redirector-linux-armeb-gnueabihf/files/modules/src/tusbd/driver.o] Error 2 make[2]: *** Deleting file '/home/outdoorpi/usb-redirector-linux-armeb-gnueabihf/files/modules/src/tusbd/driver.o' make[1]: *** [Makefile:1517: _module_/home/outdoorpi/usb-redirector-linux-armeb-gnueabihf/files/modules/src/tusbd] Error 2 make[1]: Leaving directory '/usr/src/linux-source-4.19.57-sunxi64' make: *** [Makefile:61: default] Error 2 outdoorpi@orangepizero:~/usb-redirector-linux-armeb-gnueabihf/files/modules/src/tusbd$ it seems to be a problem with cross compiling but how to solve it?