-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
udev symlink problem on raspberry pi / ti usb not working on raspberry pi's #52
Comments
Linux kernel 4.4.30+ #919 Tue Nov 1 16:52:58 GMT 2016 armv6l GNU/Linux
the mmt.sh script does a mmtune
|
I found a workaround
and
and
If there is anything I can do to fix this without the mmt.sh script I would be thankfull. Please let me know if I can help to fix this. I think this also fix the |
Hi Pieter. Currently worldwide pump support is problematic. The way we do it is that we run mmtune every time openaps runs - rather than in the udev rules. The radio frequency of the pump/ti stick change as temperature changes, for example. By doing things in udev rules, you're only running the tune once - when the ti stick is inserted or when the device is rebooted. If you change things so that you run mmtune --radio_locale WW as part of your loop it'll re-tune as the day goes by and as the radio frequency drifts. There's an existing issue for WW pump support here: #51 If it's ok, I'd like to close this as a duplicate of that item? I don't think that the 'Inappropriate ioctl for device' issue is related to the WW pump issue. That might be a different bug, though. We'd need more information on where /dev/ttyACM0 or similar pointed at, and how it varied vs /dev/mmeowlink |
@oskarpearson thanks for responding. I don't think this specific issue is WW only. I have seen quite some Strange thing is that @mawhit reports it on a PI3 and I have no problems with the TI-stick on my PI3, but do have problems with a PI0. Perhaps @bfaloona and @mawhit can let us know if they are using a worldwide (WW) or US pump. They both had |
I'm using a US pump - MMT723. Not having any issues at the moment though. |
when i use the udev rules i end up with a symlink like this:
instead of a symlink to ttyACM.
Communicating is not possible and give various errors, such as
or
When I change the symlink to
/dev/ttyACM<x>
i can communiate with the pump.The text was updated successfully, but these errors were encountered: