LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 11-08-2007, 07:31 AM   #16
RAdams
Member
 
Registered: May 2006
Location: Cincinnati, Ohio
Distribution: Ubuntu
Posts: 256

Original Poster
Rep: Reputation: 30

Quote:
Originally Posted by timnicholson View Post
Thanks for the info on the auto-configure. That's a lot easier for me than trying to edit the file manually. I have now had some limited success, taking all the defaults EXCEPT:
* Chose the "vesa" driver
* Select the "Use kernel framebuffer device interface" option
* Select "Simple" for the "Method for selecting the monitor characteristics (otherwise it prompts for refresh rates which I can't find any info on what my system supports)

Using these options, its only at 800x600 resolution, though, which is less than desirable. Is it the generic "vesa" driver that is forcing the lower resolution? Does it not support 1024x768 like my LCD monitor supports?

At least now that I can get into xwindows, I can use the "test" mode in the screen settings. However, I'm having no luck in being able to choose the intel driver (its an 830, but I've also tried 810). Sticking with the vesa driver won't let me select higher resolutions.
Try installing xserver-xorg-video-i810 (sudo apt-get install -y xserver-xorg-video-i810). This should let you select the intel driver when you use the dpkg command I gave you earlier. Also, you can select what resolutions you wish to allow Xorg to use -- It's near the end of the configurations, depending on the driver you select.

