From: Mark H. <mar...@xs...> - 2005-07-03 20:45:08
|
Hi, Some time ago I found a post by Aivils about Ubuntu: Aivils <aivils <at> unibanka.lv> wrote: > Ubuntu current xorg (6.8.2-10) contains all patches , which is > necessary for multiseat X starting: > 013_novtswitch.diff > 018_sharevts_option.diff > 053_lnx_evdev.diff > 054_lnx_evdev_mouse.diff > 055_lnx_evdev_keyboard.diff > 080_pci_isolate_device_feature.diff > > That means 2nd X server never activate tty, use /dev/input/eventXX > as keyboard device. Without any kernel patch. I decided to give it a try, and although the isolateDevice option seems to work, and I can get the mouse to work with the following: Section "InputDevice" Identifier "Right Mouse" Driver "mouse" Option "CorePointer" Option "Protocol" "evdev" Option "Dev Phys" "usb-0000:03:00.0-1.2/input0" Option "ZAxisMapping" "4 5" EndSection I can't seem to get the keyboard to work in the same way: Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "Protocol" "evdev" Option "Dev Phys" "usb-0000:03:00.0-2.1/input1" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection Also using /dev/input/event does not work... Did anyone try this with Ubuntu? I'm using the Hoary release, which includes exactly the version of xorg aivils described in his mail... Any hints/tips on getting the evdev to work with my usb keyboard is very welcome! I'm also wondering if there is an equivalent for the -novtswitches option (which seemed necessary according Miguel Freitas pages), it does not seem to be present. Is there a place where I can find the patches mentioned above? perhaps I can read in the patches how they should be used ;-) Regards, Mark. |
From: Svetoslav S. <sv...@gm...> - 2005-07-04 06:08:11
|
> --- Ursprüngliche Nachricht --- > Von: "Mark Hurenkamp" <mar...@xs...> > An: lin...@li... > Betreff: Ubuntu & xorg 6.8.2-10 patches > Datum: Sun, 3 Jul 2005 22:44:55 +0200 (CEST) > > Hi, > Hi, > Some time ago I found a post by Aivils about Ubuntu: > Aivils <aivils <at> unibanka.lv> wrote: > > Ubuntu current xorg (6.8.2-10) contains all patches , which is > > necessary for multiseat X starting: > > 013_novtswitch.diff > > 018_sharevts_option.diff > > 053_lnx_evdev.diff > > 054_lnx_evdev_mouse.diff > > 055_lnx_evdev_keyboard.diff > > 080_pci_isolate_device_feature.diff > > > > That means 2nd X server never activate tty, use /dev/input/eventXX > > as keyboard device. Without any kernel patch. > > I decided to give it a try, and although the isolateDevice option seems > to work, and I can get the mouse to work with the following: > > Section "InputDevice" > Identifier "Right Mouse" > Driver "mouse" > Option "CorePointer" > Option "Protocol" "evdev" > Option "Dev Phys" > "usb-0000:03:00.0-1.2/input0" > Option "ZAxisMapping" "4 5" > EndSection > > I can't seem to get the keyboard to work in the same way: > > Section "InputDevice" > Identifier "Generic Keyboard" > Driver "keyboard" > Option "Protocol" "evdev" > Option "Dev Phys" > "usb-0000:03:00.0-2.1/input1" > Option "CoreKeyboard" > Option "XkbRules" "xorg" > Option "XkbModel" "pc104" > Option "XkbLayout" "us" > EndSection > acording to my experiance keyboards are always @ ..../input0 where as the multimedia keys reside @ ..../input1 what does contain your /prc/bus/input/devices ? > Also using /dev/input/event does not work... > > Did anyone try this with Ubuntu? I'm using the Hoary release, which > includes exactly the version of xorg aivils described in his mail... > Any hints/tips on getting the evdev to work with my usb keyboard is > very welcome! > > I'm also wondering if there is an equivalent for the -novtswitches > option (which seemed necessary according Miguel Freitas pages), it > does not seem to be present. > Is there a place where I can find the patches mentioned above? perhaps > I can read in the patches how they should be used ;-) > > > Regards, > Mark. best, svetljo -- Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie! Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl |
From: Mark H. <mar...@xs...> - 2005-07-04 21:32:43
|
>> I can't seem to get the keyboard to work in the same way: >> >> Section "InputDevice" >> Identifier "Generic Keyboard" >> Driver "keyboard" >> Option "Protocol" "evdev" >> Option "Dev Phys" >> "usb-0000:03:00.0-2.1/input1" >> Option "CoreKeyboard" >> Option "XkbRules" "xorg" >> Option "XkbModel" "pc104" >> Option "XkbLayout" "us" >> EndSection >> > > acording to my experiance > keyboards are always @ ..../input0 > where as the multimedia keys reside @ ..../input1 > what does contain your /prc/bus/input/devices ? Sorry, copied the wrong part. The section actually uses input0. Here's the correct one: Section "InputDevice" Identifier "Right Keyboard" Driver "keyboard" Option "Protocol" "evdev" Option "Dev Phys" "usb-0000:03:00.0-1.1/input0" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection Tried again today, just to make sure I have it right, but no luck :-( X seems to be unfamiliar with the evdev protocol for keyboards... (++) ServerLayout "Right" (**) |-->Screen "Right Screen" (0) (**) | |-->Monitor "PHILIPS 107T" (**) | |-->Device "Matrox Graphics, Inc. MGA G550 AGP" (**) |-->Input Device "Right Keyboard" (**) Option "Protocol" "evdev" Config Error: "evdev" is not a valid keyboard protocol name (EE) Unable to determine the screen layout (EE) Error parsing the config file So it seems to me that the '055_lnx_evdev_keyboard.diff' patch is missing here... Will see if I can find the sources for ubuntu xorg, so I can take a look there. Mark. |
From: Ken M. <ke...@th...> - 2005-07-07 01:02:35
|
On Mon, 2005-07-04 at 23:32 +0200, Mark Hurenkamp wrote: > >> I can't seem to get the keyboard to work in the same way: > >> > >> Section "InputDevice" > >> Identifier "Generic Keyboard" > >> Driver "keyboard" > >> Option "Protocol" "evdev" > >> Option "Dev Phys" > >> "usb-0000:03:00.0-2.1/input1" > >> Option "CoreKeyboard" > >> Option "XkbRules" "xorg" > >> Option "XkbModel" "pc104" > >> Option "XkbLayout" "us" > >> EndSection > >> > > > > acording to my experiance > > keyboards are always @ ..../input0 > > where as the multimedia keys reside @ ..../input1 > > what does contain your /prc/bus/input/devices ? > > Sorry, copied the wrong part. The section actually uses > input0. Here's the correct one: > > Section "InputDevice" > Identifier "Right Keyboard" > Driver "keyboard" > Option "Protocol" "evdev" > Option "Dev Phys" "usb-0000:03:00.0-1.1/input0" > Option "CoreKeyboard" > Option "XkbRules" "xorg" > Option "XkbModel" "pc104" > Option "XkbLayout" "us" > EndSection > > Tried again today, just to make sure I have it right, but > no luck :-( > X seems to be unfamiliar with the evdev protocol for keyboards... > > (++) ServerLayout "Right" > (**) |-->Screen "Right Screen" (0) > (**) | |-->Monitor "PHILIPS 107T" > (**) | |-->Device "Matrox Graphics, Inc. MGA G550 AGP" > (**) |-->Input Device "Right Keyboard" > (**) Option "Protocol" "evdev" > > Config Error: > "evdev" is not a valid keyboard protocol name > (EE) Unable to determine the screen layout > (EE) Error parsing the config file > > So it seems to me that the '055_lnx_evdev_keyboard.diff' patch is > missing here... > > Will see if I can find the sources for ubuntu xorg, so I can take a look > there. > > > Mark. > I'm using the pre-experimental Debian packages based on the original Ubuntu packages. The /etc/apt/sources.list line for them is: deb http://people.debian.org/~dnusinow/xorg ./ With a 2.6.8 kernel, here's a snippet from my xorg.conf file. Section "InputDevice" Identifier "Keyboard" Driver "kbd" Option "Protocol" "evdev" Option "Dev Phys" "usb-*.0-1.1/input0" # Option "Dev Name" "NMB Dell USB 7HK Keyboard" Option "XkbRules" "xfree86" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Mouse" Driver "mouse" Option "Protocol" "evdev" Option "Dev Phys" "usb-*.0-1.2/input0" # Option "Dev Name" "Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)" EndSection Note that the keyboards I'm using have a two port USB hub built in. HTH, Ken |
From: Mark H. <mar...@xs...> - 2005-07-07 19:07:36
|
> I'm using the pre-experimental Debian packages based on the original > Ubuntu packages. The /etc/apt/sources.list line for them is: > > deb http://people.debian.org/~dnusinow/xorg ./ > > With a 2.6.8 kernel, here's a snippet from my xorg.conf file. > > > Section "InputDevice" > Identifier "Keyboard" > Driver "kbd" ^^^ Here's what solved my problem. I had a line 'Driver "keyboard"' here, which apparently does not work with evdev. I replaced it with the line above, and now things work perfectly. > Option "Protocol" "evdev" > Option "Dev Phys" "usb-*.0-1.1/input0" > # Option "Dev Name" "NMB Dell USB 7HK Keyboard" > Option "XkbRules" "xfree86" > Option "XkbModel" "pc104" > Option "XkbLayout" "us" > EndSection Thanks for the help! Mark. |
From: Ken M. <ke...@th...> - 2005-07-07 19:56:24
|
Mark Hurenkamp wrote: >>I'm using the pre-experimental Debian packages based on the original >>Ubuntu packages. The /etc/apt/sources.list line for them is: >> >>deb http://people.debian.org/~dnusinow/xorg ./ >> >>With a 2.6.8 kernel, here's a snippet from my xorg.conf file. >> >> >>Section "InputDevice" >> Identifier "Keyboard" >> Driver "kbd" >> >> >^^^ Here's what solved my problem. >I had a line 'Driver "keyboard"' here, which apparently does not work >with evdev. >I replaced it with the line above, and now things work perfectly. > > > >> Option "Protocol" "evdev" >> Option "Dev Phys" "usb-*.0-1.1/input0" >> # Option "Dev Name" "NMB Dell USB 7HK Keyboard" >> Option "XkbRules" "xfree86" >> Option "XkbModel" "pc104" >> Option "XkbLayout" "us" >>EndSection >> >> > > >Thanks for the help! > >Mark. > > > No problem, glad to help. Ken |
From: Hugo V. <hvw...@ya...> - 2005-07-09 10:33:41
|
--- Ken McCord <ke...@th...> wrote: > Mark Hurenkamp wrote: > > >>I'm using the pre-experimental Debian packages > based on the original > >>Ubuntu packages. The /etc/apt/sources.list line > for them is: > >> > >>deb http://people.debian.org/~dnusinow/xorg ./ > >> > >>With a 2.6.8 kernel, here's a snippet from my > xorg.conf file. > >> > >> > >>Section "InputDevice" > >> Identifier "Keyboard" > >> Driver "kbd" > >> > >> > >^^^ Here's what solved my problem. > >I had a line 'Driver "keyboard"' here, which > apparently does not work > >with evdev. > >I replaced it with the line above, and now things > work perfectly. > > > > > > > >> Option "Protocol" "evdev" > >> Option "Dev Phys" "usb-*.0-1.1/input0" > >> # Option "Dev Name" "NMB Dell USB 7HK > Keyboard" > >> Option "XkbRules" "xfree86" > >> Option "XkbModel" "pc104" > >> Option "XkbLayout" "us" > >>EndSection > >> > >> > Your post made me curious how far xorg had gotten along and I installed from the site you mentioned. There was another fix needed to avoid mozilla from diappearing and wmxmms to show up, from here: http://gentoo-wiki.com/TIP_Xorg_X11_and_Transparency#Enabling_shadows_and_real_transparency which solved it. Then of course the "eyecandy", I found xcompmgr here: http://freedesktop.org/xapps/release/ it apparently is not with the .debs. And to compile that had to install xcomposite, xfixes, xdamage and xrender and link pkgconfig for X to where he wants it apparently. There is a transset on a key here: http://forchheimer.se/transset-df/ But I never got that to run because e16keyedit dies. Which brings us to what all that gets you. With a 2.1GHz CPU running xcompmgr -c on only 1 X puts the CPU at a constant 56% and X is cute to look at but in no whay ready to useful work: way to slow on a Nvidia TNT with acceleration set. Anybody actually use this in a production mode for useful work, like answering emails? Hugo ____________________________________________________ Sell on Yahoo! Auctions no fees. Bid on great items. http://auctions.yahoo.com/ |
From: Ken M. <ke...@th...> - 2005-07-09 14:43:26
|
On Sat, 2005-07-09 at 03:33 -0700, Hugo Vanwoerkom wrote: > > --- Ken McCord <ke...@th...> wrote: > > > Mark Hurenkamp wrote: > > > > >>I'm using the pre-experimental Debian packages > > based on the original > > >>Ubuntu packages. The /etc/apt/sources.list line > > for them is: > > >> > > >>deb http://people.debian.org/~dnusinow/xorg ./ > > >> > > >>With a 2.6.8 kernel, here's a snippet from my > > xorg.conf file. > > >> > > >> > > >>Section "InputDevice" > > >> Identifier "Keyboard" > > >> Driver "kbd" > > >> > > >> > > >^^^ Here's what solved my problem. > > >I had a line 'Driver "keyboard"' here, which > > apparently does not work > > >with evdev. > > >I replaced it with the line above, and now things > > work perfectly. > > > > > > > > > > > >> Option "Protocol" "evdev" > > >> Option "Dev Phys" "usb-*.0-1.1/input0" > > >> # Option "Dev Name" "NMB Dell USB 7HK > > Keyboard" > > >> Option "XkbRules" "xfree86" > > >> Option "XkbModel" "pc104" > > >> Option "XkbLayout" "us" > > >>EndSection > > >> > > >> > > > > Your post made me curious how far xorg had gotten > along and I installed from the site you mentioned. > > There was another fix needed to avoid mozilla from > diappearing and wmxmms to show up, from here: > http://gentoo-wiki.com/TIP_Xorg_X11_and_Transparency#Enabling_shadows_and_real_transparency > which solved it. > > Then of course the "eyecandy", I found xcompmgr here: > http://freedesktop.org/xapps/release/ it apparently is > not with the .debs. > > And to compile that had to install xcomposite, xfixes, > xdamage and xrender and link pkgconfig for X to where > he wants it apparently. > > There is a transset on a key here: > http://forchheimer.se/transset-df/ > > But I never got that to run because e16keyedit dies. > > Which brings us to what all that gets you. > > With a 2.1GHz CPU running xcompmgr -c on only 1 X puts > the CPU at a constant 56% and X is cute to look at but > in no whay ready to useful work: way to slow on a > Nvidia TNT with acceleration set. > > Anybody actually use this in a production mode for > useful work, like answering emails? > > Hugo > 1 - Please reread the first sentence - 'pre-experimental Debian packages'. 2 - They're based on Ubuntu's Hoary Hedgehog packages - why not check there? As far as my limited usage, they're working fine. Ken |