Re: Adding support for USB Device Class Definition for Personal Healthcare Devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 23, 2010 at 02:30:27PM +0200, Felipe Balbi wrote:
> >This device is a OxyOximeter blood oxygen monitor from Nonin that
> >implements the personal healthcare standard (ISO/IEEE 11073-10101,
> >Health Informatices and ISO/IEEE 11073-20601 Optimized Exchange
> >Protocol) to exchange the information.
> >
> >The specification for usb is at:
> >http://www.usb.org/developers/devclass_docs => Personal Healthcare =>
> >Personal Healthcare Rev. 1.0, Errata for USB Personal Health Care
> >Device Class and Personal Healthcare Adopters Agreement.
> >
> >For this device usb only is used to bypass the information from the
> >device to the application manager (at user space).
> >
> >My question is about how I must adding support for it. I must
> >implement a kernel device driver or at user space with libusb?
> 
> Personally, I'd like a kernel driver better. But add all the constants
> and data structures from the Specification to a common header, something
> like include/linux/usb/health.h, so that it can be re-used for both host
> and gadget drivers.

I see no reason for this to be a kernel-level driver.  It would not be
interfacing to any other portion of the kernel, other than USB.

I would recommend implementing this as a userspace driver/library using
libusb.  Thus, a PHDC application would just use that library to access a
PDHC-compliant device.

Matt

-- 
Matthew Dharm                              Home: mdharm-usb@xxxxxxxxxxxxxxxxxx 
Maintainer, Linux USB Mass Storage Driver

What, are you one of those Microsoft-bashing Linux freaks?
					-- Customer to Greg
User Friendly, 2/10/1999

Attachment: pgpkyaQuog1hQ.pgp
Description: PGP signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux