[PATCH] em28xx TerraTec Cinergy Hybrid T USB XS with demodulator MT352 is not detect by em28xx

2017-06-11 Thread juvann
I tried to sent this patch many times in past to linux-media, but I was ignored, I hope someone on linux-usb can submit this patch for resolve an issue on usb device. TerraTec Cinergy Hybrid T USB XS with demodulator MT352 stop working with kernel 3.xx and newer. --- /usr/src/linux-3.14.3/driv

[GIT PULL] USB driver fixes for 4.12-rc5

2017-06-11 Thread Greg KH
The following changes since commit 5ed02dbb497422bf225783f46e6eadd237d23d6b: Linux 4.12-rc3 (2017-05-28 17:20:53 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.12-rc5 for you to fetch changes up to 29532e7b67f0ce0576e

Re: [PATCH v1] usb: misc: usbsevseg: Use __sysfs_match_string() helper

2017-06-11 Thread Greg Kroah-Hartman
On Fri, Jun 09, 2017 at 03:08:45PM +0300, Andy Shevchenko wrote: > Use __sysfs_match_string() helper instead of open coded variant. __ functions shouldn't be exported, are you _sure_ this is a function you should be using? If so, shouldn't the api be fixed up instead? And kbuild is having a fiel

Re: [PATCH] em28xx TerraTec Cinergy Hybrid T USB XS with demodulator MT352 is not detect by em28xx

2017-06-11 Thread Greg KH
On Sun, Jun 11, 2017 at 09:30:03AM +0200, juv...@caramail.fr wrote: > I tried to sent this patch many times in past to linux-media, but I was > ignored, I hope someone on linux-usb can submit this patch for resolve an > issue on usb device. > > TerraTec Cinergy Hybrid T USB XS with demodulator M

Re: [PATCH] em28xx TerraTec Cinergy Hybrid T USB XS with demodulator MT352 is not detect by em28xx

2017-06-11 Thread Bjørn Mork
[ CCing Philippe in case he still has the other device variant and can test any proposed fix] juv...@caramail.fr writes: > I tried to sent this patch many times in past to linux-media, but I was > ignored, I hope someone on linux-usb can submit this patch for resolve an > issue on usb device.

Re: [PATCH] em28xx TerraTec Cinergy Hybrid T USB XS with demodulator MT352 is not detect by em28xx

2017-06-11 Thread juvann
Thanks Bjørn for your analysis. > This is effectively a revert of 9124544320bd ("[media] Terratec Cinergy > Hybrid T USB XS"), introduce in v2.6.38. It is included in full below > for context. That patch claimed to solve a similar problem. Which I > guess means that there are at least two differ

[PATCH v1] usb: dwc3: gadget: increase readability of dwc3_gadget_init_endpoints()

2017-06-11 Thread Andy Shevchenko
The commit 47d3946ea220 usb: dwc3: refactor gadget endpoint count calculation refactored dwc3_gadget_init_endpoints() and in particular changed in our out endpoint numbering to be through. It's not always convenient and makes code a slightly harder to read. Introduce temporary variable to

Re: virtual hub and suspend/resume/reset questions

2017-06-11 Thread Alan Stern
On Sun, 11 Jun 2017, Benjamin Herrenschmidt wrote: > > > Now where things become interesting: > > > > > >  - A wakeup() from the gadget. If the port is suspended but nothing > > > else above it, what do I do ? Mark the port resumed and move on ? Do I > > > need to call the gadget resume() callbac

Re: [PATCH v1] usb: misc: usbsevseg: Use __sysfs_match_string() helper

2017-06-11 Thread Andy Shevchenko
On Sun, 2017-06-11 at 09:46 +0200, Greg Kroah-Hartman wrote: > On Fri, Jun 09, 2017 at 03:08:45PM +0300, Andy Shevchenko wrote: > > Use __sysfs_match_string() helper instead of open coded variant. > > __ functions shouldn't be exported, are you _sure_ this is a function > you should be using? Yes

[PATCH v2] usb: misc: usbsevseg: Use sysfs_match_string() helper

2017-06-11 Thread Andy Shevchenko
Use sysfs_match_string() helper instead of open coded variant. Cc: Greg Kroah-Hartman Signed-off-by: Andy Shevchenko --- - switch to non-double-underscored version of lib function - mark array to be a constant to satisfy kbuild bot drivers/usb/misc/usbsevseg.c | 18 -- 1 file ch

usb/serial/option.c: Please add new vendor and product id 1c9e:9801

2017-06-11 Thread Teemu Likonen
Hello USB maintainers! I have a Telewell TW-3G HSPA+ USB modem which works with driver usb/serial/option.c. However, the device is not automatically detected. I'm a newbie in these driver things but got a suggestion that I should report the device's vendor and product IDs here so you could perhap

Piping f_acm to real hardware

2017-06-11 Thread Tal Shorer
I'm currently working on a project where I'd like to have an omap board running linux be a usb-to-uart converter (using f_acm). I have an application that holds both the ttyGS* and the ttyO* port (the physical uart port) open, polls for readable data, and writes any incoming data to the other side.

Re: virtual hub and suspend/resume/reset questions

2017-06-11 Thread Benjamin Herrenschmidt
On Sun, 2017-06-11 at 10:09 -0400, Alan Stern wrote: > > Under a non-emulated hub, the wakeup() function would start sending the > wakeup signal upstream and then return.  The gadget's resume callback > would not be invoked until later, probably at the end of the wakeup > sequence (the API isn't s

Re: [PATCH] em28xx TerraTec Cinergy Hybrid T USB XS with demodulator MT352 is not detect by em28xx

2017-06-11 Thread Aidan Thornton
On Sun, Jun 11, 2017 at 12:04 PM, wrote: > Thanks Bjørn for your analysis. > >> This is effectively a revert of 9124544320bd ("[media] Terratec Cinergy >> Hybrid T USB XS"), introduce in v2.6.38. It is included in full below >> for context. That patch claimed to solve a similar problem. Which I

Re: [PATCH] em28xx TerraTec Cinergy Hybrid T USB XS with demodulator MT352 is not detect by em28xx

2017-06-11 Thread Devin Heitmueller
> It's been a long while since I've touched EM28xx stuff, but if I > remember correctly there should be an EEPROM byte which identifies the > demodulator used. There's some EEPROM hashing code in the driver but > it's only used for devices with generic (non-manufacturer > specific/default) USB IDs.

RE: [RFC] usb-phy-generic: Add support to SMSC USB3315

2017-06-11 Thread Peter Chen
> >Can you confirm that ULPI phys works with IMX6? > >It seems that IMX53 and IMX6 use the same chipidea controller and should have >the >same behaviour. So I wonder if the issue I encounter can be a SOC issue. > Fabien, all imx6 series uses UTMI PHYs, so I am afraid I can't verify it. Peter

[PATCH v2] USB: qcserial: expose methods for modem control

2017-06-11 Thread maglyx
This is v2, attempting to correct formatting problems with the patch. The qcserial driver fails to expose the .tiocmget and .tiocmset methods available from usb_wwan. These methods are required by ioctl commands dealing with the modem control signals DTR, RTS, etc. With these methods not set io