Re: [linux-usb-devel] [Em28xx] dvb-core random crashes

2007-07-11 Thread Markus Rechberger
Hi Christoph, please keep the linux-usb-devel ML in CC :-) thanks, Markus On 7/10/07, Christoph <[EMAIL PROTECTED]> wrote: > > Alan Stern schrieb: > > On Sun, 8 Jul 2007, Markus Rechberger wrote: > > > >> On 7/8/07, Christoph <[EMAIL PROTECTED]> wrote: > >>> Hallo Markus! > >>> > >>> I'm using a

[linux-usb-devel] [patch]minimal autosuspend support for USB HID devices

2007-07-11 Thread Oliver Neukum
Hi, autosuspend for USB HID devices remains problematic as far as mice and keyboards are concerned. While I am working on a grand solution, here's a minimalist patch that works for those devices not continously in use. It'll work for joystick and some other devices. Regards

Re: [linux-usb-devel] New driver proposal: iuu_phoenix

2007-07-11 Thread Oliver Neukum
Am Mittwoch, 11. Juli 2007 schrieb Alain Degreffe: > Hi, I try to make a new driver for infinity unlimited usb. I use the > usbserial layer to manage the lowlevel functions like probing or ttyUSBx > creation/selection. > The driver works but only after a first sequence "open and close" of the > dev

Re: [linux-usb-devel] New driver proposal: iuu_phoenix

