-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Camera module 2 #42
Comments
The connector to the webcam is compatible, yes. The only way to talk to the camera (indirectly) is through usb (that's the only interesting data pins going to the camera), so you're talking to a mipi to usb bridge. Based on those facts, at first glance, you're not likely to be able to get access to the sensor registers easily. Here's an lsusb dump which should match what you would get (+- some firmware version differences): |
Like @mstan said, the DSP uses the USB UVC protocol. No MIPI access from the host. On Linux it's handled by the v4l2 kernel driver. You can use the v4l-utils to interact with the camera through USB. Is there anything specific that you're interested in? |
@JohnAZoidberg I work on products that run on embedded Linux and interface with cameras over MIPI and also use Framework 13 AMD laptop so I'm curious how you handle the image pipepline. Also I got recently the new webcam module and would like to do some comparison on them. Also I own Lenovo ThnikPad X13s Gen1 with Snapdragon SoC wehre the MIPI lines are directly attached to the processor. The only issue is that on Linux the IDSP does not work and the RAW image has to be processed by the CPU :-/ |
@JohnAZoidberg do you also use the RTS5803 MIPI to USB brigdge? Do you have datasheet for the IC? Also how do you calibrate the camera sensor and where do you store the calibration data? |
We've got the DSP names on our marketplace. RTS5879 for 2nd gen camera. |
Since the modules are standalone and can be used on lots of different of our mainboards. Even across 13 and 16 inch, all tuning and calibration data is stored in the module. Sorry Realtek does not make the data sheets public right now. |
Understood and thanks for the part reference and info on the calibration data. |
Would it be possible to specify the max amount of current you support on the 3.3V rail? Do you use the ambient sensor to adjust the camera or is that just for the screen brightness? |
How much current the module would draw? I'm not sure. Why are you asking?
Neither of those is done in firmware. Windows and Linux both adjust screen brightness based on ALS sensor readings. |
Well, since I replaced my webcam module I have the old one which could be used in some project. So that would help to estimate the power supply. |
Hi @eclecticc ,
firstly thanks for the updated camera module!
Are they pin to pin compatible with the original camera module that you describe here? https://github.com/FrameworkComputer/Framework-Laptop-13/tree/main/Webcam
Since the OV08X camera sensor supports just MIPI interface how do you connect it to the AMD CPU? Or is there some co-processor along the way that does the Image processing DSP operations (3A algorithms)? Or just some MIPI to USB bridge that pushes the RAW image to AMD processor that then leverages GPU to process the image?
Also where can I get the datasheet for the sensor to get information about the registers and modes of operations?
What's the best way to modify the sensor registers over I2C?
i2c-tools
orlibcamera
(or something else)?The text was updated successfully, but these errors were encountered: