Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SCSI subsystem driver - libdata?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
Birdman
LXF regular


Joined: Thu May 05, 2005 12:59 pm
Posts: 145
Location: Wallington, Surrey UK

PostPosted: Sun Jun 26, 2005 3:47 pm    Post subject: RE: SCSI subsystem driver - libdata? Reply with quote

Another step forward.

I have connected the mouse via USB and can now control the mouse Smile

For some reason the scroll wheel will not work now - did under PS2 Sad

Let's be positive. I now have a usable system - 2.6 kernel to build off and a mouse that I can control. Any tips on getting the scroll wheel reactivated will be a bonus Wink

Thanks.
Back to top
View user's profile Send private message
nordle
LXF regular


Joined: Fri Apr 08, 2005 10:56 pm
Posts: 1500

PostPosted: Sun Jun 26, 2005 5:09 pm    Post subject: RE: SCSI subsystem driver - libdata? Reply with quote

Smile Excellent news, just got to sort that wheel

I too have a logitech optical wheel mouse (Logitech UltraX variety), but linked in using the ps2 converter and xorg.conf has just:

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/mouse"


Your xorg.conf sais

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

So the only difference is the Emulate3Buttons, is it worth trying it with PS2 and removing that line?
When you change the xorg.conf, you need to save it and log out of the xserver, ie close KDE/gnome and log back into kde/gnome etc Again, this may be something you were already doing.

A post by someone else with the same errors had this reply, note the "psmouse.proto=imps" that they added to lilo.conf
http://tinyurl.com/dqs5c

Another interesting post seemed to hint that the mouse mat that was used affected it, Im not sure how that explains the working and not working when ps2 or usb but might be worth a punt:
http://www.linuxforums.org/forum/post-239266.html

And another link:
http://kerneltrap.org/node/3637

There seem a lot of posts covering a range of distro's, but unfortunately no specific fix, more trial and error Im afraid.
_________________
I think, therefore I compile
Back to top
View user's profile Send private message
Birdman
LXF regular


Joined: Thu May 05, 2005 12:59 pm
Posts: 145
Location: Wallington, Surrey UK

PostPosted: Sun Jun 26, 2005 8:34 pm    Post subject: RE: SCSI subsystem driver - libdata? Reply with quote

Nordle,

>
"psmouse.proto=imps"
>

Cracking advise. It works Smile

I am back to PS2 with a wheel that works.

A few rough edges to look at, but I am now on to a winner.

Thanks.
Back to top
View user's profile Send private message
nordle
LXF regular


Joined: Fri Apr 08, 2005 10:56 pm
Posts: 1500

PostPosted: Sun Jun 26, 2005 10:11 pm    Post subject: RE: SCSI subsystem driver - libdata? Reply with quote

Thats great, got there in the end Smile

The other good thing is that this post is already showing up in google, and now with a confirmed solution (for this situation anyway).

Not the greatest introduction to the 2.6 series, but hopefully now you can actually use the benefits, and are able to compile a kernel while wearing a blindfold Wink
Back to top
View user's profile Send private message
jjmac
LXF regular


Joined: Fri Apr 08, 2005 2:32 am
Posts: 1996
Location: Sydney, Australia

PostPosted: Mon Jun 27, 2005 1:11 am    Post subject: RE: SCSI subsystem driver - libdata? Reply with quote

It's always good to backup your .config file, especially if your going to do a "make mrproper", which you should do.

And any disk support for the 'root' directory needs to be compiled in rather than as a module, in order for it to be mountable at boot.


Iv'e got the same mouse and processor so some of the below may be usefull.

Code:

---------------------------------------------------------------------------------
XF86Config-4
---------------------------------------------------------------------------------

Section "InputDevice"
  Identifier  "Generic Mouse"
  Driver      "mouse"
# For the PS/2 mouse at least, the option below is needed,
# not so for the "Configured Mouse" above.
  Option      "SendCoreEvents"   "true"
  Option      "CorePointer" 
  Option      "Device"           "/dev/psaux"
# Option      "Protocol"         "PS/2"
# Thur 19/05/2005: Taken from syslog boot detection
# input: ImExPS/2 Logitech Explorer Mouse on isa0060/serio1
# Option      "Protocol"         "ImExPS/2"
# The above didn't work,
  Option      "Protocol"         "ImPS/2"
# This is the standard microsoft compatible serial mouse.
# Option      "Protocol"         "Microsoft"
  Option      "Emulate3Buttons"  "true"
  Option      "ZAxisMapping"     "4 5"
EndSec



---------------------------------------------------------------------------------------------
/usr/src/linux/.cong
---------------------------------------------------------------------------------------------

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=800
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=600

#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=m
CONFIG_SERIO_PARKBD=m

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y

CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_SERIAL=y
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=m

#
# Serial drivers
#
CONFIG_SERIAL_8250=m

CONFIG_SERIAL_8250_NR_UARTS=4

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=m
CONFIG_UNIX98_PTYS=y

CONFIG_PRINTER=m

#
# Processor type and features
#
CONFIG_X86_PC=y
CONFIG_MK8=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_HPET_TIMER=y

CONFIG_PREEMPT=y
CONFIG_PREEMPT_BKL=y
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_TSC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=m
CONFIG_X86_MSR=m
CONFIG_X86_CPUID=m



On SATA drives, 'gconfig' comes up with the following ...

Support for SATA (deprecated; conflicts with libata SATA driver) BLK_DEV_IDE_SATA

There are two drivers for Serial ATA controllers.

The main driver, "libata", exists inside the SCSI subsystem
and supports most modern SATA controllers.

The IDE driver (which you are currently configuring) supports
a few first-generation SATA controllers.

In order to eliminate conflicts between the two subsystems,
this config option enables the IDE driver's SATA support.
Normally this is disabled, as it is preferred that libata
supports SATA controllers, and this (IDE) driver supports
PATA controllers.

If unsure, say N.


Can't really see any more direct mention on SATA drives in the .config ... guess i'll find that out when i install a drive.


jm
_________________
http://counter.li.org
#313537

The FVWM wm -=- www.fvwm.org -=-

Somebody stole my air guitar, It happened just the other day,
But it's ok, 'cause i've got a spare ...
Back to top
View user's profile Send private message
Birdman
LXF regular


Joined: Thu May 05, 2005 12:59 pm
Posts: 145
Location: Wallington, Surrey UK

PostPosted: Mon Jun 27, 2005 12:43 pm    Post subject: RE: SCSI subsystem driver - libdata? Reply with quote

jm, thanks for the info. I will be interested to see how you get on with yor SATA drive when the time comes.

The point you raise on the possible conflicts between the two driver methods, I have had kernels running by selecting one only and also by having both selected (as I currently do). Although I now have a functional kernel that will boot from my SATA drive I am none the wiser as to what the critical settings are. I am just pleased to have a working system at the moment so that I can move one to setting up other configurations (my wife wants OO and to be able to print and use her digital camera -- and on, and on Rolling Eyes ). I will definitely revisit this though.
Back to top
View user's profile Send private message
jjmac
LXF regular


Joined: Fri Apr 08, 2005 2:32 am
Posts: 1996
Location: Sydney, Australia

PostPosted: Tue Jun 28, 2005 10:36 am    Post subject: RE: SCSI subsystem driver - libdata? Reply with quote

>>
I will be interested to see how you get on with yor SATA drive when the time comes.
>>

(grin), so will i, i think, hehe.

The posts caught my eye, as your system seems similar, same mouse etc. I only had to add the ...

Option "SendCoreEvents" "true"

line to X's config to get it to work with the PS/2 adapter, the old X though, v4.0, not X.org.

With the kernel ... i was thinking at the time ... i don't think iv'e seen much mention in "gconfig" concerning SATA disks Rolling Eyes. Except for that extraction (hmmm).

If you have a working drive with the 2.6 though, a .config dump would be surly worth a look (hint)(grin). That option of Nordles is a handy inclusion too Smile



jm
_________________
http://counter.li.org
#313537

The FVWM wm -=- www.fvwm.org -=-

Somebody stole my air guitar, It happened just the other day,
But it's ok, 'cause i've got a spare ...
Back to top
View user's profile Send private message
Birdman
LXF regular


Joined: Thu May 05, 2005 12:59 pm
Posts: 145
Location: Wallington, Surrey UK

PostPosted: Tue Jun 28, 2005 12:28 pm    Post subject: RE: SCSI subsystem driver - libdata? Reply with quote

No probs jm - I'll get that sorted tonight. I am using a slightly cut-down version of a .config file that Nordle provided for me. What have I started? I'm sure Nordle won't mind Wink
Back to top
View user's profile Send private message
jjmac
LXF regular


Joined: Fri Apr 08, 2005 2:32 am
Posts: 1996
Location: Sydney, Australia

PostPosted: Thu Jun 30, 2005 12:01 am    Post subject: RE: SCSI subsystem driver - libdata? Reply with quote

>>
cut-down ...
>>

I noticed you mentioned "menuconfig", ... i think ...

You can use a saved config as a base for either "xconfig" or "gconfig" frontends. Ones QT the others GTK based. It may make the various options more accessable.

Doing "make help" provides some good info too Smile The 2.6.x is a great kernel really Smile


jm
_________________
http://counter.li.org
#313537

The FVWM wm -=- www.fvwm.org -=-

Somebody stole my air guitar, It happened just the other day,
But it's ok, 'cause i've got a spare ...
Back to top
View user's profile Send private message
jjmac
LXF regular


Joined: Fri Apr 08, 2005 2:32 am
Posts: 1996
Location: Sydney, Australia

PostPosted: Thu Jun 30, 2005 5:08 am    Post subject: RE: SCSI subsystem driver - libdata? Reply with quote

Howdy Smile


Just saw the .config file, i'll have to look at it a bit closer, as it does have an option (of soughts) for sata ...

CONFIG_SCSI_SATA=y

Plus some others ... i don't think iv'e noticed that before. Unless its' been introduced after 2.6.10 ...

I also noticed ...

# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

Thats a gem of a facility though, which i use.

It produces a /sys/devices/system/cpu/cpu0/cpufreq/. directory. With the following scaling governors ...

"ondemand powersave userspace performance"

The kernels config process only provides "performance and usespace" as the two possible defaults but that can be changed after boot. It's good, i set it to "ondemand" which drops the cpu freq down to 1Ghz if usage is <= 20%. As soon as usage gets to >= 80% it jumps up to its' high mark 1.8Ghz. At boot both performance and userspace are at their high marks, with userspace allowing the operator to change modes at will.

Less noise, less heat !, less wear and tear. I recommend it a lot Smile

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_DEBUG=y
# CONFIG_CPU_FREQ_PROC_INTF is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_24_API=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_TABLE=y

I suppose sw could be used to do the scale changes but i just run a script as root.

/usr/sbin/setgovernor.sh

#!/bin/sh
#
set -e

echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor


jm
_________________
http://counter.li.org
#313537

The FVWM wm -=- www.fvwm.org -=-

Somebody stole my air guitar, It happened just the other day,
But it's ok, 'cause i've got a spare ...
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast