Tiny Core Linux

Tiny Core Base => CorePlus => Topic started by: bushyiii on August 17, 2018, 05:31:12 PM

Title: Dead Cursor
Post by: bushyiii on August 17, 2018, 05:31:12 PM
This is strange situation.  I have two lenovo lightweight laptops: Ideapad 110S-11IBR and a Ideapad 120s-14IAP.
Coreplus has been installed on a 8gig flash drive. When I boot using the flash drive on the 110S everything works perfectly, I get the exact same desktop  and applications on 120S with one exception, the cursor is displayed but inoperative.  I can use the keyboard to exercise the applications, they all work, it's just a dead cursor.

I am posting this using the 120S   using a different Linux OS.  They track pad controls the mouse perferctly.
Title: Re: Dead Cursor
Post by: bushyiii on August 17, 2018, 06:55:27 PM
I attached a USb wireless mouse and my cursor came to life so the problem lies with my track pad not working under core plus.  might there be something something unique to the 120S track pad from the 110S track pad?  Is there some additional app that might be necessary to enable the track pad?
Title: Re: Dead Cursor
Post by: Pats on August 17, 2018, 07:46:08 PM
1) In Windoz , try Device Trouble shooting option

2) In TCL : Try unclutter command and its other options  :
 
Code: [Select]
unclutter -idle 0

 3) If it does not solve , try :
Code: [Select]
xinput list
If you find output something like DualPoint Stick id=12 slave pointer (2) etc , then try disabling mouse for the time being :
Code: [Select]
xinput disable 12

 But generally the cursor and mouse problem , resolve itself on its own , if pointer and keyboard section in your xorg.conf are configured correctly or a latest device driver is installed in linux.
Title: Re: Dead Cursor
Post by: bushyiii on August 17, 2018, 11:16:00 PM
Neither command did anything, maybe I just don't understand how to execute them or maybe they need to be used within a certain directory.  In any event here is what happened when I tried them:

tc@box:~$ unclutter -idle 0
sh: unclutter: not found
tc@box:~$ xinput list
sh: xinput: not found
tc@box:~$

Title: Re: Dead Cursor
Post by: Rich on August 17, 2018, 11:27:24 PM
Hi bushyiii
unclutter  can be found in  unclutter.tcz.
xinput  can be found in  Xorg-7.7-bin.tcz
Title: Re: Dead Cursor
Post by: Pats on August 18, 2018, 02:00:07 AM
For those who do not know :
A simple but a crude way to check for a required .tcz for external linux command in TCL , open a concerned repository page in a browser . For example :
 http://distro.ibiblio.org/tinycorelinux/3.x/tcz/index_nojs.html

Use find on page feature , type the name of external command. Ex: unclutter , and search.
The row with unclutter will be highlighted and in the right side the required .tcz will be found.
There are other ways, to know abt such things. For Ex: In Debian and its derivatives :
To know  dependencies of a particular package.To list what a package use :
 
Code: [Select]
apt-cache depends vim
There are other commands to achieve the same task depending on linux distro , pl check which one works for you :
Code: [Select]
pactree vim
tree vim

To retrieve one or more public keys from a public keyserver , use :
Code: [Select]
  whatis ssh-import-id
There are other internal comands as well like : which etc. But that is a diff topic. :)
Title: Re: Dead Cursor
Post by: curaga on August 18, 2018, 04:30:19 AM
might there be something something unique to the 120S track pad from the 110S track pad?  Is there some additional app that might be necessary to enable the track pad?
Yes, some trackpads do not send mouse events. For those you need to install Xorg and the synaptics driver.
Title: Re: Dead Cursor
Post by: bushyiii on August 18, 2018, 10:13:07 PM
@ curaga
The only synaptic driver in the APPS utility is "xf86-input-synaptics.tcz"  and it fails to download. 
at http://distro.ibiblio.org/tinycorelinux/3.x/tcz/index_nojs.html is this file synaptics.tcz.dep
Extracting it gets the message that Xorg-7.4.tcz: not found

