Raspberry Pi Usb Camera Driver

This list is not entirely reliable, working does not necessarily mean working without errors. Please contribute with your own experiences!

  1. Raspberry Pi - USB Webcam - YouTube
  2. Raspberry Pi Usb Camera Drivers

EZ-USB FX3 SDK v1.3.3 for Linux maybe can slove it,but i have no idea to install it in raspberry pi. But how do i getting start it. Entire tar.gz(422MB) put into raspberry pi? Alternatively, any USB Webcam (US. / UK.) can be used as long as the corresponding drivers for Linux are available. However, this is the case with almost all newer cameras. If our Raspberry Pi does not have an integrated wifi adapter., we may need one more because a network or Internet connection is unavoidable. Preparations for the Livestream.

I have recently started playing with raspberry pi and want to write device driver for it. Already installed cross tool chain in development PC (having Ubuntu), compiled and downloaded application code (simple hello world) in raspberry pi board (having raspbian wheezy OS). USB webcam or any other camera which is supporting Linux operating system. Prepare raspberry pi for camera live stream. First, we have to update and upgrade the packages in the raspberry pi. For that, swichto the root user and update the system using the following commands: sudo su. Apt-get update && apt-get upgrade. Install the tool “Motion.

  1. Raspberry Pi offers a dedicated port to add a camera extension As it’s integrated on the main board, everything is easy to install and configure, especially on Raspbian You first need to enable the camera port, and then you’ll have a bunch of commands to take pictures or videos.
  2. Nov 29, 2018 You have a Raspberry Pi, or are comfortable with the idea of using one, and you want to use it to capture video or images using a USB camera. Even though the Raspberry Pi has a port designed specifically for using a camera, it's not as low-cost, nor as convenient as the USB corded camera.
BrandNameModel NumberHardware IDVerified OSVerified OS versionVerified ResolutionAdditional Information


CanyonCNR-FWC1130c45:6340raspbian/wheezy2013-04-11640x480works fine out of the box. Lacks autofocus (manual focus ring works fine). Has auto exposure, but seems to be optimized for indoor use. When using outdoors, image is completely overexposed.
CanyonCNR-FWC120Hraspbian/wheezy2013-07-26640x480Works well out of the box. Tested with guvcview and also with mjpg-streamer. Also works outside after some manual adjustment of exposure.
CanyonCNR-WCAM820raspbian/wheezy1280x10242 Mpixel camera with manual focus; works with fswebcam and v4l4j on Raspbian Wheezy armhf; problems with 1600x1200 resolution in some apps (timeouts - probably too slow USB); 1280x1024 and lower resolutions works OK
CBRCW 835M Blackraspbian/wheezy2013-02-12works fine without powered hub
CreativeLive!VF0470ArchLinuxworks out of the box on ArchLinux
CreativeLive! Cam Socialize HDVF0610041e:4080raspbian/wheezy2012-11-26960x544Works at 1280x720 taking stills in fswebcam with some errors using MJPEG, unusable with YUYV. 960x544 works in both MJPEG and YUYV. Has some stabilitiy issues if powered from RasPi (Drops USB +eth0 every 8 or so hours). Helps to append nodrop=1 and timeout=5000 to uvcvideo module.
CreativeLive! Cam Sync HD041e:4095raspbian/wheezy2013-04-111280x720Works out of the box. Autoexposure works well both indoors and outdoors. By default the image is bit too software enhanced (they call it 'sharpness'), but this 'sharpness' level can be set to a lower level via fswebcam tool.
CreativeLive! Cam Sync 1080PVF0860041e:409dRaspberry Pi OS (32 bits)/Buster2020-09-151280x720Out of the box works perfectly in Half HD (1280x720) with Chromium (Google Meet), Webcamoid and Cheese. In Full HD (1920x1080) the Raspberry Pi 4 lags badly (tested with Webcamoid).
CreativeGoPD00040raspbian/wheezy2013-04-11Not working at all. Tried various apps (fswebcam/motion) - none work. Corrupt JPEG data: premature end of data segment.
CreativeLive! Cam Vista IMVF0640raspbian/wheezyworks on Raspbian at 320x240 resolution, 15fps
CreativeLive! Cam SocializeVF0640raspbian/wheezyworks on Raspbian at 320x240 resolution, 15fps
CreativeWebcam NotebookPD1170Detects, untested.
CreativeWebcam ProPD1030ov519 driver crashes almost immediately. ('gspca: ISOC data error: [0] len=0, status=-4004')
EminentEM1089raspbian/wheezy2014-05-06640x480Works fine without powered hub
GEMiniCam Pro987560ac8:3420raspbian/wheezy2014-01-07640x480, 352x288, 320x240, 176x144, 160x120Tested and works with motion. Runs on the model B without a powered hub (rated 100 mA).
HerculesWebcam Deluxe05a9:4519raspbian/wheezy + Arch2013-02-09ov519 driver 'Corrupt JPEG data: premature end of data segment' gives corrupt image in motion and fswebcam
HPWebcam-21002100Raspbian3.18.7640x480Needs to skip frames when using fswebcam until exposure settings calculated.
HPWebcam HD-2200HD-2200raspbian/Jessie4.4.50 March 20171280x720Works without powered hub
HPWebcam HD-2300HD-2300raspbian/wheezy2013-08-281280x720works fine without powered hub
HPWebcam HP-3100HP-3100UVCVideo /dev/video0 Needs chmod to 666 to operate. Will work without hub if only device in USB ports. Works with both Arch and Wheezy out of the box
KodakWebcam S101Kodak S1010979:0206raspbian/wheezy2014-02-09640x480, 320x240/dev/video0 Works out of the box with guvcview. Tested and works with motion. Runs on the model B without a powered hub.
KurokesuC1raspbian/wheezy2019-04-101920x1080Works out of the box. MJPG on /dev/video0 (all OpenCV, fswebcam, motion, .), 1920x1080 @ 30fps h.264 on /dev/video1 gstreamer)
KurokesuC1 MICROraspbian/wheezy2019-04-101920x1080Works out of the box. MJPG on /dev/video0 (all OpenCV, fswebcam, motion, .), 1920x1080 @ 30fps h.264 on /dev/video1 gstreamer)
KurokesuC1 PROraspbian/wheezy2019-04-101920x1080Works out of the box. MJPG on /dev/video0 (all OpenCV, fswebcam, motion, .), 1920x1080 @ 30fps h.264 on /dev/video1 gstreamer)
LogitechWebcam C100V-U0013raspbian/wheezy2012-08-16works fine without powered hub
LogitechWebcam C110046d:0829raspbian/wheezy2014-04-04works fine without powered hub. can be unpredictable, however for sanity try fswebcam -p YUYV test.jpeg
LogitechWebcam C160V-U0011Raspbian2015-03-04640x480, 320x240works fine without powered hub.
LogitechWebcam C170raspbian/wheezy1024x760works fine without powered hub, image/video quality is poor
LogitechWebcam C200046d:0802works fine without powered hub
LogitechWebcam C210046d:0819Raspbian/wheezy2012-12-16320x240, 640x480works fine without powered hub
LogitechWebcam C270046d:0825Raspbian/wheezy1280x720works fine with external power, image/video quality is crisp. Caution: Pi may hang (at least not accessible remotely) when using the UVC video kernel module. Fix: load the module using the following magic incantation: `modprobe uvcvideo nodrop=1 timeout=5000 quirks=0x80` . (2014-06-01, Raspbian Linux 3.12.20+). Without external power (connecting camera directly in RPi) RPi works intermittently. It works, say, 10 times and then refuses to work. Then begins to work again. I tried 'magic incantation' and it did not help.
LogitechWebcam C300V-U0004046d:0805Raspbian/Wheezy2013-02-09320x240, 640x480, 1280x1024Works out of the box. Does not appear to require a powered hub.
LogitechWebcam C310Does not require a powered hub to capture snapshots
LogitechWebcam C510046d:081dRaspbian/Wheezy2013-08-30320x240, 640x480Image capture works without powered hub. Other resolutions/video are untested.
LogitechWebcam C525046d:08261920x1080Works fine without powered hub
LogitechWebcam C615V-U0027Works fine without powered hub
LogitechWebcam C905046d:080aRaspbian/Wheezy + occidentalisv0.21600x1200Works fine without powered hub, detected out of then box as Video0 V4L device (uvcvideo module). 1600x1200 at slow rate but ok (tested with motion, uv4l_uvc)
LogitechWebcam C910With external power, is uncvideo. 320x240 works powered directly by the Raspberry Pi.
LogitechWebcam C920raspbian/wheezy1920x1080With powered hub, detected out of box as Video0 V4L device.

Works out of the box on model B+ without a powered hub.

