Skip to content
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

live pod crashing #23

Closed
ballinger opened this issue Oct 18, 2015 · 4 comments
Closed

live pod crashing #23

ballinger opened this issue Oct 18, 2015 · 4 comments
Milestone

Comments

@ballinger
Copy link

thanks to audetto and ihewitt for working on the live pod support! no idea if it is ready for prime time, but right now it is crashing if i start the app as a normal user and press sync. works fine as root but does not import the data.

terminal output: http://pastebin.com/uxBMvDUR

@ihewitt
Copy link
Owner

ihewitt commented Oct 18, 2015

Hi, yes the usb code needs a lot more error checking built in at the moment it assumes everything works. :)
Sounds like you just need to sort out your usb permissions, add:
SUBSYSTEMS=="usb" ATTRS{idVendor}=="0403" ATTRS{idProduct}=="8b30" MODE:="0666"
to your udev rules file, and see if it works then.

In the meantime I'll get the error conditions saner than crashing.

@ihewitt
Copy link
Owner

ihewitt commented Oct 18, 2015

Ignore that, remembered while out cycling it's just a serial device you need to permission.
probably just a case of adding your userid into the dialout group.

when you've modprobe'd the ftdio device, done the echo into ftdio_sio, check dmesg to see which device the driver has created e.g.:
FTDI USB Serial Device converter now attached to ttyUSB0

then check the group for that device: ls -l /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 0 Oct 18 17:55 /dev/ttyUSB0

then make sure your userid is in that group.

@ihewitt
Copy link
Owner

ihewitt commented Oct 22, 2015

Helpful error messages should now be displayed instead of crashing.

@ihewitt ihewitt closed this as completed Oct 22, 2015
@ihewitt ihewitt added this to the v0.5 (beta 1) milestone Oct 22, 2015
@ballinger
Copy link
Author

thanks for the reply this seems to be resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants