Go to advanced search

by soyxan
Thu Oct 26, 2017 6:46 am
Forum: Raspbian
Topic: libgraphicsmagick++1-dev not working as expected on Raspbian Strecht
Replies: 0
Views: 362

libgraphicsmagick++1-dev not working as expected on Raspbian Strecht

I have developed a program that uses graphicsmagick c++ libraries that was working perfectly on Raspbian Jessie but now in Rasbian Strecht is not working anymore. When I try to open an animated GIF file it raises the following runtime error: Trouble loading /home/pi/matrix/imagenes/animation.gif (Ma...
by soyxan
Tue Oct 24, 2017 1:42 pm
Forum: Raspbian
Topic: Samba installed in Rasbian Strecht Lite?
Replies: 4
Views: 1388

Re: Samba installed in Rasbian Strecht Lite?

If I rerun the installation no erros appear, but if I try to start the samba service fails. Please check: [email protected]:~/matrix/matrix $ sudo apt-get install samba Reading package lists... Done Building dependency tree Reading state information... Done samba is already the newest version (2:4.5.12+dfsg...
by soyxan
Tue Oct 24, 2017 10:30 am
Forum: Raspbian
Topic: Samba installed in Rasbian Strecht Lite?
Replies: 4
Views: 1388

Samba installed in Rasbian Strecht Lite?

Hi, In my first run I have found the file /etc/samba/smb.conf, but I cannot see samba service running (systemctl status samba) So I suppose that samba pacakge was not installed so I installed it (sudo apt-get install samba), but I get the following error: sudo apt-get install samba Reading package l...
by soyxan
Tue Oct 24, 2017 7:46 am
Forum: General discussion
Topic: Run a startup command from the boot partition (SD)
Replies: 3
Views: 628

Re: Run a startup command from the boot partition (SD)

This is my service file (matrix.service) content: [Unit] Description=Matrix After=multi-user.target [Service] ExecStart=/home/pi/matrix/matrix/matrix --led-slowdown-gpio=2 --led-chain=30 -L /home/pi/matrix/config/comandos.txt Restart=on-abort [Install] WantedBy=multi-user.target "/home/pi/matrix/mat...
by soyxan
Tue Oct 24, 2017 7:07 am
Forum: General discussion
Topic: Run a startup command from the boot partition (SD)
Replies: 3
Views: 628

Run a startup command from the boot partition (SD)

Hi, I have the following problem: I have created a systemctl service that runs on startup which is hanging the raspberry pi, the service runs but I cannot login locally (the keyboard is not responding) nor from a SSH session (connecton refused). I am wondering if it is any way to define a command th...
by soyxan
Mon Oct 23, 2017 2:28 pm
Forum: Raspbian
Topic: Default Raspbian Strecht Lite free space
Replies: 4
Views: 1079

Re: Default Raspbian Strecht Lite free space

It is resized automatically on first boot to make all of the SD card available. Thats the ext4 "/" filesystem. I have realized that there is the following command in cmdline.txt file: init=/usr/lib/raspi-config/init_resize.sh Can I just remove it in order to avoid the partition to be resized? (I wa...
by soyxan
Mon Oct 23, 2017 10:19 am
Forum: General discussion
Topic: STICKY: USB boot now working on Pi3
Replies: 546
Views: 278508

Re: STICKY: USB boot now working on Pi3

Is the following guide still valid? https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md Yes. Answers to your other questions are in that doc I folowed the instructions and I was able to boot from the USB HDD but the initialization is stopped in the following point: "rand...
by soyxan
Sat Oct 21, 2017 3:36 pm
Forum: General discussion
Topic: STICKY: USB boot now working on Pi3
Replies: 546
Views: 278508

Re: STICKY: USB boot now working on Pi3

Is the following guide still valid? https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md I mean, do I have to do the trick of setting this OTP (One Time Programmable) or now it is set by default? Do I have to update the Pi firmware in order to have this enabled on older Rp...
by soyxan
Sat Oct 21, 2017 3:16 pm
Forum: Raspbian
Topic: Default Raspbian Strecht Lite free space
Replies: 4
Views: 1079

Default Raspbian Strecht Lite free space

Hi, I want to know what is the default Raspbian Strectch Lite free space avialable just after flashing the SD card (on the first boot before using raspi-config to enlarge the data partition). On the other hand, is there any tool (windows and linux) to resize the official image (IMG file) before flas...
by soyxan
Wed Oct 11, 2017 1:15 pm
Forum: General discussion
Topic: Raspberry Pi 3 USB boot to avoid corruption
Replies: 10
Views: 3388

Re: Raspberry Pi 3 USB boot to avoid corruption

Leave your boot partition on the sdcard. Edit your cmdline.txt and look for the root device line, which should be pointing at /dev/mmcblk0p2 or something like that. Change it to point at /dev/sda. Save the file and reboot. Why do you suggest to maintain the boot on the SD and the rest on the HDD wh...
by soyxan
Tue Oct 10, 2017 3:43 pm
Forum: General discussion
Topic: Raspberry Pi 3 USB boot to avoid corruption
Replies: 10
Views: 3388

Raspberry Pi 3 USB boot to avoid corruption

Hello, I am facing SD corruption problems with my Raspberry Pi 3 (not overclcoked). As the RPi3 can be booted from a USB (program_usb_boot_mode=1) I am wondoering if doing so will reduce the possibility of having the filesystem corrupted or a USB stick could be corrupted as "easy" as a SD card ? Tha...
by soyxan
Thu Apr 07, 2016 1:28 pm
Forum: Raspbian
Topic: udev rule not working on Raspain Jessie (mochad)
Replies: 4
Views: 3033

Re: udev rule not working on Raspain Jessie (mochad)

I think I found the problem: The process started by the udev rule in fact acts as a server (opens a socket and keeps listening) so it keeps opened as a daemon (the source code calls the daemon() C++ function which does a "fork") and the udev manual says: https://www.freedesktop.org/software/systemd/...
by soyxan
Wed Apr 06, 2016 2:58 pm
Forum: Raspbian
Topic: udev rule not working on Raspain Jessie (mochad)
Replies: 4
Views: 3033

udev rule not working on Raspain Jessie (mochad)

Hi, I am using Mochad ( https://sourceforge.net/projects/mochad/ ) on my Rpi1 with Raspbian Jessie. This programs runs when a USB compliant device is connected using a udev rule. The content of the udev rule is as follows: SUBSYSTEM=="usb", ATTR{idVendor}=="0bc7", ATTR{idProduct}=="0001", RUN+="/usr...

Go to advanced search