Repository navigation
ingenic: take a T41LQ that reports the T40 SoC family as T41 - #300
Merged
openipc-ai merged 1 commit intoNov 29, 2026
Merged
openipc-ai merged 1 commit into
openipc-ai merged 1 commit into
Conversation
A T41LQ on a VStarcam Q07 (stock SPL: "Board info: T41LQ") reads 0x1300002C = 0x10040003 SoC ID, family 0x40 0x13540250 = 0x99991111 subtype 0x9999 0x9999 is no T40 grade's code; it is the one the 0x41 branch gives the T41LQ. In the 0x40 branch it fell to "default: return -1": the chip came out "unknown", ipcinfo -f printed "t40", and OpenIPC's load_ingenic, which takes the SoC from there, ran "modprobe tx-isp-t40" -- no ISP, no video. Handle it the way 0xAAAA (a T41NQ in the same position, OpenIPC/majestic#376) already is: chip_generation 0x41 and the T41LQ index. Now ipcinfo -c prints t41lq and -f t41 on that camera, and the ISP loads. Only the measured code; the other T41-only subtypes may well show up under family 0x40 too, but nobody has read one there yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PR Summary by QodoRecognize T41LQ chips reporting a T40 family ID
AI Description
Merge Risk
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can switch off images and animations for a plain-text comment |
openipc-ai
approved these changes
Nov 29, 2026
openipc-ai
left a comment
Contributor
There was a problem hiding this comment.
Looks right. Checked:
- Index 31 is
"T41LQ"iningenic_cpu_name(), and0x9999is the code the0x41branch already gives the T41LQ. chip_generation = 0x41is whatchipid.cmaps to thet41family, soipcinfo -fgivest41andload_ingenicpickstx-isp-t41; it also puts T41's pad table in front of the padmux lookups instead of T40's.- No T40 grade uses
0x9999(they are0x1111,0x8888,0x7777,0x4444), so nothing that used to be detected changes. - Same shape and comment style as the
0xAAAA/ T41NQ case (OpenIPC/majestic#376). The "The same for a T41LQ" comment leans on that case staying directly above it, which is fine.
Agree with adding only the measured code. For the record: of the other T41-only subtypes, 0x3333 (T41L), 0x5555 (T41ZL) and 0x6666 (T41ZX) would not collide with a T40 code if they ever turn up under family 0x40; 0x8888, 0x1111 and 0x7777 would, so those could not be told apart by subtype there anyway.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#299 A T41LQ on a VStarcam Q07 (stock SPL: "Board info: T41LQ") reads
0x1300002C = 0x10040003 SoC ID, family 0x40
0x13540250 = 0x99991111 subtype 0x9999
0x9999 is no T40 grade's code; it is the one the 0x41 branch gives the T41LQ. In the 0x40 branch it fell to "default: return -1": the chip came out "unknown", ipcinfo -f printed "t40", and OpenIPC's load_ingenic, which takes the SoC from there, ran "modprobe tx-isp-t40" -- no ISP, no video.
Handle it the way 0xAAAA (a T41NQ in the same position, OpenIPC/majestic#376) already is: chip_generation 0x41 and the T41LQ index. Now ipcinfo -c prints t41lq and -f t41 on that camera, and the ISP loads.
Only the measured code; the other T41-only subtypes may well show up under family 0x40 too, but nobody has read one there yet.