WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: tce-setup issued when system is already started makes usb to appear  (Read 3247 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Hi
On system already started I decide to add the media player "rage" to the sceboot.lst, after that instead of rebooting or sce-load rage I issued sudo tce-setup and I saw my other usb pendrive, that was already plugged in when I started the system, which is on another usb, to appear on the desktop together with the other partition I have on the usb where dCore is.
But still the other partition where the tce dir is doesn't appear on the dektop,
Code: [Select]
cat /tmp/wm_errors |grep sdc
ERR<10893>:eldbus lib/eldbus/eldbus_proxy.c:780 _props_get_all() Error getting all properties of org.freedesktop.UDisks2 /org/freedesktop/UDisks2/block_devices/sdc2, error message: org.enlightenment.DBus.Canceled Canceled by user.
systray_notifier_dbus_shutdownERR<10951>:eldbus lib/eldbus/eldbus_proxy.c:780 _props_get_all() Error getting all properties of org.freedesktop.UDisks2 /org/freedesktop/UDisks2/block_devices/sdc2, error message: org.enlightenment.DBus.Canceled Canceled by user.

dCore user

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: tce-setup issued when system is already started makes usb to appear
« Reply #1 on: July 17, 2015, 02:50:43 AM »
when enlightenment is already on if I issue
Code: [Select]
sudo udevadm triggerI see the usb pendrive icons appear on the desktop, so I added udevadm trigger to bootlocal.sh
« Last Edit: July 17, 2015, 03:14:56 AM by jls_legalize »
dCore user

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: tce-setup issued when system is already started makes usb to appear
« Reply #2 on: July 17, 2015, 08:34:46 PM »
I will add this to the enlightenment startup script.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: tce-setup issued when system is already started makes usb to appear
« Reply #3 on: October 28, 2015, 07:13:38 AM »
Hi
Please add it to e20 startup script.
thanks
dCore user

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: tce-setup issued when system is already started makes usb to appear
« Reply #4 on: October 28, 2015, 12:19:30 PM »
ok, done.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: tce-setup issued when system is already started makes usb to appear
« Reply #5 on: October 28, 2015, 12:42:44 PM »
Thank you
dCore user

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: tce-setup issued when system is already started makes usb to appear
« Reply #6 on: October 29, 2015, 07:56:20 AM »
Hi
it doesn't function, usb appears only if I put that command in bootlocal.sh.
dCore user

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: tce-setup issued when system is already started makes usb to appear
« Reply #7 on: October 30, 2015, 06:20:27 AM »
Hi
Sorry, I could have tried myself before asking to modify the repo, but I just trusted you JW. SO I think you can remove the line from deb2sce, and maybe help me finding another solution.
Thanx
dCore user

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: tce-setup issued when system is already started makes usb to appear
« Reply #8 on: October 30, 2015, 12:13:14 PM »
It's all good.  In this case, a command needs to be run at some point after the startup script is executed. 

We may have to add another type of startup script that is run "post booting" or at some point during boot that will let things like this - and the adduser situation with transmission-daemon - to work.  I will ponder it.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: tce-setup issued when system is already started makes usb to appear
« Reply #9 on: October 30, 2015, 07:51:17 PM »
Does loading the e20 SCE once already booted work as expected with the icons? I am trying to find out just where the udevadm in the e20 deb2sce starup script works. 

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: tce-setup issued when system is already started makes usb to appear
« Reply #10 on: October 31, 2015, 02:43:08 AM »
Hi. The udevadm command in the startup script does nothing. In bootlocal makes the usb already  inserted before boot appear to the desktop. When the DE is already started newly inserted usb appear without the need of the command.
« Last Edit: October 31, 2015, 02:49:36 AM by jls_legalize »
dCore user

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: tce-setup issued when system is already started makes usb to appear
« Reply #11 on: October 31, 2015, 08:03:28 PM »
There is a new release candidate cut that changes the timing of  the final udevadm command in tc-config.  Please test with loading e20 on boot.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: tce-setup issued when system is already started makes usb to appear
« Reply #12 on: November 01, 2015, 08:57:37 AM »
Hi
It works!
Please remove the udevadm line from e20 deb2sce.
Thanks
« Last Edit: November 01, 2015, 08:59:45 AM by jls_legalize »
dCore user

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: tce-setup issued when system is already started makes usb to appear
« Reply #13 on: November 01, 2015, 01:50:10 PM »
Ok, done.