- Posts: 15
extra-switches on Devo7e not recognized
- enordaton
-
Topic Author
- Offline
Less
More
08 Mar 2017 17:42 #60005
by enordaton
extra-switches on Devo7e not recognized was created by enordaton
Using Devo7e with Deviation 5.0 Installed 2 ON OFF ON 3way toggles using instuctions from the wiki by straferr. Used 1n4148 diodes with band toward switch. followed wiring per wiki. edit hardware ini with notepad++ to read extra-switches=3x2. cannot see switches in monitor. Checked diodes with meter ok and checked wiring for shorts and continuity. What is next step?
- Moeder
-
- Offline
Less
More
- Posts: 796
08 Mar 2017 18:20 - 08 Mar 2017 18:21 #60007
by Moeder
Replied by Moeder on topic extra-switches on Devo7e not recognized
Most common mistake: Did you forget to remove the colon (";") in front of extra-switches?
Last edit: 08 Mar 2017 18:21 by Moeder.
- enordaton
-
Topic Author
- Offline
Less
More
- Posts: 15
08 Mar 2017 21:21 #60010
by enordaton
Replied by enordaton on topic extra-switches on Devo7e not recognized
Thanks for response. Followed instructions very carefully, which included removing semicolon in hardware ini. Very frustrating. have searched forum also to see others with same problem. those delt with not using right diodes or the hardware statement. Can't figure this one out.
- Moeder
-
- Offline
Less
More
- Posts: 796
08 Mar 2017 22:02 #60012
by Moeder
Replied by Moeder on topic extra-switches on Devo7e not recognized
We'll solve it, don't worry.
1.) Do SW A0-2 and SW B0-2 appear in channel monitor (second page, scrolled down)?
2.) if yes, please post pictures of your wiring and soldering job
1.) Do SW A0-2 and SW B0-2 appear in channel monitor (second page, scrolled down)?
2.) if yes, please post pictures of your wiring and soldering job
- enordaton
-
Topic Author
- Offline
Less
More
- Posts: 15
09 Mar 2017 03:40 #60022
by enordaton
Replied by enordaton on topic extra-switches on Devo7e not recognized
Hold and Fmode are the only switches in scroll down. I have to set up to take some pics.get them on here tomorrow.
- mwm
-
- Offline
09 Mar 2017 10:33 #60028
by mwm
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Replied by mwm on topic extra-switches on Devo7e not recognized
If the original switches are the only ones in the scroll down, then the hardware.ini file isn't right.
If you post a copy of it, we can figure out what's wrong.
If you post a copy of it, we can figure out what's wrong.
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
- enordaton
-
Topic Author
- Offline
Less
More
- Posts: 15
09 Mar 2017 19:06 - 09 Mar 2017 20:34 #60047
by enordaton
Replied by enordaton on topic extra-switches on Devo7e not recognized
here is wiring pics
Last edit: 09 Mar 2017 20:34 by enordaton. Reason: add ini
- Moeder
-
- Offline
Less
More
- Posts: 796
09 Mar 2017 22:06 #60054
by Moeder
Replied by Moeder on topic extra-switches on Devo7e not recognized
hmm..both soldering and ini content look fine to me, and I'm sure the ini is not named "hardware2.ini" when copied to the tx, or is it?
- enordaton
-
Topic Author
- Offline
Less
More
- Posts: 15
09 Mar 2017 22:27 #60058
by enordaton
Replied by enordaton on topic extra-switches on Devo7e not recognized
it is not. so what is next suggested step?
- mwm
-
- Offline
10 Mar 2017 02:41 #60071
by mwm
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Replied by mwm on topic extra-switches on Devo7e not recognized
Did you by any chance use notepad instead of notepad++ to edit the file? I thought the issues with not being able to read files edited by notepad had been fixed, but maybe not.
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
- FDR
-
- Offline
10 Mar 2017 05:18 #60074
by FDR
Replied by FDR on topic extra-switches on Devo7e not recognized
No, the line ends are fine...
- enordaton
-
Topic Author
- Offline
Less
More
- Posts: 15
10 Mar 2017 07:27 #60075
by enordaton
Replied by enordaton on topic extra-switches on Devo7e not recognized
please see first post, notepad++
- Moeder
-
- Offline
Less
More
- Posts: 796
10 Mar 2017 08:29 #60078
by Moeder
Replied by Moeder on topic extra-switches on Devo7e not recognized
FDR, maybe there is an issue here? See also
this post
. It works for me in the emulator though...
- FDR
-
- Offline
10 Mar 2017 09:33 #60080
by FDR
Replied by FDR on topic extra-switches on Devo7e not recognized
Yes, I saw that, but I don't understand yet.
His file looks OK, but I see CrLf in all the ini files in my Windows based development environment.
Would somebody with a Linux system validate, if he has CrLf or simple Lf at the line endings of those files in his git repository?
His file looks OK, but I see CrLf in all the ini files in my Windows based development environment.
Would somebody with a Linux system validate, if he has CrLf or simple Lf at the line endings of those files in his git repository?
- FDR
-
- Offline
10 Mar 2017 09:38 #60081
by FDR
Replied by FDR on topic extra-switches on Devo7e not recognized
Actually this in on my workplace machine, I think I don't have this problem at home.
It would also explain why I can't compile languages on this machine...
It would also explain why I can't compile languages on this machine...
- FDR
-
- Offline
10 Mar 2017 12:43 #60084
by FDR
Replied by FDR on topic extra-switches on Devo7e not recognized
OK, I found that the repository defines the line endings very loosely:
It means, that all our other then .pl and .py text file endings are automatically converted on checkout to the OS defaults, in my case CrLf on Windows.
It is dangerous, because if I compile, all my ini files in the resulting zip file reserve that CrLf line endings!
Shouldn't we change that definition, so to make all the files have Lf line endings?
Do somebody use an editor on Windows, which doesn't support the unix style line endings?
There shouldn't be any...
* text=auto
src/libopencm3/scripts/* eol=lf
*.pl eol=lf
*.py eol=lfIt means, that all our other then .pl and .py text file endings are automatically converted on checkout to the OS defaults, in my case CrLf on Windows.
It is dangerous, because if I compile, all my ini files in the resulting zip file reserve that CrLf line endings!
Shouldn't we change that definition, so to make all the files have Lf line endings?
Do somebody use an editor on Windows, which doesn't support the unix style line endings?
There shouldn't be any...
- enordaton
-
Topic Author
- Offline
Less
More
- Posts: 15
10 Mar 2017 20:05 - 11 Mar 2017 03:38 #60102
by enordaton
Replied by enordaton on topic extra-switches on Devo7e not recognized
UPDATE: formatted drive and reloaded FW and file system and its fixed.Thank all that responded.File system was reloaded by hand. Must have been corrupted.
Last edit: 11 Mar 2017 03:38 by enordaton. Reason: add text
Time to create page: 0.113 seconds
-
Home
-
Forum
-
General
-
General Discussions
- extra-switches on Devo7e not recognized