Re: Oxford Espresso support?

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

 



On Mon, Mar 16, 2015 at 04:54:10PM -0400, Eric S. Raymond wrote:
> Greg KH <greg@xxxxxxxxx>:
> > > Accordingly, two questions:
> > > 
> > > 1. Has support for Oxford Espresso been merged?  If so, in what version?
> > 
> > What type of device is this, USB or PCI?  Any idea what the device id is
> > for it?
> 
> PCI.  I downloaded their driver sources and found a patch that included
> this band:
> 
> +++ new/include/linux/pci_ids.h	2006-11-24 12:37:54.000000000 +0100
> @@ -1807,6 +1807,14 @@
>  
>  #define PCI_VENDOR_ID_OXSEMI		0x1415
>  #define PCI_DEVICE_ID_OXSEMI_12PCI840	0x8403
> +#define PCI_DEVICE_ID_OXSEMI_PCIe840		0xC000
> +#define PCI_DEVICE_ID_OXSEMI_PCIe840_G		0xC004
> +#define PCI_DEVICE_ID_OXSEMI_PCIe952_0		0xC100
> +#define PCI_DEVICE_ID_OXSEMI_PCIe952_0_G	0xC104
> +#define PCI_DEVICE_ID_OXSEMI_PCIe952_1		0xC110
> +#define PCI_DEVICE_ID_OXSEMI_PCIe952_1_G	0xC114
> +#define PCI_DEVICE_ID_OXSEMI_PCIe952_1_U	0xC118
> +#define PCI_DEVICE_ID_OXSEMI_PCIe952_1_GU	0xC11C
>  #define PCI_DEVICE_ID_OXSEMI_16PCI954	0x9501
>  #define PCI_DEVICE_ID_OXSEMI_16PCI95N	0x9511
>  #define PCI_DEVICE_ID_OXSEMI_16PCI954PP	0x9513
> 
> It'll be one of those, I'm pretty sure.  I'll enclose the driver-patch sources
> with this reply.  URL: http://www.startech.com/Cards-Adapters/Serial-Cards-Adapters/8-Port-Low-Profile-RS232-PCI-Serial-Card-16950-UART~PCI8S950LP

Based on the source you sent me, it's been included in the kernel since
before 2.6.29 (2.6.29 is when some bug fixes went in for the card), so
any "modern" Linux distro should support it just fine.

> The context is this: the device is going to be watching a bunch of
> time-service GPSes and GPS-conditioned oscillators that deliver 1PPS
> (one-pulse-per second) as a precise time reference, usually over DCD
> (but possibly over other handshake lines). We need to wait a thread on
> that and log 1PPS event times as they arrive.
> 
> Most of these devices will be RS232, hence the need for something like
> the Oxford Espresso card or two Sybas.  Things like Garmin GPS-18s, Spectracom
> GPSDOs, and the like. 
> 
> But the USB answer will be interesting as well.  Right now we have exactly one
> USB device that delivers 1PPS as a USB event simulating a DCD transition - it's
> a u-blox-based timing GPS I designed myself and found a Chinese contract
> manufacturer to build, the Navisys GR801-W.
> 
> But there will be more in the future, so knowing what USB hubs can be
> TIOCMIWAITed through would be good.  Is there some reason the answer
> isn't "all of them"?  The cheap generic $10 hub I'm using at home seems
> to handle this just fine.

The hub isn't the issue, it's the UART controller in the USB device that
is the issue.  Some of them don't do DCD at all, just data.  It depends
on that controller if it will work with your application or not.

good luck,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux