I need to connect Raspberry Pi or CubieBoard to my PC as a media device using MTP protocol. Actually I am trying to do USB communication between my PC and Raspberry/CubieBoard. I was not able to find any other way except MTP. Is there any way to do this?
Related
I'm trying to make an Android application for Android Things running on raspberry pi that takes USB joystick inputs (including DJI Mavic controller) and passes it over BLE HID as a gamepad.
Windows, Oculus Quest and Mac all recognize it as a gamepad, but when I try to connect to it, they connect and disconnect right away. I'm not sure why
Is there any tool on any OS that logs the BLE HID pairing process to find out what went wrong?
https://github.com/darvin/USBMavicBLEHIDAndroidThing/blob/master/app/src/main/java/jp/kshoji/blehid/HidPeripheral.java
I currently have a sensor attached to a USB to RS485 Serial converter cable which is plugged in to a raspberry pi. I've tried using the ftdi d2xx drivers to connect to it, but so far I can't read any data and while the writes don't fail, I'm not sure they're working.
This setup works on Windows with the custom software provided by the manufacturer, but I can't find anything on getting it to work on a linux system. Is this possible?
I'm trying to send data via bluetooth from an Intel Genuino to an Intel Galileo. The Galileo will act as the Master node in this connection. I have configured the Galileo so that it is discovering bluetooth devices and I have paired my phone to the Galileo via bluetooth.
What I need to do is pair the Genuino with the Galileo. I have tried some of the sample programs that Arduino provides but I cant seem to pair or connect the two devices.
So the question is, if I have my Galileo discoverable and ready to pair, how can I send an advertisement from the Genuino and connect to the Galileo.
Alternatively: if anybody has a link to a site that explains the blePeripheral and bleCentral commands, that would be great.
Cheers
On the Arduino/Genuino 101 board, use CurieBle to create a peripheral. There are some example sketches to get you started. CurieBle works very similar to the Arduino BLEPeripheral library.
You don't need to pair devices. On the Genuino 101, run the sketch that creates the Bluetooth LE Service. On the Galileo, run a program that discovers service running on the 101 and connects to it. You can write the program for the Galileo using noble and Node.js.
i wonder if its possible with linux (esp raspberry pi)
to attach my cable TV Receiver to my raspberry (master/slave?)
that the Cable TV Receiver thinks the raspberry is a hdd
but at the same time to allow clients in the network to get the recorded movies (for sure not the one which is recording )
I guess the WD-MyCloud Hardware is doing the same ?!
Linux --USB-- CableTV
|
-- USB HDD
|
-- Network - Clients
OwnClod lets you access the usb hdd via network, kind of like dropbox. But the raspberry pi's usb has no otg support. So you wont be able to attach the partition to the television trough raspberry pi's usb cable. This is if your TV needs direct access to the HDD.
You could use Arietta or pcDuino or any board that supports otg, and use g_mass_storage.
The g_mass_storage lets you take a partition and attach it to the device, the otg-cable is connected to. And the device (TV in your case) would see it as a mass storage.
To attach it you would do something like 'modprobe g_mass_storage file=/dev/sdb stall=0'
If you use Kodi (XBMC) mediacenter, on the Raspberry pi, then you would have access to the files on the mediacenter, and you could use OwnCloud or sambaserver, to access the files on the network.
I bought one of those tiny bluetooth USB dongles that you can plug on a PC and make bluetooth communications. I am wondering if I just plug this dongle to a USB power source, like the USB charger that comes with iPad, can the bluetooth dongle power up, and be discovered as a bluetooth device? This sounds reasonable, since the bluetooth dongle should be able to broadcast itself, at least using some low-level protocol, i.e. showing its Mac address.
However, I tried to do the following:
1.Plug the bluetooth dongle on my iPad's usb charger
2.Search bluetooth devices on my laptop
and I could not find it. Is it because the bluetooth dongle needs the PC to initialize it, so that it can be discovered? Or I am not doing it right?
Thanks
It depend on the dongle
Typical PC dongles depends on the host (pc) to initialize and start any bluetooth activity - including scanning etc
It is practically possible to make dongles that can start becoming discoverable without waiting for host initialization. This has to be a custom build