spencers9478
Posts: 6
Joined: Fri Apr 27, 2018 1:34 am

Auvidea B101

Wed Jun 27, 2018 8:59 pm

I am working on a project requiring my Pi to intake incoming HDMI connections up to 1080p @60fps, and for this I am using the Auvidea B101 (I recognize the B101 only takes 1080p @25fps, I did not realize this when purchasing, but the B101 will just have to do for now). Yesterday, I was able to capture and stream connections with my B101 perfectly fine, with my Pi 3. Today, I try to run

Code: Select all

raspivid -f
and this is what I now get:

Code: Select all

The driver for the TC358743 HDMI to CSI2 chip you are using is NOT supported. They were written for a demo purposes only, and are in the firmware on an as-is basis and therefore requests for support or changes will not be acted on.

mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
mmal: camera component couldn't be enabled
mmal: main: Failed to create camera component
mmal: Failed to run camera app. Please check for firmware updates
Yesterday, this command produced the same warning about the drivers but continued to work flawlessly. I have tried this on a Pi 0w using a RPi zero camera cable, and another Pi 3B+, all with the same issue. I have tried re flashing my SD cards, updating my Pi's firmwares, and running sudo apt-get upgrade. I am not sure of the issue, my B101 has the green light activated and I cannot see any physical damage to the device. Can anyone help me with this? The B10x boards from Auvidea are awesome, and would love to implement it into my project. Thank you in advance.

fruitoftheloom
Posts: 17838
Joined: Tue Mar 25, 2014 12:40 pm

Re: Auvidea B101

Thu Jun 28, 2018 10:19 am

spencers9478 wrote:
Wed Jun 27, 2018 8:59 pm
I am working on a project requiring my Pi to intake incoming HDMI connections up to 1080p @60fps, and for this I am using the Auvidea B101 (I recognize the B101 only takes 1080p @25fps, I did not realize this when purchasing, but the B101 will just have to do for now). Yesterday, I was able to capture and stream connections with my B101 perfectly fine, with my Pi 3. Today, I try to run

Code: Select all

raspivid -f
and this is what I now get:

Code: Select all

The driver for the TC358743 HDMI to CSI2 chip you are using is NOT supported. They were written for a demo purposes only, and are in the firmware on an as-is basis and therefore requests for support or changes will not be acted on.

mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
mmal: camera component couldn't be enabled
mmal: main: Failed to create camera component
mmal: Failed to run camera app. Please check for firmware updates
Yesterday, this command produced the same warning about the drivers but continued to work flawlessly. I have tried this on a Pi 0w using a RPi zero camera cable, and another Pi 3B+, all with the same issue. I have tried re flashing my SD cards, updating my Pi's firmwares, and running sudo apt-get upgrade. I am not sure of the issue, my B101 has the green light activated and I cannot see any physical damage to the device. Can anyone help me with this? The B10x boards from Auvidea are awesome, and would love to implement it into my project. Thank you in advance.

Is this related to you previous post ?

viewtopic.php?f=44&t=212122

There is some discussion regarding Auvidea in this long Post:

viewtopic.php?f=43&t=109137
Adieu

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5947
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Auvidea B101

Thu Jun 28, 2018 1:57 pm

Nothing has changed in the firmware with regard that driver.
Check with "vcgencmd get_camera" whether the GPU can find the module on I2C. If detected=0 then you have a hardware issue and the module isn't responding.

And technically the B101 will run up to 1080P50, but the encoder is unlikely to keep up, and definitely not with raspivid.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
Please don't send PMs asking for support - use the forum.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

spencers9478
Posts: 6
Joined: Fri Apr 27, 2018 1:34 am

Re: Auvidea B101

Thu Jun 28, 2018 4:48 pm

@6by9:
"vcgencmd get_camera" shows "supported=1 detected=1" so it looks like no permanent damage, hopefully I can get this working sometime soon. Thanks for the help. What would you recommend looking at next in troubleshooting the B101?

@fruitoftheloom:
It is not, I completely forgot ever posting about this before haha. Since then, by some miracle the board started to work with raspivid so I no longer even attempted to use UV4L. But it is the same issue. I will scour the long post you linked and hopefully will find something. I have seen some mention on auvidea's site of a kernel patch to include a driver fromRidgeRun, but cannot find much on how to go about this. Should I look more into this?

RpiName
Posts: 676
Joined: Sat Jul 06, 2013 3:14 am

Re: Auvidea B101

Thu Jun 28, 2018 6:37 pm

To make the B101 work with UV4L on the Pi Zero is rather simple provided that::

1. you follow the instructions here *carefully* (which refer to the Rpi3):
https://www.linux-projects.org/uv4l/installation/

2. as opposite to what mentioned for the rpi3 in the doc., you set the:
tc358743-i2c-dev = /dev/i2c-0
line in the /etc/uv4l-raspicam.conf file

Note that as opposite to raspivid, uv4l is supposed to use the proper firmware components when the tc358743 is detected (and as long as UV4L has been configured according to the doc.).

spencers9478
Posts: 6
Joined: Fri Apr 27, 2018 1:34 am

Re: Auvidea B101

Fri Jun 29, 2018 12:10 am

