How to use microSD SDIO device - device

I am trying to communicate with a microSD SDIO device on a Galaxy Note 2 running Android 4.1.2. I am told that SDIO support is built into this version of the OS. I expected the SDIO device to be mounted in /dev/tty*** somewhere, but the list of devices does not change whether or not I have the card insterted. How do I find out if and where the device was mounted? Once I find it, can I use it like a regular UART device?

Related

how to write a usb storage device driver

I used the usb driver template usb skeleton.c in the kernel and changed VENDOR_ID and PRODUCT_ID to be able to detect my usb storage device. Then compile this module and install it. Unfortunately, although the probe function works correctly, there is no my device when I execute fdisk -l
Before installing the module, I have uninstalled the two modules usb_storage and usa, and renamed usb_storage.ko to ensure that it will not install itself
I want to know how to make the usb storage device be able to display and access normally

OSX Wine program not recognizing USB device

I'm trying to use CSR BlueFlash to dump the firmware/upload new firmware to a JBL Flip 3 speaker. I've put the speaker into DFU mode and it shows up in the OSX ioregistry (see below):
but when I try to run BlueFlash, no USB devices are found. Looking in ~/.wine/dosdevices, there are no COM<number> symlinks. In fact, I don't believe there are any /dev/tty devices corresponding to the USB device. I've tried many different USB port numbers (like idProduct and bcdDevice) but BlueFlash finds no USB devices with that number.
I have seen a project where someone got BlueFlash to recognize the device with a JBL Flip 4 so I am fairly certain that what I am trying to do is possible.
Does anyone know how to get Wine on OSX to recognize a USB device?

USB OTG on Project Tango

Does anyone know if the Project Tango tablet supports USB OTG? Or alternatively if the USB 3.0 port on the dock can act as an OTG hub? Online it only states that these ports are for charging so I am unsure if OTG functionality is also included. It would certainly increase the usefulness of the Tango's tracking capabilities if it was also able to interface with other devices.
Tango device supports "USB 3.0 host via dock connector". It means that it is possible to connect external device USB, but setup requires additional source of power.
Please refer official web site:
https://www.google.com/atap/project-tango/hardware/index.html
The Project Tango tablet support USB OTG, you could interface to other devices.
I'm checking the Tango tablet with an app named "USB OTG Checker". It says that the USB OTG API is loaded, and I can browse a USB memory drive attached to the dock's USB 3.0 port.
The USB OTG Checker says that the Tango tablet fails the check for USB OTG Signal, but I think this is because I'm not attaching a true external data source, like a USB Hard Drive.

Use of xHCI driver and USB_STORAGE driver

I'm currently learning driver programming and am at very nascent stage. I'm unable to get the difference of use of xHCI, EHCI, or OHCI drivers and usb_storage.
When I plug my USB device (pen drive) and observe dmesg output, it says that my device is using the ehci driver, but my device stops working when I rmmod usb_storage.
There are many drivers for different kind of USB devices let it be mouse, keyboard, camera, etc.
As of now, I assume that the xHCI driver is for USB host and the other driver is for the device we connect to our USB host. Am I correct? If not, what is the explanation?
*HCI are specifications of USB hosts:
xHCI - for USB 3.0
EHCI - for USB 2.0
OHCI and UHCI - for USB 1.x
usb_storage is a upper level driver working on the USB host side, and it is responsible for communication only with USB storage devices, not keyboard, mouse, etc.
The USB is maintained in form of a stack and *hci drivers are the lowest level in that stack. usb-storage and other drivers are located on a higher level of this stack.

Using Motorola Symbol barcode scanner in Simple COM Port Emulation on Mac OS X

I have a Motorola Symbol DS6708 barcode scanner. I need to scan QR codes that are in binary. So, the default HID Keyboard Emulation mode will not work for me. I want to put the device into a serial device mode. I can put it into Simple COM Port Emulation mode, and the device appears on the USB bus. However, it doesn't appear as a serial device, and there's nothing in /dev that relates to the device.
The documentation refers to a driver for COM mode for Windows, but I don't see any drivers for Mac. Any tips to get this working?
Check around and see if you can figure it who manufactures the USB->serial chip in the device. If it is Prolific, there are open source Prolific drivers available for the Mac. If the bridge is TI, then see if you can suss out the model of the chip, since there is example source for drivers (compilable) available thought the TI developer program/portal.

Resources