Ubuntu and 9xr Pro comm issues
Ubuntu and 9xr Pro comm issues
Hi,
I've experienced two problems on the 9x pro communicating with Xubuntu 14.4.04 LTS:
1. I tried to flash ersky9xr r218 from eepskye for linux through usb 2 but it didn't upload properly. When I turned it on again I got some dots on the lcd but no more. Flashed again with eepskye for windows and it got fixed
2. In bootloader mode when connected to usb (vers 2 or 3) 9xr pro got mounted (firmware and SD card) properly. It s ok to read from it, but when writing it stops after some files are written
Regards,
Daniel.
I've experienced two problems on the 9x pro communicating with Xubuntu 14.4.04 LTS:
1. I tried to flash ersky9xr r218 from eepskye for linux through usb 2 but it didn't upload properly. When I turned it on again I got some dots on the lcd but no more. Flashed again with eepskye for windows and it got fixed
2. In bootloader mode when connected to usb (vers 2 or 3) 9xr pro got mounted (firmware and SD card) properly. It s ok to read from it, but when writing it stops after some files are written
Regards,
Daniel.
Last edited by DanielGA on Sun Mar 20, 2016 11:28 am, edited 1 time in total.
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Ubuntu and 9xr Pro comm problems
It's difficult for mw to help here as I only have a copy of Ubuntu lite running in a virtual box under windows.
What version of the bootloader do you have on the radio. Note that the bootloader is not updated when you flash new firmware.
Mike.
What version of the bootloader do you have on the radio. Note that the bootloader is not updated when you flash new firmware.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: Ubuntu and 9xr Pro comm problems
Thanks Mike!
Bootloader version is 1.3
Bootloader version is 1.3
Re: Ubuntu and 9xr Pro comm problems
Mike, I thought of this problem a while ago.. There is no way people will know there is a newer bootloader version.
What about display a message at startup when there is a version with a new bootloader??
João
What about display a message at startup when there is a version with a new bootloader??
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: Ubuntu and 9xr Pro comm problems
I'm going to update the bootloader. Sorry, just a newbie question: is the bin file for the bootloader the same as for the firmware from er9x.com? Then turn on with sticks outwards and then flash bootloader, right? ...don't want to brick the Tx
Re: Ubuntu and 9xr Pro comm problems
Ok. I took the risk. Yes, it is the same bin file. Now I've bootloader 1.5 from r217. I'll check with Ubuntu again
Re: Ubuntu and 9xr Pro comm problems
You got it right
I think the latest bootloader is on the latest TEST version of the firmware. You can find it here
viewtopic.php?f=7&t=4676
Try the one called " ersky9xProvR219j.zip". Make sure you extract the right one for your radio
Current bootloader version is 2.0
João
I think the latest bootloader is on the latest TEST version of the firmware. You can find it here
viewtopic.php?f=7&t=4676
Try the one called " ersky9xProvR219j.zip". Make sure you extract the right one for your radio
Current bootloader version is 2.0
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: Ubuntu and 9xr Pro comm problems
Same problem with bootloader 1.5. It got stuck after 6mb (copying voices folder)
Re: Ubuntu and 9xr Pro comm problems
Did you try another SD Card?
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: Ubuntu and 9xr Pro comm problems
That's a good point. I'll try that
I've also installed bootloader 2.0 from r219 and same result. It stops after 6mb more or less. It might be related also on how ubuntu automount the 9xr pro. I'll look at it
I've also installed bootloader 2.0 from r219 and same result. It stops after 6mb more or less. It might be related also on how ubuntu automount the 9xr pro. I'll look at it
Re: Ubuntu and 9xr Pro comm problems
Ok. Changed the sd card coming with transmitter (4gb, type 6) by a samsung evo 64gb type 1 solved the problem.
The issue is that ubuntu is trying to write too fast for the sd card that comes with the transmitter which seems to be very slow
Adding a udev rule solves the problem with the default sd card:
Write text below, save and exit:
And restart udev:
It will slow down writing speed when 9xr pro is connected by usb
Will check if flashing is affected by the same problem
The issue is that ubuntu is trying to write too fast for the sd card that comes with the transmitter which seems to be very slow
Adding a udev rule solves the problem with the default sd card:
Code: Select all
sudo nano /etc/udev/rules.d/51-9xrpro.rules
Code: Select all
SUBSYSTEM=="block", ATTRS{vendor}=="ERSKY9X", RUN+="/bin/sh -c 'echo 64 > /sys/block/%k/device/max_sectors'"
Code: Select all
sudo restart udev
Will check if flashing is affected by the same problem
Re: Ubuntu and 9xr Pro comm problems
I have been trying to install eepskye on ubuntu. But it seems that it fails to install if eepe is installed. removed eepe and eepskye installed ok.. But now I can't install eepe I gives the same error..
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: Ubuntu and 9xr Pro comm problems
Which error gives ubuntu?
Re: Ubuntu and 9xr Pro comm problems
I can't recreate the failed flashing as eepskye throws the error 'Tx disk not mounted' when trying to flash
Re: Ubuntu and 9xr Pro comm problems
Solved. It is needed to mount the ERSKY_9X drive by clicking on it. In ubuntu when an external storage is plugged it is showed in devices list in folder navigation gui, but it is not really mounted. Clicking on it mounts and opens it. So, a newbie mistake again!! I keep learning about eepskye/ersky9xr. Now I've got eepskye fully working on ubuntu!! And again, thanks for the great work and support!!
Re: Ubuntu and 9xr Pro comm problems
jhsa wrote:I have been trying to install eepskye on ubuntu. But it seems that it fails to install if eepe is installed. removed eepe and eepskye installed ok.. But now I can't install eepe I gives the same error..
João
There is a problem with the package trying to overwrite files in /usr/bin/eepefiles (I guess language files). You can override this problem installing deb package from command line with force option. Open a terminal, go to the package folder and write:
Code: Select all
sudo dpkg --force-all -i eepe-i386.deb
Re: Ubuntu and 9xr Pro comm issues
That is the right way to do it.. open both eepe and eepskye and drag the models. Check everything afterwards of course..
Thank you for the installation explanation..
João
Thank you for the installation explanation..
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: Ubuntu and 9xr Pro comm issues
The SD card speed issue sounds as if it may have been the cause of my hassles with my Fedora box.
I took the easy way out and used a separate card reader to copy files to the SD card.
When you say you replaced your SD card, was it just the card or did you dig in and change the built-in reader?
I took the easy way out and used a separate card reader to copy files to the SD card.
When you say you replaced your SD card, was it just the card or did you dig in and change the built-in reader?
Re: Ubuntu and 9xr Pro comm issues
I changed the sd card in the 9xrpro sd port by a faster one to verify where the problem was (no changes on the 9xrpro sd card reader). No problem with this faster sd card in the 9xrpro port. Then I put back the slow sd card in the 9xrpro and added a udev rule to slow down the maximum amount of data transferred to the device (max_sectors) from 240 to 64. This reduces the speeds but avoid I/O errors for slow devices. Also there was no problem inserting the slow sd card into my laptop sd card reader with max_sectors to default 240, but this implies to remove the sd card from the 9xrpro for each transfer, which I wanted to avoid
Re: Ubuntu and 9xr Pro comm issues
Thanks. I'll try a faster card.