Support
Wiki Documentation
Support Forum
Mobile
- andRoc Android
- Rocweb Browser
- WIO-Control ESP32
- Rocview Tablet
DIY
User
Wiki writer
Special
Legal
Support
Wiki Documentation
Support Forum
Mobile
DIY
User
Wiki writer
Special
Legal
note: Nog niet compleet vertaald naar het Nederlands!
Dit komt doordat Windows bekende file extenties standaard verbergt.
Wijzig dit in de Windows verkenner:
transact OSerial 0625 read size=2 rc=-1 read=0 errno=6
)
Om in Linux als gebruiker toegang te hebben tot seriële aansluitingen moet je als gebruiker zijn toegevoegd aan de dialout groep.
$ sudo adduser xxx dialout
[sudo] password for xxx: Adding user `xxx' to group `dialout' ... Adding user xxx to group dialout Done.
xxx = Jouw gebruikersnaam op de computer.
Opnieuw inloggen om nieuwe rechten te activeren.
Note: Dit is een kopie van een forum posting.
When connecting my OpenDCC Z1 to my new laptop (with fresh installed Kubuntu 12.10) I had to get my udev config to fixed:
1st I had to add an udev rules files as described on the OpenDCC webpage. I added a file /etc/udev/rules.d/99-opendcc.rules:
KERNEL=="ttyUSB*" ATTRS{idVendor}=="0403", ATTRS{idProduct}=="bfd8", SYMLINK+="opendcc/opendcc" KERNEL=="ttyUSB*" ATTRS{idVendor}=="0403", ATTRS{idProduct}=="bfd9", SYMLINK+="opendcc/schnueffel" KERNEL=="ttyUSB*" ATTRS{idVendor}=="0403", ATTRS{idProduct}=="bfda", SYMLINK+="opendcc/throttle" KERNEL=="ttyUSB*" ATTRS{idVendor}=="0403", ATTRS{idProduct}=="bfdb", SYMLINK+="opendcc/basestation" KERNEL=="ttyUSB*" ATTRS{idVendor}=="0403", ATTRS{idProduct}=="bfdc", SYMLINK+="opendcc/gbm"
But then the modem-manager always probed the new device. So I got always (in the rocrail terminal output or log):
20130115.170432.860 r9999I main OSerial 0196 rocs_serial_open:open rc=16 read=0 write=0 [16] [Device or resource busy] 20130115.170432.860 r9999E main OP50x 1808 Could not init p50x port!
To stop modem-manager from to probe the OpenDCC Z1 I added this as /etc/udev/rules.d/70-mm-usb-device-blacklist-opendcc.rules:
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="bfd8", ENV{ID_MM_DEVICE_IGNORE}="1" ATTRS{idVendor}=="0403", ATTRS{idProduct}=="bfd9", ENV{ID_MM_DEVICE_IGNORE}="1" ATTRS{idVendor}=="0403", ATTRS{idProduct}=="bfda", ENV{ID_MM_DEVICE_IGNORE}="1" ATTRS{idVendor}=="0403", ATTRS{idProduct}=="bfdb", ENV{ID_MM_DEVICE_IGNORE}="1" ATTRS{idVendor}=="0403", ATTRS{idProduct}=="bfdc", ENV{ID_MM_DEVICE_IGNORE}="1"