Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

svgalib_helper module loads w/ kern 2.6.10 but no /dev/svga

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
13 posts • Page 1 of 1
Author
Message
Palhoto
Tux's lil' helper
Tux's lil' helper
Posts: 111
Joined: Thu Feb 27, 2003 3:32 pm
Location: Iberian Peninsula

svgalib_helper module loads w/ kern 2.6.10 but no /dev/svga

  • Quote

Post by Palhoto » Sat Jan 15, 2005 3:53 pm

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: Select all

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: Select all

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.
Top
thought_poet
n00b
n00b
Posts: 25
Joined: Tue Dec 14, 2004 9:08 am

  • Quote

Post by thought_poet » Mon Jan 17, 2005 11:30 am

I have this error on my system currently as well.
- Thought Poet
Top
kimchi_sg
Advocate
Advocate
User avatar
Posts: 3039
Joined: Fri Nov 26, 2004 11:11 am

  • Quote

Post by kimchi_sg » Mon Jan 17, 2005 11:35 pm

Why don't you try symlinking /dev/svga to one of the svga_helper/ devices?

Code: Select all

ln -s /dev/svga_helper/<NUMBER> /dev/svga
Top
saber850
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 115
Joined: Sun Mar 21, 2004 4:18 pm
Location: NY
Contact:
Contact saber850
Website

  • Quote

Post by saber850 » Thu Jan 20, 2005 10:13 am

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: Select all

ln -s /dev/svga_helper/<NUMBER> /dev/svga
No dice.
Top
kimchi_sg
Advocate
Advocate
User avatar
Posts: 3039
Joined: Fri Nov 26, 2004 11:11 am

  • Quote

Post by kimchi_sg » Thu Jan 20, 2005 5:31 pm

File a bug on http://bugs.gentoo.org . Last i emerged svgalib, it would create the /dev/svga device node for me. So this is a sort of bug. :-(
Top
saber850
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 115
Joined: Sun Mar 21, 2004 4:18 pm
Location: NY
Contact:
Contact saber850
Website

  • Quote

Post by saber850 » Fri Jan 21, 2005 2:24 am

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.
Top
Palhoto
Tux's lil' helper
Tux's lil' helper
Posts: 111
Joined: Thu Feb 27, 2003 3:32 pm
Location: Iberian Peninsula

  • Quote

Post by Palhoto » Fri Jan 21, 2005 2:48 am

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.
Top
saber850
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 115
Joined: Sun Mar 21, 2004 4:18 pm
Location: NY
Contact:
Contact saber850
Website

  • Quote

Post by saber850 » Fri Jan 21, 2005 4:00 am

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.
Top
Palhoto
Tux's lil' helper
Tux's lil' helper
Posts: 111
Joined: Thu Feb 27, 2003 3:32 pm
Location: Iberian Peninsula

  • Quote

Post by Palhoto » Fri Jan 21, 2005 11:42 am

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.
Top
drescherjm
Advocate
Advocate
Posts: 2792
Joined: Sat Jun 05, 2004 5:46 am
Location: Pittsburgh, PA, USA

  • Quote

Post by drescherjm » Mon May 16, 2005 1:37 pm

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
Top
saber850
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 115
Joined: Sun Mar 21, 2004 4:18 pm
Location: NY
Contact:
Contact saber850
Website

  • Quote

Post by saber850 » Mon May 16, 2005 2:17 pm

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.
Top
drescherjm
Advocate
Advocate
Posts: 2792
Joined: Sat Jun 05, 2004 5:46 am
Location: Pittsburgh, PA, USA

  • Quote

Post by drescherjm » Mon May 16, 2005 3:39 pm

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
Top
thedukane
n00b
n00b
Posts: 22
Joined: Wed Jul 17, 2002 5:15 pm
Location: Lewisville, TX USA

This link fixed my problem

  • Quote

Post by thedukane » Sat Sep 10, 2005 3:41 pm

http://forums.gentoo.org/viewtopic-t-33 ... mouse.html[/post]
Thanks for your asistance and constructive criticism.
Top
Post Reply

13 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy