usbserial_generic, idVendor=1a28, idProduct=6010

2014-02-16 Thread Emanuel Koczwara
Hi, I have a device (thermal printer) which communicates through rs232. It has also usb adapter/converter build-in. root@emanuel-laptop:/home/emanuel# lsusb Bus 004 Device 004: ID 8086:0189 Intel Corp. Bus 004 Device 008: ID 1a28:6010 <-- here Bus 004 Device 002: ID 8087:0024 Intel Corp. Integ

Re: some questions about bandwidth calculation

2014-02-16 Thread vichy
hi alan: 2014-02-14 23:36 GMT+08:00 Alan Stern : > On Fri, 14 Feb 2014, vichy wrote: > >> hi Alan: >> >> > I don't understand your question. >> > >> > At full speed (12 Mb/s), the time required to transfer 188 bytes is >> > >> > (188 bytes) * (8 bits/byte) / (12 b/us) = 125.33 us, >> > >>

Re: some questions about bandwidth calculation

2014-02-16 Thread Alan Stern
On Sun, 16 Feb 2014, vichy wrote: > it makes me a little confused. > if we try to send 108 bytes to FS iso ep over HS hub. > shouldn't we use below formula to calculate what bus time need for? > NS_TO_US (think_time + usb_calc_bus_time ( > dev->speed, is_input, 1, 108)); That

[PATCH 1/2] usb: host: remove USB_ARCH_HAS_?HCI

2014-02-16 Thread Paul Bolle
USB_ARCH_HAS_EHCI, USB_ARCH_HAS_OHCI, and USB_ARCH_HAS_XHCI were made obsolete in v3.11. They have not been used ever since. Setting them has no effect. They can safely be removed. Signed-off-by: Paul Bolle --- Tested with "git grep". Note that the comment in this Kconfig file (that is also remo

[PATCH 2/2] usb: host: remove selects of USB_ARCH_HAS_?HCI

2014-02-16 Thread Paul Bolle
USB_ARCH_HAS_EHCI, USB_ARCH_HAS_OHCI, and USB_ARCH_HAS_XHCI were just removed. Selecting them is a nop. The select statements for these symbols can be removed too. Signed-off-by: Paul Bolle --- Tested with "git grep". Sending this as a few separate patches to the maintainers of the arches involv

Re: [PATCH 1/2] usb: host: remove USB_ARCH_HAS_?HCI

2014-02-16 Thread Alan Stern
On Sun, 16 Feb 2014, Paul Bolle wrote: > USB_ARCH_HAS_EHCI, USB_ARCH_HAS_OHCI, and USB_ARCH_HAS_XHCI were made > obsolete in v3.11. They have not been used ever since. Setting them has > no effect. They can safely be removed. > > Signed-off-by: Paul Bolle > --- > Tested with "git grep". > > Not

Re: [PATCH 1/2] usb: host: remove USB_ARCH_HAS_?HCI

2014-02-16 Thread Paul Bolle
On Sun, 2014-02-16 at 15:02 -0500, Alan Stern wrote: > On Sun, 16 Feb 2014, Paul Bolle wrote: > > Note that the comment in this Kconfig file (that is also removed) > > suggests to first remove the select statements for these symbols and > > then the symbols themselves. But I think it makes more sen

Re: [PATCH v4 0/2] usb: musb dsps updates

2014-02-16 Thread Markus Pargmann
Hi, On Fri, Jan 17, 2014 at 10:22:34AM +0100, Markus Pargmann wrote: > Hi, > > The two remaining patches from the previous series "usb: musb bugfixes". In v4 > I used the device name for the debugfs root dir and added a commit message to > the second patch. Felipe, could you please have a look a

Re: [PATCH 0/7] usb: dwc2/s3c-hsotg: Combine drivers into a single DRD

2014-02-16 Thread Jingoo Han
On Friday, February 14, 2014 6:44 PM, Robert Baldyga wrote: > On 02/13/2014 10:10 PM, dingu...@altera.com wrote: > > From: Dinh Nguyen > > > > Hello, > > > > This patch series combines the dwc2 host driver and the s3c-hsotg peripheral > > driver into a single dual-roler driver similar to the dwc3.

[PATCH v2] Add documentation on writing an musb glue layer

2014-02-16 Thread Apelete Seketeli
Hello, Following a few patches already in tree that add support for the USB device controller of the Ingenic JZ4740 MIPS SoC, I documented the process of writing an MUSB glue layer. The JZ4740 MUSB controller offers a basic feature set, which makes the glue layer implementation more simple than mo

[PATCH v2] documentation: docbook: document process of writing an musb glue layer

2014-02-16 Thread Apelete Seketeli
Document the process of writing an musb glue layer by taking the Ingenic JZ4740 glue layer as an example, as it seems more simple than most glue layers due to the basic feature set of the JZ4740 USB device controller. Signed-off-by: Apelete Seketeli --- Documentation/DocBook/Makefile

Re: [PATCH 0/7] usb: dwc2/s3c-hsotg: Combine drivers into a single DRD

2014-02-16 Thread Stephen Warren
On 02/16/2014 05:37 PM, Jingoo Han wrote: > On Friday, February 14, 2014 6:44 PM, Robert Baldyga wrote: >> On 02/13/2014 10:10 PM, dingu...@altera.com wrote: >>> From: Dinh Nguyen >>> >>> Hello, >>> >>> This patch series combines the dwc2 host driver and the s3c-hsotg peripheral >>> driver into a

Re: usb: chipidea: imx: Fix probing HSIC ports

2014-02-16 Thread Peter Chen
On Fri, Feb 14, 2014 at 04:53:36PM +0100, Rolf Evers-Fischer wrote: > Dear Peter, > I hope that I didn't make any mistake, because this is my first linux kernel > patch. > If you don't mind, I'll send it directly to you as an attachment (and not to > the > kernel > mailing list). Please always fe

Re: HSIC on imx6

2014-02-16 Thread Peter Chen
On Fri, Feb 14, 2014 at 01:59:56PM +0100, Christian Gmeiner wrote: > Hi Peter. > > I am currently trying to get HSIC working on an imx6d based board. > > Some time ago I asked if somebody has some patches etc. and got this: > http://www.spinics.net/lists/arm-kernel/msg303281.html > > I needed so

Re: [PATCH 0/7] usb: dwc2/s3c-hsotg: Combine drivers into a single DRD

2014-02-16 Thread Jingoo Han
On Monday, February 17, 2014 10:56 AM, Stephen Warren wrote: >On 02/16/2014 05:37 PM, Jingoo Han wrote: >> On Friday, February 14, 2014 6:44 PM, Robert Baldyga wrote: >>> On 02/13/2014 10:10 PM, dingu...@altera.com wrote: From: Dinh Nguyen Hello, This patch series combines

[PATCH] u_ether: move receiving to RX workqueue

2014-02-16 Thread Clanlab (Taiwan) Linux Project
In order to reduce the interrupt times in the embedded system, a receiving workqueue is introduced. This modification also enhanced the overall throughput as the benefits of reducing interrupt occurrence. Signed-off-by: Clanlab (Taiwan) Linux Project Cc: David Brownell Cc: David S. Miller Cc: S

Re: HSIC on imx6

2014-02-16 Thread Christian Gmeiner
Hi Peter 2014-02-17 2:22 GMT+01:00 Peter Chen : > On Fri, Feb 14, 2014 at 01:59:56PM +0100, Christian Gmeiner wrote: >> Hi Peter. >> >> I am currently trying to get HSIC working on an imx6d based board. >> >> Some time ago I asked if somebody has some patches etc. and got this: >> http://www.spini