Re: [CFT][PATCH] signal/usb: Replace kill_pid_info_as_cred with kill_pid_usb_asyncio

2019-05-18 Thread Eric W. Biederman
Alan Stern writes: > On Fri, 17 May 2019, Eric W. Biederman wrote: > >> Wow I got a little distracted but now I am back to this. >> >> Using your test program I was able to test the basics of this. >> >> I found one bug in my patch where I was missing a

Re: [CFT][PATCH] signal/usb: Replace kill_pid_info_as_cred with kill_pid_usb_asyncio

2019-05-17 Thread Eric W. Biederman
Alan Stern writes: > On Thu, 7 Feb 2019, Eric W. Biederman wrote: > >> The usb support for asyncio encoded one of it's values in the wrong >> field. It should have used si_value but instead used si_addr which is >> not present in the _rt union member of struct si

[CFT][PATCH] signal/usb: Replace kill_pid_info_as_cred with kill_pid_usb_asyncio

2019-02-07 Thread Eric W. Biederman
ompat user space. To allow a proper conversion of the addresses. Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Cc: Alan Stern Cc: Oliver Neukum Fixes: v2.3.39 Cc: sta...@vger.kernel.org Signed-off-by: "Eric W. Biederman" --- Can I get someone to test this code? I just dis

[no subject]

2018-08-23 Thread Mavis W
-- Hallo Am Mrs Mavis Wancyzk, Sie haben eine Spende von 4,800,000.00EUR Ich gewann die America Lottery im Wert von $ 758.7 Millionen und ich spende einen Teil davon an fünf glückliche Menschen und Wohltätigkeits-Häuser in Erinnerung an meinen verstorbenen Ehemann, der an Krebs gestorben i

[PATCH] USB: keyspan_pda: add new device id

2015-03-16 Thread Nathaniel W Filardo
Add USB VID/PID for Xircom PGMFHUB USB/serial component. (The hub and SCSI bridge on that hardware are recognized out of the box by existing drivers.) Tested VID/PID using new_id and loopback connection and was met with success, but that's all the testing done. Signed-off-by: Nathaniel Wesley Fil

keyspan_pda.c "new" device ID

2015-03-16 Thread Nathaniel W Filardo
Add USB VID/PID for Xircom PGMFHUB USB/serial component. (The hub and SCSI bridge on that hardware are recognized out of the box by existing drivers.) Tested VID/PID using new_id and loopback connection and was met with success, but that's all the testing done. Signed-Off-By: Nathaniel Wesley Fil

[PATCH] usb: gadget: udc: avoid dereference before NULL check in ep_queue

2015-01-06 Thread John W. Linville
Coverity: CID 1260069 Signed-off-by: John W. Linville --- drivers/usb/gadget/udc/bdc/bdc_ep.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/gadget/udc/bdc/bdc_ep.c b/drivers/usb/gadget/udc/bdc/bdc_ep.c index ff67ceac77c4..d4fe8d769bd6 100644 --- a/drivers

Re:Re: Re: Re: driver option create ttyUSB

2014-08-07 Thread w
My kernel version is 3.0. I just want to get some useful information from this patch. Because the patch seems solved the same problem as mine. At 2014-08-08 01:56:52, "Greg KH" wrote: >On Fri, Aug 08, 2014 at 01:42:53PM +0800, w wrote: >> >> I got a patch from gi

Re:Re: Re: driver option create ttyUSB

2014-08-07 Thread w
, NULL); - if (!acm->dev) - acm_tty_unregister(acm); - mutex_unlock(&open_mutex); } static int acm_tty_write(struct tty_struct *tty, -- 1.7.9.5 At 2014-08-08 11:31:41, "Greg KH" wrote: >On Fri, Aug 08, 2014 at 10:56:57AM +0800, w wrote: >&

Re:Re: driver option create ttyUSB

2014-08-07 Thread w
If use symlinks it can work well. But why program in userspace can prevent driver release the node? The program just open the node, nothing else. At 2014-08-08 10:08:59, "Greg KH" wrote: >On Fri, Aug 08, 2014 at 09:24:22AM +0800, w wrote: >> >> >> https://bugz

driver option create ttyUSB

2014-08-07 Thread w
https://bugzilla.kernel.org/show_bug.cgi?id=81801          Bug ID: 81801    Summary: driver option create ttyUSB N�r��yb�X��ǧv�^�)޺{.n�+{��^n�r���z���h�&���G���h�(�階�ݢj"���m��z�ޖ���f���h���~�m�

Re: [PATCH 5/5] USB: orinoco_usb: remove CONFIG_USB_DEBUG support

2014-05-28 Thread John W. Linville
On Wed, May 28, 2014 at 11:34:04AM -0700, Greg Kroah-Hartman wrote: > Now that the config option is gone, the driver needs to be converted > over to using the dynamic_debug infrastructure, like all other USB > drivers have been already. > > Cc: "John W. Linville" > C

Re: [RFC] usb: option: blacklist ZTE MF667 net interface

2014-02-10 Thread Raymond W
Sorry, first time, meant to be "PATCH". On Sun, Feb 9, 2014 at 7:31 PM, Greg KH wrote: > On Sun, Feb 09, 2014 at 11:59:46AM +0300, Raymond Wanyoike wrote: >> Interface #5 of 19d2:1270 is a net interface which has been submitted to the >> qmi_wwan driver so consequently remove it from the option d

Add for Devices on USB to Serial Device

2014-02-05 Thread Gerd W.
Dear Sirs I´ve an USB to Serial Adapter ,who works under Linux mint 16. I use it for control Label Printers they connect to Serial. Please add and set this Driver for Device 067b:2303 Prolific Technology, Inc. PL2303 Serial Port With kind regards. one Linux user. -- To unsubscribe from thi

Re: [PATCH] usb-serial: add support for USB Wishbone-serial adapters

2013-04-11 Thread Wesley W. Terpstra
On Thu, 2013-04-11 at 08:15 -0700, Greg KH wrote: > Fair enough, although this driver would probably be the least of our > worries if that were to happen :) Of course. > Documenation/stable_api_nonsense.txt Tactfully named. :) Is there a document that describes how to track the progress a patch m

Re: [PATCH] usb-serial: add support for USB Wishbone-serial adapters

2013-04-11 Thread Wesley W. Terpstra
On Thu, 2013-04-11 at 06:45 -0700, Greg KH wrote: > I only have one very minor question about the code: > > > +++ b/drivers/usb/serial/wishbone-serial.c > > @@ -0,0 +1,95 @@ > > +/* > > + * USB Wishbone-Serial adapter driver > > + * > > + * Copyright (C)

[PATCH] usb-serial: add support for USB Wishbone-serial adapters

2013-04-11 Thread Wesley W. Terpstra
ng the Etherbone protocol. A userspace library is required to speak the protocol made available by this driver as ttyUSBx. Signed-off-by: Wesley W. Terpstra --- drivers/usb/serial/Kconfig | 17 ++ drivers/usb/serial/Makefile |1 + drivers/usb/serial/wishbone-serial.c

Re: USB-Wishbone bridge adapter

2013-04-10 Thread Wesley W. Terpstra
On Wed, 2013-04-10 at 10:08 -0700, Greg KH wrote: > On Wed, Apr 10, 2013 at 07:01:40PM +0200, Wesley W. Terpstra wrote: > > Greg, I've attached a small Linux driver which recognizes and the > > USB-Wishbone functionality of the device. It just adds two vendor > > mess

Re: USB-Wishbone bridge adapter

2013-04-10 Thread Wesley W. Terpstra
On Wed, 2013-04-10 at 19:01 +0200, Wesley W. Terpstra wrote: > I've attached the output of lsusb -v ... and of course attached the output of an older version of the device. The capabilities should read: CDC ACM: bmCapabilities 0x02 line coding and seri

USB-Wishbone bridge adapter

2013-04-10 Thread Wesley W. Terpstra
.open = &usb_wb_open, .close = &usb_wb_close, }; static int __init usb_wb_init(void) { int retval; retval = usb_serial_register(&usb_wb_device); if (retval) return retval; retval = usb_register(&usb_wb_driver); if (retval) usb_serial_deregister(&usb_wb_device); return retv

Re: Piggy-backing new hardware using old usb-serial

2013-03-28 Thread Wesley W. Terpstra
On Thu, 2013-03-28 at 09:39 -0500, Dan Williams wrote: > Greg's right, there's no reason not to use cdc-acm if you want to do > that, since not all cdc-acm devices are modems. If you get a USBIF > vendor ID, then I'll happily add your device to the ModemManager probing > blacklist too. Yes, the c

Re: Piggy-backing new hardware using old usb-serial

2013-03-27 Thread Wesley W. Terpstra
On Wed, 2013-03-27 at 13:06 -0700, Greg KH wrote: > > Our current prototypes borrow the Sierra VID > And the USB-IF might revoke your vendor id, if they find you shipping a > device with a different vendor id than the one you have been assigned. One of the reasons we borrowed that VID is that we d

Piggy-backing new hardware using old usb-serial

2013-03-27 Thread Wesley W. Terpstra
Good evening, We are developing a custom piece of hardware that provides the equivalent of two serial console interfaces. They do not speak the AT command set. One port provides an interactive console to the user for configuration purposes (via minicom/etc). The other speaks a proprietary protocol

Re: [PATCH] drivers: net: Remove remaining alloc/OOM messages

2013-02-08 Thread John W. Linville
loc/memcpy to kmemdup. > Removed now unused stack variables. > Removed unnecessary parentheses. > Neatened alignment. > > Signed-off-by: Joe Perches No objection... Acked-by: John W. Linville -- John W. LinvilleSomeday the world will need a hero, and you linvi...@tux

Re: [2.6 patch] usb/gadget/printer.c: fix an if()

2008-02-08 Thread Craig W. Nadler
A bug every C programmer makes at some point in time... Signed-off-by: Craig W. Nadler <[EMAIL PROTECTED]> Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- diff --git a/drivers/usb/gadget/printer.c b/drivers/usb/gadget/printer.c index 9fdabc8..4f6bfa1 100644 --- a/drivers/usb/gadg

Re: [2.6 patch] usb/gadget/printer.c: fix an if()

2008-02-02 Thread Craig W. Nadler
Thanks for catching that :^) Craig Nadler Adrian Bunk wrote: A bug every C programmer makes at some point in time... Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- diff --git a/drivers/usb/gadget/printer.c b/drivers/usb/gadget/printer.c index 9fdabc8..4f6bfa1 100644 --- a/drivers/usb/gadg