xorg-autoconf 3.0

Core libraries and systems
Message
Author
foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

trying xorg-autoconf 2.1

#21 Post by foxpup »

I have tried xorg-autoconf 2.1. It chooses the modesetting driver.

But I lose keyboard and mouse with it (cursor in the middle of screen), so unable to do anything.

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#22 Post by mistfire »

@foxpup may I see the generated xorg.conf made by xorg-autoconf?

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#23 Post by mistfire »

I found something weird. Ubuntu uses modesetting driver with glamor acceleration for later intel gpu.

@foxpup
May I see also the Xorg.0.log when you lost the keyboard and mouse upon using the generated xorg.conf made by xorg-autoconf?

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#24 Post by foxpup »

mistfire wrote:I found something weird. Ubuntu uses modesetting driver with glamor acceleration for later intel gpu.

@foxpup
May I see also the Xorg.0.log when you lost the keyboard and mouse upon using the generated xorg.conf made by xorg-autoconf?
I am not near the machine, but later, in the evening ... .
Just thinking how i can get the xorg log if I cannot do anything with mouse and keyboard?! :roll:
Any good idea? Maybe add a script in Startup to cp it?
(I have to shut down with the button.)

You are right about the glamor acceleration.
Stretch is not ubuntu but (old) debian, by the way.

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#25 Post by mistfire »

foxpup wrote:
mistfire wrote:I found something weird. Ubuntu uses modesetting driver with glamor acceleration for later intel gpu.

@foxpup
May I see also the Xorg.0.log when you lost the keyboard and mouse upon using the generated xorg.conf made by xorg-autoconf?
I am not near the machine, but later, in the evening ... .
Just thinking how i can get the xorg log if I cannot do anything with mouse and keyboard?! :roll:
Any good idea? Maybe add a script in Startup to cp it?
(I have to shut down with the button.)
How about after you reproduce that error, revert back to a working xorg.conf then start X again. Then post the contents of /var/log/Xorg.0.log.old here?

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#26 Post by foxpup »

Thanx for the tip, @mistfire.
Done.
Attachments
xorg-autoconf-2.1-skylake.tar.gz
(6.35 KiB) Downloaded 127 times

enrique
Posts: 595
Joined: Sun 10 Nov 2019, 00:10
Location: Planet Earth

#27 Post by enrique »

foxpup

Puppy save files are just images of a partition. Think of them like a disk on a file. So what you have to do is move that save file to a new location. Then boot and save a new one. Now that you have a working puppy, Use it to mount the last save. Some puppy may even allow to mount the partition with double click. But lets do it manually.

Let say you old puppy save was "bionicpup64save.4fs".

*move to the location where your old "bionicpup64save.4fs" is
#cd [your location]
*Create a folder where to mount:
#mkdir /tmp/mnt
*Now mount "bionicpup64save.4fs"
#mount bionicpup64save.4fs /tmp/mnt

Now you can access you old files. Just remember that your old /etc/X11/xorg.conf is now at /tmp/mnt/etc/X11/xorg.conf

Do any changes you need to do. Then close the old puppy save by doing
#unmount /tmp/mnt

And move again your "bionicpup64save.4fs back to the puppy folder.

Simple.

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#28 Post by mistfire »

@foxpup

I analyzed your xorg log that you sent to me

Here is the reason why mouse and keyboard dont work. Look at this part

Code: Select all

[    17.636] (II) LoadModule: "mouse"
[    17.637] (WW) Warning, couldn't open module mouse
[    17.637] (II) UnloadModule: "mouse"
[    17.637] (II) Unloading mouse
[    17.637] (EE) Failed to load module "mouse" (module does not exist, 0)
[    17.637] (II) LoadModule: "kbd"
[    17.638] (WW) Warning, couldn't open module kbd
[    17.638] (II) UnloadModule: "kbd"
[    17.638] (II) Unloading kbd
[    17.638] (EE) Failed to load module "kbd" (module does not exist, 0)
Also on this part of your log.

Code: Select all

