Hi,
I run Ubuntu 12.04, with the Ubuntu version of owfs,  2.8p13

lsmod does not show ehci   etc. I guess this means usb is not complied 
as modules in ubuntu??

Is there an equivalent to rmmod, modprobe in that case?

I have had no success with e.g.

sudo echo suspend > /sys/bus/usb/devices/4-1/power/level

The system says "no access".

Do I do it the wrong way?


I have however read the LinkUSB manual, and I find that I can access the 
hanging unit (on my remote system) by finding the right baud rate  
(19200 is an example):

sudo screen /dev/ttyUSB0 19200

I can list sensors on the bus, and I can change the baudrate to 38400 or 
57600 and back to 19200 by the LinkUSB commands, and then reconnect 
with  the new baud rate

But I can't figure out how the reset the baud rate to 9600 (which I 
suspect could solve the problem?)


Can the explanation for the problem be that after an unplanned shutdown 
the baudrate is at a non-default value, and owserver is unable to figure 
that out?


I am able to reproduce all this with my home system; briefly cutting 
mains leaves owserver nonresponding, and I have to unplug/replug the 
LinkUSB.
For this system I can also interact with the LinkUSB (before unplugging) 
by finding the right baud rate.



Arne























On 09.12.2013 23:15, Jan Kandziora wrote:
> Am 09.12.2013 22:11, schrieb Arne Raaen:
>> The problem arose (probably) at a brief power failure, i.e. an abrupt
>> shutdown followed by restart once power returned.
>>
> Ok, given all the other suggestions this should mean the FTDI or LINKs
> hardware is failing.
>
> Anyway, try rmmoding the hcd modules. That way the USB is de-powered as
> long the board supports controlling the USB power by software. You can
> also try with
>
> /sys/bus/usb/devices/*/power/level
>
> to change the power line for each port separately. But some boards have
> USB-power hard-wired to +5V_STB, obviously that won't work with these
> boards. In that unlucky case you can use an intermediate hub and control
> this hub's power lines. That said: BEWARE FOR CRAPPY USB HUBS! Most of
> them are. Find a decent one or you'll get even more problems.
>
>
> Kind regards
>
>       Jan
>
> ------------------------------------------------------------------------------
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to