Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Raspberry Pi5: Driver does not probe the VD5943 correctly

Abierto
#1 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
64/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
c, linux, raspberry-pi

Línea de trabajo

Start in the vd1943_power_on function and inspect the reset handling and vd1943_wait_state call when the Raspberry Pi 5 DTS has no reset GPIO. Review pcb4280d_vd5943_2lanes.dts.txt and the existing device-tree setup. Done means the VD5943 probes correctly on the reported Raspberry Pi 5 configuration and the requested DTS is added if appropriate.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Dear developpers,

The driver does not probe the VD5943 correctly, it fails.

The issue is that the DTS of RPI does not have any reset, so gpiod_set_value_cansleep(sensor->reset_gpio, 0); is probably not sleeping at all.

The solution for me was to add

usleep_range(20000, 25000);

just before :
gpiod_set_value_cansleep(sensor->reset_gpio, 0);
usleep_range(6000, 6500);
ret = vd1943_wait_state(sensor, VD1943_SYSTEM_FSM_SYSTEM_UP, NULL);
in the function: static int vd1943_power_on(struct vd1943 *sensor)

also can you add the pcb4280d_vd5943_2lanes.dts.txt to the code please ?

Thank you,
BELOUARGA Mohamed

Lenguaje dominante
C
Estrellas
2
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.