You are not logged in.
Hey Larry if you change to bash again,
maybe you should do something like
cat .config/zsh/aliases >> ~/.bashrc
cat .config/zsh/functions/update_all.zsh >> ~/.bashrc
maybe check .config/zsh/functions if there is anything else interesting
Greetings
Edit:
and make sure bashrc has this
scriptdir="$HOME/.local/Scripts"
Just
uploaded version 2021_03
if anyone uses an older version, i recommend to get this new one
Fixed a bug in the installer in case the username is changed, now all references in ~ and symlinks will be changed to the new name
enhaced the update scripts
qutebrowser and palemoon now run correctly in firejail
new programms like a gui calendar, pdf-metadata-editor, gemeni browser and more
recompiled some programs to the latest version
polybar now has some clicky action
general updates
new scripts
and more
known issues:
when changing the usersame in the installation, qutebrowser will fail to start
to fix this run 'update_qutebrowser --reinstall' in a terminal
i also tested it on the new machine of my brother which is a ryzen something processor and noticed that the X server will not start
i dont know what causes this and i dont have a fix for this now
personally i only run decade old hardware and never had this problem
if anyone knows why, please contact me
@LarryDC
Thanky Larry,
update_all is now working in the new version and the chage username option is also working correctly, i tested it last night
and zsh tab completion is working for me, dont know why it was not working for you
if you still have any of this problems in the new version, please let me know
@dice
looks like something is wrong in /etc/firejail/palemoon.profile
you could try to add
noblacklist ${HOME}/.config/palemoon
whitelist ${HOME}/.config/palemoon
and then launch it like this
firejail palemoon --profile ~/.config/palemoon
1. cannot firejail it, no sandbox features that i am aware of.
we had a thread about that a while ago: Tips for using Palemoon
i'm not a firejail expert, but it appears to work for me.
3. depends on dbus and unable to install it without it.
i dont have dbus and it works fine
the only thing i notice that there is a short error message when launching it from the terminal, but i just ignore the message and it works fine
you dont need to install a .deb package, just download the tarball from http://linux.palemoon.org/download/mainline/
i have a Script to install/update/launch palemoon
sudo modprobe ov5647; sudo modprobe imx219; sudo modprobe imx477
modprobe: FATAL: Module imx219 not found in directory /lib/modules/5.3.13
modprobe: FATAL: Module imx477 not found in directory /lib/modules/5.3.13
i guess the ov5647 worked
I have also ordered a camera, its a v1 version, and its s clone with ov5647 sensor
that might be what i have here too, but im not 100 percent shure
all i can say it that it says 5MP Camera on the box and it does not look like an original
raspistill -o test.jpg
mmal: mmal_vc_shm_init: could not initialize vc shared memory service
mmal: mmal_vc_component_create: failed to initialise shm for 'vc.camera_info' (7:EIO)
mmal: mmal_component_create_core: could not create component 'vc.camera_info' (7)
mmal: Failed to create camera_info component
not shure what thas means
can you share your dmesg
dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.3.13 (root@RPi1) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 Sun Nov 24 23:52:20 UTC 2019
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi Model B
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] cma: Reserved 8 MiB at 0x17800000
[ 0.000000] On node 0 totalpages: 98304
[ 0.000000] Normal zone: 864 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 98304 pages, LIFO batch:31
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 97440
[ 0.000000] Kernel command line: earlyprintk=serial,ttyAMA0,115200n8 console=ttyAMA0,115200n8 console=tty0 root=/dev/mmcblk0p2 rw rootfstype=ext4 elevator=noop fsck.repair=yes rootwait smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=ttyAMA0,115200 selinux=0 noinitrd
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 369980K/393216K available (6941K kernel code, 666K rwdata, 2188K rodata, 472K init, 783K bss, 15044K reserved, 8192K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] ftrace: allocating 24904 entries in 49 pages
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x2f0/0x520 with crng_init=0
[ 0.000024] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[ 0.000085] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[ 0.000195] bcm2835: system timer (irq = 27)
[ 0.000764] Console: colour dummy device 80x30
[ 0.001250] printk: console [tty0] enabled
[ 0.001355] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[ 0.050389] pid_max: default: 32768 minimum: 301
[ 0.051038] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.051118] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.053102] CPU: Testing write buffer coherency: ok
[ 0.055073] Setting up static identity map for 0x8200 - 0x8238
[ 0.056333] devtmpfs: initialized
[ 0.064536] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 0.065117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.065210] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.066803] pinctrl core: initialized pinctrl subsystem
[ 0.068922] NET: Registered protocol family 16
[ 0.073107] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.078265] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.078353] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.078574] Serial: AMBA PL011 UART driver
[ 0.123743] SCSI subsystem initialized
[ 0.124119] usbcore: registered new interface driver usbfs
[ 0.124290] usbcore: registered new interface driver hub
[ 0.124603] usbcore: registered new device driver usb
[ 0.127298] clocksource: Switched to clocksource timer
[ 1.370853] VFS: Disk quotas dquot_6.6.0
[ 1.371084] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.371568] FS-Cache: Loaded
[ 1.371972] CacheFiles: Loaded
[ 1.372509] simple-framebuffer 1e513000.framebuffer: framebuffer at 0x1e513000, 0x6d8c00 bytes, mapped to 0x(ptrval)
[ 1.372585] simple-framebuffer 1e513000.framebuffer: format=a8r8g8b8, mode=1824x984x32, linelength=7296
[ 1.435411] Console: switching to colour frame buffer device 228x61
[ 1.492195] simple-framebuffer 1e513000.framebuffer: fb0: simplefb registered!
[ 1.514385] thermal_sys: Registered thermal governor 'step_wise'
[ 1.515303] NET: Registered protocol family 2
[ 1.517674] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 1.518271] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 1.518833] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 1.519365] TCP: Hash tables configured (established 4096 bind 4096)
[ 1.519963] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 1.520409] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 1.521371] NET: Registered protocol family 1
[ 1.523060] RPC: Registered named UNIX socket transport module.
[ 1.523466] RPC: Registered udp transport module.
[ 1.523763] RPC: Registered tcp transport module.
[ 1.524055] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.525876] hw perfevents: no irqs for PMU, sampling events not supported
[ 1.526387] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available
[ 1.531262] Initialise system trusted keyrings
[ 1.532173] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 1.551626] FS-Cache: Netfs 'nfs' registered for caching
[ 1.553892] NFS: Registering the id_resolver key type
[ 1.554312] Key type id_resolver registered
[ 1.554589] Key type id_legacy registered
[ 1.554870] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.558023] Key type asymmetric registered
[ 1.558339] Asymmetric key parser 'x509' registered
[ 1.558747] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 1.574987] io scheduler mq-deadline registered
[ 1.590572] io scheduler kyber registered
[ 1.621174] bcm2835-rng 20104000.rng: hwrng registered
[ 1.662070] brd: module loaded
[ 1.694251] loop: module loaded
[ 1.710761] Loading iSCSI transport class v2.0-870.
[ 1.727189] usbcore: registered new interface driver smsc95xx
[ 1.742572] usbcore: registered new interface driver usb-storage
[ 1.757912] mousedev: PS/2 mouse device common for all mice
[ 1.774854] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 1.790531] sdhci: Secure Digital Host Controller Interface driver
[ 1.805380] sdhci: Copyright(c) Pierre Ossman
[ 1.923402] sdhost-bcm2835 20202000.mmc: loaded - DMA enabled (>1)
[ 1.938731] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.954875] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.970411] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.985625] usbcore: registered new interface driver usbhid
[ 2.000411] usbhid: USB HID core driver
[ 2.016927] bcm2835-mbox 2000b880.mailbox: mailbox enabled
[ 2.034475] Initializing XFRM netlink socket
[ 2.049945] NET: Registered protocol family 17
[ 2.065172] Key type dns_resolver registered
[ 2.083151] random: fast init done
[ 2.101168] registered taskstats version 1
[ 2.116120] Loading compiled-in X.509 certificates
[ 2.141526] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq = 81, base_baud = 0) is a PL011 rev2
[ 2.437028] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.460221] mmc0: new high speed SDHC card at address b368
[ 2.493112] mmcblk0: mmc0:b368 SDC 7.51 GiB
[ 4.570418] printk: console [ttyAMA0] enabled
[ 4.591116] raspberrypi-firmware soc:firmware: Attached to firmware from 2019-09-24 17:39
[ 4.616684] mmcblk0: p1 p2
[ 4.637638] vchiq: vchiq_init_state: slot_zero = (ptrval)
[ 4.742394] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 4.765542] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 4.787992] devtmpfs: mounted
[ 4.811907] Freeing unused kernel memory: 472K
[ 4.830951] This architecture does not have kernel memory protection.
[ 4.851895] Run /sbin/init as init process
[ 7.570166] udevd[205]: starting version 3.2.7
[ 7.670825] random: udevd: uninitialized urandom read (16 bytes read)
[ 7.701941] random: udevd: uninitialized urandom read (16 bytes read)
[ 7.738178] random: udevd: uninitialized urandom read (16 bytes read)
[ 7.804852] udevd[205]: specified group 'kvm' unknown
[ 8.010308] udevd[205]: starting eudev-3.2.7
[ 9.034724] mc: Linux media interface: v0.10
[ 9.257569] i2c-bcm2835 20805000.i2c: Could not read clock-frequency property
[ 9.292548] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 9.478112] videodev: Linux video capture interface: v2.00
[ 9.614450] bcm2835_audio bcm2835_audio: card created with 8 channels
[ 9.639307] dwc2 20980000.usb: 20980000.usb supply vusb_d not found, using dummy regulator
[ 9.773847] dwc2 20980000.usb: 20980000.usb supply vusb_a not found, using dummy regulator
[ 9.974168] dwc2 20980000.usb: DWC OTG Controller
[ 10.069472] dwc2 20980000.usb: new USB bus registered, assigned bus number 1
[ 10.166631] dwc2 20980000.usb: irq 33, io mem 0x20980000
[ 10.261776] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[ 10.286091] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 10.309098] usb usb1: Product: DWC OTG Controller
[ 10.329644] usb usb1: Manufacturer: Linux 5.3.13 dwc2_hsotg
[ 10.351052] usb usb1: SerialNumber: 20980000.usb
[ 10.678838] hub 1-0:1.0: USB hub found
[ 10.698465] hub 1-0:1.0: 1 port detected
[ 11.157455] usb 1-1: new high-speed USB device number 2 using dwc2
[ 11.427821] usb 1-1: New USB device found, idVendor=0424, idProduct=9512, bcdDevice= 2.00
[ 11.451801] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 11.478445] hub 1-1:1.0: USB hub found
[ 11.498028] hub 1-1:1.0: 3 ports detected
[ 11.837517] usb 1-1.1: new high-speed USB device number 3 using dwc2
[ 11.911700] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 12.008723] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00
[ 12.033294] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 12.100916] smsc95xx v1.0.6
[ 12.252788] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:ee:c6:79
[ 12.365753] smsc95xx 1-1.1:1.0 enxb827ebeec679: renamed from eth0
[ 12.417512] usb 1-1.3: new full-speed USB device number 4 using dwc2
[ 12.600837] usb 1-1.3: New USB device found, idVendor=24ae, idProduct=1000, bcdDevice= 1.10
[ 12.626232] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 12.650203] usb 1-1.3: Product: Rapoo 2.4G Wireless Touch Desktop
[ 12.672918] usb 1-1.3: Manufacturer: MOSART Semi.
[ 12.696387] vc4_v3d 20c00000.v3d: ignoring dependency for device, assuming no driver
[ 12.781133] bcm2835-v4l2: scene mode selected 0, was 0
[ 12.789366] bcm2835-v4l2: V4L2 device registered as video0 - stills mode > 1280x720
[ 12.832787] input: MOSART Semi. Rapoo 2.4G Wireless Touch Desktop as /devices/platform/soc/20980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:24AE:1000.0001/input/input0
[ 12.969408] hid-generic 0003:24AE:1000.0001: input,hidraw0: USB HID v1.10 Keyboard [MOSART Semi. Rapoo 2.4G Wireless Touch Desktop ] on usb-20980000.usb-1.3/input0
[ 13.023467] bcm2835-v4l2: Broadcom 2835 MMAL video capture ver 0.0.2 loaded.
[ 13.074898] input: MOSART Semi. Rapoo 2.4G Wireless Touch Desktop Mouse as /devices/platform/soc/20980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:24AE:1000.0002/input/input1
[ 13.158739] input: MOSART Semi. Rapoo 2.4G Wireless Touch Desktop Consumer Control as /devices/platform/soc/20980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:24AE:1000.0002/input/input2
[ 13.277997] input: MOSART Semi. Rapoo 2.4G Wireless Touch Desktop System Control as /devices/platform/soc/20980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:24AE:1000.0002/input/input3
[ 13.316001] input: MOSART Semi. Rapoo 2.4G Wireless Touch Desktop as /devices/platform/soc/20980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:24AE:1000.0002/input/input4
[ 13.355588] hid-generic 0003:24AE:1000.0002: input,hiddev96,hidraw1: USB HID v1.10 Mouse [MOSART Semi. Rapoo 2.4G Wireless Touch Desktop ] on usb-20980000.usb-1.3/input1
[ 13.563077] random: crng init done
[ 13.586268] random: 1 urandom warning(s) missed due to ratelimiting
[ 17.546818] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 18.368828] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 22.048121] zram: Added device: zram0
[ 22.468323] zram0: detected capacity change from 0 to 104857600
[ 23.116812] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 23.681788] Adding 102396k swap on /dev/zram0. Priority:1 extents:1 across:102396k SSFS
[ 31.742396] NET: Registered protocol family 10
[ 31.806014] Segment Routing with IPv6
[ 228.374853] smsc95xx 1-1.1:1.0 enxb827ebeec679: hardware isn't capable of remote wakeup
[ 229.998161] smsc95xx 1-1.1:1.0 enxb827ebeec679: link up, 100Mbps, full-duplex, lpa 0xC5E1
yes i used the right connector and had that gpu_mem=128 and also start_x=1 in /boot/config.txt
not sure what sensor i have, cant find any information on this
i was trying to get this working https://elinux.org/RPi-Cam-Web-Interface , it uses mjpeg
i guess i'll give up on this and just use raspbian for this
Anyone has the raspistill/raspivid commands working?
I keep getting this error: * failed to open vchiq instance
tried chmod 777 /dev/vchiq
error does not show, but still dont get any picture
since i announced that there wont be frequently new releaes
anyone who actually uses this, could add my gitlab to the newsbeuter rss reader to still get updates on scripts and stuff
https://gitlab.com/_alphalpha_/dotfiles.atom
How did you make jwm work like that?
the font is called 'bebas-neue'
sudo apt install fonts-bebas-neue
for more information, checkout .config/jwm
How much CPU usage does that use?
according to htop it uses 0.0%
the whole system with nothing other open but htop bounces between 1-2% cpu usage and 180-190M ram
since that is in percent, i should mention that this data refers to a 10 year old Thinkpad X201
And could you make a git page with the source code?
okay, im not a big fan of git, but here you go
https://gitlab.com/_alphalpha_/dotfiles
still have not figured out how exactly everything works, but the jwm files are there
i am not sure if it is necessary, but to make sure jwm loads the correct config,
the line where jwm gets started in your .xinitrc should look like this
exec jwm -f $HOME/.config/jwm/jwmrc
also notice that .config/jwm/theme is a symlink to one of the files in .config/jwm/themes/
dont know how git handles symlinks, but in case that does not work, try
ln -s .config/jwm/themes/protogrey .config/jwm/theme
make sure to have a read of .config/jwm/autostart.sh and adjust it to your needs
and to make your wallpaper load, check .config/jwm/wallpaper
you maybe want to change 'xwallpaper --zoom .local/wallpaper.png' to 'nitrogen --restore' or whatever wallpaper setter you use
Just upladed Version 2021_01,
from now on there wont be montly updates anymore,
i think there is not much left to do and i am pretty happy with it as it is now.
Programms from other places than the Devuan repo can be updated with the 'update_all' alias.
(Palemoon, Qutebrowser, Icecat, Shotcut, Deadbeef, youtube-dl)
And the programms that i compiled from source like JWM and BSPWM have been rebuilt with the latest git version, so they are good to go for the next time.
There will only new releases when the next version of Devuan is released, or if someone finds a bug in the installer script
or maybe if gnu hurd 1.0 will ever be reality
i use this one to open iso images or usb devices that contain bootable distros with qemu
check_kvm() { [ -e /dev/kvm ] && KVM_FLAG="-enable-kvm -cpu host" }
emu32() { ISO="$1"; check_kvm; QEMU_CMD="sudo qemu-system-i386 ${KVM_FLAG} -m 2560 -drive format=raw,file=$ISO"; `echo $QEMU_CMD` }
emu64() { ISO="$1"; check_kvm; QEMU_CMD="sudo qemu-system-x86_64 ${KVM_FLAG} -m 2560 -drive format=raw,file=$ISO"; `echo $QEMU_CMD` }
alias emu="emu64"
and this one to search and open files in my archives
find-open() {
if [ "$1" ]; then
[ "$2" ] && DIR="$2" || DIR="."
STRING="$(find "$DIR" -iname "*$1*" | fzf)"
[ "$STRING" ] && xdg-open "$STRING"
else
echo "Example: find-open 'STRING' 'PATH' -> lists all matches of 'STRING' in 'PATH' and opens the selection"
echo " if 'PATH' is not defined, find will look in the working directory'"
fi
}
you could install aircrack-ng and then run
sudo airmon-ng check
i remeber i had this problem some years ago with ubntu mate on an embedded device
i had to disable network-manager to fix this
i still have not figured out why the download is not working sometimes,
maybe i should upload somewhere else, but at the moment i am not sure where
i wish i had fast internet so i could just seed a torrent all the time
hello alphalpha,
I which there was a live media installable and with some 600-700mb size..
i actually tried to get below 700mb when i made the first aplha version, but i could not get anywhere near that with the programs i wanted to be on the iso
however you can take the stuff you like, throw it on the minimal devuan iso,make your own snapshot and see how small or big it gets
Vesiosion 2020_12 is uploaded!
*turns out i forgot to 'chmod +x' the new shotcut appimage so if you want to try that you have to make it executable
chmod +x ~/.local/opt/shotcut/shotcut-linux-x86_64-201031.AppImage
Hi Tuxdev,
that is strange, im not sure why that is not working
i will upload the latest version now,
thanks to my fast internet, it will probably take around 16h to upload
tomorrow evening there should be a 2020_12 directory
let me know if it is still not working
greetings, Michael
[EDIT: I saw your image for x86,
And it seems nice!
Could we see that graphical environment, and great work from you in the SBC world?
Thanks,
that raspberry pi is running headless, i connect only via ssh and tmux, so there is no point for me to have a graphical environment installed
and now that everything is set up and deployed, i wont touch it in the near future
thanks again, i would not have been able to do this without your help
Yes, it is working
turned out that copying that /opt/vc/lib folder from https://github.com/raspberrypi/firmware … opt/vc/lib was a really bad idea
'apt install --fix-broken' would always complain about the 2 armhf packages and fail removing them and sudo ldconfig would always throw a segmentation fault
luckily a made a backup before i did this
i uninstalled the armhf files from raspbian and then did this
git clone https://github.com/raspberrypi/userland.git
cd userland
sudo ./buildme
that gave me /opt/vc/lib/libbcm_host.so and all the other needed files
sudo echo "/opt/vc/lib" >> /etc/ld.so.conf
sudo ldconfig -vv
as tuxd3v mentioned
and finally
git clone https://github.com/markondej/fm_transmitter.git
cd fm_transmitter
make
thanks
not really, they are installed but unconfigured
libraspberrypi-dev was depended on libraspberrypi0 and that depended on raspberrypi-bootloader
and i didnt want to install that bootloader
however i have now that /opt/vc/lib/libbcm_host.so file
but now i get more errors from make
make 23:18
g++ -L/opt/vc/lib -lm -lpthread -lbcm_host -o fm_transmitter main.o mailbox.o sample.o wave_reader.o transmitter.o
/usr/bin/ld: warning: libvchiq_arm.so, needed by /opt/vc/lib/libbcm_host.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libvcos.so, needed by /opt/vc/lib/libbcm_host.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vcos_log_impl'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vchi_msg_queuev'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vcos_generic_mem_calloc'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vcos_init'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vchi_service_use'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vcos_pthreads_map_errno'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vchi_bulk_queue_transmit'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vchi_service_open'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vchi_msg_dequeue'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vcos_once'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vchi_service_close'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vchiq_initialise'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vchi_msg_queue'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vchiq_queue_message'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vcos_log_register'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vcos_thread_join'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vcos_log_get_default_category'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vchi_connect'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vchi_service_release'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vcos_thread_create'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vchiq_connect'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vchi_create_connection'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vcos_generic_mem_free'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vcos_thread_attr_init'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vcos_generic_mem_alloc_aligned'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vchi_initialise'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vchi_bulk_queue_receive'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `single_get_func_table'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vchiq_release_message'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vchi_mphi_message_driver_func_table'
/usr/bin/ld: /opt/vc/lib/libbcm_host.so: undefined reference to `vchiq_open_service'
i tried to copy the /opt/vc/lib folder from https://github.com/raspberrypi/firmware … opt/vc/lib but that didn't do the trick
now i compiled the fm_transmitter on raspbian and copied it over to devuan but i can't run it
the file is there and is executable but
./fm_transmitter
returns 'no such file or directory: ./fm_transmitter'
For the Humidity/Temperature sensor, do a 'lsmod',
and check which kernel module is loaded, it would be nice for us to know
i dont see any related kernel module, it is not dht11
sudo lsmod 22:09
Module Size Used by
w1_therm 6775 0
nfnetlink 7093 0
bnep 11917 2
bluetooth 366232 7 bnep
ecdh_generic 18216 1 bluetooth
rfkill 21483 2 bluetooth
ipv6 401666 0
snd_bcm2835 22908 0
snd_pcm 89576 1 snd_bcm2835
snd_timer 22354 1 snd_pcm
snd 60288 3 snd_timer,snd_bcm2835,snd_pcm
w1_gpio 4534 0
wire 31321 2 w1_gpio,w1_therm
cn 5655 1 wire
hwmon 10460 1 wire
uio_pdrv_genirq 3686 0
uio 10016 1 uio_pdrv_genirq
fixed 3001 0
maybe it is w1_gpio, but im not sure since i have another temperature sensor for which i loaded this
i installed raspbian on another sd-card and did
sudo apt download libraspberrypi-dev
and got libraspberrypi-dev_1.20200819-1_armhf.deb
now when i try to install this on the devuan sd-card with
sudo dpkg -i libraspberrypi-dev_1.20200819-1_armhf.deb
it fails because dpkg: error processing archive libraspberrypi-dev_1.20200819-1_armhf.deb (--install):
package architecture (armhf) does not match system (armel)
which i find very strange, it was the same hardware, why has raspbian another architecture
also while i was on raspbian i tried the dht22 humidity sensor and it worked no problem
i debugged it with print statements and found out that it was detecting that im on a pi 3 instead of pi 1, so i had to install it from git with the --force-pi option intead of installing it with pip
so at least that is working now
Thank pymd !
There is an updated version of the installer available on sourceforge below the iso download,
which has to be added by hand into the ~/.local/Scripts directory
But i just noticed yesterday that there still is a problem, if you chose grub, it will maybe complain about a gpt partition table even if there is none
i will fix that with the next release, for now, the workaround is to press the left arrow key if this message appears and the installation will proceed
Thanks a lot for your answer tux !!
it looks like libraspberrypi-dev is not in the devuan repo
i will try get it from raspbian
Hi,
I have some problems with Devuan on my Raspberry Pi (1 B)
and i assume that the broadcom driver /boot/bcm2708-rpi-b.dtb is not loaded correctly.
How can i check and maybe edit the boot command to make sure it is included?
The reason why i think it has to do with /boot/bcm2708-rpi-b.dtb, is because i tried to build https://github.com/pimylifeup/fm_transmitter
and it failed with this error: transmitter.cpp:36:10: fatal error: bcm_host.h: No such file or directory
and also the driverers from Adafruit_DHT (for DHT22 humidity sensor)
fail with this: RuntimeError: Error accessing GPIO.
maybe i have to edit /boot/cmdline.txt , but how to include that bcm file?
I am happy to announce that the problem that yohno had is now fixed.
Grub now installs correctly with or without seperate boot and in UEFI and Legacy.
I made massive changes to the installer and fixed a lot of things,
also added some more checks to make sure everything is set up correctly before the install function starts.
Also qutebrowser no longer uses the relative old version from the devuan repository,
but the latest release from github. A script is available to check and download the most recent release.
The iso file hase just been uploaded to sourceforge
Thanks for the feedback
i will try to fix that in the next release