LogitechWebcam C922046d:085craspbian/jessie1920x1080Works out of the box on model RPi 3 without a powered hub. Works also as /dev/video0 (V4L) out of the box, tested with VLC.
LogitechQuickCam E2500046d:089dRaspbian/Wheezy3.12320x240Image capture and motion works without powered hub. Other resolutions/video are untested.
LogitechQuickCam Orbit/SphereWorks with external power
LogitechQuickCam Express861037-0000 V-UB2046d:0840raspbian/wheezy2014-02-09320x240/dev/video0 Works out of the box. Runs on the model B+ without a powered hub. Verified with fswebcam.
LogitechQuickCam MessengerV-UM14046d:08f0raspbian/wheezy + Arch2013-02-09Not working, STV06xx driver 'ioctl (VIDIOCGCAP): Inappropriate ioctl for device', Supported palettes: GRBG, gives corrupt image in fswebcam
LogitechQuickCam Communicate STXraspbian/wheezy2013-09-25Not working, There is a video image but its corrupted. Tried with and without a usb powered hub
LogitechQuickCam Communicate STXRaspbian2015-11-17corruption gets solved for a poor 320x240 4fps after putting options usbcore autosuspend=-1 in /etc/modprobe.d/disable-usb-autosuspend.conf and then reboot. Higher resolutions and framerates still get corrupt.
LogitechQuickCam Pro 5000Works fine (not tried without powered hub)


LogitechQuickCam Pro 9000V-UBM46046d:09903.10.25-1-ARCHWorks fine without powered hub
LogitechQuickCam Pro 9000raspbian/wheezyPowered by RasPi
LogitechQuickCam Pro for Notebooks960-000047046d:0991Raspbian Wheezy2012-12-16160x120 320x240 640x480With guvcview it shows at about 4fps at 160x120, and at about 1fps at 640x480. GUVCViewer Controls are available for focus and exposure.
LogitechQuickCam Ultra Visionraspbian/wheezyPowered by RasPi