@RpiName:
Thank you for the link, I followed the instructions exactly but to no avail. When attempting a snapshot, this is what I got:

Code: Select all

[email protected]:~ $ uv4l --driver raspicam --auto-video_nr --width 640 --height 480 --encoding jpeg
<notice> [core] Trying to loading driver 'raspicam' from built-in drivers...
<notice> [core] Loading driver 'raspicam' from external plug-in's...
<notice> [driver] Dual Raspicam & TC358743 Video4Linux2 Driver v1.9.60 built Jan  6 2018
<notice> [driver] Detected camera toshh2c, 3264x2448
<notice> [driver] Selected format: 640x480, encoding: jpeg, JPEG Video Capture
<notice> [driver] Framerate max. 30 fps
<notice> [core] Device detected!
<notice> [core] Registering device node /dev/video0
[email protected]:~ $ dd if=/dev/video0 of=snapshot.jpeg bs=11M count=1
dd: failed to open '/dev/video0': No such file or directory
Could you help me figure out what I am doing wrong? I have tried the exact instructions on 2 different SD cards, but no luck still. I am going to reflash my SD card later tonight and test again on a fresh image. I am beginning to think the problem is my board, but I hope I do not have to purchase another due to the hefty price. I have tried re seating the board in my Pi, and on several Pis. I am pulling my hair out over this haha, I have no idea why it didn't work, started working, and stopped again. Thank you guys again for the help, the RPi forums are the best.

RpiName
Posts: 676
Joined: Sat Jul 06, 2013 3:14 am

Re: Auvidea B101

Fri Jun 29, 2018 8:58 am

Try

Code: Select all

uv4l --driver raspicam --auto-video_nr --width 640 --height 480 --encoding jpeg –tc358743-i2c-dev=/dev/i2c-0 -f --verbosity=8

spencers9478
Posts: 6
Joined: Fri Apr 27, 2018 1:34 am

Re: Auvidea B101

Fri Jun 29, 2018 4:15 pm

RpiName:
Thank you! I followed the instructions exactly again on a fresh stretch image and when running the command you gave me this is what I get now:

Code: Select all

[email protected]:~ $ uv4l --driver raspicam --auto-video_nr --width 640 --height 480 --encoding jpeg –tc358743-i2c-dev=/dev/i2c-0 -f --verbosity=8
<notice> [core] Trying to loading driver 'raspicam' from built-in drivers...
<notice> [core] Loading driver 'raspicam' from external plug-in's...
<notice> [driver] Dual Raspicam & TC358743 Video4Linux2 Driver v1.9.60 built Jan  6 2018
<notice> [driver] Detected camera toshh2c, 3264x2448
<notice> [driver] Selected format: 640x480, encoding: jpeg, JPEG Video Capture
<notice> [driver] Framerate max. 30 fps
<info> [driver] ROI: 0, 0, 1, 1
<notice> [core] Device detected!
<notice> [core] Trying to load the the Streaming Server plug-in...
<warning> [core] libserver.so: cannot open shared object file: No such file or directory
<warning> [core] Continuing without Streaming Server...
<warning> [core] Cannot create /dev/video0 because file already exists
<notice> [core] Registering device node /dev/video1

Since the program is left hanging without moving to the next line, I am assuming it is working but I have no idea how to see the feed.
Sorry for another noob question, but form here I should install the streaming server plugin, then access the stream through vlc, correct?
With this command:

Code: Select all

$ sudo apt-get install uv4l-webrtc 
Is this the best way to get a low latency stream? I'd love to be able to view the feed the B101 is seeing in real time, as if my Pi were just a second screen for my HDMI source. Thank you again for your help, I've been looking into alternatives for days as I thought my B101 was fried somehow.

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5947
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Auvidea B101

Fri Jun 29, 2018 7:03 pm

Next most likely reason for that error is that something is already using the receiver.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
Please don't send PMs asking for support - use the forum.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

RpiName
Posts: 676
Joined: Sat Jul 06, 2013 3:14 am

Re: Auvidea B101

Sat Jun 30, 2018 11:20 am

spencers9478 wrote:
Fri Jun 29, 2018 4:15 pm
Since the program is left hanging without moving to the next line, I am assuming it is working but I have no idea how to see the feed.
Sorry for another noob question, but form here I should install the streaming server plugin, then access the stream through vlc, correct?
With this command:

Code: Select all

$ sudo apt-get install uv4l-webrtc 
Is this the best way to get a low latency stream? I'd love to be able to view the feed the B101 is seeing in real time, as if my Pi were just a second screen for my HDMI source. Thank you again for your help, I've been looking into alternatives for days as I thought my B101 was fried somehow.
uv4l is not hanging. -f tells it to run in foreground. Open a new terminal and try dd on the registered device, or just remove the -f. The output says you already have a /dev/video0 registered, but this should not really matter as long as /dev/video0 and /dev/video1 are not the same device and you are not using them at the same time.

If you want to use uv4l for streaming only, then uv4l can make use of the (any) loaded kernel driver instead of the built-in ones. So you effectively have two possibilities in this case. For more informations, see the output of "uv4l --help" about the "--external-driver" option.

Return to “Interfacing (DSI, CSI, I2C, etc.)”