-
Posts
16 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Everything posted by mss
-
I just build the build the driver for my RTL8188FTV that supported by rtl8188fu. It works as wifi hot spot but has some problems with nmcli . I share what is done and I hope it be useful for others. 0. Install dkms , make and git: apt install dkms make git 1. Remove any existing source and dkms config for module : dkms remove rtl8188fu/1.0 --all rm -f /lib/firmware/rtlwifi/rtl8188fufw.bin rm -f /etc/modprobe.d/rtl8188fu.conf rm -r /var/lib/dkms/rtl8188fu 2. Get current kernel version and install matching headers: uname -a My results are: Linux orangepipc 5.10.21-sunxi #21.02.3 SMP Mon Mar 8 00:28:04 UTC 2021 armv7l GNU/Linux so my matching kernel headers package would be `linux-headers-current-sunxi=21.02.3` . You might replace `sunxi` and `21.02.3` depending on your top results. I installed it by specifying version: apt install linux-headers-current-sunxi=21.02.3 3. Make kernels headers scripts: cd /usr/src/linux-headers-$(uname -r) make scripts 4. Clone arm branch from driver repository: git clone -b arm https://github.com/kelebek333/rtl8188fu rtl8188fu-arm 5. Disable power saving in make config. find and replace this variable in `./rtl8188fu-arm/Makefile` and set as below: CONFIG_POWER_SAVING = n CONFIG_WIFI_MONITOR = y 6. Build and install driver: ln -s /lib/modules/$(uname -r)/build/arch/arm /lib/modules/$(uname -r)/build/arch/armv7l dkms add ./rtl8188fu-arm dkms build rtl8188fu/1.0 dkms install rtl8188fu/1.0 cp ./rtl8188fu/firmware/rtl8188fufw.bin /lib/firmware/rtlwifi/ # Known problems : - ` nmcli dev wifi list` not works. Refrences: - https://github.com/kelebek333/rtl8188fu/tree/arm#how-to-install-for-arm-devices - https://docs.armbian.com/User-Guide_Advanced-Features/#how-to-build-a-wireless-driver - https://forum.armbian.com/topic/13628-help-me-to-setup-a-wifi-ap-via-command-line/?do=findComment&comment=104106 - https://github.com/ulli-kroll/rtl8188fu - https://askubuntu.com/a/1131265/483814 - https://github.com/brektrou/rtl8821CU#arm-architecture-tweak-for-this-driver-this-solves-compilation-problem-of-this-driver
-
Not exactly! I tested SD cart with H2testw and no issue detected. output log: Warning: Only 14786 of 14787 MByte tested. Test finished without errors. You can now delete the test files *.h2w or verify them again. Writing speed: 8.07 MByte/s Reading speed: 20.6 MByte/s H2testw v1.4 demsg log after filesystem crash :
-
Thanks but I tested SD cart with H2testw and no issue detected. output log: Please Help
-
Hi Sometimes after heavy disk writes like disk speed test (iozone) or database writes or install new packages the file system get read only and I not able to run any command even reboot and I have to disconnect power. My pi is a orange pi pc (H3) and I installed a relatively cheap micro sd card on it.
-
I working on video streaming and if I succeed if would be really cool
-
Just run these commands one by one : sudo apt-get install git automake libglib2.0-dev gstreamer0.10-alsa gstreamer0.10-tools libgstreamer0.10-dev libupnp-dev libxml2-dev gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-fluendo-mp3 gstreamer0.10-pulseaudio pulseaudio git clone https://github.com/hzeller/gmrender-resurrect.git cd gmrender-resurrect ./configure LIBS=-lm make sudo make install gmediarender -f OPI and to add video play back install gstreamer: sudo apt-get install gstreamer1.0 the last command run gmediarender server and now u cat sream audio from phone using any app that support dnla. like this app: https://play.google.com/store/apps/details?id=com.tuxera.streambels&hl=en[AllConnect - Play & Stream] you might need make it a service or autostart script it's up to you. maybe I miss some step so I left all my references but if you have problem please let me know. References: http://blog.scphillips.com/posts/2013/01/using-a-raspberry-pi-with-android-phones-for-media-streaming/ http://blog.scphillips.com/posts/2013/01/a-upnp-renderer-for-the-raspberry-pi/ https://chrisbaume.wordpress.com/2012/06/24/raspberry-pi-upnp-media-player/ http://paste.ubuntu.com/7449701/
-
Problem Solved alsamixer `hdmi audio function` may set to `pcm` [open alsamixer / press F6 / select hdmi ... / up-down to find pcm] lqqqqqqqqqqqqqqqqqqqqqqqqqqqqq AlsaMixer v1.0.28 qqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x Card: sndhdmi F1: Help x x Chip: F2: System information x x View: F3:[Playback] F4: Capture F5: All F6: Select sound card x x Item: hdmi audio format Function [pcm] Esc: Exit x x x x x x x x x x x x x x x x x x pcm x x <hdmi audio format Function> x x x x x x x x x x x x x x x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
-
Thanks @AnonymousPi but I try both config and I get cutting whit noise on hdmi while analogue outline working well. what did i do wrong? can it be a bad configuration on alsamixer ? lqqqqqqqqqqqqqqqqqqqqqqqqqqqqq AlsaMixer v1.0.28 qqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x Card: audiocodec F1: Help x x Chip: F2: System information x x View: F3:[Playback] F4: Capture F5: All F6: Select sound card x x Item: Lineout volume control Esc: Exit x x x x lqqk lqqk lqqk lqqk x x xaax xaax xaax xaax x x xaax xaax xaax xaax x x xaax xaax xaax xaax → x xaax xaax xaax xaax → x xaax xaax xaax xaax → x xaax xaax xaax xaax → x xaax xaax xaax xaax → x xaax xaax xaax xaax → x xaax xaax xaax xaax → x xaax xaax xaax xaax x x xaax xaax xaax xaax x x mqqj mqqj lqqk lqqk lqqk lqqk mqqj mqqj x x xOOx xOOx xOOx xOOx x x mqqj mqqj mqqj mqqj x x 100 100 100 100 x x <Lineout >ADC inpu Audio ad Audio ad Audio li Audio li LINEIN_G MIC1 boo x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
-
Nice review and a great work ! I try to test my storage but after I run iozone and cancel it(it take too long and didn't finish) some strange things happens ! My file system get locked! root@orangepipc:~# touch test touch: cannot touch ‘test’: Read-only file system root@orangepipc:~# reboot -bash: /sbin/reboot: Input/output error my board : orange pi pc my sd card: galecy bit 16Bit U1 my kernel: Linux orangepipc 3.4.112-sun8i #8 SMP PREEMPT Tue May 31 19:00:17 CEST 2016 armv7l GNU/Linux
-
After some crashes and hard shout down my orange pi pc stuck on systemd services during boot after checking it seems file system has some problems. Then I try run fsck on root device by sudo touch /forcefsck but it did anything and dont run fsck after reboot no prompt on display and fsck log files are empty: cat /var/log/fsck/* any way I try to enable fsck by editing : nano /etc/default/rcS and set : FSCKFIX=yes and also try set in file system : tune2fs -c 1 /dev/mmcblk0p1 and all my attempts failed Igor please help
-
Ok Install ubuntu 16.04 follow instruction you make and yes it compiled and it was simple thanks to igore script (there was problem with dialog I suggest to add apt update to start of script ) . During the compile process it ask about device type and kernel version and I choose orange pi pc and default kernel. finally it makes some .deb file in output directory i copy all of them to orange pi pc /root and install on armbian . The acl flag kernel config is now enabled : root@orangepipc:~# cat /boot/config-3.4.112-sun8i | grep _ACL CONFIG_EXT4_FS_POSIX_ACL=y CONFIG_BTRFS_FS_POSIX_ACL=y CONFIG_FS_POSIX_ACL=y CONFIG_GENERIC_ACL=y CONFIG_TMPFS_POSIX_ACL=y CONFIG_NFS_V3_ACL=y CONFIG_NFSD_V2_ACL=y CONFIG_NFSD_V3_ACL=y CONFIG_NFS_ACL_SUPPORT=y but mount command doesn't show acl flag is available: root@orangepipc:~# mount /dev/mmcblk0p1 on / type ext4 (rw,noatime,nodiratime,errors=remount-ro,commit=600) devtmpfs on /dev type devtmpfs (rw,relatime,size=380824k,nr_inodes=95206,mode=755) sysfs on /sys type sysfs (rw,relatime) none on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) none on /proc type proc (rw,nosuid,nodev,noexec,relatime) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime) none on /sys/fs/cgroup type tmpfs (rw,relatime,size=4k,mode=755) none on /sys/fs/fuse/connections type fusectl (rw,relatime) none on /sys/kernel/debug type debugfs (rw,relatime) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=262144k) none on /run type tmpfs (rw,nosuid,noexec,relatime,size=102416k,mode=755) none on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) cgmfs on /run/cgmanager/fs type tmpfs (rw,relatime,size=100k,mode=755) none on /run/shm type tmpfs (rw,nosuid,nodev,relatime) none on /run/user type tmpfs (rw,nosuid,nodev,noexec,relatime,size=102400k,mode=755) and now I'm able to run setfacl -dm without problem but it still doesn't set default permission for new files it's really strange. root@orangepipc:~# setfacl -dm u::rwx,g::rwx,o::r /var/www/html/files root@orangepipc:~# getfacl /var/www/html/files getfacl: Removing leading '/' from absolute path names # file: var/www/html/files # owner: www-data # group: www-data # flags: ss- user::rwx group::rwx other::rwx default:user::rwx default:group::rwx default:other::r-- root@orangepipc:~# touch /var/www/html/files/test root@orangepipc:~# ls -ltrh /var/www/html/files total 0 -rw-rw-r-- 1 root www-data 0 May 22 17:39 test I hope somebody can help me to understand whats happening here?
-
It seams you write a great and simple instruction to compile kernel but if you guide me about how specify my board and how to replace kernel I love to do it myself
-
My cursor in console (not desktop environment) disappeared after apt upgrade from a clean install. Device : orange pi pc Version: ARMBIAN Debian GNU/Linux 8 (jessie) 3.4.112-sun8i I also changed led triggers red one to mmc0 and green to timer. I run apt list>aptlist.txt and attach result to post. it changed a lot i install further packages. aptlist.txt
-
you are blazing fast thanks but I don't really how compile and replace the kernel and I afraid of boot fail. I'm running `ARMBIAN Debian GNU/Linux 8 (jessie) 3.4.112-sun8i` on orange pi pc.
-
I try to use acl but I failed to remount file system with acl if seams kernel compiled with disabled acl for ext filesystem. my fstab config: # UNCONFIGURED FSTAB FOR BASE SYSTEM tmpfs /tmp tmpfs nodev,nosuid,size=256M 0 0 /dev/mmcblk0p1 / ext4 acl,defaults,noatime,nodiratime,data=writeback,commit=600,errors=remount-ro 0 0 /var/swap none swap sw 0 0 and my check for acl in kernel config: root@orangepipc:~# cat /boot/config-3.4.112-sun8i | grep _ACL # CONFIG_EXT4_FS_POSIX_ACL is not set CONFIG_BTRFS_FS_POSIX_ACL=y CONFIG_FS_POSIX_ACL=y CONFIG_GENERIC_ACL=y CONFIG_TMPFS_POSIX_ACL=y CONFIG_NFS_V3_ACL=y CONFIG_NFSD_V2_ACL=y CONFIG_NFSD_V3_ACL=y CONFIG_NFS_ACL_SUPPORT=y It seams the analog audio out put dos't work too, I can't test it with speaker-test. It would be a great favor to recompile kernel with acl for ext4 and guide me about audio out put.