Hot answers tagged

25

Starting with the default configuration, or one you know works already, is a good idea. Beware that for the Pi 2, you should use: make bcm2709_defconfig Instead of bcmrpi_defconfig. Note that if you want to avoid clobbering an existing kernel install of the same version, set the General setup -> Local version - append to kernel release string to a unique ...


12

"In normal circumstances there is NEVER a need to run rpi-update as it always gets you to the leading edge firmware and kernel and because that may be a testing version it could leave your RPi unbootable". https://www.raspberrypi.org/forums/viewtopic.php?p=916911#p916911 Even the rpi-update documentation now warns "Even on Raspbian you should only use this ...


10

The driver you need is in the repositories. pacman -Sy dkms-8192cu If you could get internet access temporarily, you could simply download and install it.


10

After hours of reading threads and following guides here and there, the definitive guide that got the driver working was here. Following the steps listed in that post: $ # install necessary software $ sudo apt-get update $ sudo apt-get install bc git $ # download raspbian kernel sources, takes some minutes $ sudo wget "https://raw.githubusercontent.com/...


8

Turns out the steps to recompile and load the rtlwifi module are correct. The problem is iwconfig not working to enable/determine monitoring mode in this situation. Instead, I used iw as outlined by Steven Gordon and it worked. To summarize: STEP 6b: List the physical network interfaces available $ iw dev STEP 7: Determine if the physical interface ...


8

Finally I had a breakthrough! Instead of using modprobe and dkms it was enough to follow these steps: sudo git clone https://github.com/EntropicEffect/rtl8822bu.git cd rtl8822bu sudo nano Makefile Update lines 100 and 101 to this and save the file: CONFIG_PLATFORM_I386_PC = n CONFIG_PLATFORM_ARM_RPI = y sudo make sudo make install sudo reboot After ...


7

To update Krzysztof's great answer, Broadcom finally publicly released some code, licensed as 3-Clause BSD, to aid the making of an open source GPU driver. The "rpi-open-firmware" effort to replace the Raspberry Pi VPU firmware blob started in 2016: https://github.com/christinaa/rpi-open-firmware. See more at https://news.ycombinator.com/item?id=11703842 ...


7

