[Solved] Odroid XU4 USB no longer works after update

Moderators: mdrjr, odroid

[Solved] Odroid XU4 USB no longer works after update

Unread postby freefall99 » Thu May 17, 2018 11:03 am

After running an update on my XU4 16.04 Mate:

apt-get -y update && apt-get -y upgrade && apt-get -y dist-upgrade && apt-get -y autoremove && apt-get -y autoclean

USB devices (keyboard, mouse, WiFi module) are getting power, but are not having their inputs detected/processed. For a split second as mate starts, if you are moving the mouse, it moves a fraction before it no longer moves.

Any suggestions as to how to fix this?
Last edited by freefall99 on Mon May 21, 2018 6:46 pm, edited 1 time in total.
freefall99
 
Posts: 62
Joined: Fri May 17, 2013 2:56 pm
Location: Sydney
languages_spoken: english
ODROIDs: odroid-u2, odroid-u3 (x6), odroid-xu4 (x4), odroid-c1+, odroid-c2 (x4)

Re: Odroid XU4 USB no longer works after update

Unread postby odroid » Thu May 17, 2018 11:11 am

Do you remember the kernel version before and after updating?
Can you access SSH over Ethernet?
User avatar
odroid
Site Admin
 
Posts: 28497
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Odroid XU4 USB no longer works after update

Unread postby rooted » Thu May 17, 2018 11:24 am

Don't do '-y' so you can see what is being updated.
User avatar
rooted
 
Posts: 5307
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: Odroid XU4 USB no longer works after update

Unread postby freefall99 » Thu May 17, 2018 11:58 am

I currently don't have access to ethernet, but will have tonight, so will check then.

Not adding "-y" would not have stopped this issue (unless the update was called "this will break usb") as the problem only appeared today after I rebooted
freefall99
 
Posts: 62
Joined: Fri May 17, 2013 2:56 pm
Location: Sydney
languages_spoken: english
ODROIDs: odroid-u2, odroid-u3 (x6), odroid-xu4 (x4), odroid-c1+, odroid-c2 (x4)

Re: Odroid XU4 USB no longer works after update

Unread postby freefall99 » Thu May 17, 2018 12:14 pm

Found a work around to get the information. Flashed a new SD Card with the 18.04 image and can read the 16.04 SD Card.

Old Kernel was 4.14.37-130

new kernel is 4.14.49-131

FYI, all the USB devices work just fine on the 18.04 image.
freefall99
 
Posts: 62
Joined: Fri May 17, 2013 2:56 pm
Location: Sydney
languages_spoken: english
ODROIDs: odroid-u2, odroid-u3 (x6), odroid-xu4 (x4), odroid-c1+, odroid-c2 (x4)

Re: Odroid XU4 USB no longer works after update

Unread postby rooted » Thu May 17, 2018 12:23 pm

freefall99 wrote:I currently don't have access to ethernet, but will have tonight, so will check then.

Not adding "-y" would not have stopped this issue (unless the update was called "this will break usb") as the problem only appeared today after I rebooted
I'm done, good luck fixing it. You realize we spend our personal free time trying to help only to get responses such as this.
User avatar
rooted
 
Posts: 5307
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: Odroid XU4 USB no longer works after update

Unread postby freefall99 » Thu May 17, 2018 12:28 pm

rooted, I'm sorry this offended you, but it was not an attack, I was just stating that unless this was a very obvious problem with the update, not added the -y would not have stopped this issue from happening.
freefall99
 
Posts: 62
Joined: Fri May 17, 2013 2:56 pm
Location: Sydney
languages_spoken: english
ODROIDs: odroid-u2, odroid-u3 (x6), odroid-xu4 (x4), odroid-c1+, odroid-c2 (x4)

Re: Odroid XU4 USB no longer works after update

Unread postby rooted » Thu May 17, 2018 1:32 pm

I didn't say it would stop it. You would have seen what all was updated and if it was successful, blindly agreeing to whatever update that comes along doesn't always work out.
User avatar
rooted
 
Posts: 5307
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: Odroid XU4 USB no longer works after update

Unread postby freefall99 » Thu May 17, 2018 10:33 pm

Okay. I know these updates downloaded and installed correctly as I watched the install run. I have about 60 devices to update, so I automate it a bit, but run it on this one and a few other Odroid types manually to test it all out first.

Got access to the system via Ethernet and ssh. The BBC server that starts with this also allowed me to login. Run the update script again to see if that gets anything to fix it. Will check it out in the morning.
freefall99
 
Posts: 62
Joined: Fri May 17, 2013 2:56 pm
Location: Sydney
languages_spoken: english
ODROIDs: odroid-u2, odroid-u3 (x6), odroid-xu4 (x4), odroid-c1+, odroid-c2 (x4)

Re: Odroid XU4 USB no longer works after update

Unread postby rooted » Thu May 17, 2018 10:48 pm

That's different, I understand using a bit of automation. But you should verify with a single device first that everything is okay before committing.

It is likely the kernel since it was updated, I tried to look at the history last night but ran out of time.
User avatar
rooted
 
Posts: 5307
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: Odroid XU4 USB no longer works after update

Unread postby odroid » Thu May 17, 2018 11:59 pm

The latest Kernel version should be 4.14.40-137.
If your boot partition was corrupted, some system files couldn't be upgraded correctly and it might break the USB functionality.

Did you follow this instruction to update the system software?
https://wiki.odroid.com/odroid-xu4/os_i ... st-upgrade
User avatar
odroid
Site Admin
 
Posts: 28497
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Odroid XU4 USB no longer works after update

Unread postby freefall99 » Fri May 18, 2018 3:28 pm

Yes I've done all the tasks on that page. When I do an apt install linux-image-xu3, it says that I am on the latest version already 4.14.40-131 (the 4.14.49-131 was a typo before). Tried adding the USB quirks into the boot.ini file, still no luck
freefall99
 
Posts: 62
Joined: Fri May 17, 2013 2:56 pm
Location: Sydney
languages_spoken: english
ODROIDs: odroid-u2, odroid-u3 (x6), odroid-xu4 (x4), odroid-c1+, odroid-c2 (x4)

Re: Odroid XU4 USB no longer works after update

Unread postby odroid » Fri May 18, 2018 11:59 pm

If you run Ubuntu 18.04 image and all the USB and Ethernet ports are fine now?
Only the upgrade broke the USB functionality?
User avatar
odroid
Site Admin
 
Posts: 28497
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Odroid XU4 USB no longer works after update

Unread postby freefall99 » Sat May 19, 2018 8:11 am

That's correct. Running a brand new 18.04 (flashed from image) and the USB and Ethernet are fine. 16.04 USB is broken after update.
freefall99
 
Posts: 62
Joined: Fri May 17, 2013 2:56 pm
Location: Sydney
languages_spoken: english
ODROIDs: odroid-u2, odroid-u3 (x6), odroid-xu4 (x4), odroid-c1+, odroid-c2 (x4)

Re: Odroid XU4 USB no longer works after update

Unread postby odroid » Mon May 21, 2018 8:37 am

I can't reproduce the issue.
I'm running the update Kernel 4.14.40 with Ubuntu 16.04 and there is no USB problem.
User avatar
odroid
Site Admin
 
Posts: 28497
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Odroid XU4 USB no longer works after update

Unread postby freefall99 » Mon May 21, 2018 9:29 am

If you would like, I can generate an image for you, but I think I might need to admit defeat for this and go ahead and create an 18.04 image with all the required software and roll that out
freefall99
 
Posts: 62
Joined: Fri May 17, 2013 2:56 pm
Location: Sydney
languages_spoken: english
ODROIDs: odroid-u2, odroid-u3 (x6), odroid-xu4 (x4), odroid-c1+, odroid-c2 (x4)

Re: Odroid XU4 USB no longer works after update

Unread postby odroid » Mon May 21, 2018 11:18 am

I've just flashed "ubuntu-16.04.3-4.14-mate-odroid-xu4-20171212.img.xz" image and updated it with this instruction.
https://wiki.odroid.com/odroid-xu4/os_i ... st-upgrade
USB ports are working fine with the Kernel version is 4.14.40 now.

I think your device-tree file in your boot partition seemed to be corrupted in the update process probably.
User avatar
odroid
Site Admin
 
Posts: 28497
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Odroid XU4 USB no longer works after update

Unread postby freefall99 » Mon May 21, 2018 12:43 pm

Any hints as to how I can generate an un-corrupted tree?

Is that the /media/boot files or the /boot files?
freefall99
 
Posts: 62
Joined: Fri May 17, 2013 2:56 pm
Location: Sydney
languages_spoken: english
ODROIDs: odroid-u2, odroid-u3 (x6), odroid-xu4 (x4), odroid-c1+, odroid-c2 (x4)

Re: Odroid XU4 USB no longer works after update

Unread postby odroid » Mon May 21, 2018 12:58 pm

Kernel related files should be placed in /media/boot which is mounted with "boot"(FAT) partition.
https://wiki.odroid.com/odroid-xu4/soft ... tion_table

If the boot partition was corrupted before updating process, Kernel image(zimage) or DeviceTree file couldn't be written correctly.
User avatar
odroid
Site Admin
 
Posts: 28497
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Odroid XU4 USB no longer works after update

Unread postby rooted » Mon May 21, 2018 2:02 pm

Could you check to see if the boot partition is full?
User avatar
rooted
 
Posts: 5307
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: Odroid XU4 USB no longer works after update

Unread postby freefall99 » Mon May 21, 2018 4:14 pm

No, partition is not full, only 18% used.

Interesting discovery. I added a cron job to switch to vt1 after boot. With current /media/boot files, keyboard and mouse do not work on terminal or x. Copied boot files from another earlier 16.04 install, and on boot keyboard and mouse do not work in X windows, but work on the console (mouse via gpm).
freefall99
 
Posts: 62
Joined: Fri May 17, 2013 2:56 pm
Location: Sydney
languages_spoken: english
ODROIDs: odroid-u2, odroid-u3 (x6), odroid-xu4 (x4), odroid-c1+, odroid-c2 (x4)

Re: Odroid XU4 USB no longer works after update

Unread postby freefall99 » Mon May 21, 2018 6:43 pm

SOLVED.

Thanks for all the help and hints.

For anyone else with this issue, here is what I did to fix it.

1) Boot up and say into the system
2) re-install install linux-image-xu3
apt-get --reinstall install linux-image-xu3
3) re-install the latest kernel. For me this was linux-image-4.14.40-131
apt-get --reinstall install linux-image-4.14.40-131
4) Reboot

Found the most current one by running the following:
aptitude search linux-image | grep ^i

Not sure if you need to re-install both, but the linux-image-4.14.40-131 was the one that triggered the kernel to be installed to the /media/boot partition.
freefall99
 
Posts: 62
Joined: Fri May 17, 2013 2:56 pm
Location: Sydney
languages_spoken: english
ODROIDs: odroid-u2, odroid-u3 (x6), odroid-xu4 (x4), odroid-c1+, odroid-c2 (x4)


Return to Ubuntu

Who is online

Users browsing this forum: ptrick and 4 guests