Hello again,
Fourdee wrote:lcd4linux.service
hwservice.service
hwservice_monitor.service
As far as I can tell, these are non-standard services. Probably something FriendlyARM manually added to their images.
I think for now, we should try disabling them with:
We can do this with a patch/update. Are those services still enabled on the dropbox uploaded image?
Yes, unfortunately they are. If they have been created by FriendlyARM (and not Debian or even DietPi), I feel like we should even remove them fully instead of simply disabling them:
Code: Select all
systemctl stop [servicename]
systemctl disable [servicename]
rm /etc/systemd/system/[servicename]
rm /etc/systemd/system/[servicename] symlinks that might be related
systemctl daemon-reload
systemctl reset-failed
Fourdee wrote:Great work on a image/zip, looks good

Thanks, but it's mostly due to your great instructions on how to do so (including shrinking the image).
Fourdee wrote:I'll release it under beta, once we can check a few things:
- Onboard WiFi and Bluetooth. Is this functional at the moment?
WiFi: Yes, Bluetooth: No.
It looks like Bluetooth support (CONFIG_BT) is missing in the Debian/Linux kernel as opposed to the Android kernel. Also, there is a file /etc/modprobe.d/disable_bt.conf that blacklists the respective kernel modules. I will try to work around this, remove the blacklist file and compile a kernel with BT support on my own (based on FriendlyARM's source:
https://github.com/friendlyarm/linux-3.4.y) during the next couple of days and report back here.
WLAN is fully functional:
Code: Select all
root@DietPi:~# iwconfig wlan0
wlan0 IEEE 802.11bg ESSID:off/any
Mode:Managed Access Point: Not-Associated
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
Fourdee wrote:I'll need to code this into dietpi-set_hardware. Can you run the following commands for me please:
/DietPi/dietpi/func/dietpi-set_hardware wifi enable
Code: Select all
root@DietPi:~# /DietPi/dietpi/func/dietpi-set_hardware wifi disable
DietPi-Set_Hardware
âââââââââââââââââââââââââââââââââââââââââââââââââââââ
Mode: wifi (disable)
Please wait...
[Ok] wifi disable | Completed
root@DietPi:~# /DietPi/dietpi/func/dietpi-set_hardware wifi enable
DietPi-Set_Hardware
âââââââââââââââââââââââââââââââââââââââââââââââââââââ
Mode: wifi (enable)
Please wait...
[Info] Please wait, enabling WiFi Modules...
[Ok] wifi enable | Completed
cat /etc/modules
Code: Select all
root@DietPi:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
ls -lha /etc/modprobe.d/
Code: Select all
root@DietPi:~# ls -lha /etc/modprobe.d
total 28K
drwxr-xr-x 2 root root 4.0K Sep 29 21:02 .
drwxr-xr-x 80 root root 4.0K Sep 22 23:46 ..
-rw-r--r-- 1 root root 68 Sep 1 2009 bcmdhd.conf
-rw-r--r-- 1 root root 37 Sep 29 13:41 cfg80211.conf
-rw-r--r-- 1 root root 102 Sep 22 10:57 disable_bt.conf
-rw-r--r-- 1 root root 390 May 26 2015 fbdev-blacklist.conf
-rw-r--r-- 1 root root 349 Apr 1 04:44 matrix-blacklist.conf
cat /etc/modprobe.d/bcmdhd.conf
Code: Select all
options bcmdhd firmware_path=/lib/firmware/ap6212/fw_bcm43438a0.bin
cat /etc/modprobe.d/cfg80211.conf
Code: Select all
options cfg80211 ieee80211_regdom=GB
cat /etc/modprobe.d/disable_bt.conf
Code: Select all
blacklist hci_uart
blacklist hidp
blacklist rfcomm
blacklist btbcm
blacklist bnep
blacklist bluetooth
cat /etc/modprobe.d/fbdev-blacklist.conf
Code: Select all
# This file blacklists most old-style PCI framebuffer drivers.
blacklist arkfb
blacklist aty128fb
blacklist atyfb
blacklist radeonfb
blacklist cirrusfb
blacklist cyber2000fb
blacklist kyrofb
blacklist matroxfb_base
blacklist mb862xxfb
blacklist neofb
blacklist pm2fb
blacklist pm3fb
blacklist s3fb
blacklist savagefb
blacklist sisfb
blacklist tdfxfb
blacklist tridentfb
blacklist vt8623fb
cat /etc/modprobe.d/matrix-blacklist.conf
Code: Select all
blacklist adxl34x
blacklist adxl34x_i2c
blacklist bmp085
blacklist dht11
blacklist fbtft_device
blacklist leds_pwm
blacklist matrix_ads7846
blacklist matrix_gpio_int
blacklist matrix_hcsr04
blacklist matrix_ir_recv
blacklist matrix_pwm
blacklist matrix_rotary_encoder
blacklist pcf8591
blacklist rtc_ds1307
blacklist w1-gpio
blacklist w1-gpio-board
Fourdee wrote:- Serial console. if systemctl disable serial-getty@ttySAC0.service has no effect, I believe this may be hard coded as enabled in the /boot binary files. Cant see any config files we can edit. So not much we can do this about this for now.
I think that not all hope is lost: For testing purpose, I had already successfully changed and repackaged the initramfs in file /boot/root.img.gz in order to avoid the call to resize2fs, so I can also have a look whether I can find anything that is responsible for the serial console to be activated on every boot and comment it out...
Many thanks so far, I will report back shortly - as time permits - regarding Bluetooth and serial console in initramfs.
Best,
awl