Re: [linux-usb-devel] software unplug

2007-07-31 Thread Lucio Crusca
Pete Zaitcev wrote: The symptoms you described point to a sequencer lock-up in the device. Your best bet is to change the brand of the dongle to a more reliable one. Any suggestion about which brands could be more reliable than others? If you work for a bigger OEM, you may be able to shop

Re: [linux-usb-devel] software unplug

2007-07-31 Thread Felipe Balbi
On 7/31/07, Lucio Crusca [EMAIL PROTECTED] wrote: Pete Zaitcev wrote: The symptoms you described point to a sequencer lock-up in the device. Your best bet is to change the brand of the dongle to a more reliable one. Any suggestion about which brands could be more reliable than others?

Re: [linux-usb-devel] software unplug

2007-07-31 Thread Lucio Crusca
Felipe Balbi wrote: How much data are we talking about... I could transfer around 500mb between two pcs using crappy usb-bluetooth dongles... I bought sometime ago... Data is a few kb, but I suspect that the problem here could be how many simultaneous connections, not how much data. My script

Re: [linux-usb-devel] software unplug

2007-07-30 Thread Felipe Balbi
Hi Lucio, On 7/30/07, Lucio Crusca [EMAIL PROTECTED] wrote: Hello *, I have a problem with bluetooth USB dongles. Scenario: a number of unattended systems have a USB bluetooth dongle that send files to nearby bluetooth devices. The systems are built on top of Debian GNU/Linux Etch i386 and

Re: [linux-usb-devel] software unplug

2007-07-30 Thread Alan Stern
On Mon, 30 Jul 2007, Lucio Crusca wrote: Hello *, I have a problem with bluetooth USB dongles. Scenario: a number of unattended systems have a USB bluetooth dongle that send files to nearby bluetooth devices. The systems are built on top of Debian GNU/Linux Etch i386 and use obexftp

Re: [linux-usb-devel] software unplug

2007-07-30 Thread Felipe Balbi
Hi, On 7/30/07, Alan Stern [EMAIL PROTECTED] wrote: On Mon, 30 Jul 2007, Lucio Crusca wrote: There is no way to simulate unplug/replug from software for devices attached directly to the computer. However it is possible for devices plugged into some brands of hub. See this web page:

Re: [linux-usb-devel] software unplug

2007-07-30 Thread Alan Stern
On Mon, 30 Jul 2007, Felipe Balbi wrote: Hi, On 7/30/07, Alan Stern [EMAIL PROTECTED] wrote: On Mon, 30 Jul 2007, Lucio Crusca wrote: There is no way to simulate unplug/replug from software for devices attached directly to the computer. However it is possible for devices plugged into

Re: [linux-usb-devel] software unplug

2007-07-30 Thread Felipe Balbi
On 7/30/07, Alan Stern [EMAIL PROTECTED] wrote: On Mon, 30 Jul 2007, Felipe Balbi wrote: Lucio's problem is that the device has _already_ disconnected. Getting an additional disconnect interrupt won't make any difference. yeah... off course :-p Maybe if he echo'es correctly on sysfs, he

Re: [linux-usb-devel] software unplug

2007-07-30 Thread David Brownell
On Monday 30 July 2007, Alan Stern wrote: Maybe if he echo'es correctly on sysfs, he could achieve this... Nope.  You cannot turn off the USB bus power on the computer's USB ports no matter what you do; the hardware doesn't permit it. It does on some systems. Rarely on PCs though.

Re: [linux-usb-devel] software unplug

2007-07-30 Thread Pete Zaitcev
On Mon, 30 Jul 2007 17:29:56 +0200, Lucio Crusca [EMAIL PROTECTED] wrote: The only solution I've found in such cases is to unplug and replug the dongle (even a few reboot cycles aren't enough). However that solution is not acceptable for me, since the systems should run unattended. Do you

Re: [linux-usb-devel] software unplug

2007-07-30 Thread Alan Stern
On Mon, 30 Jul 2007, Felipe Balbi wrote: On 7/30/07, Alan Stern [EMAIL PROTECTED] wrote: On Mon, 30 Jul 2007, Felipe Balbi wrote: Lucio's problem is that the device has _already_ disconnected. Getting an additional disconnect interrupt won't make any difference. yeah... off course :-p