LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-15-2007, 12:43 PM   #1
bennythepitbull
Member
 
Registered: Oct 2003
Distribution: slackware
Posts: 70

Rep: Reputation: 15
xorg.conf


Running slackware 11.0 Linux 2.4.33.3.


I want to get the scroll on my USB mouse to work it is a Logitech infrared my USB mouse. I also want to have my graphics card perform better then it is. The graphics card is on board w)ith 32 mb shared memory; it is S3 Graphics UniChrome 2D/3D (onboard.

Here is what I did but x refused to start when i ran startx

I changed the mouse to "IMPS/2"
And I changed the driver to S3

I thought these changes would work but they did not.
So, I changed them back to ps/2 and vesa

any ideas?

Last edited by bennythepitbull; 05-15-2007 at 12:44 PM.
 
Old 05-15-2007, 12:48 PM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Who makes that graphics device? Is 'S3' the actual manufacturer? If not, please post us some more info about it, and any relevant info about the machine/motherboard manufacturer etc.. Also, provide the model number of teh mouse.
Have you checked the 'Linux HCL' (Link to the right) to see if other users have use(d) this mouse, and how to make it work?
Try searching too, for something like 'logitech mouse' using the 'search' function above, and see what turns up. Failing that, post the 'mouse' section of your xorg.conf file.
 
Old 05-15-2007, 12:49 PM   #3
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Make sure a driver called "S3" (be careful with capitals; 's3' is probably different from 'S3') exists. Only change one option at a time to make sure what does and what does not work, for example first change video driver and if it works, then mouse (or if it doesn't work, try mouse first).

I had problems with my mouse after installing Slackware 11. I've never had, or actually did have with Arch once but it was the wheel not working and got it fixed with the ZAxisMapping option; on Slack my mouse only moved up or down, or when I clicked it moved a bit to the right. Only one protocol (usb) worked, and that didn't work all right, so I had to give up Slack then because I was in a hurry (for me it was easier to install another distribution then, than fight with Slack). It could well be the kernel too that's struggling with your mouse, or anything else.
 
Old 05-15-2007, 12:51 PM   #4
bennythepitbull
Member
 
Registered: Oct 2003
Distribution: slackware
Posts: 70

Original Poster
Rep: Reputation: 15
here is the board

Model
Brand ECS
Model P4M800PRO-M478 (1.0)
Supported CPU
CPU Socket Type Socket 478
CPU Type Pentium 4 / Celeron
FSB 800/533MHz
Supported CPU Technologies Hyper-Threading Technology
Chipsets
North Bridge VIA P4M800 PRO
South Bridge VIA VT8237R Plus
Memory
Number of Memory Slots 2184pin + 2240pin
Memory Standard DDR 400/DDR2 533
Maximum Memory Supported 2GB
Expansion Slots
AGP Slots 1 x AGP 4X / 8X
PCI Express x16 None
PCI Slots 3
Storage Devices
PATA 2 x ATA100 up to 4 Devices
SATA 1.5 Gb/s 2
SATA RAID 0/1
Onboard Video
Onboard Video Chipset S3 Graphics UniChrome 2D/3D
Onboard Audio
Audio Chipset Realtek ALC655
Audio Channels 6 Channels
Onboard LAN
LAN Chipset VIA VT6103L
Max LAN Speed 10/100Mbps
Rear Panel Ports
PS/2 2
COM 1
LPT 1
Video Ports D-Sub
USB 4 x USB 2.0
Audio Ports 3 Ports
Onboard USB
Onboard USB 2 x USB 2.0 connectors support 4 ports
Physical Spec
Form Factor Micro ATX
Dimensions 9.6" x 9.6"
Features
Power Pin 24 Pin
Packaging
Package Contents P4M800PRO-M478 (1.0)
User Manual
Driver Disk
Rear I/O Panel Shield
IDE/PATA Cable
FDD Cable
SATA Cable
4-pin to SATA Power Cable
 
Old 05-15-2007, 01:04 PM   #5
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
If you haven't got the (newest/newer) Linux drivers for the graphics card, you can get them here: http://sourceforge.net/project/showf...roup_id=102048 and likely other places. The VIA support website(s) also offer them, though they didn't explicitly say '3D support' on the VIA site.. There are a bunch of other packages there as well on Sourceforge, for the S3 card, which you may find useful.
 
Old 05-15-2007, 01:09 PM   #6
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
run 'xorgsetup', it will help.
 
Old 05-15-2007, 01:41 PM   #7
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
When X fails to start, check the output of the error log in /var/log. Also, try

Option "Protocol" "ExplorerPS/2"

as the mouse type. Getting the scroll wheel to work will probably require other options as well, such as

Option "ZAxisMapping" "4 5"

The reason X is failing to start is probably due to the driver, rather than your protocol choice at the moment.

The various drivers available for an S3 card, as listed in /usr/X11R6/lib/X11, are:

s3
s3virge
savage
 
Old 05-16-2007, 10:22 AM   #8
bennythepitbull
Member
 
Registered: Oct 2003
Distribution: slackware
Posts: 70

Original Poster
Rep: Reputation: 15
where can one find the driver names list?

never mind i found it
 
Old 05-16-2007, 10:35 AM   #9
bennythepitbull
Member
 
Registered: Oct 2003
Distribution: slackware
Posts: 70

Original Poster
Rep: Reputation: 15
need help

here is what id did thus far seems i had to install driver I fetched it from via // below is what it told me to do in the readme.txt

I made it to "make install" it seemed to go okay but when i go to
modprobe as it suggest the system just hangs
I guess what I am asking is after "make install" what should I be doing?
---------------------------------------------------------------------------

VIA Integration Graphic Chip Console Framebuffer Driver
Copyright 2005 VIA Technologies, Inc. All Rights Reserved.

---------------------------------------------------------------------------
Platform

The console framebuffer driver is for Graphics chips of
VIA UniChrome Family (CLE266, KM400, KN400, K8M800, K8N800, PM800, PN800, CN400, P4M800Pro/CE, VN800, CN700).

---------------------------------------------------------------------------
Driver features

Device: CRT, TV
Support Mode: CRT: 640x480(60,75,85,100,120Hz), 720x480(60Hz),
720x576(60Hz), 800x600(60,75,85,100,120Hz),
848x480(60Hz), 856x480(60Hz), 1024x512(60Hz),
1024x768(60,75,85,100Hz), 1152x864(75Hz),
1280x768(60Hz), 1280x960(60Hz), 1280x1024(60,75,85Hz),
1440x1050(60Hz), 1600x1200(60,75Hz),
1280x720(60Hz), 1920x1080(60Hz), 1400x1050(60Hz), 800x480(60Hz)
TV: VT1622, VT1622A, VT1623 (640x480, 800x600, 1024x768, 720x480, 720x576, 848x480)
VT1625 (640x480, 800x600, 1024x768, 720x480, 720x576, 1280x720(HDTV), 1920x1080(HDTV))

color depth : 8 bpp, 16 bpp, 32 bpp
TV encoder : VIA VT1622, VT1622A, VT1623, VT1625
TV output : VT1622 (Composite, S-Video, Composite+S-Video, YCBCR)
VT1622A ,VT1623 (Composite, S-Video, Composite+S-Video, RGB, YCBCR, SDTV_RGB, SDTV_YPBPR)
VT1625 (Composite, S-Video, Composite+S-Video, RGB, YCBCR , SDTV_RGB, SDTV_YPBPR, HDTV_RGB_720P, HDTV_YPBPR_720P, HDTV_RGB_1080I, HDTV_YPBPR_1080I)
TV type : NTSC,PAL
Support TV overscan display
Support 2D hardware accelerator for kernel 2.6.

---------------------------------------------------------------------------
Building viafb as a module. (for Linux kernel 2.4)
Make sure you have the kernel sources in /usr/src/linux-2.4.
Change to the viafb directory, and then following below steps:
Step 1: change to folder /usr/src/linux-2.4.
# cd /usr/src/linux-2.4.
The linux-2.4 directory depend on your kernel version, so if your kernel version is
2.4.18-3, you should type "/usr/src/linux-2.4.18-3".
Step 2: copy viafb folder in current directory.
# cp -rf .../viafb ./
Step 3: change to viafb directory
# cd /viafb
Step 4: Clear all object file.
# make clean
Step 5: Make source code
# make
Note that if no any error, this step will be produced an object file "viafb.o".
Step 6: Install viafb.o framebuffer driver
# make install

---------------------------------------------------------------------------
Using the viafb module. (for Linux kernel 2.4)

Start viafb with default settings,
#modprobe viafb

Start viafb with with user options,
#modprobe viafb mode=800x600 bpp=16 refresh=60 TV_ON=1 tv_system=1 tv_level=1
tv_out_signal=4 mode1=1024x768 bpp1=16 refresh1=60 SAMM_ON=1

mode :
640x480 (default)
720x480
800x600
1024x768
......

bpp :
8, 16, 32 (default : 32)

refresh :
60, 75, 85, 100, 120 (default : 60)

CRT_ON:
0 : CRT disable
1 : CRT enable (default)

TV_ON :
0 : TV disable (default)
1 : TV enable

tv_system :
0 : none
1 : NTSC (default)
2 : PAL

tv_level :
VT1622, VT1622A, VT1623
0 : underscan (default)
1 : fitscan (close to fit Industry TV Screen)
2 : overscan
Other TV Encoders
0 : underscan (default)
1 : overscan

tv_out_signal:
1: Composite
2: S-Video
3: Composite+S-Video (default)
4: RGB
5: YCBCR (or component)
6: RGB+Composite
7: YCBCR+Composite
8. SDTV_RGB (480P, 576P)
9. SDTV_YPBPR (480P, 576P)
10. HDTV_RGB (720P)
11. HDTV_YPBPR (720P)
12. HDTV_RGB (1080I)
13. HDTV_YPBPR (1080I)

tv_dedotcrawl:
0: Disable DeDotCrawl Function (default)
1: Enable DeFotCrawl Function
Note that the DeDotCrawl work under NTSC and composite outputting condition, other
conditions don't support this function.

tv_ffilter: To set TV Flicker Filter level
0 ~ 2 : VT1622, VT1622A, VT1623
0 ~ 3 : VT1625

tv_brightness:
0 ~ 255 : To set TV output brightness

tv_contrast:
0 ~ 255 : To set TV output contrast

tv_saturation:
0 ~ 65535 : To set TV output saturation

tv_tint:
0 ~ 2047 : To set TV output tint
Note: Different TV encoder have different default values of TV color features
including brightness, contrast, saturation, and tint.

DVI_ON:
0 : DVI disable
1 : DVI enable (default)

LCD_ON :
0 : LCD disable (default)
1 : LCD enable

lcd_dsp_method:
0 : expandsion (default)
1 : centering

lcd_panel_id:
0 : Resolution: 640x480, Channel: single, Dithering: Enable
1 : Resolution: 800x600, Channel: single, Dithering: Enable
2 : Resolution: 1024x768, Channel: single, Dithering: Enable (default)
3 : Resolution: 1280x768, Channel: single, Dithering: Enable
4 : Resolution: 1280x1024, Channel: dual, Dithering: Enable
5 : Resolution: 1400x1050, Channel: dual, Dithering: Enable
6 : Resolution: 1600x1200, Channel: dual, Dithering: Enable
9 : Resolution: 1024x768, Channel: dual, Dithering: Enable
10: Resolution: 1024x768, Channel: single, Dithering: Disable
11: Resolution: 1024x768, Channel: dual, Dithering: Disable
12: Resolution: 1280x768, Channel: single, Dithering: Disable
13: Resolution: 1280x1024, Channel: dual, Dithering: Disable
14: Resolution: 1400x1050, Channel: dual, Dithering: Disable
15: Resolution: 1600x1200, Channel: dual, Dithering: Disable

accel: (only for kernel 2.6)
0 : No 2D Hardware Acceleration (default)
1 : 2D Hardware Acceleration

SAMM_ON:
0 : SAMM_ON disable (default)
1 : SAMM_ON enable

mode1 secondary display device)
640x480 (default)
720x480
800x600
1024x768
......

bpp1 secondary display device)
8, 16, 32 (default : 32)