2007-07-11 Thread Alain Degreffe
Mmmh, I don't think so because ,because in the debug, after the insmod, if I open the device, the debug is normal. The problem seems to be the flip buffer that don't work well.The flush function don't give any char to the userland... Alain -Message d'origine- De : Oliver Neukum [mailt

Re: [linux-usb-devel] New driver proposal: iuu_phoenix

2007-07-11 Thread Oliver Neukum
Am Mittwoch, 11. Juli 2007 schrieb Alain Degreffe: > sequence, all is running well. I join the (hugly ?) code for a review. I'm a 1. you violate the kernel coding style (look into the Documentation directory) 2. you should use a .h file for your defines 3.: static int iuu_startup (struct usb_ser

Re: [linux-usb-devel] New driver proposal: iuu_phoenix

2007-07-11 Thread Oliver Neukum
Am Mittwoch, 11. Juli 2007 schrieb Alain Degreffe: > Mmmh, I don't think so because ,because in the debug, after the insmod, if I > open the device, the debug is normal. The problem seems to be the flip buffer > that don't work well.The flush function don't give any char to the userland... Do yo

Re: [linux-usb-devel] New driver proposal: iuu_phoenix

2007-07-11 Thread Alain Degreffe
I will check it now... Many thanks for your review... I fix all problems tonight and resubmit the code I used indent software from gnu but it doesn't fit the kernel coding requirement... Alain -Message d'origine- De : Oliver Neukum [mailto:[EMAIL PROTECTED] Envoyé : mercredi 1

[linux-usb-devel] [patch]autosuspend for cdc-acm

2007-07-11 Thread Oliver Neukum
Hi, this implements autosuspend for cdc-acm devices. Regards Oliver Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> -- --- a/drivers/usb/class/cdc-acm.c 2007-06-11 13:27:17.0 +0200 +++ b/drivers/usb/class/cdc-acm.c 2007-05-30 20:56:00.0 +0200

[linux-usb-devel] Virus "Email.Phishing.RB-1221" gefunden

2007-07-11 Thread Inode Mailscan
Sehr geehrte Damen und Herren, in dem E-Mail mit dem Betreff '[linux-usb-devel] You've received a greeting ecard from a School friend!' (gesendet am Wed, 11 Jul 2007 14:37:41 +0200) mit der angegebenen Absenderadresse '"riversongs.Com" <[EMAIL PROTECTED]>' wurde der Virus 'Email.Phishing.RB-1221'

Re: [linux-usb-devel] [patch]minimal autosuspend support for USB HID devices

2007-07-11 Thread Jiri Kosina
On Wed, 11 Jul 2007, Oliver Neukum wrote: > autosuspend for USB HID devices remains problematic as far as mice and > keyboards are concerned. While I am working on a grand solution, here's > a minimalist patch that works for those devices not continously in use. Hi Oliver, I like this patch u

[linux-usb-devel] What's the difference between async and sync unlink?

2007-07-11 Thread jidong xiao
I see there are two routines, usb_unlink_urb and usb_kill_urb,the latter one should be used for sync unlinking,this means it can go to sleep,it won't return until the completion handler have finished.And the former one could not go to sleep.But what's difference between sync and async,I mean,why do

[linux-usb-devel] PL2501 USB Host to Host

2007-07-11 Thread Tobias Arp
Hi, has someone build up succesfully a connection between a linux pc and a windows pc with the Prolific 2501 Host to Host Bridge? I use it in Network mode but i can only establish a connection when both computer are using the same OS (i.e. windows and windows or linux and linux). I tried all o

Re: [linux-usb-devel] What's the difference between async and sync unlink?

2007-07-11 Thread Oliver Neukum
Am Mittwoch, 11. Juli 2007 schrieb jidong xiao: > I see there are two routines, usb_unlink_urb and usb_kill_urb,the > latter one should be used for sync unlinking,this means it can go to > sleep,it won't return until the completion handler have finished.And > the former one could not go to sleep.Bu

Re: [linux-usb-devel] PL2501 USB Host to Host

2007-07-11 Thread Felipe Balbi
Hi, On 7/11/07, Tobias Arp <[EMAIL PROTECTED]> wrote: > Hi, > > has someone build up succesfully a connection between a linux pc and a > windows pc with the Prolific 2501 Host to Host Bridge? I use it in Network > mode but i can only establish a connection when both computer are using the > sa

Re: [linux-usb-devel] What's the difference between async and sync unlink?

2007-07-11 Thread jidong xiao
On 7/11/07, Oliver Neukum <[EMAIL PROTECTED]> wrote: > Am Mittwoch, 11. Juli 2007 schrieb jidong xiao: > > I see there are two routines, usb_unlink_urb and usb_kill_urb,the > > latter one should be used for sync unlinking,this means it can go to > > sleep,it won't return until the completion handle

Re: [linux-usb-devel] PL2501 USB Host to Host

2007-07-11 Thread tobiasarp
> > Can you provide debug information?? > The output of dmesg for example. Also check if you have DEBUG messages > enabled for usb... > There are no error messages or something else. The connection is not established. On the windows pc it always says that net wetwork cable is not inserted whe

[linux-usb-devel] Attn: Beneficiary

2007-07-11 Thread MR . OBI
Attn: Beneficiary I am delighted to inform you that the UNITED NATION CRIME PREVENTION UNIT Management through the Office of the SKYE BANK GOVERNOR and other bank directors have decided to call back all approved fund Payment through offshore payment centers to the bank treasury following In

Re: [linux-usb-devel] What's the difference between async and sync unlink?

2007-07-11 Thread Oliver Neukum
Am Mittwoch, 11. Juli 2007 schrieb jidong xiao: > On 7/11/07, Oliver Neukum <[EMAIL PROTECTED]> wrote: > > Am Mittwoch, 11. Juli 2007 schrieb jidong xiao: > > > I see there are two routines, usb_unlink_urb and usb_kill_urb,the > > > latter one should be used for sync unlinking,this means it can go

Re: [linux-usb-devel] What's the difference between async and sync unlink?

2007-07-11 Thread jidong xiao
Hmm,I guess I might already understand the problem. Consider such situation,during storage_probe,we set timeout_handler,and we submit an urb, then we go to sleep.If time out occurs,timeout_handler is called, at this moment, storage_probe should still be in sleeping status, so timeout_handler couldn

Re: [linux-usb-devel] [patch]autosuspend for cdc-acm

2007-07-11 Thread Alan Stern
On Wed, 11 Jul 2007, Oliver Neukum wrote: > Hi, > > this implements autosuspend for cdc-acm devices. Do you mean it adds support for plain old suspend/resume? It definitely does not implement autosuspend. Alan Stern - Th

Re: [linux-usb-devel] [patch]minimal autosuspend support for USB HID devices

2007-07-11 Thread Alan Stern
On Wed, 11 Jul 2007, Jiri Kosina wrote: > On Wed, 11 Jul 2007, Oliver Neukum wrote: > > > autosuspend for USB HID devices remains problematic as far as mice and > > keyboards are concerned. While I am working on a grand solution, here's > > a minimalist patch that works for those devices not co

Re: [linux-usb-devel] What's the difference between async and sync unlink?

2007-07-11 Thread Alan Stern
On Wed, 11 Jul 2007, jidong xiao wrote: > Ok,let's talk about the timeout handling routine,we defined a > timeout_handler in drivers/usb/storage/transport.c,inside that > function,we will call usb_unlink_urb,why cannot we sleep?what impact > if the driver go to sleep here? In addition to what Oli

Re: [linux-usb-devel] [patch]autosuspend for cdc-acm

2007-07-11 Thread Oliver Neukum
Am Mittwoch, 11. Juli 2007 schrieb Alan Stern: > On Wed, 11 Jul 2007, Oliver Neukum wrote: > > > Hi, > > > > this implements autosuspend for cdc-acm devices. > > Do you mean it adds support for plain old suspend/resume? It > definitely does not implement autosuspend. Damn, I wanted to submit b

Re: [linux-usb-devel] High speed devices with kernel 2.6.21.5.

2007-07-11 Thread Alan Stern
On Tue, 10 Jul 2007, Branden Sletteland wrote: > Just tried 2.6.21-rc1 and I get the same problem. Are there snap shots > before this? > > Attached is a dmesg dump from a 2.6.20.11 kernel on the same hardware config. It's hard to tell exactly where the problem is. Several changes were made to e

[linux-usb-devel] Good earnings!29

2007-07-11 Thread Antonia Deal
9160"Quality begins with people, not with things. Before you are able to improve quality, you'll have to change attitude of people to their job at each stage of a business process" (Phillip Crosby) Mynes Consulting & Finance is one of the leading providers of consulting services in the world. O

Re: [linux-usb-devel] [patch]minimal autosuspend support for USB HID devices

2007-07-11 Thread Oliver Neukum
Am Mittwoch, 11. Juli 2007 schrieb Alan Stern: > On Wed, 11 Jul 2007, Jiri Kosina wrote: > > > On Wed, 11 Jul 2007, Oliver Neukum wrote: > > > > > autosuspend for USB HID devices remains problematic as far as mice and > > > keyboards are concerned. While I am working on a grand solution, here's

Re: [linux-usb-devel] [2.6.22-rc7] khubd NULL deref oops...

2007-07-11 Thread Chuck Ebbert
On 07/08/2007 05:45 PM, Daniel J Blueman wrote: > When plugging in a USB 2 mass-storage device which I've been seeing > problems with, I caught a khubd oops [1]. Kernel is 2.6.22-rc7 on ia32 > built with Ubuntu's 2.6.22 .config. > [ 4769.252000] sd 6:0:0:0: [sdb] Assuming drive cache: write throug

Re: [linux-usb-devel] [2.6.22-rc7] khubd NULL deref oops...

2007-07-11 Thread Daniel J Blueman
On 11/07/07, Chuck Ebbert <[EMAIL PROTECTED]> wrote: > On 07/08/2007 05:45 PM, Daniel J Blueman wrote: > > When plugging in a USB 2 mass-storage device which I've been seeing > > problems with, I caught a khubd oops [1]. Kernel is 2.6.22-rc7 on ia32 > > built with Ubuntu's 2.6.22 .config. > > > [ 4

Re: [linux-usb-devel] High speed devices with kernel 2.6.21.5.

2007-07-11 Thread Branden Sletteland
On 7/11/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Tue, 10 Jul 2007, Branden Sletteland wrote: > > > Just tried 2.6.21-rc1 and I get the same problem. Are there snap shots > > before this? > > > > Attached is a dmesg dump from a 2.6.20.11 kernel on the same hardware > > config. > > It's hard t

Re: [linux-usb-devel] [patch]autosuspend for cdc-acm

2007-07-11 Thread Greg KH
On Wed, Jul 11, 2007 at 05:28:16PM +0200, Oliver Neukum wrote: > Am Mittwoch, 11. Juli 2007 schrieb Alan Stern: > > On Wed, 11 Jul 2007, Oliver Neukum wrote: > > > > > Hi, > > > > > > this implements autosuspend for cdc-acm devices. > > > > Do you mean it adds support for plain old suspend/resum

Re: [linux-usb-devel] High speed devices with kernel 2.6.21.5.

2007-07-11 Thread Alan Stern
On Wed, 11 Jul 2007, Branden Sletteland wrote: > None of these patches exhibited the problem. The third one couldn't > read the USB device descriptor, but the 4th patch fixed that. > > I noticed these patches only touched files in drivers/usb/host, did > anything change in drivers/usb/core or o

Re: [linux-usb-devel] [2.6.22-rc7] khubd NULL deref oops...

2007-07-11 Thread Alan Stern
On Wed, 11 Jul 2007, Daniel J Blueman wrote: > > Try disabling CONFIG_USB_SUSPEND. It makes lots of USB bugs go away > > I'll give it a shot. For the record, I wasn't trying to perform a > suspend at this time (or since booting). I doubt that USB suspend has any connection with this problem. I

Re: [linux-usb-devel] REQUEST_SENSE and ide-cd.c

2007-07-11 Thread Chuck Ebbert
On 07/11/2007 04:30 AM, Piotr Muszynski wrote: [cc: linux-usb, linux-ide] > I am adding transparent ATAPI capability to USB gadget Mass Storage > driver. The idea is to pass USB traffic to block device queue as packet > requests. At the end of the queue, the requests are handled by ide-cd.c > dri

Re: [linux-usb-devel] High speed devices with kernel 2.6.21.5.

2007-07-11 Thread Branden Sletteland
On 7/11/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Wed, 11 Jul 2007, Branden Sletteland wrote: > > > None of these patches exhibited the problem. The third one couldn't > > read the USB device descriptor, but the 4th patch fixed that. > > > > I noticed these patches only touched files in driv

[linux-usb-devel] [PATCH 01/02] Sierra Wireless - Add TRU-Install (c) Support

2007-07-11 Thread Kevin Lloyd
From: Kevin Lloyd <[EMAIL PROTECTED]> This patch adds compatibility with Sierra Wireless' new TRU-Install feature. Future devices that use this feature will not work unless this patch has been applied. This patch was tested on the 2.6.21.1 kernel source patched with the following patches (foun

[linux-usb-devel] [PATCH 02/02] Sierra Wireless - Add new devices

2007-07-11 Thread Kevin Lloyd
From: Kevin Lloyd <[EMAIL PROTECTED]> This patch adds new devices to the sierra wireless driver. This patch was tested on the 2.6.21.1 kernel source patched with the following patches (found at http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/usb/): usb-sierra-cleanup

Re: [linux-usb-devel] 2.6.22 Oops attaching usb-storage device

2007-07-11 Thread Chuck Ebbert
On 07/11/2007 08:59 AM, Ville Herva wrote: > [98790.134315] sd 17:0:0:0: [sdb] Mode Sense: 03 00 00 00 > [98790.134319] sd 17:0:0:0: [sdb] Assuming drive cache: write through > [98790.134323] sdb:<6>usb 6-1: USB disconnect, address 27 > [98790.366609] BUG: unable to handle kernel NULL pointer dere

Re: [linux-usb-devel] [PATCH 01/02] Sierra Wireless - Add TRU-Install (c) Support

2007-07-11 Thread Oliver Neukum
Am Donnerstag, 12. Juli 2007 schrieb Kevin Lloyd: > From: Kevin Lloyd <[EMAIL PROTECTED]> > > This patch adds compatibility with Sierra Wireless' new TRU-Install feature. > Future devices that use this feature will not work unless this patch has been > applied. Is this some type of CD-ROM simul

Re: [linux-usb-devel] [PATCH 01/02] Sierra Wireless - Add TRU-Install (c) Support

2007-07-11 Thread Kevin Lloyd
Unfortunately I can not myself comment on the feature at this point, however the code is pretty obvious :). I'll go ahead and change it so that it returns the result of sierra_set_ms_mode. Also, I realized that the second patch (02/02) fixes a bug in the first patch (01/02), particularly the dev_

Re: [linux-usb-devel] High speed devices with kernel 2.6.21.5.

2007-07-11 Thread Branden Sletteland
On 7/11/07, Branden Sletteland <[EMAIL PROTECTED]> wrote: > On 7/11/07, Alan Stern <[EMAIL PROTECTED]> wrote: > > On Wed, 11 Jul 2007, Branden Sletteland wrote: > > > > > None of these patches exhibited the problem. The third one couldn't > > > read the USB device descriptor, but the 4th patch fi

Re: [linux-usb-devel] High speed devices with kernel 2.6.21.5.

2007-07-11 Thread Branden Sletteland
I went back and tried this power cycling method with a 2.6.21.5 kernel and a 2.6.22 kernel with the same results as my 2.6.20.11 kernel with the 2.6.21.5 drivers/usb/host directory. Now I just need to figure out how to get the storage devices to come up as high speed devices when they are powered

[linux-usb-devel] NOTICE

2007-07-11 Thread EUROMILLION ESPANA
This is to inform you that you have been awarded € 1,000,000.00 Euros in the EUROMILLION Satellite Software email lotto in which e-mail addresses are picked randomly by Software powered by the internet through the worldwide website. Your email address was amongst those chosen this year for the

Re: [linux-usb-devel] [Em28xx] dvb-core random crashes - Got it

2007-07-11 Thread Christoph
So, since yesterday I'm running this: drivers/usb/host/ehci-hcd.c:611 /* complete the unlinking of some qh [4.15.2.3] */ if (status & STS_IAA) { if (ehci->reclaim) { COUNT (ehci->stats.reclaim); ehci->reclaim_ready = 1; bh = 1; } else {

Re: [linux-usb-devel] USB: r8a66597-hcd: host controller driver for R8A66597

2007-07-11 Thread David Brownell
On Wednesday 09 May 2007, Yoshihiro Shimoda wrote: > I would like to submit Renesas R8A66597 USB HCD driver. > > R8A66597 is Renesas USB 2.0 host and peripheral combined > controller device originally designed for embedded products. > As a limitation of this device, it does not support externel >

Re: [linux-usb-devel] help required

2007-07-11 Thread Greg KH
On Thu, Jul 12, 2007 at 11:13:36AM +0530, shantibhushan sale wrote: > Hi >I am working on USB device drivers. > Could you help me out to for few things? > I m trying to load device drivers for Device.In this case,we have to load > GadgetFs,but it gives me error. > Do you have any p

[linux-usb-devel] flip buffer initialisation - iuu_phoenix

2007-07-11 Thread Alain Degreffe
I in the code submitted yesterday, I had ( I always have it ) a problem with the flip buffer... The data are well coming from the usb reader but the flush of the flip buffer doesn't work after the very first device open... The close function must be called before. After that, all is working well 't