Indeed, it was a problem with the drivers. I switched to use Raspbian and then I installed the drivers, like explained here. Dowloaded the driver Extracted the files (tar xvf LCD-show.tar.gz) cd LCD-show/ sudo ./LCD35-show (this depends on the display size, mine is 3.5") In my case it didn't reboot automatically, but it displayed some messages regarding ...


7

One of the things that I have read a hundred times in dealing with anything attached to the USB on any model of RPi is to make sure that you have a decent Power Supply (2 or more Amps) or use a quality powered USB hub. Could it be possible that your WiFi dongle isn't getting enough power now because the HDMI screen is too greedy?


7

For an SD Card image file (similar to the .sdimg ones) to be generated your local.conf file must include the rpi-sdimg filesystem type in the IMAGE_FSTYPE variable. This will typicaly give you a value such as: IMAGE_FSTYPES = "tar.xz ext3 rpi-sdimg" With the above parameter included a .rpi-sdimg file will be created during a the build. After a bitbake ...


6

If your idea is to make an exact carbon copy of the Pi 2, you won't succeed. While @joan stated that the OTP contents are not shared to the public, the actual SoC is also not available. The BCM2836 is a custom design for the Raspberry Pi Foundation and I doubt it is available through the common channels. That being said there is a wide variety of Raspberry-...


6

What is the difference between kernel "3.18.11" and "3.18.11-v7+"? The -v7+ is tacked on to indicate this isn't from a vanilla source tree, and that it was compiled specifically for the Pi 2. I'm planning to get this kernel source: wget https://github.com/raspberrypi/linux/archive/rpi-3.18.y.tar.gz Is this the correct source for my kernel? No. If you ...


6

Important: Follow these instructions meticulously Note: The OP is using Wheezy and the latest kernel version from raspberrypi-bootloader then is 4.1.7-v7+, while on jessie that version is 4.1.13-v7+ and that's a critical difference! If you're going to apply these steps to your own situation, adjust the values accordingly. Step 1: Get the git_hash from ...


5

A comment to goldilock's great post: Just wanted to add one thing I observe with rpi-4.1.y branch (05376fce25aaab4f47182a5af04928bfa06f30d6): In order to have USB working (this includes the USB-connected ethernet), one has to also enable BCM2708_MBOX (Device Drivers->Mailbox Hardware Support->Broadcom BCM2708 Mailbox (vcio)). Without this option USB starts ...


5

I spent a number of hours recently with my C920 and a Raspberry Pi 3 recently to make a babyCam that I could stream within my home network. I may be able to shed some light but also provide documentation and experience to other users. OK, to use the Video4Linux2 driver to find the camera's video device do this: v4l2-ctl --list-devices My experience: I ...


5

There should not be a driver problem with the 2.8" display and RPi 2 newer kernels, as support is built in (ie you don't need the adafruit kernel) 4.0.7 works. The main problem is with the touch screen support. I have the same set up (but kernel 4.0.9-v7+). To get the display to work, you need either the adafruit dts overlay file pitft28c-overlay.dts (which ...


5

Add the following line to /boot/config.txt dtparam=i2c_arm=on Add the following line to /etc/modules i2c-dev Reboot


5

I have a Pi 4 Model B/4GB serving a small office as a router/firewall/gateway with dnsmasq (DHCP+DNS), dnscrypt-proxy, chrony (NTP), and a few other odds and ends. It's fairly busy: up to 20 users at a time, lots of file uploads, three main VLANs (plus a management VLAN). There's minimal internal routing for the time being. I haven't really stress-tested ...


4

well google will provide your answer generate custom linux image it is a lil about which distro you want to use.. if you can give more informations i can update my answer maybe.. furthermore.. why you do not install and configure your pi and make an image from the final state?


4

It is not possible, Unix like system relies on standards that are not implemented in FAT or NTFS. Your system need permissions, groups, symbolic links to work properly. Neither FAT nor NTFS can provide it.


4

by supergordon » Tue Sep 09, 2014 3:20 pm Hello, there are no drivers for 3.12.28+, so I compiled them. Works well. http://gordon.d4rc.net/8188eu_3.12.28.zip readme.txt contains quick installation instructions This from supergordon worked for me: wget gordon.d4rc.net/8188eu_3.12.28.zip unzip 8188eu_3.12.28.zip sudo cp rtl8188eufw.bin /lib/...


4

I know another user on here that uses pygame on a pi uses these params in his init method: pygame.mixer.init(48000, -16, 1, 1024) Documentation on the pygame.mixer.init can be found here: pygame.mixer.init() initialize the mixer module init(frequency=22050, size=-16, channels=2, buffer=4096) -> None Initialize the mixer module for Sound loading and ...


4

Could it be something as simple as the camera being recognized as something other than /dev/video0? Does ls /dev/video* yield anything else? It's been many months since I used a C920 on my Raspberry Pi, but at the time, everything "just worked" so long as I used the right device.


4

The biggest obstacle I can think of is programming the OTP (One-time programmable) memory of the Broadcom SoC so that it will boot. I am not sure what infomation is publically available for that purpose.


4

Linux 4.4 has an updated driver for the bq27xxx series of fuel gauge IC's. This driver is available in the rpi-4.4.y development branch at the Raspberry Pi Foundation's github which supports the bq27441.


4

The source of sensor code is generally the same as the source of sensors themselves, i.e., the vendors. Not all of them supply such, and not all of them supply it in a 100 % compatible form. Note that this will be OS specific, but I doubt you will find much around for Windows IoT at this point (since it is quite a new OS) so we are talking about GNU/Linux (...


4

While the Raspberry Pi 2 support is present in 4.5, you're also looking for a .config that will work. The changes for multi_v7_defconfig weren't ready for 4.5, so they're currently in linux-next. That defconfig is still missing a couple of things: CONFIG_BCM2835_WDT=y (enables reboot/shutdown) CONFIG_SND_BCM2835_SOC_I2S=y (support for external audio DACs, ...


4

That's not really what I would call a motor driver board. For low current operation I'd be looking at L298N, or L293D, or L9110S based boards. They let you drive a pair of motors forwards and backwards. The IRF520 does have the advantage of providing more power which may be why you want to use it. Anyhow connect V+ and V- to your DC motor (if the motor ...


4

If you have a virgin Raspbian image that was never booted before you will find a script that is executed on first boot up. Look at a fresh flashed CD Card with mounted boot partition for example at /mnt/p1: laptop ~$ sudo cat /mnt/p1/cmdline.txt dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=c1dc39e5-02 rootfstype=ext4 elevator=...


4

The other user didn't really answer the question asked, about what usb to ethernet adapters work with the Raspberry Pi 4. Here are some forum links I found that may help. I don't have a RPi 4 myself (yet!) so I can't confirm, but it seems that most adapters will work fine, with maybe a slightly more limited speed. For physical devices what counts on Linux ...


Only top voted, non community-wiki answers of a minimum length are eligible