tc@box:/mnt/sda1/tce/optional$ sh synaptics.tcz.dep
synaptics.tcz.dep: line 1: Xorg-7.4.tcz: not found

xorg 7.7 is currently on the system is 7.4 necessary for the synaptic driver to be extracted?
Title: Re: Dead Cursor
Post by: Rich on August 18, 2018, 10:28:52 PM
Hi bushyiii
Quote
The only synaptic driver in the APPS utility is "xf86-input-synaptics.tcz"  and it fails to download. 
at http://distro.ibiblio.org/tinycorelinux/3.x/tcz/index_nojs.html is this file synaptics.tcz.dep ...
Why are you downloading from the TC3 repository? You can't just blindly mix and match extensions from different versions
of Tinycore. Aren't you running TC9? There is a  xf86-input-synaptics.tcz  extension available in the TC9 repository.
Title: Re: Dead Cursor
Post by: Rich on August 18, 2018, 10:36:43 PM
Hi bushyiii
What do you get for:
Code: [Select]
version
Title: Re: Dead Cursor
Post by: bushyiii on August 18, 2018, 10:47:23 PM
Version is TC9

As I stated in my last posted  "xf86-input-synaptics.tcz"  fails to download.
I tried again, just this minute to download and chose ON Boot the status is failed
here's what's in the status bar: .xf86-input-synaptics.tcz Failed.
Title: Re: Dead Cursor
Post by: Rich on August 18, 2018, 10:53:43 PM
Hi bushyiii
What does this return:
Code: [Select]
tce-load -w -i xf86-input-synaptics
Title: Re: Dead Cursor
Post by: bushyiii on August 18, 2018, 11:17:53 PM
It says its already installed.
So I rebooted to see if the track pad would now work since xorg and synaptic are installed.  Unfortunately it has had no effect, the track pad is still dead, it won't move the cursor.
Title: Re: Dead Cursor
Post by: Pats on August 18, 2018, 11:30:02 PM
Hi bushyiii ,
EDIT :
Try these links for some discusions which may be related to your problem, as it can be a hardware problem also :

1) *https://forum.toshiba.eu/showthread.php?84484-Portege-Z30-A-191-the-cursor-starts-moving-by-itself*
2) *http://forum.tinycorelinux.net/index.php?topic=20665.0*

Quote
The only synaptic driver ...  ~snip- ...fails to download. 
at http://distro.ibiblio.org/tinycorelinux/3.x/tcz/index_nojs.html is this file synaptics.tcz.dep ...
.

I think due to confusion it may be happening. The abv 3.x repo link was given as an example for searching a required .tcz for unclutter command reference in previous post.
 For dnloading synaptics.tcz as curaga has suggested, you should use *http://tinycorelinux.net/9.x/x86/tcz/* repo in Apps utility since you are using latest TC9.x version. So change the repo to 9.x, if you have changed it to 3.x repo. Hope this clarifies !
Title: Re: Dead Cursor
Post by: coreplayer2 on August 18, 2018, 11:41:07 PM
bushyiii,    download failed is a fairly common problem

The best fix I know of is to delete any previous copies of the extension, also it's md5.txt file, its dep file and all extensions listed in the dep file and any dependencies listed in their dep file, including all md5.txt files.   You'll often find it was a problem of a remnant md5.txt file from a previous failed install.

delete these files
xf86-input-synaptics.tcz
xf86-input-synaptics.tcz.dep
xf86-input-synaptics.tcz.md5.txt
libevdev.tcz
libevdev.tcz.md5.txt
 
try to download xf86-input-synaptics.tcz again
Using APPS or tce-load -wi xf86-input-synaptics.tcz, or tce-ab > search



Title: Re: Dead Cursor
Post by: coreplayer2 on August 19, 2018, 12:18:52 AM
bushyiii,

