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 use obexftp 0.19 to send files.
>
> Sometimes it happens that something between bluez and the hardware stops
> working, so in such cases my script issue "hciconfig hci0 reset" to
> recover and everything comes back ok. More rarely the reset method seems
> to be insufficient, because the device disappears even from lsusb output.
> 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 know how could I simulate unplug/replug events from software? Or
> any other solution that can run unattended?

This is not the right way to do it. Provide us more detailed
information such as dmesg output. But remember building your kernel
with  CONFIG_USB_DEBUG enabled.

We need to see why your device is going to sleep or whatever...

Another good information would be your kernel version.

Thanks

>
> Thanks in advance,
>
> Lucio.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> linux-usb-devel@lists.sourceforge.net
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
>


-- 
Best Regards,

Felipe Balbi
[EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to