refresh1 secondary display device)
60, 75, 85, 100, 120 (default : 60)

active_dev:
This option is used to specify active devices. (CRT, TV, DVI, LCD, CRT+TV, CRT+LCD, CRT+DVI,...)
In SAMM case, the previous of active_dev is primary device, and the following is secondary device.
For example:
To enable one device, such as TV only, we should use:
modprobe viafb active_dev=TV ...

To enable two devices, such as CRT+TV:
For simultaneous case, we can use:
modprobe viafb active_dev=CRT+TV ...
OR
modprobe viafb active_dev=TV+CRT ...

For SAMM case:
If CRT is primary and TV is secondary, we should use:
modprobe viafb active_dev=CRT+TV SAMM_ON=1 ...
If TV is primary and CRT is secondary, we should use:
modprobe viafb active_dev=TV+CRT SAMM_ON=1 ...

Note :
1. If TV is enabled, the refresh rate will be bound to TV type (NTSC:60Hz, PAL:50Hz).
2. CRT may not display properly for simultaneous CRT & TV display at
the "640x480" PAL mode with TV overscan enabled.
3. When SAMM is enable, mode and mode1,bpp and bpp1,refresh and refresh1 can
be different.

---------------------------------------------------------------------------
Configure viafb options with "fbset" tool