If the Intel driver still won't work, try using the "mesa" instead of the vesa driver. If that doesn't work, try the "intel" driver, but read the options and play with them as needed (you may need to always use kernel framebuffer, I don't know).

Regarding your refresh rate, that is dependent on your monitor. Try googling your_monitor_model "refresh rate" and see if you can find it.
 
Old 11-08-2007, 02:52 PM   #17
timnicholson
LQ Newbie
 
Registered: Oct 2007
Posts: 8

Rep: Reputation: 0
Thanks to everyone! To wrap up the discussion around video drivers and display settings, I did end up using the Intel i810 driver as suggested. I found some info on the 'net where some folks had IBM laptops that happened to use that same video driver as my tablet pc (Intel 830/810 type) and got it working.

Here are the relevant parts of my xorg.conf file so anyone else in this same boat can see what works:

Code:
Section "Device"
	Identifier	"Intel Corporation 82830 CGC [Chipset Graphics Controller]"
	Driver		"i810"
	BusID		"PCI:0:2:0"
	Option		"UseFBDev"	"true"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	HorizSync	28-49
	VertRefresh	43-72
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Intel Corporation 82830 CGC [Chipset Graphics Controller]"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Modes		"1024x768" "800x600"
	EndSubSection
EndSection
I also uncommented the lines from the xorg.conf file to enable the pen and it does seem to work fine as a standard pointing device anyway. The button on the pen doesn't seem to work, but it moves the pointer and you can click and double-click with it.

Here's the code at the very end where you uncomment (remove the # sign) from 3 lines to get the pen to work:

Code:
Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"

# Uncomment the next 3 lines if you have a wacom tablet (or Tablet PC)
	InputDevice     "stylus"	"SendCoreEvents"
	InputDevice     "cursor"	"SendCoreEvents"
	InputDevice     "eraser"	"SendCoreEvents"
	InputDevice	"Synaptics Touchpad"
EndSection
One further thing that I was able to do from looking at some xorg.conf files for tablet usage, was to be able to rotate the screen to portrait mode. However, the way its coded, its either one way or the other (portrait or landscape).

I'd really love to be able to set up the rotation as a screen preference that can be selected from the UI via the Display Settings control panel. Right now that screen lets you select a resolution (which oddly does NOT correspond to the resolutions I hard-coded into the config file so maybe its grabbing the actual supported resultions from the i810 driver). If that same screen could let you select portrait or landscape, that would be great.

Here's the relevant xorg.conf info to put the screen into portrait mode (permanently):

Code:
Section "InputDevice"
	Driver		"wacom"
	Identifier	"stylus"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"stylus"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
        Option  	"Rotate"        "CW"
EndSection

Section "Device"
	Identifier	"Intel Corporation 82830 CGC [Chipset Graphics Controller]"
	Driver		"i810"
	BusID		"PCI:0:2:0"
	Option		"UseFBDev"	"true"
        Option  	"Rotate"        "CW"
        Option  	"SWCursor"      "on"
EndSection
There are still several things to do to really be able to use this a Tablet PC. I'll search the forums for relevant posts, but here's the initial list if anyone has any pointers:
  • Get the button on the pen to work to "right click" the mouse
  • Get some kind of handwriting recognition window and/or onscreen keyboard
  • Find a way to assign functions to the buttons on the tablet screen, such as launching apps, up/down and left/right arrows, rotate screen, etc.

Last edited by timnicholson; 11-08-2007 at 02:53 PM.
 
Old 11-13-2007, 10:34 PM   #18
redjokerx
Member
 
Registered: Aug 2004
Location: San Diego
Distribution: Slackware
Posts: 303

Rep: Reputation: 31
My xorg.conf file has cursor, stylus, and eraser sections for input devices. Maybe you need to have that to get the buttons working.

Here's mine:
Code:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        # vvv thinkwiki.org vvv
        InputDevice    "cursor" "SendCoreEvents"
        InputDevice    "stylus" "SendCoreEvents"
        # ^^^ thinkwiki.org ^^^
EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/75dpi/:unscaled"
EndSection

Section "Module"
        Load  "extmod"
        Load  "dbe"
        Load  "record"
        Load  "glx"
        Load  "dri"
        Load  "GLcore"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option       "XkbModel"  "pc104"
        Option       "XkbLayout"  "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "EmulateWheel" "true"
        Option      "EmulateWheelButton" "2"
        Option      "Emulate3Button" "true"
        Option      "XAxisMapping" "6 7"
        Option      "YAxisMapping" "4 5"
        Option      "ZAxisMapping" "6 7"
EndSection

# from thinkwiki.org

Section "InputDevice"
     Driver        "wacom"
     Identifier    "cursor"
     Option        "Device"        "/dev/ttyS0"
     Option        "Type"          "cursor"
     Option        "ForceDevice"   "ISDV4"
     Option        "Mode"          "Absolute"
EndSection

Section "InputDevice"
     Driver        "wacom"
     Identifier    "stylus"
     Option        "Device"        "/dev/ttyS0"
     Option        "Type"          "stylus"
     Option        "ForceDevice"   "ISDV4"
EndSection

Section "InputDevice"
     Driver        "wacom"
     Identifier    "eraser"
     Option        "Device"        "/dev/ttyS0"
     Option        "Type"          "eraser"
     Option        "ForceDevice"   "ISDV4"
EndSection

# ^^^ from thinkwiki.org ^^^

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
        BusID       "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
 
Old 11-13-2007, 11:08 PM   #19
RAdams
Member
 
Registered: May 2006
Location: Cincinnati, Ohio
Distribution: Ubuntu
Posts: 256

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by redjokerx View Post
My xorg.conf file has cursor, stylus, and eraser sections for input devices. Maybe you need to have that to get the buttons working.

Here's mine:
Code:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        # vvv thinkwiki.org vvv
        InputDevice    "cursor" "SendCoreEvents"
        InputDevice    "stylus" "SendCoreEvents"
        # ^^^ thinkwiki.org ^^^
EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/75dpi/:unscaled"
EndSection

Section "Module"
        Load  "extmod"
        Load  "dbe"
        Load  "record"
        Load  "glx"
        Load  "dri"
        Load  "GLcore"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option       "XkbModel"  "pc104"
        Option       "XkbLayout"  "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "EmulateWheel" "true"
        Option      "EmulateWheelButton" "2"
        Option      "Emulate3Button" "true"
        Option      "XAxisMapping" "6 7"
        Option      "YAxisMapping" "4 5"
        Option      "ZAxisMapping" "6 7"
EndSection

# from thinkwiki.org

Section "InputDevice"
     Driver        "wacom"
     Identifier    "cursor"
     Option        "Device"        "/dev/ttyS0"
     Option        "Type"          "cursor"
     Option        "ForceDevice"   "ISDV4"
     Option        "Mode"          "Absolute"
EndSection

Section "InputDevice"
     Driver        "wacom"
     Identifier    "stylus"
     Option        "Device"        "/dev/ttyS0"
     Option        "Type"          "stylus"
     Option        "ForceDevice"   "ISDV4"
EndSection

Section "InputDevice"
     Driver        "wacom"
     Identifier    "eraser"
     Option        "Device"        "/dev/ttyS0"
     Option        "Type"          "eraser"
     Option        "ForceDevice"   "ISDV4"
EndSection

# ^^^ from thinkwiki.org ^^^

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
        BusID       "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
If anyone with a tablet PC can replicate this info and verify, I can format this data into an LQ Wiki article for future Tableteers.
 
Old 11-14-2007, 04:57 PM   #20
redjokerx
Member
 
Registered: Aug 2004
Location: San Diego
Distribution: Slackware
Posts: 303

Rep: Reputation: 31
Quote:
Here's the relevant xorg.conf info to put the screen into portrait mode (permanently):
Does the cursor work correctly in portrait mode? I use xrandr to rotate the screen, but in portrait mode, the stylus is still stuck in landscape orientation.

I'm also guessing that you can't switch between portrait and landscape right?
 
  


Reply

Tags
driver, intel, screen, tablet, video, xorgconf


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Running Ubuntu Linux on Acer Tablet PCs Part III LXer Syndicated Linux News 0 12-31-2006 07:33 PM
Configuring a Wacom Graphire Tablet to track like a tablet (not like a mouse) anlace Debian 2 11-07-2006 05:20 AM
LXer: EU-Funded Project to Test Open-Source Viability LXer Syndicated Linux News 0 10-19-2006 03:03 AM
please advice on viability of slackware on enterprise side. krmane Slackware 11 07-24-2006 11:54 AM
Tablet PCs unmadindu Linux - Hardware 4 01-21-2003 05:52 AM


All times are GMT -5. The time now is 12:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration