[linux-usb-devel] [PATCH] gigaset: clean up urb->status usage

2007-07-24 Thread Tilman Schmidt
From: Tilman Schmidt <[EMAIL PROTECTED]> Make there only be one reference to urb->status per URB callback, and none outside, in preparation for removal of that field. Signed-off-by: Tilman Schmidt <[EMAIL PROTECTED]> --- drivers/isdn/gigaset/bas-g

[linux-usb-devel] [PATCH] gigaset: remove pointless locking

2007-07-24 Thread Tilman Schmidt
From: Tilman Schmidt <[EMAIL PROTECTED]> Remove pointless taking of spinlock around reading a single pointer-sized or smaller variable. Signed-off-by: Tilman Schmidt <[EMAIL PROTECTED]> --- drivers/isdn/gigaset/bas-gigaset.c |9 + drivers/isdn/gigaset/i4l.c

Re: [linux-usb-devel] urb->status cleanup

2007-07-23 Thread Tilman Schmidt
Am 24.07.2007 00:50 schrieb Greg KH: > On Sun, Jul 22, 2007 at 04:44:24PM +0200, Tilman Schmidt wrote: >> Should I do something similar for drivers/isdn/{bas,usb}-gigaset.c? > > If you want to do so before I do it, sure :) The coding is done. Expect a patch soon. I just want to t

Re: [linux-usb-devel] urb->status cleanup

2007-07-22 Thread Tilman Schmidt
Am 22.07.2007 21:30 schrieb Pete Zaitcev: > On Sun, 22 Jul 2007 16:44:24 +0200, Tilman Schmidt <[EMAIL PROTECTED]> wrote: > >> Should I do something similar for drivers/isdn/{bas,usb}-gigaset.c? >> What exactly is the goal? > > In most cases of sweeping API ch

[linux-usb-devel] urb->status cleanup (was: [GIT PATCH] more USB patches for 2.6.22)

2007-07-22 Thread Tilman Schmidt
USB: misc: phidgetmotorcontrol: clean up urb->status usage > USB: misc: usblcd: clean up urb->status usage > USB: misc: usbtest: clean up urb->status usage > USB: misc: uss720: clean up urb->status usage Should I do something similar for drivers/isdn/{bas,usb}-gi

Re: [linux-usb-devel] [Bugme-new] [Bug 8297] New: ldusb returns bad data on subsequent reads if no data is available.

2007-04-20 Thread Tilman Schmidt
} as not confirming to CodingStyle. So that last phrase should rather read: "Lots of developers seem to delight in avoiding rebukes." :-) T. -- Tilman Schmidt [EMAIL PROTECTED] - This SF.net email is sponsored

Re: [linux-usb-devel] [Bugme-new] [Bug 8297] New: ldusb returns bad data on subsequent reads if no data is available.

2007-04-20 Thread Tilman Schmidt
lopers seem to delight in avoiding > learning that. I beg to differ. I already got rebuked for writing sth like -- Tilman Schmidt [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the

Re: [linux-usb-devel] gigaset build broken on current linux-2.6.git

2007-02-11 Thread Tilman Schmidt
rom struct urb. >> Remove the forgotten occurence in bas-gigaset.c >> >> Signed-off-by: Jiri Kosina <[EMAIL PROTECTED]> > Signed-off-by: Tilman Schmidt <[EMAIL PROTECTED]> I notice that 2.6.20-git6 still doesn't include either of these

[linux-usb-devel] Q: suspend/resume support

2007-02-11 Thread Tilman Schmidt
end/resume within a USB device driver, or a showcase driver which has perfect suspend/resume support and which I could use as reference? Thanks, Tilman -- Tilman Schmidt E-Mail: [EMAIL PROTECTED] Bonn, Germany Diese Nachricht besteht zu 100% aus wiederverwerteten Bits. Ungeöff

Re: [linux-usb-devel] usbmon and iso

2007-02-08 Thread Tilman Schmidt
of URBs will use fewer than that. > A typical user of Iso URBs is USB audio; maybe Clemens can provide some > guidance. For the iso endpoints corresponding to the ISDN B channels in driver/isdn/gigaset we use 8 iso packet descriptor

Re: [linux-usb-devel] [PATCH 41/70] usbcore: remove unused bandwith-related code

2007-02-08 Thread Tilman Schmidt
idth for INT/ISO request > */ > atomic_t use_count; /* concurrent submissions counter */ > u8 reject; /* submissions will fail */ This breaks compilation of drivers/isdn/gigaset/bas-gigaset.c. If you pass on this patch, please pass on Andrew&

[linux-usb-devel] simulating USB unplug/plug (was: [PATCH 1/3] UEAGLE : be suspend friendly)

2007-01-13 Thread Tilman Schmidt
ice error conditions which I don't know how to clear except by telling the user to unplug the device. Thanks Tilman -- Tilman Schmidt E-Mail: [EMAIL PROTECTED] Bonn, Germany Diese Nachricht besteht zu 100% aus wiederverwerteten Bits. Ungeoeffnet mindestens haltbar bi

Re: [linux-usb-devel] [PATCH 4/33] usb: usb-gigaset free kill urb cleanup

2006-11-24 Thread Tilman Schmidt
Sorry for the late reply. I had overlooked this. Am 08.11.2006 15:34 schrieb Mariusz Kozlowski: > Hello, > > - usb_free_urb() cleanup > - usb_kill_urb() cleanup > > Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> Acked-by: Tilman Schmidt <[EMAIL PROTECTED]>

[linux-usb-devel] simulating USB unplug/plug (was: [PATCH 1/3] UEAGLE : be suspend friendly)

2006-10-05 Thread Tilman Schmidt
ear except by telling the user to unplug the device. Thanks Tilman -- Tilman Schmidt E-Mail: [EMAIL PROTECTED] Bonn, Germany Diese Nachricht besteht zu 100% aus wiederverwerteten Bits. Ungeoeffnet mindestens haltbar bis: (siehe

Re: [linux-usb-devel] USB: Dealias -110 code

2006-09-13 Thread Tilman Schmidt
ted all drivers which I found affected. Would you mind extending your patch to also adjust drivers/isdn/gigaset/bas-gigaset.c accordingly? Thanks, Tilman -- Tilman Schmidt E-Mail: [EMAIL PROTECTED] Bonn, Germany Diese Nachricht besteht zu 100% aus wiederverwerteten Bi

Re: [linux-usb-devel] making a somewhat strange CDC ACM device work

2006-07-15 Thread Tilman Schmidt
On 29.11.2005 08:53, Oliver Neukum wrote: > Am Dienstag, 29. November 2005 01:24 schrieb Tilman Schmidt: [tentative mods to cdc-acm.c for Siemens Gigaset M34 USB DECT adapter] >>Am I on the right track at all or have I got it all completely wrong? >>Do my changes to cdc-acm.c

Re: [linux-usb-devel] [mm Patch] isdn4linux: Gigaset driver: fix __must_check warning

2006-07-11 Thread Tilman Schmidt
On 11.07.2006 23:51, Andrew Morton wrote: > Tilman Schmidt <[EMAIL PROTECTED]> wrote: > >>- class_device_create_file(cs->class, &class_device_attr_cidmode); >>+ if (class_device_create_file(cs->class, &class_device_attr_cidmode)) >>+

[linux-usb-devel] [mm Patch] isdn4linux: Gigaset driver: fix __must_check warning

2006-07-11 Thread Tilman Schmidt
From: Tilman Schmidt <[EMAIL PROTECTED]> This patch to the Siemens Gigaset driver fixes the compile warning "ignoring return value of 'class_device_create_file', declared with attribute warn_unused_result" appearing with CONFIG_ENABLE_MUST_CHECK=y in release 2.6.18-rc1-m

[linux-usb-devel] [Patch] isdn4linux: Gigaset driver cleanup

2006-06-15 Thread Tilman Schmidt
From: Tilman Schmidt <[EMAIL PROTECTED]> The following patch to the common part of the Siemens Gigaset driver prevents it from trying to send the +++ break sequence if the device has been disconnected, and removes a couple of assignments which didn't have any effect. Signed-off

[linux-usb-devel] [Patch] isdn4linux: Gigaset base driver: improve error recovery

2006-06-15 Thread Tilman Schmidt
From: Tilman Schmidt <[EMAIL PROTECTED]> The following patch to the Siemens Gigaset base driver adds graceful recovery for some frequently encountered error conditions, by retrying failed control requests (eg. stalled control pipe), and by closing and reopening the AT command channel w

[linux-usb-devel] provoking a stall

2006-05-22 Thread Tilman Schmidt
perly test its handling. So is there a generic way of provoking a STALL condition for a given endpoint, ideally without adverse side effects on device operation? -- Tilman SchmidtE-Mail: [EMAIL PROTECTED] Bonn, Germany Diese Nachricht besteht zu 100% aus wiederverwer

Re: [linux-usb-devel] spca5xx-20060402 module can not loaded

2006-04-22 Thread Tilman Schmidt
ve access to, it seems that the entire /sys/module directory didn't exist there yet, anyway. So your best bet might be to update to a more current Linux version and try again. If it still doesn't work, look in the source of that module to find out what goes wrong. Hope that helps Tilman --

[linux-usb-devel] Re: [2.6 Patch] isdn4linux: Siemens Gigaset base driver: fix disconnect handling

2006-04-20 Thread Tilman Schmidt
On 20.04.2006 17:32, Adrian Bunk wrote: > On Thu, Apr 20, 2006 at 08:21:20AM -0700, Randy.Dunlap wrote: [...] >>>>Tilman Schmidt <[EMAIL PROTECTED]> wrote: >>>> >>>>>--- linux-2.6.17-rc2-work/drivers/isdn/gigaset.orig/bas-gigaset.c >>>>

[linux-usb-devel] Re: [2.6 Patch] isdn4linux: Siemens Gigaset base driver: fix disconnect handling

2006-04-20 Thread Tilman Schmidt
On 20.04.2006 09:11, Andrew Morton wrote: > Tilman Schmidt <[EMAIL PROTECTED]> wrote: > >>This patch fixes a possible Oops in the Siemens Gigaset base driver when >> the device is unplugged while an ISDN connection is still active, and >> makes sure that the isdn4lin

[linux-usb-devel] [2.6 Patch] isdn4linux: Siemens Gigaset base driver: fix disconnect handling

2006-04-19 Thread Tilman Schmidt
From: Tilman Schmidt <[EMAIL PROTECTED]> This patch fixes a possible Oops in the Siemens Gigaset base driver when the device is unplugged while an ISDN connection is still active, and makes sure that the isdn4linux link level (LL) is properly informed if a connection is broken by the USB

[linux-usb-devel] Re: [PATCH] reduce syslog clutter (take 2)

2006-03-10 Thread Tilman Schmidt
like? > I'll drop this patch for now, and only take the part that adds the new > dev_* macro. Is that ok for everyone? Can't say I'm happy with that. > And if anyone wants to notify the kernel-janitors that this would be a > good thing to do for the USB subsytem, f

[linux-usb-devel] Re: [PATCH] reduce syslog clutter (take 2)

2006-03-09 Thread Tilman Schmidt
On 09.03.2006 19:58, Jesper Juhl wrote: > On 3/9/06, Tilman Schmidt <[EMAIL PROTECTED]> wrote: > >>On 09.03.2006 17:34, Randy.Dunlap wrote: >> >>>On Thu, 9 Mar 2006 03:02:57 -0800 Andrew Morton wrote: >>> >>>>Tilman Schmidt <[EMAIL PRO

[linux-usb-devel] Re: [PATCH] reduce syslog clutter (take 2)

2006-03-09 Thread Tilman Schmidt
On 09.03.2006 17:34, Randy.Dunlap wrote: > On Thu, 9 Mar 2006 03:02:57 -0800 Andrew Morton wrote: > >>Tilman Schmidt <[EMAIL PROTECTED]> wrote: >> >>>The current versions of the err() / info() / warn() syslog macros >>> insert __FILE__ at the beginnin

[linux-usb-devel] Re: [PATCH] reduce syslog clutter (take 2)

2006-03-09 Thread Tilman Schmidt
(THIS_MODULE ? THIS_MODULE->name : __FILE__) succeeds and THIS_MODULE can actualy be dereferenced I would like the code to compile and run successfully in all these cases. -- Tilman SchmidtE-Mail: [EMAIL PROTECTED] Bonn, Germany Diese Nachricht besteht zu 100% aus wiederverwerteten Bits. Ungeöffnet mindestens haltbar bis: (siehe Rückseite) signature.asc Description: OpenPGP digital signature

[linux-usb-devel] [PATCH] reduce syslog clutter (take 2)

2006-03-08 Thread Tilman Schmidt
add macros notice(), dev_notice() (take 2)". Signed-off-by: Tilman Schmidt <[EMAIL PROTECTED]> --- usb.h | 14 ++ 1 files changed, 10 insertions(+), 4 deletions(-) --- linux-2.6.16-rc5-patch-splitpoint/include/linux/usb.h 2006-03-08 12:36:03.0 +0100 +++ l

[linux-usb-devel] [PATCH] add macros notice(), dev_notice() (take 2)

2006-03-08 Thread Tilman Schmidt
drivers. Signed-off-by: Tilman Schmidt <[EMAIL PROTECTED]> --- device.h |2 ++ usb.h|2 ++ 2 files changed, 4 insertions(+) diff -ru linux-2.6.16-rc5/include/linux/device.h linux-2.6.16-rc5-patch-splitpoint/include/linux/device.h --- linux-2.6.16-rc5/include/linux/device.h 2

[linux-usb-devel] Re: [PATCH 0/7] isdn4linux: add drivers for Siemens Gigaset ISDN DECT PABX

2006-03-03 Thread Tilman Schmidt
On Fri, 03 Mar 2006 07:53:28 +0100, Arjan van de Ven wrote: > On Fri, 2006-03-03 at 00:03 +0100, Tilman Schmidt wrote: >> So you are saying that, for example >> >> spin_lock_irqsave(&cs->ev_lock, flags); >> head = cs->ev_head; >> tail =

[linux-usb-devel] Re: [PATCH 0/7] isdn4linux: add drivers for Siemens Gigaset ISDN DECT PABX

2006-03-02 Thread Tilman Schmidt
a tasklet. > (GFP_ATOMIC is evil in the sense that spurious use of it gives trouble > for the VM) Does that mean that every function doing kmalloc() and which may be called from both interrupt and non-interrupt context needs a gfp_t flags argument? Thanks again for your time and effort Ti

[linux-usb-devel] [PATCH] add macros notice(), dev_notice()

2006-02-24 Thread Tilman Schmidt
(currently in the process of being submitted for the kernel tree) but they really belong with their brothers and sisters in include/linux/{device,usb}.h. Signed-off-by: Tilman Schmidt <[EMAIL PROTECTED]> --- device.h |2 ++ usb.h|2 ++ 2 files changed, 4 insertions(+) diff -ru

[linux-usb-devel] [PATCH] reduce syslog clutter

2006-02-24 Thread Tilman Schmidt
ch is significantly shorter and also tends to be more useful to users trying to make sense of a particular message. Signed-off-by: Tilman Schmidt <[EMAIL PROTECTED]> --- usb.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff -ru linux-2.6.16-rc4-mm1-orig/include/linux/u

[linux-usb-devel] how to handle multi-part patch dependencies (was: [PATCH 1/9] isdn4linux: Siemens Gigaset drivers - Kconfigs and Makefiles)

2006-02-21 Thread Tilman Schmidt
Hello Greg, thank you for your comments. Just a few follow-up questions. On 15.02.2006 04:19, Greg KH wrote: > On Sat, Feb 11, 2006 at 03:52:27PM +0100, Hansjoerg Lipp wrote: > >>From: Tilman Schmidt <[EMAIL PROTECTED]>, Hansjoerg Lipp <[EMAIL PROTECTED]> >> &g

[linux-usb-devel] advice on using dev_info(), dev_err() and friends (was: [PATCH 2/9] isdn4linux: Siemens Gigaset drivers - common module)

2006-02-21 Thread Tilman Schmidt
Hello Greg, thank you for your comments. Just a few follow-up questions. On 15.02.2006 04:27, Greg KH wrote: > On Sat, Feb 11, 2006 at 03:52:27PM +0100, Hansjoerg Lipp wrote: > >>--- linux-2.6.16-rc2/drivers/isdn/gigaset/gigaset.h 1970-01-01 >>01:00:00.0 +0100 >>+++ linux-2.6.16-rc2-g

[linux-usb-devel] Re: [PATCH 1/9] isdn4linux: Siemens Gigaset drivers - Kconfigs and Makefiles

2006-02-16 Thread Tilman Schmidt
On 15.02.2006 04:19, Greg KH wrote: > On Sat, Feb 11, 2006 at 03:52:27PM +0100, Hansjoerg Lipp wrote: > >>From: Tilman Schmidt <[EMAIL PROTECTED]>, Hansjoerg Lipp <[EMAIL PROTECTED]> >> >>This patch prepares the kernel build infrastructure for addition of the

[linux-usb-devel] Re: [PATCH 6/9] isdn4linux: Siemens Gigaset drivers - procfs interface

2006-02-14 Thread Tilman Schmidt
n't all > need to be global. Well, I *hope* there aren't any unnecessary ones, but we'll re-check. Regards Tilman -- Tilman Schmidt E-Mail: [EMAIL PROTECTED] Bonn, Germany Diese Nachricht besteht zu 100% aus wiederverwerteten Bits. Ungeöffnet mindestens haltbar bis: (siehe Rückseite) signature.asc Description: OpenPGP digital signature

Re: [linux-usb-devel] [PATCH 6/9] isdn4linux: Siemens Gigaset drivers - procfs interface

2005-12-14 Thread Tilman Schmidt
t more than one of these devices. Is there a better alternative? Thanks Tilman -- Tilman SchmidtE-Mail: [EMAIL PROTECTED] Bonn, Germany Diese Nachricht besteht zu 100% aus wiederverwerteten Bits. Ungeöffnet mindestens haltbar bis: (siehe Rückseite) -

[linux-usb-devel] making a somewhat strange CDC ACM device work

2005-11-28 Thread Tilman Schmidt
en the corresponding device /dev/ttyACM0 with minicom and try to send some AT commands to the device I never get any reply. Am I on the right track at all or have I got it all completely wrong? Do my changes to cdc-acm.c make any sense? Thanks in advance for any hints. Tilman -- Tilman Schmidt

Re: [linux-usb-devel] providing sysfs/udev support

2005-07-06 Thread Tilman Schmidt
On 05.07.2005 08:11, Greg KH wrote: > On Sat, Jul 02, 2005 at 12:51:39AM +0200, Tilman Schmidt wrote: > >>For a driver for a USB ISDN device [...] >>on Ubuntu with kernel 2.6.10, >>the setup is lost on every reboot. [...] >>Unfortunately I cannot find any inf

[linux-usb-devel] Handling urb->status==-EPIPE on a control endpoint

2005-07-06 Thread Tilman Schmidt
cover just by rmmod/modprobe-ing my driver, so there should be a way of handling this in software, no? Thanks, Tilman -- Tilman Schmidt E-Mail: [EMAIL PROTECTED] Bonn, Germany Diese Nachricht besteht zu 100% aus wiederverwerteten Bits. Ungeöffnet mindestens haltbar bis: (

[linux-usb-devel] providing sysfs/udev support

2005-07-01 Thread Tilman Schmidt
egister_device() call - or is there? Any hints? -- Tilman Schmidt E-Mail: [EMAIL PROTECTED] Bonn, Germany Diese Nachricht besteht zu 100% aus wiederverwerteten Bits. Ungeöffnet mindestens haltbar bis: (siehe Rückseite) signature.asc Description: OpenPGP digital signature

Re: [linux-usb-devel] __FILE__ returns full path now?

2005-04-18 Thread Tilman Schmidt
be a side effect of moving to the kernel build system, the full path to the source being passed to gcc on the command line instead of just the file name? -- Tilman Schmidt Bonn, Germany --- This SF.Net email is sponsored by: New Crystal Rep

Re: [linux-usb-devel] about uhci

2005-03-10 Thread Tilman Schmidt
ns and the := > assignment operator. > > I didn't think any one still uses PASCAL or similar language. Oh yes, it's alive and kicking under the name of "Delphi". HTH Tilman -- Tilman SchmidtE-Mail: [EMAIL PROTECTED] Bonn, Germany Diese Nachricht bes

Re: [linux-usb-devel] EILSEQ at start/stop of isochronous transfer - how to avoid?

2005-01-02 Thread Tilman Schmidt
SB device do something like that? ;-) Anyway, the interface docs don't mention anything of that sort, but after working on this device for a year nothing surprises me much anymore. How could I find out? Regards Tilman -- Tilman SchmidtE-Mail: [EMAIL PROTECTED] Bonn, Ger

[linux-usb-devel] EILSEQ at start/stop of isochronous transfer - how to avoid?

2005-01-01 Thread Tilman Schmidt
h might also occur - such as actual CRC errors? Thanks in advance for any hints Tilman [1] Siemens Gigaset family of ISDN DECT bases - see http://sourceforge.net/projects/gigaset307x/ -- Tilman SchmidtE-Mail: [EMAIL PROTECTED] Bonn, Germany Diese Nachricht besteht zu 100% a