"fbset" is an inbox utility of Linux.

1. Inquire current viafb information, type,
# fbset -i

2. Set various resolutions and refresh rates,
# fbset <resolution-vertical_sync>
example,
# fbset "1024x768-75"

Check the file "/etc/fb.modes" to find display modes available.

3. Set the color depth,
# fbset -depth <value>
example,
# fbset -depth 16
 
Old 05-16-2007, 11:06 AM   #10
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
@bennythepitbull- could you please use the "code" tags around your post? I'm not sure what you're posting up there - its difficult to follow.

what 'module' are you probing? did you just type 'modprobe' ? you can also try:
Code:
modprobe -f viafb  # i'm guessing from above thats the module you're trying to load
also, you may need to modprobe this w/o X running.

is your kernel recognizing your vga adapter? whats the output of lspci | grep VGA ?

have you tried just running xorgsetup (as root)?
 
Old 05-16-2007, 12:25 PM   #11
bennythepitbull
Member
 
Registered: Oct 2003
Distribution: slackware
Posts: 70

Original Poster
Rep: Reputation: 15
01:00.0 VGA compatible controller: VIA Technologies, Inc. UniChrome Pro IGP (rev 01)
the abouve is the out put of lspci | grep VGA.


Xorgsetup goes through fine but on reboot the monitor ia out of range
When i re ran mod probe is hung and ruined the file system .
I was able to recover though.

I am wonering if I installed it wrong
I followed the exect instruction in the read me file.
 
Old 05-16-2007, 01:03 PM   #12
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Can you try this with 2.6 kernel?
 
Old 05-16-2007, 01:40 PM   #13
bennythepitbull
Member
 
Registered: Oct 2003
Distribution: slackware
Posts: 70

Original Poster
Rep: Reputation: 15
more info

**************************************************
Build options:
VERSION 2.4.33.3
Viafb module was successfully compiled
root@LINDOWS:~/Linux-FBDev-kernel-src_20050726# make install
rm -f /etc/fb.modes
cp viafb.modes /etc/fb.modes
`viafb.o' -> `/lib/modules/2.4.33.3/kernel/drivers/video/viafb.o'
root@LINDOWS:~/Linux-FBDev-kernel-src_20050726#



The above is what I am getting after make and make install.
 
Old 05-16-2007, 02:10 PM   #14
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
Quote:
Xorgsetup goes through fine but on reboot the monitor ia out of range
on reboot? you mean restarting X?
what do you mean by 'the monitor is out of range' ?

does X start or does it error out? If X is running (like a black or distorted screen) then the driver is probably working, but you might need to tweak monitor settings. Usually X is smart enough to crap out if the drivers are incorrectly set up.

after running xorgsetup (and not changing anything) what does 'cat /etc/xorg.conf' show?

what is in Xorg.0.log?

please use vb code to wrap stuff in your posts
just put "[code]" at beginning of long texts and "[\code]" at the end. minus the quotation marks, and make the backslash a forward slash.

Last edited by bioe007; 05-16-2007 at 02:29 PM.
 
Old 05-17-2007, 03:46 AM   #15
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Maybe this kernel's via driver is buggy. Can you try other kernel, preferably 2.6?
 
  


Reply


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
Where is my xorg.conf gone NNP Debian 14 11-28-2005 05:18 PM
xorg.conf mgkemp Linux - Software 1 05-26-2005 08:21 AM
xorg.conf jcombs_31 Slackware 1 01-07-2005 03:07 PM
xorg.conf dc_cid Linux - Newbie 4 09-03-2004 07:51 PM
Xorg Hard Crashes and corrupts xorg.conf Advocator Linux - General 0 07-15-2004 01:41 PM


All times are GMT -5. The time now is 08:53 AM.

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