Stopped working after several years
Hi All,
I've not been on for quite a while now, not had the time nor inclination to mess with my set-up. My HAH has been running fine for several years I primarily use it to monitor my solar and also immersion hot water temperature so I have a Current Cost EnviR and a wireless jeenode connected via USB to my HAH. Recently my powered USB hub failed so I've purchased a new one however I’m not getting any data from my CC or my wireless jeenode when connected.
Looking at /var/log/messages
I’m seeing…
hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: USB device not accepting new address=2 (error=-145)
Algorithmics/MIPS FPU Emulator v1.5
hub.c: USB new device connect on bus1/1, assigned device number 3
usb.c: USB device not accepting new address=3 (error=-145)
and /var/log/xap-currentcost.log says:
[crt][currentcost.c:580:setupSerialPort] errno 19 (No such device)
[crt][currentcost.c:580:setupSerialPort] Failed to open serial port /dev/ttyUSB1
Anyone know what is wrong?
I seem to recall that different USB hubs may present the interfaces as /dev/ttyACM0 or something odd like that, you may find that is what is happening which is why /dev/ttyUSB1 not longer exists. Do I define ttyACM0 device? I don't recall.
A quick search on the forums tells me that I do.
Is the "lsusb" command available in the busybox? What's its output.
Brett
I recall trying a few powered USB hubs with my HAH. More by way of testing to check that the built-in drivers would support a couple of different hubs.
Will go have a dig in my basement to see if I can find one (I rarely throw anything out). If I find one that works with my HAH, I'll send it on.
Derek.
DoubleSpeed just a line to say that I tried a number of USB hubs before I found one that worked, I am currently using an un-powered one, which was a gift from an airline I flew with many years ago. All I can say is try one of the cheap ones you can find on ebay.
One thing to take into consideration if you are using a un- powered USB HUB is the HAH available power. I only have 2 connections.
Best of luck.
kema..
I'm afraid I'm not going to be too helpful either, just to say your messages output looks pretty much identical to mine up to
hub.c: USB new device connect on bus1/1, assigned device number 2
which is presumably the point at which it encounters the new hub. Mine then does this and ends.
usbserial.c: PL-2303 converter detected
usbserial.c: PL-2303 converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
Algorithmics/MIPS FPU Emulator v1.5
If I plug in a 4 port unpowered hub it says this:
Freeing unused kernel memory: 60k freed
hub.c: USB new device connect on bus1/1, assigned device number 2
hub.c: USB hub found
hub.c: 4 ports detected
Algorithmics/MIPS FPU Emulator v1.5
Sorry I can't be any more help.
Hi DoubleSpeed,
Yes, it has been a while ... like years.
When things 'just work' you kinda forget how it was put together all that time ago.
I'm guessing that the Busybox on the HAH is struggling to understand your new USB device. You probably reckoned this yourself from the logfile messages.
Perhaps try an 'older' USB to serial adapter. Until you see the USB device being accepted cleanly, it's probably not going to work for you.
All the best.
Derek.