Touch events via HDMI - touch-event

I need touch capable LCD panel that I need to connect to some sort of external computer. Panel itself does not contain any embedded computer, so no OS will run on it that could process touch events. Panel will be connected to external computer similar to Intel NUC via HDMI.
My question: Would I be able to handle touch events send from panel via HDMI without much trouble (special drivers, configuration etc.)?
External computer will have some flavor of Linux installed, which one is yet to be decided.
Touch events are similar to mouse events so I think X.org server would handle them transparently, or with some minor configuration.
I have seen it working with USB but not with HDMI.
There are USB ports on panel, but im not sure if it will transfer touch event through them when connected.
Note: I don't have panel yet, so can't just plug it in and try.
Panel will be something akin tho this (but not exactly) https://www.alibaba.com/product-detail/Wall-Mounted-LCD-Touch-Screen-Advertising_60650200010.html?spm=a2700.7724838.2017115.235.50af4611aIelfv&s=p

Related

Usb disk availability notification

How do I detect usb disk availability? When I connect my Android phone to pc, it appears as USB disk but it's not accessible until I tap "Turn on USB storage" on the phone's screen. Is there an event I should use? I know there is a proper way to do so, please advise.
Update: It seems I need to explain: in a case like with my Android phone Windows doesn't send WM_DEVICECHANGE when i turn the phone storage on. Perhaps, it similar to card readers or cdrom - a letter assigned to the drive, but you can't access it until memory card or cd inserted. I want to be notified somehow when this happens. I could use polling of course but it doesn't seem to me
very efficient. I'm sure this should be possible because the Windows Explorer does somehow detect the changes.

How to link/pair HTML 5 with a hardware device?

I have two entities which I would like to be able to start a communication:
Hardware Device Using Atmel ATSAMS70 and WINC1500 Wifi Module
HTML 5 App
The idea to have a HTML 5 app is to be able to communicate easily with most of the commercial devices like: Windows computers, Android Phones, Mac OSX computer and iOS devices. Apart from that, I would avoid working with native code at all.
Currently, they can talk with each other using WebSockets but somehow the IP address of the custom board has to be known from HTML 5 to initiate the communication.
In order to do this, I can think of 3 options:
Using WebRTC I can get the local IP address of the browser and then I could do a scan of the local devices considering a 255.255.255.0 network mask.
Have an external server that the hardware device can send its local address which will be later retrieved by HTML 5.
Using Bonjour or some sort of device discovery service between the board and HTML5.
I could not find a way to achieve #3 but #2 seems feasible to me. #1 is what I am doing now, but WebRTC is currently not supported on iOS.
So, is there any other better possibility to achieve this communication?
You don't mention how the WINC1500 unit is being connected to the network but presumably this is in STA mode (acting as a wifi station rather than becoming a software access point or part of an ad-hoc network) and is being provided with its IP details through an existing access point?
Ordinarily I'd suggest that once connected, the device ought to start indicating its availability on the network via a regular UDP broadcast on a specific port but my (admittedly limited) understanding of WebSockets it is that it creates TCP connections. The only implementation of Bonjour that I've seen uses UDP messaging too, that may be why you've had trouble with your third approach.
Your second approach seems more likely to work well. A server at a known (or discoverable) IP on the local network which allows the Atmel device to register itself (and its IP address) and also allows other applications (your HTML 5 WebSockets applications) to request that connection information to allow them to create the WebSocket TCP connections they need.
I suppose that doesn't really answer your question as to "Is there a better way?", other than to say "Not that I can think of, your second approach looks good to me...". Sorry! Sounds like a very interesting project, overall,

How to make existing device IOT only?

For iOS application, IOT(Internet of thing) is a new things.and we can connect our device with other hardwares.
My question is , is there any way by which i can connect our existing devices like (Air Conditioner,Other ele. component) IOT only?
Here is one of the best example for connecting and controlling such devices like A.C., TV, etc with your iOS device.
It's Open Source so you can explore more.
IRKit:
http://getirkit.com/en/
(opensource infrared remote controller).
IRKit is a WiFi enabled Open Source Infrared Remote Controller device.
Home electronics with an infrared remote, like air conditioners, TVs, lights can be controlled using iPhone and iPad via IRKit.
IRKit works with IRKit's official app and you can easily create iOS apps to send IR signals to control home electronics using IRKit iOS-SDK .
You can create apps for example that does:
Use location, turns on air conditioner when you arrive near your home.
Press one button to turn off all your home electronics when you leave home.
Connect with Facebook, and automatically change your TV's channel to which your friend is watching.
Hope It will help.
If your component have any types of connectivity which is suitable for iOS devices the you can do this, like:
If your Air Conditioner has bluetooth connectivity and it can handle command like turn on/off or controlling temperature, then you can do it with any kind of device that can communicate with the electrical components.
I used to turn off my computer via internet. There was a process running in my computer that hits an URL, receive JSON data and if it gets shutdown flag yes, it turn itself off. I can set that flag from my mobile. The lacking was I could not turn on.
Edit:
Yes you can, but you have to do a lot of hardware related work. like: Bluetooth Relay Controller. Here is a video.

2g 3g and wifi at the same time, rmnet0 must stay active

phone: Sony Ericsson x8 - rooted
I see with ifconfig, that when I enable wifi in settings, rmnet0 (which represents 2g/3g) will disappear - only wlan0 will show up on ifconfig then. As soon as I disable wlan0, I can see rmnet0 again...
There is one process which I like to run on 2g/3g at all times, never on wifi. In my process I I can configure on which IP it will bind.
Therefore I need to find a way, to let rmnet0 always stay alive, even when wifi is also enabled. How can I do that?
(I am not developing an app. I am looking for something like a linux command. If needed I would also exchange/flash system files, got a custom rom anyway. The process is a linux app, which runs inside Debian Linux on top of Android using chroot. Therefore I guess the java/sdk restrictions do not matter here, as I have full system access.)

How to develop a remote access tool for BlackBerry

I need to develop a remote access too so that our support staff can take control of users' devices and fix problems.
I'm not sure where to start. Can anyone please point me in the right direction?
First of all, connectivity, you can try udp connection but it may be
unavailable since there are issues with carrier support, static ip, firewall blocking etc (still if it's internal project, there are BES, BIS and everything, it's the best choice). You can try to listen for data from device over tcp or even http, check for changes and proceed new commands. This may be also achieved over web-services.
Next I would advice to focus on the security, crypting and privileges.
And of course stuff you may need to implement this support:
Scanning active applications
Event logging (and sending to server)
Screen capture (and sending to server)
Event injections (to control user input from server)
After all you will have to setup application permissions.
SO - Sockets and Processes in Java
SO - Web services Security
SO - BlackBerry - background application to listen starts and foreground app
SO - Get a list of all installed applications on Blackberry
SO - BlackBerry - Simulate a KeyPress event
SO - Screenshot tool for BlackBerry?

Resources