Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => Topic started by: jls on July 15, 2015, 02:37:15 PM

Title: tce-setup issued when system is already started makes usb to appear
Post by: jls on July 15, 2015, 02:37:15 PM
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.

Title: Re: tce-setup issued when system is already started makes usb to appear
Post by: jls on July 16, 2015, 11:50:43 PM
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
Title: Re: tce-setup issued when system is already started makes usb to appear
Post by: Jason W on July 17, 2015, 05:34:46 PM
I will add this to the enlightenment startup script.
Title: Re: tce-setup issued when system is already started makes usb to appear
Post by: jls on October 28, 2015, 04:13:38 AM
Hi
Please add it to e20 startup script.
thanks
Title: Re: tce-setup issued when system is already started makes usb to appear
Post by: Jason W on October 28, 2015, 09:19:30 AM
ok, done.
Title: Re: tce-setup issued when system is already started makes usb to appear
Post by: jls on October 28, 2015, 09:42:44 AM
Thank you
Title: Re: tce-setup issued when system is already started makes usb to appear
Post by: jls on October 29, 2015, 04:56:20 AM
Hi
it doesn't function, usb appears only if I put that command in bootlocal.sh.
Title: Re: tce-setup issued when system is already started makes usb to appear
Post by: jls on October 30, 2015, 03: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
Title: Re: tce-setup issued when system is already started makes usb to appear
Post by: Jason W on October 30, 2015, 09:13:14 AM
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.
Title: Re: tce-setup issued when system is already started makes usb to appear
Post by: Jason W on October 30, 2015, 04: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. 
Title: Re: tce-setup issued when system is already started makes usb to appear
Post by: jls on October 30, 2015, 11:43:08 PM
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.
Title: Re: tce-setup issued when system is already started makes usb to appear
Post by: Jason W on October 31, 2015, 05: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.
Title: Re: tce-setup issued when system is already started makes usb to appear
Post by: jls on November 01, 2015, 05:57:37 AM
Hi
It works!
Please remove the udevadm line from e20 deb2sce.
Thanks
Title: Re: tce-setup issued when system is already started makes usb to appear
Post by: Jason W on November 01, 2015, 10:50:10 AM
Ok, done.