Re: [linux-usb-devel] pl2303 / pl2303x dropping characters? any help appreciated.

2007-01-02 Thread nick thompson
Greg, Did you receive this test email? I wrote a reply to your email to me / the list and it bounced from the list and I wasn't sure why, I wrote the list admin but it said he is on vacation in the uk. :) I signed up with my work address so I can still post, but anyway, to say the least a bit

Re: [linux-usb-devel] [PATCH 30/34] USB: fix to usbfs_snoop logging of user defined control urbs

2007-01-02 Thread Greg KH
On Wed, Dec 20, 2006 at 11:05:44PM -0500, Alan Stern wrote: > On Wed, 20 Dec 2006, Greg KH wrote: > > > From: Chris Frey <[EMAIL PROTECTED]> > > > > When sending CONTROL URB's using the usual CONTROL ioctl, logging works > > fine, but when sending them via SUBMITURB, like VMWare does, the > > con

Re: [linux-usb-devel] Difference between Linux and WinXP/2000

2007-01-02 Thread Greg KH
On Tue, Dec 19, 2006 at 11:00:26AM +0800, [EMAIL PROTECTED] wrote: > Hi, > We have a USB audio device's product. I want to control speak's volume > with HID(i.e. use external button), but the function in Linux is > not available. I searched some about that in Internet and > found

Re: [linux-usb-devel] [PATCH 2.6.19.1] USB Input: Added kernel module to support all GTCO CalComp USB InterWrite School products

2007-01-02 Thread Greg KH
On Tue, Jan 02, 2007 at 01:06:07PM -0700, Roberson, Jeremy wrote: > From: Jeremy Roberson <[EMAIL PROTECTED]> > > Added a kernel module (gtco) to the USB Input subsystem. This kernel > module adds support for all GTCO CalComp USB InterWrite School products. > > Signed-off-by: Jeremy A. Roberson

Re: [linux-usb-devel] testing of fixes for race conditions in usb serial driver #1

2007-01-02 Thread Oliver Neukum
Am Dienstag, 2. Januar 2007 21:04 schrieb J: Sorry, I was delayed. > As I wrote before, the error is that usb-serial > does not use ref counting consistently because > it does not count every outstanding pointer. > Specifically, it does not count pointers in > serial_table. This means that when

Re: [linux-usb-devel] [PATCH 2.6.19.1] USB Input: Added kernel module to support all GTCO CalComp USB InterWrite School products

2007-01-02 Thread Dmitry Torokhov
Hi, Couple of comments: On 1/2/07, Roberson, Jeremy <[EMAIL PROTECTED]> wrote: > + > +#include > +#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,14)) > +/** This define is for kernels 2.6.15 and up where the input driver > + * interface has changed > + */ > +#define USE_INPUT_ALLOCATE > +#include

Re: [linux-usb-devel] testing of fixes for race conditions in usb serial driver #1

2007-01-02 Thread Oliver Neukum
Am Dienstag, 2. Januar 2007 21:04 schrieb J: > Hi, > Sorry, I don't see how table_lock will fix the > original problem, which I reported (race between > serial_open and  usb_serial_disconnect). I copied my > original sequence of events below and I don't think > that the proposed > table_lock will c

Re: [linux-usb-devel] testing of fixes for race conditions in usb serial driver #1

2007-01-02 Thread J
Hi, Sorry, I don't see how table_lock will fix the original problem, which I reported (race between serial_open and usb_serial_disconnect). I copied my original sequence of events below and I don't think that the proposed table_lock will change anything. As I wrote before, the error is that usb-s

Re: [linux-usb-devel] CONFIG_USB_SUSPEND

2007-01-02 Thread David Brownell
On Tuesday 02 January 2007 8:16 am, Alan Stern wrote: > On Tue, 26 Dec 2006, David Brownell wrote: > > > > > The USB autosuspend mechanism has been present for a while in -mm and is > > > > included in 2.6.20-rc (although you have to turn on CONFIG_USB_SUSPEND, > > > > which is off by default -- i

[linux-usb-devel] [PATCH 2.6.19.1] USB Input: Added kernel module to support all GTCO CalComp USB InterWrite School products

2007-01-02 Thread Roberson, Jeremy
From: Jeremy Roberson <[EMAIL PROTECTED]> Added a kernel module (gtco) to the USB Input subsystem. This kernel module adds support for all GTCO CalComp USB InterWrite School products. Signed-off-by: Jeremy A. Roberson <[EMAIL PROTECTED]> --- diff -uprN a/drivers/usb/input/gtco.c b/drivers/usb/i

[linux-usb-devel] 2.6.20-rc3: known unfixed regressions

2007-01-02 Thread Adrian Bunk
This email lists some known regressions in 2.6.20-rc3 compared to 2.6.19 that are not yet fixed in Linus' tree. If you find your name in the Cc header, you are either submitter of one of the bugs, maintainer of an affectected subsystem or driver, a patch of you caused a breakage or I'm considering

Re: [linux-usb-devel] 2.6.20-rc2: known unfixed regressions (v2)

2007-01-02 Thread Ismail Dönmez
31 Ara 2006 Paz 02:47 tarihinde, Adrian Bunk şunları yazmıştı: [...] > Subject: ALSA: No sound in KDE with intel hda > References : http://lkml.org/lkml/2006/12/30/73 > Submitter : Ismail Dönmez <[EMAIL PROTECTED]> > Status : unknown Just tried with 2.6.18.6 and aRts still have no sound,

[linux-usb-devel] 2.6.20-rc2: known unfixed regressions (v2)

2007-01-02 Thread Adrian Bunk
This email lists some known regressions in 2.6.20-rc2 compared to 2.6.19 that are not yet fixed in Linus' tree. If you find your name in the Cc header, you are either submitter of one of the bugs, maintainer of an affectected subsystem or driver, a patch of you caused a breakage or I'm considering

[linux-usb-devel] 代开发票!

2007-01-02 Thread 李建斌
深圳市雄德贸易有限公司 本公司因进项较多,每个月有结余各地发票可对外优惠代开有, (海关缴款书\商品销售\运输\ 广告\ 建筑安装\ 其它服务类\租赁 商业\企业\ 餐饮\ 咨询)等等.普通发票详细收费可根据贵公司所 开金额大小来衡量点数。 本公司可依照贵公司的要求进行合作,对于双方合作关系绝对 保密,所开出的票据可上网查询验证.各地均可代开! 1.公司为一

[linux-usb-devel] Gadgetfs: ep file_operations not changed in deferred config case

2007-01-02 Thread Phil Endecott
Dear All, I may have found a problem with 'deferred configuration' mode in gadgetfs. Or, more likely, I have misunderstood something or found an error that you already know about... Normally, activate_ep_files() creates inodes for the per-endpoint files with f_op set to ep_config_operations.

[linux-usb-devel] CONFIG_USB_SUSPEND

2007-01-02 Thread Alan Stern
On Tue, 26 Dec 2006, David Brownell wrote: > > > The USB autosuspend mechanism has been present for a while in -mm and is > > > included in 2.6.20-rc (although you have to turn on CONFIG_USB_SUSPEND, > > > which is off by default -- it would be nice to change that). > > Call me paranoid, but I'd

Re: [linux-usb-devel] [PATCH] OHCI: disallow autostop when wakeup is not available

2007-01-02 Thread Alan Stern
On Mon, 1 Jan 2007, Andrey Borzenkov wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Wednesday 15 November 2006 00:28, Alan Stern wrote: > > This patch (as822) prevents the OHCI autostop mechanism from kicking in > > if the root hub is not able or not allowed to issue wakeup reque

Re: [linux-usb-devel] OHCI implementation

2007-01-02 Thread Alan Stern
On Mon, 1 Jan 2007, Siddharth, Karnik (IE10) wrote: > Hello, > > I am doing an OHCI implementation where when I queue up a set up packet > it gets retired(Queed as done in HCCA) without updating the CC field.The > specification says this(NAK) is not possible for set up packet. > > Any idea why t

[linux-usb-devel] delay for In transfer

2007-01-02 Thread Siddharth, Karnik (IE10)
Hi, I am using MPC5200B I am setting up a control transfer for get descriptor. That's getting fine with error as 0. the command I send is get_desc = 0x800600011200 (Mine is a big endian controller but I guess I do not have to do any thing for this as controller will convert to little endi

[linux-usb-devel] Gadgetfs: how to ack a control out?

2007-01-02 Thread Phil Endecott
Dear All, How should a gadgetfs application cause an ACK to be sent to the host in response to a sucessfully received and processed control out transaction? My first guess was to send a zero-byte write, but looking at the example gadgetfs program (http://www.linux-usb.org/gadget/usb.c), the on

[linux-usb-devel] testing of fixes for race conditions in usb serial driver #0

2007-01-02 Thread Oliver Neukum
Hi, OK, it seems that hangup should do what we want, however error codes should be fixed 5) there's a race between write() and disconnect() Regards Oliver --- a/drivers/usb/serial/usb-serial.c 2007-01-02 11:44:43.0 +0100 +++ b/drivers/usb/serial/usb-serial.c 2007

[linux-usb-devel] testing of fixes for race conditions in usb serial driver #2

2007-01-02 Thread Oliver Neukum
Hi, this should fix: 4) try_module_get() is called with unprotected pointers Please test. This is incremental to #1. Regards Oliver --- a/drivers/usb/serial/usb-serial.c 2007-01-02 10:44:39.0 +0100 +++ b/drivers/usb/serial/usb-serial.c 2007-01-02 11:09:37.000

[linux-usb-devel] testing of fixes for race conditions in usb serial driver #1

2007-01-02 Thread Oliver Neukum
Hi, this fixes: 1) serial table is not protected by locks. kref_get() may be called on freed memory 2) probe() exposes uninitialized devices 3) disconnect() does not make sure there's no more IO to unbound devices Please test. It's against 2.6.20-rc3 but should apply widely. Regards

[linux-usb-devel] testing of fixes for race conditions in usb serial driver #0

2007-01-02 Thread Oliver Neukum
Hi, as J noticed there are some races in the serial driver. 1) serial table is not protected by locks. kref_get() may be called on freed memory 2) probe() exposes uninitialized devices 3) disconnect() does not make sure there's no more IO to unbound devices 4) try_module_get() is called with unp

Re: [linux-usb-devel] [PATCH] [USB HID]: USB_HID selects HID, so users don't need to

2007-01-02 Thread Vojtech Pavlik
Hello, The comment is about USB_HID not selecting USB_HIDINPUT, which is still true I believe. Vojtech On Mon, Jan 01, 2007 at 01:55:39PM +0900, Horms wrote: > The documentation seems to be out od date as USB_HID selects HID, > but the text says that the user needs to do this manualy. At least >