we developed out custom android for our own board developed by our company. Initially I am having issues in displaying similar content on hdmi but i solved that issue . Now we are trying to display different content on hdmi but
/sys/devices/virtual/disp/disp/hdmi status is showing 0 (HDMI not Connected !)
while we are having similar display on hdmi port. We are using android 4.2. I need guidance, where to look in the android code or do i have to change my driver for hdmi ( because i am using driver for marsboard A20) ?
Thanks.
First of you need to see in product fex file that whether HDMI support is enable in your device or not.
You will find product fex file in lichee/tools/pack/chips/sun7i/config/android//sys_config.fex.
Check values of screen0_output_type and screen1_output_type attributes.
Related
I'm trying to see why our DJI-enabled app isn't working correctly with the Mavic Air 2 on iOS or Android. Here I'm debugging with iOS but I've seen the same failures when briefly testing on our Android app.
When calling setMode:completion: on the single camera belonging to the Mavic Air 2, I consistently get "Current product does not support this feature.(code:-1013)"
isMediaDownloadModeSupported returns true for the camera, and yet I can't set the camera mode to media download mode at all (or any other mode).
I've found that setFlatMode:completion: seems to work ok to set photo and video modes as a sort of alternative, however this is only for photo/video modes, and won't help me with downloading media from the SD card. (right?)
Any help out there?
From my DJI Developer Support ticket for the same issue:
For the Mavic Air 2 drone, should use the setFlatMode to switch the photo, video mode, and use the enterPlayback, exitPlayback to enter/ exit the download mode.
Please apart from the 7" LCD touch screen, which other lcd screen can work with raspberry pi using windows iot core operating system
It is recommended to use the screen device which is listed in the Hardware compatibility list. As mentioned in the document, this list is not exhaustive. There are many other peripherals not listed on this page that are compatible with Windows 10 IoT Core. You may try with other screen, maybe it is also compatible. If you just want to use a display screen without touch input, in general the screen with HDMI interface is usable.
I am trying to modify an existing application that talks to a standard USB video device class webcam (a Logitech BCC950 camera) over USB on OS X.
The device (a conferencing webcam) is compliant with USB's "Video Device Class" (https://en.wikipedia.org/wiki/USB_video_device_class). I have provided a link to some source code that allows controlling saturation and white balance of the picture using the webcam's hardware and the VDC specification.
I now want to control the pan/tilt function of this webcam. This is called "CT_PANTILT_ABSOLUTE_CONTROL" in the specification. How do I do this?
This site has some example code for controlling the gain, exposure and a handful of other settings with OS X's IOKit.
The aim would be to make an application similar to this: https://www.youtube.com/watch?v=U10OqVzoHbw that is controllable using a web interface.
I want to send new parameters for the CT_PANTILT_ABSOLUTE_CONTROL command, to control the pan of the camera.
Additionally, in the documentation, VC_PROCESSING_UNIT is listed as 0x05, but in the source, it's listed as 0x02. Also, other sources such as the Linux UVC headers define it as 0x05.
In the UVC specifications, this is listed under 4.2.2.1.14 PanTilt (Absolute) Control, however, I am unclear of the unit & selector codes that are required to get this information.
I would love to get some help for the commands & code that needs to be written so that this application will work in OS X with IOKit.
With the help of a friend, we have found this: https://github.com/kazu/UVCCameraControl
It is a modified version of the code that I linked to in my question, however, it seems to have support for Pan & Tilt.
I have as of yet not tried it, but quickly looking at the code, it seems to support everything that I need.
I am trying to get my app written to use libvlc to output surround (AC3 5.1) over an HDMI sound device.
The HDMI device is called "HDMI" in the Audio Devices in OSX.
I have tried using libvlc_audio_output_device_set, where I have tried "coreaudio", "auhal" and "HDMI" as the name, and the ID number as the id. I am not sure if this is right, the documents talk of non-portability and specificness to this call.
I have also tried passing arguments when initialising libvlc:
"--aout=auhal"
"core-audio-dev 40"
40 is the ID fro the HDMI device (determined with a dynamic library I have which obtains the device ID number for a specific Audio Device), but in this case I get the error:
vlc: unknown option or missing mandatory argument `--coreaudio-dev 40'
The VLC documentation says this is an option on OSX but it seems not to work.
Selecting audio device in the standalone VLC app works fine (select HDMI).
I am using nightly VLC on OS X 10.8.3.
Can anyone help?
i am attempting to print labels from our custom CMS for products using EPL2 label printer drivers but having no luck.
the printer spits out about 12 labels (4x1") but no text is visible.
i set up the printer manually and using the CUPS admin interface and get the same results each time.
zebra doesn't make a native driver, but i am finding on the web that this driver should work.
any advice would be much appreciated.
thanks.
What kind of data are you sending to the device? If you're just doing a File->Print of the web page it should work with the OS drivers, no need to go into the CUPS interface. If you're writing to the spool folder you should be sending raw EPL code - look for the EPL Programming Guide # Zebra.com
Make sure you setup the device correctly as well.
http://www.nrgsoft.com/blog/?p=11
what ended up working was doing a factory reset and using #page along with paper size settings to print in the correct dimensions.
the only printer i could get to actually work the way it was supposed to was Chrome.