Re: Bug#77130: dexter is not devfs ready
On Tue, 21 Nov 2000, Marc Martinez wrote: |a much simpler test than working out proper grep semantics is the following: | |[ -c /dev/.devfsd ] | |Marc That one works nicely for me and I don't use devfsd. :-) -- ** Derek J Witt** * Email: mailto:[EMAIL PROTECTED] * * Home Page: http://www.flinthills.com/~djw/ * *** "Houston, the Eagle has landed and laid an egg!" -- Unknown ** -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Bug#77130: dexter is not devfs ready
On Tue, 21 Nov 2000, Marc Martinez wrote: |a much simpler test than working out proper grep semantics is the following: | |[ -c /dev/.devfsd ] | |Marc That one works nicely for me and I don't use devfsd. :-) -- ** Derek J Witt** * Email: mailto:[EMAIL PROTECTED] * * Home Page: http://www.flinthills.com/~djw/ * *** Houston, the Eagle has landed and laid an egg! -- Unknown **
Re: Bug#77130: dexter is not devfs ready
On Mon, Nov 20, 2000 at 11:00:34PM -0500, Branden Robinson wrote: I check for a mounted devfs using a check given to me. How about reading the source of dexter and telling me what's wrong with it? a much simpler test than working out proper grep semantics is the following: [ -c /dev/.devfsd ] Marc -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Bug#77130: dexter is not devfs ready
[EMAIL PROTECTED] (Branden Robinson) writes: On Mon, Nov 20, 2000 at 02:45:47PM +0100, Goswin Brederlow wrote: [EMAIL PROTECTED] (Branden Robinson) writes: On Mon, Nov 20, 2000 at 03:36:53AM +0100, Goswin Brederlow wrote: PS/2 is in /dev/misc/psaux. Serials are in /dev/tts/[0-9]*. Ah, you mean the exact paths I've been using since 4.0.1-2. Oh, so that should be fixed. Doesn't look right to me: % dpkg -l | grep xfree ii xfree86-common 4.0.1-2X Window System (XFree86) infrastructure ii xserver-xfree8 4.0.1-2the XFree86 X server % cat /proc/filesystems ... nodev devfs % mount ... none on /dev type devfs (rw) ... I check for a mounted devfs using a check given to me. How about reading the source of dexter and telling me what's wrong with it? The check looks right but doesn't work: # grep '\/dev\.*devfs' /proc/mounts # grep '/dev\.*devfs' /proc/mounts # grep '\/dev.*devfs' /proc/mounts # grep '/dev.*devfs' /proc/mounts none /dev devfs rw 0 0 # grep ' /dev .*devfs' /proc/mounts none /dev devfs rw 0 0 # grep '/dev.*devfs' /proc/mounts | hexdump %07.7_ 6f6e 656e 2f20 6564 2076 6564 6676 2073 %07.7_ 7772 3020 3020 000a %07.7_ You might want to check for instead of word start and end to circumvent the problem. MfG Goswin PS: You might also check for existing devices when using devfs. I don't have a /dev/tts/3, so theres no point giving me the choise. Altough care must be taken to handle not yet loaded modules. I might fill this as wishlist, since has nothing to do with this bug.
Re: Bug#77130: dexter is not devfs ready
On Tue, Nov 21, 2000 at 06:33:17PM +0100, Goswin Brederlow wrote: snip The check looks right but doesn't work: # grep '\/dev\.*devfs' /proc/mounts # grep '/dev\.*devfs' /proc/mounts # grep '\/dev.*devfs' /proc/mounts # grep '/dev.*devfs' /proc/mounts none /dev devfs rw 0 0 # grep ' /dev .*devfs' /proc/mounts none /dev devfs rw 0 0 # grep '/dev.*devfs' /proc/mounts | hexdump %07.7_ 6f6e 656e 2f20 6564 2076 6564 6676 2073 %07.7_ 7772 3020 3020 000a %07.7_ You might want to check for instead of word start and end to circumvent the problem. Actually, / is not a word char, also, / tends to be special. grep '\/dev[\t ]*devfs' /proc/mounts Zephaniah E. Hull. MfG Goswin PS: You might also check for existing devices when using devfs. I don't have a /dev/tts/3, so theres no point giving me the choise. Altough care must be taken to handle not yet loaded modules. I might fill this as wishlist, since has nothing to do with this bug. Don't try to open, just test for existence. Zephaniah E. Hull. -- PGP EA5198D1-Zephaniah E. Hull [EMAIL PROTECTED]-GPG E65A7801 Keys available at http://whitestar.soark.net/~warp/public_keys. CCs of replies from mailing lists are encouraged. Microsoft is a cross between the Borg and the Ferengi. Unfortunately, they use Borg to do their marketing and Ferengi to do their programming. -- Simon Slavin in asr pgpR6A8Mlpgms.pgp Description: PGP signature
Re: Bug#77130: dexter is not devfs ready
On Mon, Nov 20, 2000 at 11:00:34PM -0500, Branden Robinson wrote: I check for a mounted devfs using a check given to me. How about reading the source of dexter and telling me what's wrong with it? a much simpler test than working out proper grep semantics is the following: [ -c /dev/.devfsd ] Marc
using old config for information [Was: Re: Bug#77130: dexter is not devfs ready]
"Zephaniah E. Hull" [EMAIL PROTECTED] writes: On Mon, Nov 20, 2000 at 03:36:53AM +0100, Goswin Brederlow wrote: snip Goswin PS: Using the old V3 config file for defaults and the console keymap would be a good wishlist thing as well. Ow ow ow ow ow. No, you /really/ don't want those 'features'. Whats wrong with using the same device for the mouse and the same keyboard as in the V3 config file as defaults? (Wheres the keyboard selection anyway in dexter?) Why not look at the console keymap to guess what keymap to use for X when no old config is found? I'm not talking about skipping the question in dexter. But dexter could position the cursor in the mouse selection on the mouse device that was used in the old confg file. May the Source be with you. Goswin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Bug#77130: dexter is not devfs ready
[EMAIL PROTECTED] (Branden Robinson) writes: On Mon, Nov 20, 2000 at 03:36:53AM +0100, Goswin Brederlow wrote: PS/2 is in /dev/misc/psaux. Serials are in /dev/tts/[0-9]*. Ah, you mean the exact paths I've been using since 4.0.1-2. Oh, so that should be fixed. Doesn't look right to me: % dpkg -l | grep xfree ii xfree86-common 4.0.1-2X Window System (XFree86) infrastructure ii xserver-xfree8 4.0.1-2the XFree86 X server % cat /proc/filesystems ... nodev devfs % mount ... none on /dev type devfs (rw) ... % dexter Dexter -- Debian X Server Configurator qq lqq Mouse Port Selection qqk x x x Please choose your mouse port. x x x x lqqk x x x /dev/psaux PS/2 port x x x x /dev/ttyS0 Serial port COM1x x x x /dev/ttyS1 Serial port COM2x x x x /dev/ttyS2 Serial port COM3x x x x /dev/ttyS3 Serial port COM4x x x x /dev/input/mice USB mouse x x x x /dev/atibm Bus / inport mouse x x x x /dev/gpmdata gpm repeaterx x x mqqj x tqqu x OK x mqqj On my system none of those even exist. MfG Goswin
using old config for information [Was: Re: Bug#77130: dexter is not devfs ready]
Zephaniah E. Hull [EMAIL PROTECTED] writes: On Mon, Nov 20, 2000 at 03:36:53AM +0100, Goswin Brederlow wrote: snip Goswin PS: Using the old V3 config file for defaults and the console keymap would be a good wishlist thing as well. Ow ow ow ow ow. No, you /really/ don't want those 'features'. Whats wrong with using the same device for the mouse and the same keyboard as in the V3 config file as defaults? (Wheres the keyboard selection anyway in dexter?) Why not look at the console keymap to guess what keymap to use for X when no old config is found? I'm not talking about skipping the question in dexter. But dexter could position the cursor in the mouse selection on the mouse device that was used in the old confg file. May the Source be with you. Goswin
Re: Bug#77130: dexter is not devfs ready
On Mon, Nov 20, 2000 at 02:45:47PM +0100, Goswin Brederlow wrote: [EMAIL PROTECTED] (Branden Robinson) writes: On Mon, Nov 20, 2000 at 03:36:53AM +0100, Goswin Brederlow wrote: PS/2 is in /dev/misc/psaux. Serials are in /dev/tts/[0-9]*. Ah, you mean the exact paths I've been using since 4.0.1-2. Oh, so that should be fixed. Doesn't look right to me: % dpkg -l | grep xfree ii xfree86-common 4.0.1-2X Window System (XFree86) infrastructure ii xserver-xfree8 4.0.1-2the XFree86 X server % cat /proc/filesystems ... nodev devfs % mount ... none on /dev type devfs (rw) ... I check for a mounted devfs using a check given to me. How about reading the source of dexter and telling me what's wrong with it? -- G. Branden Robinson| Debian GNU/Linux | If ignorance is bliss, [EMAIL PROTECTED] | is omniscience hell? http://deadbeast.net/~branden/ | pgpYXGBnXElbU.pgp Description: PGP signature
Re: Bug#77130: dexter is not devfs ready
On Mon, Nov 20, 2000 at 03:36:53AM +0100, Goswin Brederlow wrote: snip Goswin PS: Using the old V3 config file for defaults and the console keymap would be a good wishlist thing as well. Ow ow ow ow ow. No, you /really/ don't want those 'features'. Zephaniah E. Hull. -- PGP EA5198D1-Zephaniah E. Hull [EMAIL PROTECTED]-GPG E65A7801 Keys available at http://whitestar.soark.net/~warp/public_keys. CCs of replies from mailing lists are encouraged. Overfiend Oh God yes, please, Espy...let me mount your hard-driving SPARCbeast until I undulate in X-compiling ecstasy PGP signature
Re: Bug#77130: dexter is not devfs ready
[EMAIL PROTECTED] (Branden Robinson) writes: On Wed, Nov 15, 2000 at 09:55:30PM +0100, Goswin Brederlow wrote: All suggestions for the mouse device use the old device names, devfs has them in subdirectories. Please use the new names when devfs is used. You're going to have to tell me what these are. I asked on IRC what I should use, and I used what I was told. Have a look at the documentation about the devfs in linux/Documentation/filesystems/devfs/ PS/2 is in /dev/misc/psaux. Serials are in /dev/tts/[0-9]*. Framebuffer in /dev/fb/[0-9]*. Also for framebuffer the framebuffer to be used should be choosable, i.e. which of /dev/fb/* to use. This is a wishlist item and I'll get to it when I can. I don't even know how to get X to use the second framebuffer, never had a second one. MfG Goswin PS: Using the old V3 config file for defaults and the console keymap would be a good wishlist thing as well.
Re: Bug#77130: dexter is not devfs ready
On Mon, Nov 20, 2000 at 03:36:53AM +0100, Goswin Brederlow wrote: snip Goswin PS: Using the old V3 config file for defaults and the console keymap would be a good wishlist thing as well. Ow ow ow ow ow. No, you /really/ don't want those 'features'. Zephaniah E. Hull. -- PGP EA5198D1-Zephaniah E. Hull [EMAIL PROTECTED]-GPG E65A7801 Keys available at http://whitestar.soark.net/~warp/public_keys. CCs of replies from mailing lists are encouraged. Overfiend Oh God yes, please, Espy...let me mount your hard-driving SPARCbeast until I undulate in X-compiling ecstasy pgpvso6F5hQ9f.pgp Description: PGP signature
Re: Bug#77130: dexter is not devfs ready
On Mon, Nov 20, 2000 at 03:36:53AM +0100, Goswin Brederlow wrote: PS/2 is in /dev/misc/psaux. Serials are in /dev/tts/[0-9]*. Ah, you mean the exact paths I've been using since 4.0.1-2. Please do more research before filing bugs in the future. -- G. Branden Robinson| Debian GNU/Linux |Mob rule isn't any prettier just because [EMAIL PROTECTED] |you call your mob a government. http://deadbeast.net/~branden/ | pgpnrlvIyBoJz.pgp Description: PGP signature
Re: Bug#77130: dexter is not devfs ready
On Thu, Nov 16, 2000 at 11:05:27AM -0800, Marc Martinez wrote: the real device for at least psaux is /dev/misc/psaux .. if you have the compatibility options enabled in devfsd it also makes a symlink back to /dev/psaux for you. looks like the ttyS* serial devices are now in the form of /dev/tts/0 .. I don't have any usb mice connected right now so that's all I can tell you offhand. Despite the version number in his bug report I don't think Goswin is using a recently version of xserver-common. I added devfs support a few versions ago. Dexter is a shell script. Feel free to read it to see what's wrong with the devfs support. I wrote that support based wholly on input from this list. -- G. Branden Robinson |You can have my PGP passphrase when you Debian GNU/Linux|pry it from my cold, dead brain. [EMAIL PROTECTED] |-- Adam Thornton http://www.debian.org/~branden/ | pgptgEstxtCPh.pgp Description: PGP signature
Re: Bug#77130: dexter is not devfs ready
On Wed, Nov 15, 2000 at 11:27:14PM -0500, Branden Robinson wrote: On Wed, Nov 15, 2000 at 09:55:30PM +0100, Goswin Brederlow wrote: All suggestions for the mouse device use the old device names, devfs has them in subdirectories. Please use the new names when devfs is used. You're going to have to tell me what these are. I asked on IRC what I should use, and I used what I was told. the real device for at least psaux is /dev/misc/psaux .. if you have the compatibility options enabled in devfsd it also makes a symlink back to /dev/psaux for you. looks like the ttyS* serial devices are now in the form of /dev/tts/0 .. I don't have any usb mice connected right now so that's all I can tell you offhand. while it's just personal preference, for any box that I use devfs on but don't use devfsd, I also don't let it mount as /dev, but rather keep it off on other directories just as a guide to know what devices are available at any given time (which was handy for example to see that the major for joystick devices got moved around in newer kernels). Marc -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Bug#77130: dexter is not devfs ready
Marc Martinez spake thus: of /dev/tts/0 .. I don't have any usb mice connected right now so that's all I can tell you offhand. /dev/input/mouse{0,1,...} /dev/input/mice lets all your mice talk ps/2 to you at the same time. Oystein -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Bug#77130: dexter is not devfs ready
On Thu, Nov 16, 2000 at 11:05:27AM -0800, Marc Martinez wrote: the real device for at least psaux is /dev/misc/psaux .. if you have the compatibility options enabled in devfsd it also makes a symlink back to /dev/psaux for you. looks like the ttyS* serial devices are now in the form of /dev/tts/0 .. I don't have any usb mice connected right now so that's all I can tell you offhand. Despite the version number in his bug report I don't think Goswin is using a recently version of xserver-common. I added devfs support a few versions ago. Dexter is a shell script. Feel free to read it to see what's wrong with the devfs support. I wrote that support based wholly on input from this list. -- G. Branden Robinson |You can have my PGP passphrase when you Debian GNU/Linux|pry it from my cold, dead brain. [EMAIL PROTECTED] |-- Adam Thornton http://www.debian.org/~branden/ | PGP signature
Re: Bug#77130: dexter is not devfs ready
On Wed, Nov 15, 2000 at 11:27:14PM -0500, Branden Robinson wrote: On Wed, Nov 15, 2000 at 09:55:30PM +0100, Goswin Brederlow wrote: All suggestions for the mouse device use the old device names, devfs has them in subdirectories. Please use the new names when devfs is used. You're going to have to tell me what these are. I asked on IRC what I should use, and I used what I was told. the real device for at least psaux is /dev/misc/psaux .. if you have the compatibility options enabled in devfsd it also makes a symlink back to /dev/psaux for you. looks like the ttyS* serial devices are now in the form of /dev/tts/0 .. I don't have any usb mice connected right now so that's all I can tell you offhand. while it's just personal preference, for any box that I use devfs on but don't use devfsd, I also don't let it mount as /dev, but rather keep it off on other directories just as a guide to know what devices are available at any given time (which was handy for example to see that the major for joystick devices got moved around in newer kernels). Marc
Re: Bug#77130: dexter is not devfs ready
Marc Martinez spake thus: of /dev/tts/0 .. I don't have any usb mice connected right now so that's all I can tell you offhand. /dev/input/mouse{0,1,...} /dev/input/mice lets all your mice talk ps/2 to you at the same time. Oystein
Re: Bug#77130: dexter is not devfs ready
On Wed, Nov 15, 2000 at 09:55:30PM +0100, Goswin Brederlow wrote: All suggestions for the mouse device use the old device names, devfs has them in subdirectories. Please use the new names when devfs is used. You're going to have to tell me what these are. I asked on IRC what I should use, and I used what I was told. Also for framebuffer the framebuffer to be used should be choosable, i.e. which of /dev/fb/* to use. This is a wishlist item and I'll get to it when I can. -- G. Branden Robinson| Debian GNU/Linux | "Bother," said Pooh, as he was [EMAIL PROTECTED] | assimilated by the Borg. http://deadbeast.net/~branden/ | PGP signature
Re: Bug#77130: dexter is not devfs ready
On Wed, Nov 15, 2000 at 09:55:30PM +0100, Goswin Brederlow wrote: All suggestions for the mouse device use the old device names, devfs has them in subdirectories. Please use the new names when devfs is used. You're going to have to tell me what these are. I asked on IRC what I should use, and I used what I was told. Also for framebuffer the framebuffer to be used should be choosable, i.e. which of /dev/fb/* to use. This is a wishlist item and I'll get to it when I can. -- G. Branden Robinson| Debian GNU/Linux | Bother, said Pooh, as he was [EMAIL PROTECTED] | assimilated by the Borg. http://deadbeast.net/~branden/ | pgpxbWVVC3Ken.pgp Description: PGP signature