eePe and Ubuntu 12.04 - Permission problems
Re: eePe and Ubuntu 12.04 - Permission problems
I also installed eepe in wine.. will try it. As it is the windows version it might have the older avrdude. will post in a minute.
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: eePe and Ubuntu 12.04 - Permission problems
well not sure about how wine handles usb passthrough.
I do know that virt-manager/libvirt/kvm can properly do usb passthrough.
but we are talking about different technologies here.
my questions would be:
1. what version of linux?
2. what version of avrdude?
3. Do you get a 'avrdude mismatch at 0x100' when you attempt to write a FLASH file.?
if yes to number 3, then review:
viewtopic.php?f=94&t=5036
I do know that virt-manager/libvirt/kvm can properly do usb passthrough.
but we are talking about different technologies here.
my questions would be:
1. what version of linux?
2. what version of avrdude?
3. Do you get a 'avrdude mismatch at 0x100' when you attempt to write a FLASH file.?
if yes to number 3, then review:
viewtopic.php?f=94&t=5036
Re: eePe and Ubuntu 12.04 - Permission problems
I'm happy to report that there is a way of using eepe normally on a linux machine..
I just read eeprom and flashed one of my radios using eepe installed in "Wine" All it was needed was to do that little dance of adding the user (me) to the dialout group, and configure the port "-P /dev/ttyUSB0" in the extra arguments..
When eepe installs in "Wine", also puts a copy of the good avrdude in the installation folder, and points to it.
So guys, if you don't have wine installed, it's time to get it
João
I just read eeprom and flashed one of my radios using eepe installed in "Wine" All it was needed was to do that little dance of adding the user (me) to the dialout group, and configure the port "-P /dev/ttyUSB0" in the extra arguments..
When eepe installs in "Wine", also puts a copy of the good avrdude in the installation folder, and points to it.
So guys, if you don't have wine installed, it's time to get it
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: eePe and Ubuntu 12.04 - Permission problems
Ok guys, some more news.. You might not need wine.. I just read and flashed the fw using the linux instalation of eepe.
I created a folder in my "Home/joao" folder called "Avrdude". Then copied the avrdude files from the wine installation (please find a zip file attached to this post), 3 files I suppose, a DLL, the config, and the exe file, into that folder. Started the linux installation of eepe, and pointed it to the avrdude.exe file I just copied.. It worked.. There is only one thing that I don't know if it is a problem or not.. Here is a copy of the avrdude output. Please look at the highlighted line.
João
I created a folder in my "Home/joao" folder called "Avrdude". Then copied the avrdude files from the wine installation (please find a zip file attached to this post), 3 files I suppose, a DLL, the config, and the exe file, into that folder. Started the linux installation of eepe, and pointed it to the avrdude.exe file I just copied.. It worked.. There is only one thing that I don't know if it is a problem or not.. Here is a copy of the avrdude output. Please look at the highlighted line.
I hope this helps.=================================================================================
Started AVRDUDE
/home/joao/Avrdude/avrdude.exe -c stk500v2 -p m128 -P /dev/ttyUSB0 -U eeprom:r:/tmp/temp.hex:i
=================================================================================
fixme:comm:set_queue_size insize 1024 outsize 1024 unimplemented stub
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude.exe: Device signature = 0x1e9702
avrdude.exe: reading eeprom memory:
Reading | ################################################## | 100% 0.57s
avrdude.exe: writing output file "/tmp/temp.hex"
avrdude.exe done. Thank you.
=================================================================================
AVRDUDE done - SUCCESSFUL
=================================================================================
João
- Attachments
-
- Avrdude_eepe.zip
- (149.31 KiB) Downloaded 423 times
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: eePe and Ubuntu 12.04 - Permission problems
Glad you got your problem resolved. That is what is important
This is definitely NOT how I would work through this problem but I will let it go as there is more than one way to skin a cat
but I wish to comment on this:
I installed wine ( and its 600MB of dependencies) to verify .
to prove it to yourself remove wine and see what happens. Note I was able to install wine with 'apt-get install wine' but to remove it I had to 'apt-get purge wine1.6'
while I'm at it I would like to comment that the Ubuntu linux .deb files at https://code.google.com/p/eepe/ do not and should not include the windows version of avrdude. More than likely you have compiled from source which does include a very old windows version of avrdude (5.10) . It is this version that is included with the windows builds of eepe.
This is definitely NOT how I would work through this problem but I will let it go as there is more than one way to skin a cat
but I wish to comment on this:
you cant run a windows exe on linux without something like wine.jhsa wrote:Ok guys, some more news.. You might not need wine..
I installed wine ( and its 600MB of dependencies) to verify .
to prove it to yourself remove wine and see what happens. Note I was able to install wine with 'apt-get install wine' but to remove it I had to 'apt-get purge wine1.6'
Code: Select all
rperkins@htpc:~/src/eepe/winbuildessentials$ ./avrdude.exe
bash: ./avrdude.exe: cannot execute binary file: Exec format error
Re: eePe and Ubuntu 12.04 - Permission problems
Well, You would know that better than me The fact is that I called the avrdude.exe from within the linux installation of eepe and it is working, with that little line that I don't know what it means..
But even without this we know now that it is possible to run eepe in "Wine", so no more problems to run eepe in linux. We don't have to be waiting tfor the avrdude devs to fix the problem.. we can continue to use it.
João
But even without this we know now that it is possible to run eepe in "Wine", so no more problems to run eepe in linux. We don't have to be waiting tfor the avrdude devs to fix the problem.. we can continue to use it.
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: eePe and Ubuntu 12.04 - Permission problems
I saw several fixme's when I ran avrdude.exe using wine on linux. I googled your fixme and found this outdated postjhsa wrote: fixme:comm:set_queue_size insize 1024 outsize 1024 unimplemented stub
https://www.winehq.org/pipermail/wine-u ... 24606.html
the bottom line is that message is a wine message.
I dont have any more information about that.
It was a creative way of resolving your issue. I never would have went down that path.
In the post regarding the avrdude 6.x issue I have provided a .deb for 64 bit linux systems. ( and we havent even verified that you have been bitten by that bug). That would be my 'fix' until avrdude devs release a new version and the new version is picked up by the linux distros. I expect that to occur within a 6-18 month timeframe. is was a very narrow bug that only affects M64 and M128 using usbasp programmers.
Re: eePe and Ubuntu 12.04 - Permission problems
The good thing then is that we have a couple of possibilities, meaning that people will be able to use eepe in Linux to backup and update their radios..
And for me one more step in the right direction to drop windows completely
João
And for me one more step in the right direction to drop windows completely
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: eePe and Ubuntu 12.04 - Permission problems
And thank you.. wouldn't have done it without your help.. Didn't know about the "Groups" thingy
João
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: eePe and Ubuntu 12.04 - Permission problems
you're welcome.
It is a jump coming from a windows system where there is typically only one 'user' and going to a linux system that historically was ' many users'.
When I first came across the 'dialout' group I was thinking, OF course I want to use the modem .
It is a jump coming from a windows system where there is typically only one 'user' and going to a linux system that historically was ' many users'.
When I first came across the 'dialout' group I was thinking, OF course I want to use the modem .