LogitechWebcam Pro 4000It uses pwc driver which does not work. Maybe it's because of general Raspberry Pi USB bug.
LogitechWebcam Pro 9000046d:0809Arch LinuxPowered by RasPi, measured ~120 mA current capturing at ~5fps. Has issues capturing images at higher than default resolutions (using motion - Arch and Debian).
MannhattanMINI CAMraspbian/stretch2018-01-03Not working at all. Tried various apps (fswebcam) - none work. Palette not compatible problem.
MedionMD86511raspbian/wheezy2012-07-15Powered by RasPi
MexxcomM-104raspbian/wheezy2012-12-16Powered by USB hub
MicrosoftLifeCam Cinemap 720p USB HD WebcamH5D-00001raspbian/wheezy
MicrosoftLiveCam HD-3000HD-3000045e:0779Archlinux2013-02-06160x120Works out of the box at the tested resolution. Can be powered directly by the Raspberry Pi and works fine also with a wifi dongle attached to the other USB port.
MicrosoftLiveCam HD-3000HD-3000045e:0779raspbian/wheezy2013-04-111280x720Discard the first couple frames after activating, otherwise picture breaks up & exposure is bad. Sample command: fswebcam -S 5 -r 1280x720 tmp.jpg
MicrosoftLiveCam HD-3000HD-3000045e:0810raspbian/stretch2018-01-031280x720Works fine with RP3b directly powered (JPG and video). I haven't seen the problem with the first frames for pictures, but video needs some time for adjusting.
MicrosoftLifeCam HD-5000HD-5000raspbian/wheezy21-02-2014Picture breaks up at the bottom. EDIT: I recently acquired a Pi and I have the LifeCam HD-5000 Picture is NOT breaking up on the bottom for me. But YMMV. 21-2-14 edit
MicrosoftLifeCam HD-6000HD-6000raspbian/wheezy1280x720Powered by USB hub and direct from Pi
MicrosoftLifeCamNX-3000045e:0721raspbian/wheezy2014-01-07640*480Powered by Raspberry
MicrosoftLifeCamNX-6000raspbian/wheezy1280x720Powered by USB hub
MicrosoftLifeCamVX-7000raspbian/wheezyPowered by USB hub
MicrosoftLifeCamVX-3000raspbian/wheezyThere do appear to be some issues with image quality and getting partial frames and such, with fswebcam
MicrosoftLifeCamVX-500raspbian/wheezy640x480. Tested with power direct from the Raspberry Pi.
MicrosoftLifeCamVX-1000raspbian/wheezyDoes not seem to work. Tried with a powered USB hub.
MicrosoftLifeCamVX-1000Octopi (Raspbian tweaked)It works after a couple of tests, I installed fswebcam on my raspberry pi 2 and now it takes 320x240 pixel photos .
MicrosoftLifeCamVX-2000045e:0761raspbian/wheezy2013-12-20320x240, 640x480Works without powered hub. Tried motion and fswebcam, both running smoothly.
MicrosoftLifeCamNX-6000raspbian/wheezyPowered by USB hub
MicrosoftLifeCamVX-800raspbian/wheezy352x288Doesn't work at full resolution
MicrosoftLifeCam Studio/CinemaHas UVC issues detailed here [1]. Horizontal lines problem [2]. Stability issues [3].
MicrosoftLifeCam Studio1080p HD045e:0772Raspbian Wheezy2013-04-121280x720Works for me without any issues with a powered usb-hub (Belkin).
MicrosoftXbox Live VisionX806235045e:0294Arch Linux/Raspbian Wheezy960x720Powered by RasPi
MSIMSI StarCam 370i370i (snake)Raspbian Wheezy352 x 288Works powered by RasPi or USB Hub - set up with Motion at 352 x 288 - works great. Has manual infra-red leds, but turned on through software in Windows, so doesn't work on Pi, but normal capture no problems.
NovatekWebcam0603:8124Arch Linux2014-09-19640x480Picture breaks up on at the down in Arch Linux, powered by either USB hub (0424:9512) or Raspberry (not preferred: max current draw 500mA).
PhilipsWebcamSPC 900NC0471:0329Raspbian Stretch2018-10-16, Kernel 4.14.74640x480(old: 2012-12-16 Raspbian Wheezy) Recognised as USB device ID 0471:0329 Philips (or NXP) SPC 900NC PC Camera / ORITE CCD Webcam(PC370R). Works with guvcview , but not with luvcview. Also working using command ~$ fswebcam -r 160x120 -d v4l2:/dev/video0 test.jpg (new: 2018-10-16) Connected through a powered USB HUB. Snapshots only with: fswebcam -r 640x480 image.jpg
PhilipstoucamPhilips 720K/40 webcam0471:0313Raspbian Wheezy2013-04-03320x240Recognised as lsusb ID 0471:0329 Philips (or NXP). Works with $> guvcview -s 320x240 -f yv12 -t 5 -n rec5sec.mkv --exit_on_close --no_display, but not with command $> fswebcam -r 160x120 -d v4l2:/dev/video0 test.jpg
RealtekGeneric Camera2SF0220bda:5801Raspbian WheezyWhen started with luvcview at 15fps and 320x240 it seemed to give a frame rate of barely 1 per second
Silicon MotionSM731 Camera090c:71b3Raspbian WheezyRequired UVCVideo driver - worked out of the box. Tested for 320x240 using motion & camorama for pictures,streaming.
SonyPlaystation Eye for PS3SLEH-00448jessie-raspbian2016-12-21640x480 320x240Works out of the box directly plugged in to the raspberry pi. Had no problems. Tested using motion. Dec'16 Tested using fswebcam.
SonyEyeToy for PS2Occasional 'mangled frame' directly connected to Rev 2 Raspberry P
SonyEyeToy for PS2SLEH 00030Arch Linux(OV519 camera). Picture constantly breaks up on xawtv and wxcam under Arch Linux. Noted there were ISOC data error len=0 status=-4004 errors in dmesg. This happens when powered from the Raspberry Pi and when powered from a Pluscom USB hub. Arch was updated on 17th July 2012
T'nBMinipix 100K pixelsIMWB0329921e4e:0100raspbian/wheezy2012-12-16RasPi freezes (reboot needed) after a few minutes of using Motion to stream (tested with external power)


Trust2 MP Auto Focus WebcamArch Linux1600x1200Works fine without powered hub. 160x120 - 1600x1200. 5 days stress test without any problems.
TrustSPACEC@M 200Arch Linux(OV511 camera). Picture stops after a few seconds in xawtv under Arch Linux and xawtv reports libv4l2 errors. This happens when powered from the Raspberry Pi and when powered from a Pluscom USB Hub. Arch was updated on 17th July 2012
TrustSPYC@M 1000553:0202Raspbian/Wheezy2013-08-22352x288Works out of the box. Tested with a powered hub, not tested direct from the Raspberry Pi. May had LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libv4l/v4l2convert.so for motion.
TrustSpotlight0c45:62c0Raspbian/Wheezy640x480Works out of the box. Tested with power direct from the Raspberry Pi, not tested on a hub.
TrustWB-1400TRaspbian/WheezyCheap camera, recognised in 'lsusb' but not supported
TrustWB-1200p Mini Webcam093a:2468Raspbian/Wheezy2013-12-12Recognised in 'lsusb' as Pixart Imaging, Inc. SoC PC-Camera. Doesn't work. gspca_main reports constant 'ISOC data error'.
VegaUSB 2.0 Camera0ac8:c302Raspbian Wheezy2014-01-01640x480Should be connected to powered USB hub. Cheap no name webcam from China. Uses UVC driver.


References


Startup
Buying Guide - SD Card Setup - Basic Setup - Advanced Setup - Beginners Guide - Troubleshooting
Hardware
Hardware - Hardware History - Low-level peripherals - Expansion Boards
Peripherals
Screens - Cases - Other Peripherals (Keyboard, mouse, hub, wifi.)
Software
Software - Distributions - Kernel - Performance - Programming - VideoCore APIs - Utilities
Projects
Tutorials - Guides - Projects - Tasks - DataSheets - Education - Communities
Retrieved from 'https://elinux.org/index.php?title=RPi_USB_Webcams&oldid=527591'
  • 2Raspberry Pi HQ camera
  • 3Raspberry Pi HQ camera IMX477 Linux driver for NVIDIA®Jetson Xavier™ NX
    • 3.1Download the JetPack 4.4
  • 4Installing the Driver - Option A: Debian Packages (Recommended)
    • 4.2Installing the debian packages
  • 5Installing the Driver - Option B: JetPack 4.4 sources patch
    • 5.3Patch instructions
    • 5.4Kernel build instructions
    • 5.5Flash the Jetson
  • 7Supported Features
  • 8Example Pipelines
    • 8.1Display
    • 8.2MP4 Recording
    • 8.3JPEG snapshots

Problems running the pipelines shown on this page?
Please see our GStreamer Debugging guide for help.

Introduction to Raspberry Pi HQ camera Sony IMX477 Linux driver

RidgeRun is actively working to enable customers with great software solutions on top of powerful hardware. For this reason, RidgeRun is currently working to create the V4L2 driver for the Raspberry Pi HQ camera. This wiki contains a brief introduction to the sensor and hardware that will be used to develop the driver. Please keep in mind that the driver can be ported to other Jetson platforms if needed. Please contact us if you require more information.

Raspberry Pi HQ camera


Camera Features

  • 12.3-Megapixel high-resolution Sony IMX477 sensor.
  • 1.55μm × 1.55μm Pixel Size – double the pixel area of IMX219 for improved low-light performance.
  • Back-illuminated sensor architecture for improved sensitivity.
  • Support for different C- and CS-mount lenses.
  • Integrated back-focus adjustment ring and tripod mount.

Sony IMX477 Basic Drive Mode

The Raspberry Pi HQ camera uses the IMX477 CMOS sensor of Sony to capture. Such a sensor provides the modes included in the table below. At this point RidgeRun is working to support one mode only but others can be added per request.

Drive ModeNumber of active pixelsMaximum frame rate
[frame/s]
Output InterfaceADC
[bit]
Full (4:3) (Normal)4056 x 3040
approx. 12.33 M pixels
60CSI-210
40CSI-212
Full (4:3) (DOL-HDR)4056 x 3040
approx. 12.33 M pixels
DOL 2 frame:30
DOL 3 frame:15
CSI-210
Full (16:9) 4K2K (Normal)4056 x 2288
approx. 9.28 M pixels
79CSI-210
Full (16:9) 4K2K (DOL-HDR)4056 x 2288
approx. 9.28 M pixels
DOL 2 frame:39
DOL 3 frame:19
CSI-210
Full (4:3) Binning (Normal)2028 x 1520
approx. 3.08 M pixels
179CSI-210
Full (16:9) Binning 1080P (Normal)2028 x 1128
approx. 2.29 M pixels
240CSI-210
Full (16:9) Binning 720P (Normal)1348 x 750
approx. 1.01 M pixels
240CSI-210
Full (16:9) Scaling 1080P (Normal)2024 x 1142
approx. 2.31 M pixels
79CSI-210
Full (16:9) Scalling 720P (Normal)1348 x 762
approx. 1.03 M pixels
79CSI-210

Compatibility with NVIDIA®Jetson™ Platforms

The Raspberry Pi HQ camera module requires a hardware modification in order to work with Jetson Platforms.Both Jetson Nano and Jetson Xavier NX provides 1.8V for reset GPIO in the camera interface, but the camera module requires 3.3V.

To fix this issue a resistor labeled as R8 must be removed from the camera module. If you decide to apply this fix it is under your own risk. RidgeRun is not responsible for any damage caused to your board. The following picture shows the location of the R8 in the module.

Figure 1. R8 resistor on RPi HQ camera module.

Raspberry Pi HQ camera IMX477 Linux driver for NVIDIA®Jetson Xavier™ NX

RidgeRun Engineering has developed the driver with NVIDIA Corporation and Leopard Imaging Inc. as a collaborative initiative.In this section, you will find the instructions to patch the JetPack 4.4 sources enabling the IMX477 sensor driver for the Jetson Xavier NX.

Download the JetPack 4.4

The current version of the driver is supported in Jetpack 4.4 production and Jetpack 4.4 developer preview (DP). Porting the driver to other versions and platforms is possible.

1. Download and install the NVIDIA SDK Manager (membership is required).

2. Put your NVIDIA membership credentials in the SDK Manager main window:

Figure 2. Required SDK Manager credentials.

3. Select JetPack 4.4 and Jetson [Xavier NX Nano] as shown below and press Continue:

Figure 3. Required SDK Manager options.

4. Accept the terms and conditions and press Continue. The SDK Manager will download and install the selected components:

Figure 4. SDK Manager download and install software.

5. Select Manual Setup. Make sure the board is in Recovery Mode and then press Flash:

Figure 5. Manual setup to start the flashing process.

Recovery Mode for Jetson NX

  • NOTE: To set the Xavier NX developer kit in Recovery Mode the following steps are required:
  1. Ensure the device is powered off and the power adapter is disconnected.
  2. Verify that a microSD Card is inserted in the Jetson Xavier NX module's card slot.
  3. Place a jumper across the Force Recovery Mode pins (9 and 10) on the button header [J14]. Please, see Figure 6 below.
  4. Connect your host computer to the developer kit's USB Micro-B connector.
  5. Connect the power supply to the power jack [J16]. The developer kit automatically powers on in Force Recovery Mode.
  6. Remove the jumper from the Force Recovery Mode pins.
  7. Use the lsusb command to check if the NVidia corp message is shown.


Figure 6. Jumper between pins 9 and 10 to get the board on Recovery Mode (top view).

6. When the OS has been installed successfully in the [Xavier NX Nano], you will be asked to enter the board IP, a username and a password, as shown below in Figure7:

Figure 7. Required username and password for your profile in the board.

7. Don't close the window of Figure 7 and don't modify its content yet. Yo need to connect a screen to the board via HDMI, a keyboard/mouse via USB port, and a network cable via Ethernet port. You can remove the jumper that keeps the board in Recovery Mode and then reboot the Xavier board at this point if necessary.

8. After reboot, you will be asked to accept the 'terms of the license' in the board's screen. Select the checkbox and press Continue.

9. Select your language in the next screen and press Continue:

Figure 8. Language selection.

10. Select your keyboard layout and press Continue:

Figure 9. Keyboard layout selection.

11. Select your location and press Continue:

Figure 10. Location selection.

12. Enter a username and a password. Then, press Continue:

Figure 11. User credentials for Ubuntu.

13. Wait for the system to apply the changes. The board will restart automatically.

14. Now you are able to access Ubuntu as a new user in the [Xavier NX Nano]. You can find the board IP by using ifconfig from a terminal.

15. Get back to the window presented in Figure 7 (in your host PC) and enter the IP, username, and password which the [Xavier NX Nano] has been configured with. Then press Install.

Figure 12. User credentials to start the software installation process.

16. The software installation process should finish successfully, as shown in Figure 13:

Figure 13. Finishing software install.
  • IMPORTANT: From now on we will refer as $JETPACK_DIR/ to the directory where the SDK Manager placed the JetPack_4.4_Linux_JETSON_[PLATFORM]_DEVKIT folder.

Where [PLATFORM] must be replaced by XAVIER_NX or NANO.


Installing the Driver - Option A: Debian Packages (Recommended)

This is the simplest way to install the IMX477 driver on Jetson platforms.

Downloading the debian packages

You can download the Debian packages according to your platform from the following link:

Installing the debian packages

Camera

Jetson Xavier NX

  • Copy the kernel and dtb debian packages to your board filesystem:
  • Install the debian packages in your board:
  • Enable the dtb changes by modifying the /boot/extlinux/extlinux.conf file:
  • Reboot your board:

Jetson Nano

  • Copy the kernel and dtb debian packages to your board filesystem:
  • Install the debian packages in your board:
  • Enable the dtb changes by modifying the /boot/extlinux/extlinux.conf file:
  • Reboot your board:

Installing the Driver - Option B: JetPack 4.4 sources patch

Getting the kernel patch

Raspberry Pi - USB Webcam - YouTube

RidgeRun has created a repository from where you can download the patch files with the following structure:

Download the JetPack 4.4 sources

Raspberry Pi Usb Camera Drivers

The sources can be downloaded from the NVIDIA's Download Center:

1. You must be able to download a file called public_sources.tbz2.

2. Untar the sources

3. Move the hardware/ and kernel/ folders into Linux_for_Tegra/ inside the JetPack directory $JETPACK_DIR/:

Where [PLATFORM] must be replaced by XAVIER_NX or NANO.

Patch instructions

Download the patches

Where [PLATFORM] must be replaced by nx or nano.

Apply the patches

Kernel build instructions

Once the sources have been patched, perform the following steps in order to build and install the driver. Asce 7 10 pdf.

Install the Toolchain

NVIDIA recommends using the Linaro 7.3.1 2018.05 toolchain. Download the pre-built toolchain binaries as follows:

Execute the following commands to extract the toolchain: Garageband 6. 0 5 download.

Build the kernel

  • Create the main directories:
  • Establish the building paths:
  • Configure and build kernel:
  • Select:

Press the Y key in order to select the IMX477 option.Go back by hitting the double Esc key until you get the message: Do you want to save your new configuration?, select Yes and press Enter.

  • Compile kernel, device tree and modules:

Flash the Jetson

Flash the Xavier NX

Please, make sure the board is in Recovery Mode.

  • Copy the generated kernel and dtb:
  • Flash the dtb:
  • Copy the kernel image:
  • Move the Image from /tmp to /boot inside the Xavier NX's filesystem:
Raspberry Pi Usb Camera Driver

Flash the Nano

  • Make sure your extlinux.conf file at /boot/extlinux/extlinux.conf in your Nano's filesystem looks as follows:
  • Copy the kernel image and DTB:
  • Move the files from /tmp to /boot inside the Nano's filesystem:

Copy the kernel modules

  • You can also just access your SD card in your PC and copy the KERNEL_MODULES=$JETPACK_DIR/JetPack_4.4_Linux_JETSON_[PLATFORM]_DEVKIT/Linux_for_Tegra/modules/lib/modules/4.9.140/* directory content into /lib/modules/4.9.140/ in your SD card to update the modules. Where [PLATFORM] must be replaced by XAVIER_NX or NANO.
  • Or you can update with your compiled modules . If your board is up you can update the kernel modules as follows:

Where [PLATFORM] must be replaced by XAVIER_NX or NANO.

  • Move the modules from /tmp to the /lib/modules/ folder inside the Jetson's filesystem and reboot:

ISP camera overrides installation

Please, visit the Custom ISP Configuration page in order to learn how to use the camera_overrides.isp file to configure the ISP.

Supported Features

Resolutions and framerates

  • 1920x1080 @ 60fps
  • 4032x3040 @ 30fps

Controls

  • Gain
  • Exposure
  • Framerate
  • Group Hold

Example Pipelines

Find some example pipelines to use the IMX477 on Jetson Xavier NX below:

Display

1920x1080

4032x3040

MP4 Recording

1920x1080

4032x3040

JPEG snapshots

1920x1080

4032x3040

Contact Us

Visit our Main Website for the RidgeRun Products and Online Store. RidgeRun Engineering informations are available in RidgeRun Professional Services and RidgeRun Subscription Model pages. Please email to support@ridgerun.com for technical questions. Contact details for sponsoring the RidgeRun GStreamer projects are available at the Sponsor Projects page.
Retrieved from 'http://developer.ridgerun.com/wiki/index.php?title=Raspberry_Pi_HQ_camera_IMX477_Linux_driver_for_Jetson&oldid=32287'