this particular issue is a bad md5 file, maybe it needs updating..?
Code: [Select]
tc@box:~$ tce-load -wi xf86-input-synaptics
xf86-input-synaptics.tcz.dep OK
Downloading: xf86-input-synaptics.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
xf86-input-synaptics 100% |******************************************************************************************************************************************************| 40960   0:00:00 ETA
xf86-input-synaptics.tcz: FAILED
md5sum: WARNING: 1 of 1 computed checksums did NOT match
Error on xf86-input-synaptics.tcz
tc@box:~$

however this shows the extension was downloaded, so try
Code: [Select]
tce-load -i xf86-input-synapticsThe extension may load successfully, if not downloading manually maybe the only option until the md5 sum is updated..

There's a lot to absorb if this is your first encounter with tinycore, so here's a tip to help remember the address to download extensions and read the info file etc etc

At the top of tinycore forum web site there are four buttons:  Welcome | FAQ | Downloads | Wiki   
Choose the Downloads button, then under "extensions" select "Browse TCZ's"

in the browser address bar you'll find the current address for all x86 extensions
which contains the latest version's extensions, today this happens to be
http://tinycorelinux.net/9.x/x86/tcz/

lets say you want to read the info file for xf86-input-synaptics extension,  we simply add the name of the extension including tcz.info to the address, which looks like this and hit Enter
http://tinycorelinux.net/9.x/x86/tcz/xf86-input-synaptics.tcz.info

many folks make a mistake when downloading extensions manually, they forget the dep file and all the files listed in that dep file and any deps of those listed deps, etc, etc.

After reading the info file (which BTW is also shown by default when selecting extensions in APPS) you might choose to download your desired extension,  I'd recommend tce-load -wi xf86-input-synaptics or tce-ab > search or APPS.  However if you insist to download in the browser which is likely the only option to get xf86-input-synaptics.tcz, then you can download the required files directly from your browser

http://tinycorelinux.net/9.x/x86/tcz/xf86-input-synaptics.tcz
http://tinycorelinux.net/9.x/x86/tcz/xf86-input-synaptics.tcz.dep
http://tinycorelinux.net/9.x/x86/tcz/xf86-input-synaptics.tcz.md5.txt
http://tinycorelinux.net/9.x/x86/tcz/libevdev.tcz
http://tinycorelinux.net/9.x/x86/tcz/libevdev.tcz.md5.txt

copy to your tce/optional directory and load
Code: [Select]
tce-load -i xf86-input-synaptics
good luck


Title: Re: Dead Cursor
Post by: bushyiii on August 19, 2018, 12:24:39 AM
@coreplayer

All the files you listed are removed.  Tried APPS and the download status again said failed.  I then tried using the terminal using tce-load and got back that it was already installed.  So maybe the APPS status message is bogus.   In any event it hasn't helped the problem.
Title: Re: Dead Cursor
Post by: Rich on August 19, 2018, 12:32:02 AM
Hi bushyiii
Delete the files again and then execute:
Code: [Select]
tce-load -w -i xf86-input-synaptics That should give a more detailed error message.
Title: Re: Dead Cursor
Post by: coreplayer2 on August 19, 2018, 12:32:53 AM
Hi bushyiii,

sorry, please read my post again which explains the problem and how to resolve the issue

APPS, tce-load and tce-ab will download all required files (its a problem with the md5 file

simply load xf86-input-synaptics
Code: [Select]
tce-load -i xf86-input-synaptics
this time it should succeed
Title: Re: Dead Cursor
Post by: bushyiii on August 19, 2018, 12:52:41 AM
This is my first taste of Tiny Core, obviously this is the beginning of the journey.  I am so very impressed with everyone's willingness to help me. I am done for tonight,,, will pick this up again in the morning.
Title: Re: Dead Cursor
Post by: Pats on August 19, 2018, 01:01:57 AM
If I were new, I would have either tried :

1) I would have tested my Laptop and new hardware with a recent Live CD distro like Debian, Arch , Knoppix etc . If all my hardware like Trackball , pad , keyboard etc  work perfectly, then I assume some problem in TCL ext or drivers. and then try option  2. ...

2) Format the TC partition and install a fresh copy of TC9 and then will try  the curaga solution of xorg and synaptics etc. ... Just my view !
Title: Re: Dead Cursor
Post by: curaga on August 19, 2018, 04:06:01 AM
md5sum corrected.
Title: Re: Dead Cursor
Post by: bushyiii on August 31, 2018, 12:28:24 PM
If I were new, I would have either tried :

1) I would have tested my Laptop and new hardware with a recent Live CD distro like Debian, Arch , Knoppix etc . If all my hardware like Trackball , pad , keyboard etc  work perfectly, then I assume some problem in TCL ext or drivers. and then try option  2. ...

2) Format the TC partition and install a fresh copy of TC9 and then will try  the curaga solution of xorg and synaptics etc. ... Just my view !

@Pats:
I am searching for what I consider the best distro for my laptop.  I have so far tried puppy, bunsenlabs, Mint, mx-17, antix and bodhi.  I like TinyCore the best.  Every hardware function works perfectly on all the other distros, Tinycore is the only one that isn't using the trackpad.  I will try creating a new bootable thumb drive, clear anything on local storage and give it a try again.
Title: Re: Dead Cursor
Post by: Pats on September 01, 2018, 04:35:01 AM
@ bushyiii     
Quote
... I am searching for what I consider the best distro for my laptop. .. ~snip~ ..    I like TinyCore the best... I will try creating a new bootable thumb drive, clear anything on local storage and give it a try again.

Thats good decision to try...and yes , dafinately TCL is quick, simple and best distro around but sometime needs some adjustment and little bit tinkering as per users need.... May be Rich, jaunito, curaga will be able to help you, if that perticular needed driver for your hardware is available / included in the repo or not. But do post the results for other new users , if successful.

... By the way, in my earlier days , out of curiousity , I used to copy-paste some required driver / files from other distros to corresponding TCL folders creating new symlinks and changes  etc and with try/error method was  successful in solving some of my modem / mouse /keyboard problems - only caveat was linux kernel should be same !.
... And after success , I used to create new .tcz for regular use ! Well , I wont suggest it you, as it requires lot of tinkering .
Best Luck ! :)
Title: Re: Dead Cursor
Post by: bushyiii on September 01, 2018, 03:15:32 PM
So something peculiar is now happening.  In booting from a Coreplus CD or Flash Drive, regardless of which Coreplus menu item I choose I get the same experience, it only boots to a command prompt,never the expected DE.  I thought maybe entering something at the command line like startx would start the gui but it doesnt.
Title: Re: Dead Cursor
Post by: Pats on September 01, 2018, 05:43:40 PM
Quote
...it only boots to a command prompt,never the expected DE.
...While installing , If you see a TCL boot screen,  press  return to boot TCL . If TCL boots and you only see a command prompt , there two posible reasons are :
1) You may still have a *cde* rather than a *tce* directory on the pendrive. Check and rename if necessary.

 2) You have a slow USB device. You need to use the command line parameter 'waitusb=5'.  Choose this option from installation menu , if available or append it to boot prompt !

Pl read core book or wiki , for more information on waitsub and UUID command and parameters. 
Hope your installation CD / DVD is not corrupted !
Title: Re: Dead Cursor
Post by: Juanito on September 02, 2018, 02:26:38 AM
You could try reading the first line of ~/.xsession and entering that as a command at the console prompt - this should give an error message that might help find your problem.
Title: Re: Dead Cursor
Post by: NewUser on September 02, 2018, 02:27:06 AM
When you boot from a CorePlus CD or USB,, select the entry with waitusb=5. Whichever desktop you choose.
Title: Re: Dead Cursor
Post by: DHeadshot on September 11, 2018, 04:44:24 PM
I don't know if this is linked but I had a dead mouse pointer when I tried to use TinyCore a few years back on VirtualPC 2003 on my old laptop.  It's not an issue for me now as I now use VirtualBox on my new PC for all my virtualisation needs, but certainly TinyCore didn't like the VirtualPC 2003 emulated PS/2 mouse.  I don't know if there's a connection, but I presume it's possible.  That was CorePlus 6.1 back then, if that helps.