Control a USB light via software

I have a little USB-powered light. I'd like to be able to turn it on and off with software. I'll be attaching it to a Linux computer. I have an Atmel ATtiny2313 from a previous project, but I'd...

Associate existing Linux device structure with device file

I'm developing with a PowerPC 405 embedded in a Virtex4 FPGA with Linux kernel 2.6.33. Up until now, I've been writing drivers for platform devices implemented in the FPGA in the form of kernel...

Installing MariaDB: unmet dependencies, mariadb-server-10.0

ubuntu:~$ sudo apt-get install mariadb-server Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that...

hidapi Windows 8.1 hid_write fail

hw : lpc1549 eval board with usb hid test firmware ... endpoint size 64 bytes endpoint intr reads out-report buf and displays len and data in hex ... copies out_report into in_report buf and...

Differences between arm64 and aarch64

I have two "unlocked" devices, an iPad mini 3, and a Galaxy Edge 6, both endowed with a terminal and a minimalistic set of unix commands. I thought both devices have arm64 processors but when I...

Binwalk - Compressed data is corrupt

[email protected]:~/ROUTER# binwalk new-firmware.bin DECIMAL HEXADECIMAL DESCRIPTION -------------------------------------------------------------------------------- 84 0x54 ...

Cannot send a SMS with gammu (error 500, message reference=-1)

I've been playing with gammu and Huawei USB modem: lsusb | grep Huawei Bus 001 Device 006: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem The modem is capable of...

eglfs on raspberry2 -- * failed to add service - already in use?

that's is my first post here. I'd like to keep it short... Following problem: i want to run a qt5/qtquickcontrols2 application utilising the eglfs backend on a raspberry-pi 2b, accelerated by vc4,...

Ubuntu AWS instance reachability check failed

I've recently added more storage to the /dev/sda (it was 8GB..made it to 150GB) by stopping the instance, detaching the volume and adding storage and reattaching and then starting the instance. I...

Buildroot - RPI3 - Find the BCM43438 firmware to enable wireless

i'm a beginner. i use a RPI3 and a buildroot build system and try to enable wireless. I followed several links without success. In particulary, i followed this link :...

Ubuntu 16.04 - wireless connectivity randomly drops and driver must be restarted

I am using Ubuntu 16.04 and have experienced a known issue where the wifi randomly fails, with the icon still showing connectivity but no connection available. This wasn't previously a problem and...

Include Git commit hash and/or branch name in C/C++ source

I would like to know how you can get a Git commit hash and/or other information into the contents of a C++ variable in the compiled binary without having it be part of the source that's tracked by...

How could 32bit kernel read efivars from 64bit UEFI?

I'm booting a GRUB EFI application compiled to x86_64-efi, on a x86_64 firwmare in UEFI only mode. This GRUB app launches a 32bit Linux v3.18.48, with CONFIG_EFIVAR_FS=y and CONFIG_EFI_VARS=y. Now...

usb bulk transfer timeout under Linux while it works under Windows

[Edit: I found the reason, see below] The problem: I created a "driver" for a device in Windows using Python (PyUSB and libusb-win32). While this software works seamlessly on multiple PCs under...

Problems mounting a ubi image using QEMU

I'm trying to emulate a nand flash with qemu and use that to mount an existent ubifs image on the virtual machine. I added a nand device and a drive of the type mtd, resulting on the following...

How are MMIO, IO and PCI configuration request routed and handled by the OS in a NUMA system?

TL;DR How are MMIO, IO and PCI configuration requests routed to the right node in a NUMA system? Each node has a "routing table" but I'm under the impression that the OS is supposed to be unaware...

Ubuntu 18.04 - Bluetooth Device Is Not Recognized

Today, for some reason that I can't understand, the Bluetooth stopped working. I was looking for a solution with no success. Here is some information: $ lspci -nnk | grep -iA2 net; lsusb;...

Docker pull fails on Windows 10 in Windows Container mode

I am trying to run docker natively on Windows 10 : https://docs.microsoft.com/en-us/virtualization/windowscontainers/quick-start/set-up-environment?tabs=Windows-10-Client My Windows version is...

WiFi not working in Ubuntu20 on MacBookPro 13 (2020), dual booting, trinidad wifi drivers issue

After purchasing new equipment which is MacBook Pro 13 Catalina 10.15.7 4 x USB-C release year: 2020 model 16,2 I decided to install Ubuntu 20 as dual boot. Previously I installed Ubuntu from...

Raspberry Pi: SPI not working, spi_bcm2835 not showing with lsmod

I'm trying to control my WS2801 LED Stripe with my Raspberry Pi 4 over the SPI interface. The Pi is running un Ubuntu 20.04 with the kernel version: Linux ubuntu 5.3.0-1030-raspi2 #32-Ubuntu SMP...

GNU Radio TypeError: primitive_connect(): incompatible function arguments when executing simple graph

When trying to execute the following graph I get the error below. Any ideas what might be causing this? I'm on Ubuntu 20.10. <<< Welcome to GNU Radio Companion 3.9.0.0-git >>> Block paths: ...

Raspberry Pi "tools" (raspistill, vcgencmd, ...) not included with buildroot

I've created a basic image with buildroot (buildroot-2021.02.1), containing some software and also selected the RPI firmware in order to use the camera and some Raspberry Pi tools: Target packages...

Which device nodes are managed by udev, and which by evdev?

From the wiki for evdev: evdev (short for 'event device') is a generic input event interface in the Linux kernel and FreeBSD.[1] It generalizes raw input events from device drivers and makes them...

Arch Linux Installation: ERROR: Root device mounted successfully, but /sbin/init does not exist

I'm fairly new to linux but decided to dive right in with arch-linux to become familiar with everything. Unfortunatelly I can't even finish the installation - shame on me. The error while booting...

GNU Radio + HackRF: RuntimeError: firdes check failed: 0 < fa <= sampling_freq / 2

I just started using GNU Radio, I must say I am quite a noob but I have some background on RF related stuff. Here's the thing: I recorded a file that I now want to repeat through my HackRF and GNU...

How do I run XEN on arm64 and Qemu 6.0.0 with Linux 4.20.11 as Dom0

thank you for reading and appreciated for reply! I followed this doc and successfully ran xen 4.12.0 on qemu 3.1.0 with Linux 4.20.11 as Dom0. Then I tried to use higher version of qemu(qemu 5.1.0...

Booting Linux on QEMU/RISC-V64/Busybox leads to error finding `/init` post boot

I'm trying to boot Linux on QEMU for RISC-V. I have set up my own toolchain described below: riscv-gnu-toolchain from [email protected]:riscv/riscv-gnu-toolchain.git qemu v5.2.0 from...

Unable to build docker container: Can't add file <file> to tar: io: read/write on closed pipe

I'm trying to build a container on a raspberry pi from a mac over ssh. I'm setting DOCKER_HOST to ssh://[email protected] (192.168.1.11 is the IP of my raspberry pi). The docker build command is...

About Beaglebone Black CAN protocol setting

Thank you for watching this. I'm having difficulties with my BBB on CAN communication like for months... I'd be really pleased if you could give me just a little help! I'm working on CAN protocol...

How to set up Dns Server for resolving one name

Some background. My software can be downloaded onto a music server (black box linux based machine) using a binary that I dont have access to, within the binary my servername (www.jthink.net) is...