View previous topic :: View next topic |
Author |
Message |
Palhoto Tux's lil' helper
Joined: 27 Feb 2003 Posts: 111 Location: Iberian Peninsula
|
Posted: Sat Jan 15, 2005 3:53 pm Post subject: svgalib_helper module loads w/ kern 2.6.10 but no /dev/svga |
|
|
Hi,
I can load svgalib_helper with no problems at all (I have it in /etc/modules.autoload.d/kernel-2.6), but /dev/svga isn't created. /dev/svga_helper/[0-7] exist. I emerged svgalib yesterday.
EDIT: I had "/dev/svgalib_helper/" written, I've corrected it.
This is what I get from dmesg:
Code: | svgalib_helper: Initializing, version 1.9.19
svgalib_helper: device1: vendor:10de id:0326 |
When I try to run lincity, for example, I get:
Code: | svgalib: Cannot open /dev/svga
Is svgalib_helper module loaded? |
I'm using kernel 2.6.10-r4 gentoo-dev-sources and vesafb-tng. Do I need to create /dev/svga manually?
Thanks,
Last edited by Palhoto on Mon Jan 17, 2005 10:33 pm; edited 1 time in total |
|
Back to top |
|
|
thought_poet n00b
Joined: 14 Dec 2004 Posts: 25
|
Posted: Mon Jan 17, 2005 11:30 am Post subject: |
|
|
I have this error on my system currently as well. _________________ - Thought Poet |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2968
|
Posted: Mon Jan 17, 2005 11:35 pm Post subject: |
|
|
Why don't you try symlinking /dev/svga to one of the svga_helper/ devices? Code: | ln -s /dev/svga_helper/<NUMBER> /dev/svga |
|
|
Back to top |
|
|
saber850 Tux's lil' helper
Joined: 21 Mar 2004 Posts: 115 Location: NY
|
Posted: Thu Jan 20, 2005 10:13 am Post subject: |
|
|
I'm experiencing the same exact problem as the original post.
kimchi_sg wrote: | Why don't you try symlinking /dev/svga to one of the svga_helper/ devices? Code: | ln -s /dev/svga_helper/<NUMBER> /dev/svga |
|
No dice. |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2968
|
Posted: Thu Jan 20, 2005 5:31 pm Post subject: |
|
|
File a bug on https://bugs.gentoo.org . Last i emerged svgalib, it would create the /dev/svga device node for me. So this is a sort of bug. |
|
Back to top |
|
|
saber850 Tux's lil' helper
Joined: 21 Mar 2004 Posts: 115 Location: NY
|
Posted: Fri Jan 21, 2005 2:24 am Post subject: |
|
|
Ok, I got a little further.
First off, symlinking /dev/svga to /dev/svga_helper/0 does seem to work, but it's only the start.
The next step is to chmod u+s /dev/svga.
Finally, my problem was due to me trying to run lincity from an xterm as a non-priveleged user. So if you run it as root, or you run it as a non-priveleged user from the console (Ctrl+Alt+F1) it works.
My problem now is once the game starts, it says to press a key to continue. Upon doing so, the game aborts w/ this message on the console:
svgalib: Failed to initialize mouse. |
|
Back to top |
|
|
Palhoto Tux's lil' helper
Joined: 27 Feb 2003 Posts: 111 Location: Iberian Peninsula
|
Posted: Fri Jan 21, 2005 2:48 am Post subject: |
|
|
Great job!
saber850 wrote: | So if you run it as root, or you run it as a non-priveleged user from the console (Ctrl+Alt+F1) it works. |
This worked with root only; a regular user, no way..
I've tried the same thing but with "7" and it didn't work. "7" should be the default svga terminal (ctrl-alt-f8 ) so there are no conflicts with frame buffer or text console (ctrl-alt- F1 through F6) and X (ctrl-alt-F7).
saber850 wrote: | My problem now is once the game starts, it says to press a key to continue. Upon doing so, the game aborts w/ this message on the console:
svgalib: Failed to initialize mouse. |
I didn't get that error, but the mouse wasn't behaving normally (it wanted to stay in the upper left corner). Probably there's some config file with a different mouse setting. I turned gpm off just to see what happens and that doesn't seem to be it. I'm using an IMPS/2 mouse connected to the PS/2 port. I could quit normally using "q" and then "y", I'm indicating this in case anyone tries this game for testing and doesn't want to get stuck. |
|
Back to top |
|
|
saber850 Tux's lil' helper
Joined: 21 Mar 2004 Posts: 115 Location: NY
|
Posted: Fri Jan 21, 2005 4:00 am Post subject: |
|
|
Palhoto wrote: | This worked with root only; a regular user, no way.. |
I forgot that I had done a chmod 777 /dev/svga--that's probably why I could run it as a non-priveleged user.
Palhoto wrote: | I've tried the same thing but with "7" and it didn't work. "7" should be the default svga terminal (ctrl-alt-f8 ) so there are no conflicts with frame buffer or text console (ctrl-alt- F1 through F6) and X (ctrl-alt-F7). |
So you're saying "7" did not work? Did you use "0"?
Palhoto wrote: | the mouse wasn't behaving normally (it wanted to stay in the upper left corner). Probably there's some config file with a different mouse setting. |
There's a svgalib config file at /etc/vga/libvga.config with mouse settings. I also use IMPS2 connected to a PS2 port, but specifying that option (nor several others) didn't fix the problem. |
|
Back to top |
|
|
Palhoto Tux's lil' helper
Joined: 27 Feb 2003 Posts: 111 Location: Iberian Peninsula
|
Posted: Fri Jan 21, 2005 11:42 am Post subject: |
|
|
saber850 wrote: | Palhoto wrote: | I've tried the same thing but with "7" and it didn't work. "7" should be the default svga terminal (ctrl-alt-f8 ) so there are no conflicts with frame buffer or text console (ctrl-alt- F1 through F6) and X (ctrl-alt-F7). |
So you're saying "7" did not work? Did you use "0"? |
Yes, that's how it worked. "7" did not work, even for root, the same error appeared, "Is svgalib_helper module loaded?".
saber850 wrote: |
There's a svgalib config file at /etc/vga/libvga.config with mouse settings. I also use IMPS2 connected to a PS2 port, but specifying that option (nor several others) didn't fix the problem. |
Ok, thanks for the info. |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Mon May 16, 2005 1:37 pm Post subject: |
|
|
Ever get the mouse to work? I have the left corner mouse problem and editing the /etc/vga/libvga.config file did not help at all. _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
saber850 Tux's lil' helper
Joined: 21 Mar 2004 Posts: 115 Location: NY
|
Posted: Mon May 16, 2005 2:17 pm Post subject: |
|
|
drescherjm wrote: | Ever get the mouse to work? I have the left corner mouse problem and editing the /etc/vga/libvga.config file did not help at all. |
No. I gave up after a few days of trying w/out any luck. |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Mon May 16, 2005 3:39 pm Post subject: |
|
|
Thank You. I will probably do the same but if I find a solution I will try to report back here. _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
thedukane n00b
Joined: 17 Jul 2002 Posts: 22 Location: Lewisville, TX USA
|
|
Back to top |
|
|
|