Open Subtixx opened 1 year ago
Okay so implementing some more things I can get the following:
Mainly the following:
.vidioc_enum_fmt_vid_cap = vidioc_enum_fmt_vid_cap,
.vidioc_g_fmt_vid_cap = vidioc_g_fmt_vid_cap,
.vidioc_try_fmt_vid_cap = vidioc_try_fmt_vid_cap,
.vidioc_s_fmt_vid_cap = vidioc_s_fmt_vid_cap,
.vidioc_enum_fmt_vid_out = vidioc_enum_fmt_vid_out,
.vidioc_g_fmt_vid_out = vidioc_g_fmt_vid_out,
.vidioc_try_fmt_vid_out = vidioc_try_fmt_vid_out,
.vidioc_s_fmt_vid_out = vidioc_s_fmt_vid_out,
make test results in the following:
C0 80 C0 80 C0 80 C0 80 C0 80 C0 [repeating]
[..]
A0 86 20 86 A0 86 20 70 40 70 2F 70 40 70 2F 70 40 [repeating]
I have attached the file: frame.bin.zip
Where did you get functions like vidioc_g_fmt_vid_out
and the others ?
I would like to give it a try.
As it's seem abandonned for the moment, maybe let's go for a fork.
I botched it in using some other V4L2 code from Github. The main issue with this is testing is a nightmare... (Everytime it doesn't work, I have to restart my whole pc to unload the driver)
Choosing not to work on it, is not the same as choosing to abandon it. The project isn’t abandoned.
On Tue, Apr 4, 2023 at 14:42 Vincent Huriaux @.***> wrote:
Where did you get functions like vidioc_g_fmt_vid_out and the others ? I would like to give it a try.
As it's seem abandonned for the moment, maybe let's go for a fork.
— Reply to this email directly, view it on GitHub https://github.com/stoth68000/sc0710/issues/13#issuecomment-1496433536, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEEERBH4FSL227TBZOPETCLW7RTQJANCNFSM6AAAAAAT7J2PCM . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Steven Toth - Kernel Labs http://www.kernellabs.com +1.646.355.8490
My bad. Seen a 4 hours old commit (at the moment) after posting this. Should have modified
Everytime it doesn't work, I have to restart my whole pc to unload the driver
In my case, the issue was Pulseaudio using the device. I just stopped it before unloading and restarted it afterwards as a quick fix.
systemctl --user stop pulseaudio.socket
sudo rmmod sc0710
sync
systemctl --user start pulseaudio.socket
I just moved recently to linux and have barely any idea about it. So here comes my attempt at asking for help in the hope somebody can help (since it seems this repo is abandoned).
Everything compiles and the driver is loaded successfully. However VLC is saying it can't open the device, V4L2 says "Inappropriate ioctl for device" and ffmpeg is either outputting blackframes (when played back in VLC) or a test picture (No idea if this is a testpicture from the driver or from ffplay)?
dmesg shows the following:
and then it keeps spamming the timeout message.