[SOLVED] Raspicam not detected

I have the raspberry pi 2 with Astroprint v0.10(6) and the raspberry camera rev 1.3.

The camera works in Octoprint but i cannot get it to work with Astroprint.

The web interface of Astrobox under settings and camera say “No Camera Found”, i have tried clicking the button to “Scan For Cameras” and nothing happens.

I have fully updated my raspberry pi using

sudo apt-get update
sudo apt-get upgrade

i have gone into interfacing options and made sure to enable the Raspberry Pi Camera

sudo raspi-config

and i am not sure what else i can do. Can someone please assist me?

Did you reboot after applying settings? If so check for video devices with:

ls -la /dev/video*

If nothing is shown then the V4L2 driver isn’t working (we need that)

how do i go about installing that driver?

~ $ lsmod
Module Size Used by
8192cu 560049 0
cfg80211 428431 1 8192cu
rfkill 16037 2 cfg80211
evdev 11396 2
joydev 9024 0
cdc_acm 17370 2
hid_logitech_hidpp 10382 0
snd_bcm2835 20447 0
snd_pcm 75762 1 snd_bcm2835
snd_timer 19288 1 snd_pcm
snd 51908 3 snd_bcm2835,snd_timer,snd_pcm
bcm2835_gpiomem 3040 0
bcm2835_wdt 3225 0
hid_logitech_dj 10016 0
uio_pdrv_genirq 3164 0
uio 8000 1 uio_pdrv_genirq
bcm2835_v4l2 38812 0
videobuf2_vmalloc 5187 1 bcm2835_v4l2
videobuf2_memops 1268 1 videobuf2_vmalloc
videobuf2_v4l2 16535 1 bcm2835_v4l2
videobuf2_core 20861 2 bcm2835_v4l2,videobuf2_v4l2
v4l2_common 3929 2 bcm2835_v4l2,videobuf2_v4l2
videodev 132913 4 bcm2835_v4l2,v4l2_common,videobuf2_core,videobuf2_v4l2
media 11573 1 videodev
ipv6 347594 28

The driver is listed but not working for some reason. Maybe a problem with the HW?

hmm, ill reconnect it and see whats going on. it was working on OctoPrint before.

Oh boy how embarrassing, the ribbon cable was in backwards… lol

Thanks for the help and your quick response.

1 Like