[    19.509] (**) Mouse0: always reports core events
[    19.509] (**) Option "Device" "/dev/mouse"
[    19.509] (EE) Failed to look up path '/dev/input/mice'
[    19.509] (II) opening input device '/dev/input/mice' failed (No such device).
[    19.509] (II) failed to create input device '/dev/input/mice'.
[    19.509] (EE) libinput: Mouse0: Failed to create a device for /dev/mouse
[    19.509] (EE) PreInit returned 2 for "Mouse0"
[    19.509] (II) UnloadModule: "libinput"
[    19.509] (II) LoadModule: "kbd"
[    19.510] (WW) Warning, couldn't open module kbd
[    19.510] (II) UnloadModule: "kbd"
[    19.510] (II) Unloading kbd
[    19.510] (EE) Failed to load module "kbd" (module does not exist, 0)
[    19.510] (EE) No input driver matching `kbd'
[    19.510] (II) Falling back to input driver `libinput'
[    19.510] (II) Using input driver 'libinput' for 'Keyboard0'
[    19.510] (**) Option "CoreKeyboard"
[    19.510] (**) Keyboard0: always reports core events
May I see your working xorg.conf? I think you don't have xf86-input-keyboard and xf86-input-mouse on your system. Only libinput that's why your keyboard and mouse don't work.

Also may I see the contents of /dev/input/ in your system

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#29 Post by foxpup »

mistfire wrote:May I see your working xorg.conf? I think you don't have xf86-input-keyboard and xf86-input-mouse on your system. Only libinput that's why your keyboard and mouse don't work.

Also may I see the contents of /dev/input/ in your system
PPM says xserver-xorg-input-mouse and xserver-xorg-input-kbd (and others) are already installed.
But I do not find kbd_drv.so, mouse_drv.so ...
Maybe I should install anyway (for real) and test?
Attachments
lsdevinput.gz
dummy .gz
ls /dev/input
(170 Bytes) Downloaded 125 times
xorg-intel-skylake.tar.gz
intel driver chosen with xorgwizard
(6.09 KiB) Downloaded 134 times

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#30 Post by foxpup »

@enrique

Thanx for explaining.

I use pupsave directories and I do work with them with ease.
I think you miss the point here.
The point is, when I cannot do anything anymore I shut down pressing the start button a long time (10 seconds?) and nothing is saved to the pupsave.
I don't think the solution mistfire suggested would have worked either.

I just discovered that pressing the start button for 1 second, maybe 2, the option to save came up.
I even had my keyboard back!

enrique
Posts: 595
Joined: Sun 10 Nov 2019, 00:10
Location: Planet Earth

#31 Post by enrique »

You are correct. ;)

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#32 Post by mistfire »

@foxpup
right now I'm modifying xorg-autoconf that allows to use evdev or libinput if xf86-input-keyboard or xf86-input-mouse is not found. Based on your Xorg log. modesetting with glamor works. But the mouse and keyboard is only the problem

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#33 Post by mistfire »

Reserved

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#34 Post by foxpup »

mistfire wrote:@foxpup
right now I'm modifying xorg-autoconf that allows to use evdev or libinput if xf86-input-keyboard or xf86-input-mouse is not found. Based on your Xorg log. modesetting with glamor works. But the mouse and keyboard is only the problem
Can you not find that in Xorgwizard?
I am a total noob here, sorry :?

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#35 Post by mistfire »

@foxpup can you please try the latest version that I uploaded (located at the first post of this thread)? I added handling of input devices. If xorg mouse driver and xorg keyboard is missing it will use evdev otherwise it will use libinput if evdev is missing

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#36 Post by foxpup »

Sorry, it did not get to X.
Attachments
xorg-autoconf-2.2-skylake.tar.gz
(2.2 KiB) Downloaded 134 times

williams2
Posts: 337
Joined: Fri 14 Dec 2018, 22:18

#37 Post by williams2 »

X started with new xorg.conf auto generated by PuppyOS. (no errors)
X started with a blank xorg.conf file (no errors)

X would not start using xorg-autoconf-2.2.pet

http://s000.tinyupload.com/index.php?fi ... 7754539922

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#38 Post by mistfire »

@williams2 and @foxpup

Thanks for reporting report. I found the problem. Since both of you are using evdev and libinput. The InputDevice line on ServerLayout section must be removed or disabled. So I apply a fix that InputDevice line on ServerLayout will be disabled if evdev or libinput was used as xorg driver for input devices.

Please test the xorg-autoconf-2.2.1 to see if the fixes that I applied works.

williams2
Posts: 337
Joined: Fri 14 Dec 2018, 22:18

#39 Post by williams2 »

xorg-autoconf-2.2.1:

video display works.

No mouse, no touchpad, no keyboard.

http://s000.tinyupload.com/index.php?fi ... 3511321953

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#40 Post by mistfire »

Thanks @williams

No mouse, no touchpad, no keyboard occured because AutoAdd is disabled. It seems that we need a better detection whether AutoAdd must be enable or disabled. Because some xorg freezes if AutoAdd is enabled.

Post Reply