OT: Help needed for disassembling Toshiba Satellite 5100-603

2004-10-22 Thread Jan T. Kim
Hi list,

My Toshiba Satellite 5100-603 notebook (on which I use Debian sarge)
has developed a hardware problem (random things start to flicker
around on the screen a few minutes after switching on and booting
the system).

Now, I have unscrewed all the screws I could find (including one under
the twisted pair network and modem socket, which I overlooked initially),
but the case doesn't come apart.

Does anyone of you know how to disassemble this unit? I'd like to
check whether perhaps some little fan has become stuck, or excessive
dust has accumulated somewhere or something like that, possibly
causing the graphics hardware to overheat...

Thanks in advance and best regards,
Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]   |
 |*NEW*WWW:   http://www.cmp.uea.ac.uk/people/jtk |
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: OT: Help needed for disassembling Toshiba Satellite 5100-603

2004-10-22 Thread Jan T. Kim
Hi Stephen,

On Fri, Oct 22, 2004 at 12:34:02PM -0400, Stephen Ryan wrote:
> On Fri, 2004-10-22 at 08:52, Jan T. Kim wrote:

> > Now, I have unscrewed all the screws I could find (including one under
> > the twisted pair network and modem socket, which I overlooked initially),
> > but the case doesn't come apart.

> Disclaimer: I have never disassembled a Toshiba laptop.  I have,
> however, disassembled an IBM Thinkpad and a Compaq Presario, and both of
> those had little plastic catches all along the sides.  I've tried to
> draw a picture of a side profile of the case:
> (http://sryan.stearns.org/~sryan/laptop_catch.png) Basically, you have
> to wedge a small screwdriver in the side of the case to release the
> catch before you can pull it apart.  You'll have to do each catch one at
> a time unless you have many more hands than I do :-) 

Thanks for your help. Your guess was right, there are catches (a few
only, though) around the front of the case, but I had managed to open
them already. The thing is now held together by something in the
middle, and I cannot see what that might be.

I've found some descriptions of similar problems in the web, there,
it was suggested that more screws may be underneath the keyboard. I
don't know how to remove the keyboard, though. There is no visible
mechanism for removing it, so I was expecting that basically, the top
part of the case would come off, revealing the keyboard and the other
stuff sitting on the lower part of the case -- but perhaps, someone
around here knows how to remove the keyboard without (fully) opening
the case first?

I'll probe around with a little screwdriver tonight...

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]   |
 |*NEW*WWW:   http://www.cmp.uea.ac.uk/people/jtk |
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: OT: Help needed for disassembling Toshiba Satellite 5100-603

2004-10-25 Thread Jan T. Kim
Hi all,

On Sun, Oct 24, 2004 at 08:32:34AM -0700, Bill Moseley wrote:
> On Fri, Oct 22, 2004 at 06:22:09PM +0100, Jan T. Kim wrote:
> > Thanks for your help. Your guess was right, there are catches (a few
> > only, though) around the front of the case, but I had managed to open
> > them already. The thing is now held together by something in the
> > middle, and I cannot see what that might be.
> > 
> > I've found some descriptions of similar problems in the web, there,
> > it was suggested that more screws may be underneath the keyboard. I
> > don't know how to remove the keyboard, though.
> 
> Not sure if this will help...
> 
> I have a different model Toshiba (2805-S302) and I had to pry up a bit
> of plastic directly above the keyboard to get to the screws that hold
> down the keyboard.  On my laptop it's the plastic strip that has the
> power button and three LEDs for caps-local, function light, and
> keyboard in numeric mode.

Yes, indeed that also applies to the Satellite 5100, as I found out
the evening when I was poking around with the screwdriver. Underneath
the keyboard, there were a few additional screws that had to be removed
in order to take apart the case.

Thanks to all who responded.

Unfortunately, I didn't find anything like a stuck fan which I could
fix, and the system still seems to have graphics problems. I'll now
put everything back together again, and if that doesn't "magically"
repair the thing (any suggestions for the preferred moon phase for doing
this? ;-)  ), I'll probably have to look into getting a replacement.

Kind regards, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]   |
 |*NEW*WWW:   http://www.cmp.uea.ac.uk/people/jtk |
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: OT: Help needed for disassembling Toshiba Satellite 5100-603

2004-10-25 Thread Jan T. Kim
Hi Paul,

On Mon, Oct 25, 2004 at 12:45:25PM -0400, PaulNM wrote:
> Jan T. Kim wrote:

> >Unfortunately, I didn't find anything like a stuck fan which I could
> >fix, and the system still seems to have graphics problems. I'll now
> >put everything back together again, and if that doesn't "magically"
> >repair the thing (any suggestions for the preferred moon phase for doing
> >this? ;-)  ), I'll probably have to look into getting a replacement.

> I was so focused on the "take laptop apart" question that I missed the 
> part about the video.  My laptop has a similar problem that has gone 
> progressivly worse. Have you tried connecting a monitor to the video 
> out? I've found that the problem (for me) is with the actual lcd sreen 
> or connections and not the video card since it doesn't appear on other 
> monitors.

With my machine, the LCD video and the CRT video look exactly the same.
Moreover, in console mode, weird and broken looking characters (sometimes
coloured, without any reason) scroll off as I press return (when using
a shell).

I think that the video RAM is broken, therefore.

Well, my last hope is that the machine gets back to normal after
reassembly, if it doesn't, my trust in the system will be damaged too
much, so I'll start looking into getting a new laptop.

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]   |
 |*NEW*WWW:   http://www.cmp.uea.ac.uk/people/jtk |
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: OT: Help needed for disassembling Toshiba Satellite 5100-603

2004-10-26 Thread Jan T. Kim
On Mon, Oct 25, 2004 at 08:15:01PM +0100, Jan T. Kim wrote:
> On Mon, Oct 25, 2004 at 12:45:25PM -0400, PaulNM wrote:

> > I was so focused on the "take laptop apart" question that I missed the 
> > part about the video.  My laptop has a similar problem that has gone 
> > progressivly worse. Have you tried connecting a monitor to the video 
> > out? I've found that the problem (for me) is with the actual lcd sreen 
> > or connections and not the video card since it doesn't appear on other 
> > monitors.
> 
> With my machine, the LCD video and the CRT video look exactly the same.
> Moreover, in console mode, weird and broken looking characters (sometimes
> coloured, without any reason) scroll off as I press return (when using
> a shell).
> 
> I think that the video RAM is broken, therefore.
> 
> Well, my last hope is that the machine gets back to normal after
> reassembly, if it doesn't, my trust in the system will be damaged too
> much, so I'll start looking into getting a new laptop.

It *almost* worked... :-/

Initially, it seemed as though disassembling and reassembling had really
"repaired" the machine, but then, upon tapping on the plastic surface
around the keyboard and pressing the mouse buttons, the flickering
reappeared.

It thus seems to me that there is a loose contact somewhere within the
graphics subsystem -- only I have no idea how to locate the problematic
spot.

If anyone here has an idea how to locate such a "loose", i.e. presumably
intermittently working connection, or a story how how you once managed
to fix a similar thing, I'd be interested to hear these.

Best regards, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]   |
 |*NEW*WWW:   http://www.cmp.uea.ac.uk/people/jtk |
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Samsung X15plus: nvidia X problems (freeze on start / stop)

2005-02-21 Thread Jan T. Kim
Dear all,

recently, I got a Samsung X15plus HZM notebook with a NVidia GeForce FX
Go 5200 graphics subsystem and a 1400x1050 display, and last weekend,
I installed Debian testing on it, in an attempt to get a properly working
X11 system.

The problem is that the X server starts correctly when started for the
first time with ``startx'', but upon terminating the server, theres
a chance (a few percent, I'd estimate) that the system will hang and
not come back to any life unless it is power cycled. There also is a
chance that this will happen upon subsequents starts and terminations
of X servers. In other words, start and quit X often enough, and the
system will freeze.

The same problem occurred with a Fedora installation, only with that,
the chances of freezing appear to be substantially higher.

Needless to say that I don't like the forced power cycling and subsequent
file system checks etc. Unfortunately, the usual sources of information
(/var/log/XFree86.0.log, /var/log/messages, dmesg) don't provide any
useful information -- if it works, all looks normal, if it doesn't the
logs just stop.

Here's my system information:

Linux 2.6.10-1-686
NVidia X driver: NVIDIA-Linux-x86-1.0-6629-pkg1.run

cat /proc/driver/nvidia/agp/card 
Fast Writes: Supported
SBA: Not Supported
AGP Rates:   4x 2x 1x 
Registers:   0x1f17:0x1f000104

cat /proc/driver/nvidia/agp/host-bridge 
Host Bridge: Intel Corp. 82855PM Processor to I/O Controller
Fast Writes: Supported
SBA: Supported
AGP Rates:   4x 2x 1x 
Registers:   0x1f000217:0x0104

cat /proc/driver/nvidia/agp/status 
Status:  Enabled
Driver:  AGPGART
AGP Rate:4x
Fast Writes: Disabled
SBA: Disabled

For further information, I attach my /etc/X11/XF86Config and a
/var/log/XFree86.0.log.

There is a warning in XFree86.0.log that doesn't seem to be quite right:

(WW) (1400x1050,Generic Monitor) mode clock 122MHz exceeds DDC maximum 
110MHz

but nonetheless, the driver consideres the mode valid:

(**) NVIDIA(0): Validated modes for display device DFP-0:
(**) NVIDIA(0):  Default mode "1400x1050": 122.0 MHz, 64.9 kHz, 60.0 Hz
(**) NVIDIA(0):  Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
[...]

Then again, during installation when the initial XF86Config-4 was
set up, I saw a warning message recommending against usingthat the DDC
information provided by NVidia cards, as that information was sometimes
so inaccurate that relying on it can lead to system lockups.

On a side issue and at the risk of asking a stupid question, can someone
explain how the driver arrives at 122 MHz anyway? I would have expected
1400 * 1050 * 60 Hz = 88.2 MHz.

Kind regards & many thanks in advance,
Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]   |
 |*NEW*WWW:   http://www.cmp.uea.ac.uk/people/jtk |
 *-=<  hierarchical systems are for files, not for humans  >=-*
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
FontPath"unix/:7100"# local font server
# if the local font server has problems, we can fall back on these
FontPath"/usr/lib/X11/fonts/misc"
FontPath"/usr/lib/X11/fonts/cyrillic"
FontPath"/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/Type1"
FontPath"/usr/lib/X11/fonts/CID"
FontPath"/usr/lib/X11/fonts/Speedo"
FontPath"/usr/lib/X11/fonts/100dpi"
FontPath"/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load"GLcore"
Load"bitmap"
Load"dbe"
Load"ddc"
Load"dri"
Load"extmod&quo

nv driver on Samsung X15plus: scrambled consoles

2005-02-21 Thread Jan T. Kim
Hi again,

in trying to solve / work around the nvidia problem described in my
previous message, I tried the nv driver that comes with the XFree86
distribution. The X stuff looks fine, but the consoles become totally
messed up (a wild mess of flickering pixels) once the X server is
started. This is for switching from X to a console using Ctrl-Alt-F[1-6],
but even persists after shutting down X.

The system appears to be alive, though, Ctrl-Alt-Delete gives a clean
shutdown (as much as one can tell from the wild flickering console and
from the absence of any complaints upon the next system boot).

Is there perhaps any magic (e.g. an option to set in /etc/X11/XF86Config-4)
to keep the consoles in a functional state?

Thanks again in advance for any answers,
Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]   |
 |*NEW*WWW:   http://www.cmp.uea.ac.uk/people/jtk |
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Battery life (was: [OT] Looking for advice on buying a new laptop)

2005-03-21 Thread Jan T. Kim
On Wed, Mar 16, 2005 at 10:57:46AM -0400, Derek Broughton wrote:
> On Wednesday 16 March 2005 04:38, Yannick Warnier wrote:
> >
> > Poor story however:
> > The battery life after 2 years was a little short (around 1h45) so I
> 
> Don't blame IBM for that - nobody would guarantee a Lion battery for that 
> long, because you can only expect 2-3 years out of one under the best 
> conditions.

FWIW, following an advice to do so, I've developed a habit of removing
the battery when my notebook is sitting on my desk at home, sometimes
for weeks with uninterrupted AC power supply. I believe the battery
benefitted from that, but I've no statistically significant data to
corroberate that, of course.

The article in the German magazine c't (or was it iX? anyway...) said
that the battery will periodically be re-charged when the system is
permanently connected to AC power, and that these minimal re-charges
caused unnecessary deterioration.

Best regards, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]   |
 |*NEW*WWW:   http://www.cmp.uea.ac.uk/people/jtk |
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Battery life

2005-03-21 Thread Jan T. Kim
On Mon, Mar 21, 2005 at 10:39:19AM -0500, Steven wrote:
> Huh! And I was advised the opposite recently by a fellow tech.
> He claimed leaving the battery in and constantly charged would result in 
> longer battery life span.

If I recall correctly, the question is to which extend the battery is
kept charged, and in what increments. The c't story was:

* for longest life, batteries should be charged to 80% of their
  capacities. Apparently, notebook manufacturers sometimes keep
  stocks of batteries that they keep charged at that level, to be
  sold as replacements when the model is no longer made.

* deep, total discharge of the batteries must be avoided

* the number of re-charges should be minimised

* exposing the battery to higher temperatures, such as those in a
  working notebook, accelerates deterioration

* temperature induced deterioration is worse if the battery is fully
  charged.

So, it may be that the statement that batteries should be kept charged 
is correct, but doesn't necessarily mean that they should remain in
the notebook at all times. Also, adverse effects may vary strongly among
different notebook models, e.g. initiating a re-charge at 97% or below,
rather than at 99.9% (like my notebooks seem to do) could avoid waste of
re-charge cycles, the battery may benefit from better cooling / temperature
dissipation etc.etc.

Overall, it seems to me that battery technology is surrounded by many
suboptimalities and that only a fundamentally new approach (hydrogen
fuel cells?) will really fix the problem.

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]   |
 |*NEW*WWW:   http://www.cmp.uea.ac.uk/people/jtk |
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



ImageMagic: Problem with display's grab function

2005-04-12 Thread Jan T. Kim
Dear all,

I have a problem with the display program of imagemagick 6.0.6.2-2.2:
I tried to grab a snapshot of a window by using File -> Open... and
clicking the "Grab" button in the file selector, but instead of
proceeding with the "Enter any delay in seconds" dialog, I get a
"unable to open image '/x:': No such file or directory:"
notice.

It looks to me as though something goes wrong in the display program
internally, it appears to look for a file called "x:" where the string
"x:" is really meant to indicate that the image is to be grabbed rather
than loaded from a file.

I updated all packages just today, but the problem remains.

Any ideas?

Best regards, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]   |
 |*NEW*WWW:   http://www.cmp.uea.ac.uk/people/jtk |
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Screenshots alternatives (was: ImageMagic: Problem with display's grab function)

2005-04-26 Thread Jan T. Kim
On Tue, Apr 12, 2005 at 03:16:11PM +0100, Jan T. Kim wrote:

> I have a problem with the display program of imagemagick 6.0.6.2-2.2:
> I tried to grab a snapshot of a window by using File -> Open... and
> clicking the "Grab" button in the file selector, but instead of
> proceeding with the "Enter any delay in seconds" dialog, I get a
> "unable to open image '/x:': No such file or directory:"
> notice.
> 
> It looks to me as though something goes wrong in the display program
> internally, it appears to look for a file called "x:" where the string
> "x:" is really meant to indicate that the image is to be grabbed rather
> than loaded from a file.
> 
> I updated all packages just today, but the problem remains.

Unfortunately, the problem persists, even after another update yesterday.

I therefore wonder which programs others use for getting screenshots.
Any comments?

Greetings & thanks in advance, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]   |
 |*NEW*WWW:   http://www.cmp.uea.ac.uk/people/jtk |
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Screenshots alternatives (was: ImageMagic: Problem with display's grab function)

2005-04-26 Thread Jan T. Kim
On Tue, Apr 26, 2005 at 01:17:07PM +0200, Andreas Tille wrote:
> On Tue, 26 Apr 2005, Jan T. Kim wrote:
> 
> >>I have a problem with the display program of imagemagick 6.0.6.2-2.2:
> >>I tried to grab a snapshot of a window by using File -> Open... and
> >>clicking the "Grab" button in the file selector, but instead of
> >>proceeding with the "Enter any delay in seconds" dialog, I get a
> >>"unable to open image '/x:': No such file or directory:"
> >>notice.

> >Unfortunately, the problem persists, even after another update yesterday.
> So at first I would check the bug tracking system
> 
> http://bugs.debian.org/imagemagick
> 
> whether this is a known bug.

It is indeed, see

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=293448

> >I therefore wonder which programs others use for getting screenshots.
> Use Gimp once you reported the bug.

Ok, that's a possibility, thanks... I'd prefer something simpler, though.
The xwd program, recommended by Mark Janssen, sounds a bit more like the
thing I look for.

> PS: What is the reason for posting this kind of questions on debian-laptop.
> I would call debian-user as the right list.

The perhaps somewhat silly reasons is that (1) I am subscribed to this
mailing list but not to debian-user and (2) I encountered this problem
on my laptop while I seem to remeber that grabbing worked for me on the
desktop which I had until recently.

Best regards, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]   |
 |*NEW*WWW:   http://www.cmp.uea.ac.uk/people/jtk |
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Don't reply to strange experts (was: Test mail)

2002-11-07 Thread Jan T. Kim
On Thu, Nov 07, 2002 at 02:28:29AM +, iain d broadfoot wrote:
> Joyce, Matthew wrote:
> > OK
> > 
> > Matt
> > 
> >>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> >>
> >>please ignore.
> 
> i'm ignoring it too.
> 
> iain

Hmm... one mail from an "expert user" and two replies confirming they
ignore the message...

This makes me think it's worthwhile pointing out that such messages should
generally not be replied to. Not only because such matters are not exactly
on topic here, but more importantly, chances are that all who reply to
the "expert user" will have their email addresses added to collections
used by spammers.

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



Re: Mouse

2003-03-06 Thread Jan T. Kim
On Thu, Mar 06, 2003 at 10:38:08AM -0400, Derek Broughton wrote:
> From: "Michael Westwind" <[EMAIL PROTECTED]>
> 
> > The touchpad on my Sony wouldn't work in X until I put a command to turn gpm
> > off in .xinitrc.  No trouble after that.  No idea if that applies to your
> > case.
> 
> It's funny but some people have only had success with gpm and others - like 
> you
> and me - couldn't use it with gpm.

Sorry, I haven't followed all this thread, but here's an idea anyway...

Setting up gpm such that X works with it requires that

(1) gpm is run with the -R option, such that it repeats the mouse
input on /dev/gpmdata

(2) X is set up to use /dev/gpmdata as the mouse device

(3) the mouse protocol repeated onto /dev/gpmdata is the same as
tha mouse protocol specified in the X config.

If these requirements are not satisfied, things don't work, or (worse),
they don't always work. This particularly applies to setups in which
both gpm and X access the mouse (e.g. /dev/psaux) directly.

According to my experience, having gpm translate the mouse protocol may
lead to problems, I therefore configure gpm to use the "raw" protocol
(i.e. no translation, ``-R raw'' option).

So, you could try to manually shut down X and gpm. Then, edit the
InputDevice section for the mouse /etc/X11/XF86Config-4 to say

Option "Device" "/dev/gpmdata"
Option "Protocol" "PS/2"

and save the file. Then, start gpm and X

gpm -t ps2 -m /dev/psaux -R raw
startx

If the mouse works, configure the gpm startup process to use the options
in the command line above...

On a final note, I once had a computer which required me to use the "fups2"
protocol type -- check the output of ``gpm -t help'' for options...

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



Re: Cloning machine

2003-04-10 Thread Jan T. Kim
On Thu, Apr 10, 2003 at 01:00:13PM +0200, Pavel Tavoda wrote:
> I installed my notebook. Now I want `clone` this system to my desktop.
> Is here some easy way to do it via packages?
> 
> Something like listing all installed packages on notebook.
> Move this list to desktop and start installation of same packages.

I think ``dpkg --get-selections'' is what you're looking for. You'll
get a dump of all packages selected which you can then transprot to your
notebook and run ``dpgk --set-selections'' from that file.

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



Re: ACPI HOWTO (start) and (failed) installation notes

2003-04-23 Thread Jan T. Kim
On Mon, Apr 21, 2003 at 04:26:42PM -0400, Emma Jane Hogbin wrote:

> I'm currently running Debian on my laptop. I upgraded to the 2.4.20 kernel
> to try and get ACPI installed. Unfortunately ACPI is not supported in the
> 2.4.x series. Although Debian has applied an early patch to its kernel
> source packages, it is not the full monty. The acpi-support mailing list
> has confirmed that the other patches which have been applied to the 2.4.20
> Debian kernel-source package will make it impossible for me to compile the
> kernel without first modifying some of the Makefiles.

Do you have any additional, more specific info regarding the makefile
editing that is required?

Also, is there a particular reason for upgrading to the 2.4.20 kernel?

I have a Toshiba Satellite 5100 notebook with Debian 3.0 installed; the
2.4.18 kernel is the latest on my CD set. If necessary, I'd upgrade the
kernel, but if not, I'd rather add ACPI to the current one.

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



Re: ACPI HOWTO (start) and (failed) installation notes

2003-04-23 Thread Jan T. Kim
On Wed, Apr 23, 2003 at 09:14:59AM -0300, Derek Broughton wrote:
> From: "Jan T. Kim" <[EMAIL PROTECTED]>
> 
> > Also, is there a particular reason for upgrading to the 2.4.20 kernel?
> >
> > I have a Toshiba Satellite 5100 notebook with Debian 3.0 installed; the
> > 2.4.18 kernel is the latest on my CD set. If necessary, I'd upgrade the
> > kernel, but if not, I'd rather add ACPI to the current one.
> 
> You can't add ACPI to an existing kernel - you have to patch the source, 
> anyway,

Ok, that's clear to me, though I haven't said it clearly -- what I meant
is, I intended to use the kernel-source package corresponding to the
kernel image package used on my system, copy the .config file from the
/boot directory into the kernel sources directory, apply the patch
(and possibly request compilation of the necessary modules using ``make
xconfig''), make a kernel package from the source tree thus modified,
and install that.

This way, I hope to construct a drop-in replacement kernel package, as
opposed to upgrading to a new kernel version, which sometimes results
in incompatibilities with kernel-related utilities and other problems.
As far as I know, it's not possible to just grab the kernel image and
source debian package files and install them, as they tend to depend on
newer versions of other packages.

> so you might as well patch the source for which the latest ACPI patches exist.
> Occasionally the most recent ACPI patches get backported, but generally 
> they're
> only available for two releases at most.

I've downloaded acpi-20020918-2.4.18.diff.gz from acpi.sourceforge.net
and was planning to apply that to the Debian 2.4.18 kernel source. I'm
rather unfamiliar with ACPI (plunged into this matter only by acquiring
this notebook), so if you know of problems with this approach, I'd be
interested in all hints... particularly in information regarding the
makefile editing stuff.

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



ACPI and kernel patching (was: I fried my Sony Vaio PCG-FXA678)

2003-05-02 Thread Jan T. Kim
On Thu, May 01, 2003 at 09:57:31AM -0700, Jaye Inabnit ke6sls wrote:

> Next, and this is what surprised me, is that when I installed the ACPI 
> functionality, I seem to have lost the fan support.  I am not wording this 
> well.  The fan *never* turns on now.  I think it involves the system reading 
> the internal temp incorrectly.  I have not yet dug deeply into the ACPI 
> module that controls the temp but I think I need to find out how I can 
> manually LOWER the temperature settings so that my fan turns on sooner to 
> keep the system safely cooled.  Before I added ACPI, the system defaulted to 
> APM.  With APM, my fan stayed on ALL the time, but it was unable to monitor 
> my battery or power state.

I recently got a Toshiba Satellite 5100 notebook, which, as far as I
learned, is "legacy free", i.e. it has no traditional BIOS which includes
not having APM. I installed Debian 3.0 (stable), and the fan on this
machine gets on and off (with kernel-image-2.4.18-686).

So, it seems that it is not generally such that the fan is dead with a
plain vanilla kernel.

I've heard, though, that it's at least possible to forcibly turn off the
fan and thereby cause a system overheat with ACPI. Personally, I'd say
that such would be a faulty design or implementation on the hardware
side -- hardware should generally survive even complete hang of the
OS without any permanent damage.

ACPI settings should enable the user to choose whether the system should
be fast and noisy or, alternatively, slower and silent, not to enable the
user to fry the system.

In the meantime, I have applied the toshiba ACPI kernel patch, which gives
me the corresponding /proc entry. In /proc/acpi/toshiba/fan/status, there
are two entries, "running" indicates whether the fan is on, and "force_on"
indicates whether the fan is permanently on due to user request. There is
no "force_off", and rightly so, I'd say.

One question regarding patching the kernel: I tried to apply this patch
(http://memebeam.org/toys/ToshibaAcpiDriver) the "Debian way", by setting
up stuff in /usr/src/kernel-patches etc., but I found this rather tedious
and eventually gave up and just patched the source manually. Are there
any auxiliary tools for generating the scripts in the "apply" and "unpatch"
subdirectores, or something like this?

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



Satellite 5200-603: Getting video on LCD and CRT simultaneously (w/ ACPI)

2003-06-03 Thread Jan T. Kim
Hello list,

I have a Toshiba Satellite 5100-603 notebook with Debian 3.0 (stable)
installed. This is a "legacy free" notebook, so I have built an ACPI
enabled kernel (by installing and unpacking the 2.4.18 kernel source
package, applying the acpi-20020918-2.4.18.diff.gz patch downloaded from
sourceforge and using make-kpkg according to the instructions in
http://www.debian.org/doc/manuals/reference/ch-kernel.en.html) and
installed the resulting kernel package.

The new kernel boots ok and gives me a /proc/acpi/toshiba directory
with the "video" file, but somehow, this doesn't quite work for me. I'd
like to run the notebook connected to a beamer for presentations, such
that I also see what I'm presenting on the lcd. So, here's what I tried
and what I got:

* start X in 1024x768 mode, then, as root, run

echo 'crt_out: 1' > /proc/acpi/toshiba/video

  --> nothing happens, not even the content of the video file
  changes, no matter whether beamer is connected or not.

* start without beamer connected, connect it when system has booted
  into console. Then, log in and run
  "echo 'crt_out: 1' > /proc/acpi/toshiba/video" in console
  mode --> content of video file reflects change to "crt_out: 1"
  and console appears on both lcd and beamer. But upon
  running "startx", things get messed up, I could not even
  cleanly shut down the system anymore.

* start with beamer connected --> console appears on beamer but
  lcd is dead. Upon running "echo 'crt_out: 1' > /proc/acpi/toshiba/video",
  lcd backlight comes on, but lcd displays random pattern that converge
  to uniform whitish over several seconds.

>From reading various docs, it has been my understanding that the lcd
and crt video output can be switched on and off at will by appropriately
writing into the /proc/acpi/toshiba/video file. What have I missed?

Thanx in advance for any help.

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



Re: alternate boot for internet connection

2003-06-17 Thread Jan T. Kim
On Tue, Jun 17, 2003 at 10:25:48AM -0400, Emma Jane Hogbin wrote:
> Hey all:
> 
> While we're on the topic of internet connections at bootHow could I
> make two entries in lilo: one for at home with a wireless internet, and
> one for "away" with no internet connection? I'd like to use the same
> kernel, just change some of the other stuff that loads. Is it possible to
> select which /etc/network/interfaces is called through lilo?

You could try netenv:

http://netenv.sourceforge.net/

Personally, I use the interactive mode of netenv, but the docs say you
can also use a kernel parameter passed in via an append statement in
/etc/lilo.conf to select your network environment.

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



Re: Help selecting used laptop and peripherals to run debian woody

2003-06-17 Thread Jan T. Kim
On Tue, Jun 17, 2003 at 01:17:06PM -0400, Pierre B wrote:
> I've been asked to help someone select and  buy a second hand
> laptop and install debian (woody) on it.
> 
> I'm seeking advice concerning both trouble free installation,
> and, more importantly, trouble free use.
> 
>Laptops to favour.
>Laptops to avoid.
>Features to favour.
>Features to avoid.
>Peripherals to favour.
>Peripherals to avoid.
>Faults to be aware of.
> 
>Considerations that are not obvious to someone
>who is experienced installing debian, redhat, mandrake and
>windows, but only on desktops?
> 
>For context, the requirement is more for mobility and small
>footprint inside the building rather than frequent travel.
> 
>Items of importance to user:
> 
>  Gnome desktop, Mozilla browser, Mozilla mail.

This sounds pretty plain, I don't see any specific constraints from this
application profile.

Regarding installation, my experience with installing Linux on notebooks
has been that things may be somewhat strange in the beginning, but once
you get the installation disk booted, the rest is not much different from
installing on a desktop system.

Many problems with notebooks are due to unsupported hardware components
(modems, sound cards, WLAN cards etc.), but there is no general answer
which items to use and which to avoid. My pseudo-algorithm for getting
a new laptop would be

1. assemble a wish list
2. get an idea which models match list best
3. go to http://www.linux-laptop.net/ and look for installation
   reports
4. If you don't like what you read in the report, go to 1 or to 2

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



Re: 2.4.18-686 kernel, but no PCMCIA

2003-07-07 Thread Jan T. Kim
On Mon, Jul 07, 2003 at 10:23:37AM -0400, Kenneth Jacker wrote:
>   cc> try to edit /etc/defaults/pcmcia, remove the line PCIC=i82365
>   cc> and add the line PCIC=yenta_socket.
> 
> I tried that ... didn't make any difference ...

In the /etc/init.d/pcmcia script, there is some code that replaces
the value yenta_socket with i82365 in the PCIC variable when the kernel
version is 2.4.x. I have disabled this override more than one notebook
installations in which the i82365 kernel module actually did not work
while the yenta_socket module worked just fine.

I don't have my notebook here right now, so I cannot give you the
precise code, but I remember that there is a comment reading
"yenta_socket -> i82365 on these systems" in the pcmcia startup
script.

Can anyone comment on why the script overrides the settings made in
the configuration file (i.e. /etc/default/pcmcia, I think)? I remember
that I found this behaviour rather irritating when I first encountered
it and figured it out.

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



trouble with WLAN card 3com 3CRWE62092A (but Lucent Orinoco works)

2003-07-31 Thread Jan T. Kim
Hi all,

I have a Toshiba Satelllite 5100-603 notebook and a 3Com 3CRWE62092A
WLAN card (PCMCIA) which is proven to work with this notebook. However,
it does not work for me within our university WLAN.

Upon inserting the card, the eth1 interface is configured, but it does
not receive an IP address. Strangely, when I use a Lucent Orinoco WLAN
card from our institute, everything works flawlessly.

By means of a /etc/dhclient-enter-hooks script, I checked that indeed,
dhclient receives an IP address (variable new_ip_address) when I insert
the Orinoco card while no IP address (variable new_ip_address is empty)
is received when I insert the 3Com card.

What I'd like to have now is an extensive transcript of the communication
between dhclient and the DHCP server, so I can attempt to further close
in on the point where things go amiss. Unfortunately, dhclient does not
seem to offer anything like a -verbose flag or similar. I'd be grateful
for any pointers on how to obtain detailed information on the progress
of DHCP based interface configuration.

Furthermore, I would, of course, welcome any hints, reports etc. which
may help me to sort out the problem. Here's some system info which may
hopefully help someone out there on the list to diagnose the problem.
My system is:

* running Debian stable
* kernel 2.4.18 with ACPI patch
* equipped with self-compiled poldhu driver, version 0.2.13, for
  using the 3Com card
* /etc/pcmcia/config.opts contains

  device "poldhu_cs"
class "network" module "poldhu_cs"

  card "No Wires Needed 11 Mbps Wireless LAN PC Card"
version "No Wires Needed", "11 Mbps Wireless LAN PC Card"
bind "poldhu_cs"

  card "3Com 3CRWE62092A Wireless LAN PC Card"
version "3Com", "3CRWE62092A Wireless LAN PC Card"
bind "poldhu_cs"

Upon inserting the 3Com card, the following messages appear in
/var/log/messages:

Jul 31 20:35:32 chipiona kernel: No Wires Needed Poldhu driver v0.2.13
Jul 31 20:35:32 chipiona kernel: poldhu_cs: index 0x30: Vcc 3.3, irq 3 io 
0x0100
-0x013f
Jul 31 20:35:32 chipiona kernel: eth1: 3Com 11 Mbps Wireless LAN PC Card, 
port 1
00, irq 3, hw_addr 00:04:76:A5:88:A7
Jul 31 20:35:32 chipiona /etc/hotplug/net.agent: invoke ifup eth1

With the orinoco card, I just get the "invoke ifup eth1" message.

Regards & thanks for any hints & help,
Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



Re: Mouse and keyboard problems

2003-09-02 Thread Jan T. Kim
On Mon, Sep 01, 2003 at 01:20:50PM -0500, Charles Blair wrote:
> 
>I installed debian on a Toshiba 1405 laptop approximately a year ago.
> 
>Problem 1: when I am in an xterm window (from gnome?), I often
> get a letter repeated when I press a key.  I read somewhere that
> this can be fixed by changing a "stickykeys" setting, but I would
> like to know exactly what file to edit and what I do there.

I have a Toshiba Satellite 5100 which has a similar problem with
the keyboard -- without any fixup, 1% of the keystrokes are doubled,
but this happens only with the X window system, the consoles are not
affected.

The commands

xkbset exp bo
xkbset bo 1

fix this problem. I have these in the init function in my ~/.fvwm2rc
file, for gnome, I don't know what the right file for putting startup
commands would be.

The xkbset program is not part of the standard X11 packages, but
a debian package exists:

http://packages.debian.org/unstable/x11/xkbset.html

My experience is with a self-compiled xkbset program, though.

>Problem 2:  The touchpad mouse jumps around uncontrollably, and
> won't move at all after a few minutes of use.

This is usually due to having a wrong mouse type specified in
/etx/X11/XF86Config-4. Sometimes, the problem is caused by gpm, when
the /dev/gpmdata device is used by XFree86. In my experience, it's best
not to have gpm translate the mouse protocoll at all (i.e. use the
"raw" protocol).

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



Module 3c575_cb dropped from kernel-pcmcia-modules?

2002-09-23 Thread Jan T. Kim
Hi all,

I installed Debian r3.0 from the official CD set on a Sony notebook
computer, equipped with a 3com PCMCIA ethernet card:

% cardctl ident
Socket 0:
  product info: "3Com Corporation", "3CCFE575BT", "LAN Cardbus Card", "001"
  manfid: 0x0101, 0x5157
  function: 6 (network)
  PCI id: 0x10b7, 0x5157

After the initial installation, the network card worked fine, but then,
after switching the kernel to kernel-image-2.4.18-686, I could not get it
to work.

After some web browsing and messing around, I figured out that the
card appears to have the 3Com 575 chipset and to require the 3c575_cb
kernel module. Upon browsing package contents, I found out that this
module (along with the cb_enabler module upon which it depends) is
only included in the kernel-image-2.4.18-bf2.4 package. So I installed
that in place of the 686 package. Now, the card works again, and the
output of lsmod confirms that the modules mentioned above are indeed
used. However, I'd prefer to be able to use the 686 kernel...

I now have the following questions:

* Have I overlooked something obvious?

* Why are the modules not in the pcmcia-modules package?

* If there is a reason for that (e.g. my card is considered outdated,
  crummy, exotic or somesuch), would it be reasonable to set up an
  additional package with "outdated" (or whatever) modules?

* Is there a simple instruction sheet for building a kernel with
  the modules I need and otherwise identical to the 686 kernel?

* Finally, what is the idea behind this "bf variant"? All I've found
  is the package is "primarily intended to be used as the initial
  installation kernel". Any acronym expansion on "bf"?

Greetinx & thanx in advance, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



Re: Module 3c575_cb dropped from kernel-pcmcia-modules?

2002-09-23 Thread Jan T. Kim
On Tue, Sep 24, 2002 at 12:21:33AM +0200, Frédéric Bothamy wrote:
> On Mon, Sep 23, 2002 at 11:39:12PM +0200, Jan T. Kim wrote:

> > I installed Debian r3.0 from the official CD set on a Sony notebook
> > computer, equipped with a 3com PCMCIA ethernet card:
> > 
> > % cardctl ident
> > Socket 0:
> >   product info: "3Com Corporation", "3CCFE575BT", "LAN Cardbus Card", 
> > "001"
> >   manfid: 0x0101, 0x5157
> >   function: 6 (network)
> >   PCI id: 0x10b7, 0x5157
> > 
> > After the initial installation, the network card worked fine, but then,
> > after switching the kernel to kernel-image-2.4.18-686, I could not get it
> > to work.
> 
> [...]
> 
> > I now have the following questions:
> > 
> > * Have I overlooked something obvious?
> 
> No, it is really not obvious until I digged through the kernel source
> files, from the 3c59x.c file :
> 
> LK1.1.3 25 April 2000, Andrew Morton <[EMAIL PROTECTED]>
> - Merged with 3c575_cb.c
> 
> You should then use the 3c59x.o module which is in every 2.4 Debian
> kernel (except the bf2.4 !).

Thanks, this seems to be the solution indeed. After manually installing
the 3c59x module, the network comes to life for this notebook.

Currently, I struggle to figure out how to persuade the system into
loading the module automatically. I think that things go amiss in the
/etc/pcmcia/config-2.4 file, in the section

card "3Com 3CCFE575B/3CXFE575B Fast EtherLink XL"
  manfid 0x0101, 0x5157
  bind "3c575_cb"

I've tried replacing that with

card "3Com 3CCFE575BT Megahertz PCMCIA Card"
  manfid 0x0101, 0x5157
  bind "3c59x"

and adding

devicd "3c59x"
  class "network" module "3c59x"

but to no avail. How do I get the module to load automatically when
needed?

Greetinx & thanx in advance again, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



Module 3c575_cb dropped from kernel-pcmcia-modules?

2002-09-23 Thread Jan T. Kim

Hi all,

I installed Debian r3.0 from the official CD set on a Sony notebook
computer, equipped with a 3com PCMCIA ethernet card:

% cardctl ident
Socket 0:
  product info: "3Com Corporation", "3CCFE575BT", "LAN Cardbus Card", "001"
  manfid: 0x0101, 0x5157
  function: 6 (network)
  PCI id: 0x10b7, 0x5157

After the initial installation, the network card worked fine, but then,
after switching the kernel to kernel-image-2.4.18-686, I could not get it
to work.

After some web browsing and messing around, I figured out that the
card appears to have the 3Com 575 chipset and to require the 3c575_cb
kernel module. Upon browsing package contents, I found out that this
module (along with the cb_enabler module upon which it depends) is
only included in the kernel-image-2.4.18-bf2.4 package. So I installed
that in place of the 686 package. Now, the card works again, and the
output of lsmod confirms that the modules mentioned above are indeed
used. However, I'd prefer to be able to use the 686 kernel...

I now have the following questions:

* Have I overlooked something obvious?

* Why are the modules not in the pcmcia-modules package?

* If there is a reason for that (e.g. my card is considered outdated,
  crummy, exotic or somesuch), would it be reasonable to set up an
  additional package with "outdated" (or whatever) modules?

* Is there a simple instruction sheet for building a kernel with
  the modules I need and otherwise identical to the 686 kernel?

* Finally, what is the idea behind this "bf variant"? All I've found
  is the package is "primarily intended to be used as the initial
  installation kernel". Any acronym expansion on "bf"?

Greetinx & thanx in advance, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Module 3c575_cb dropped from kernel-pcmcia-modules?

2002-09-23 Thread Jan T. Kim

On Tue, Sep 24, 2002 at 12:21:33AM +0200, Frédéric Bothamy wrote:
> On Mon, Sep 23, 2002 at 11:39:12PM +0200, Jan T. Kim wrote:

> > I installed Debian r3.0 from the official CD set on a Sony notebook
> > computer, equipped with a 3com PCMCIA ethernet card:
> > 
> > % cardctl ident
> > Socket 0:
> >   product info: "3Com Corporation", "3CCFE575BT", "LAN Cardbus Card", "001"
> >   manfid: 0x0101, 0x5157
> >   function: 6 (network)
> >   PCI id: 0x10b7, 0x5157
> > 
> > After the initial installation, the network card worked fine, but then,
> > after switching the kernel to kernel-image-2.4.18-686, I could not get it
> > to work.
> 
> [...]
> 
> > I now have the following questions:
> > 
> > * Have I overlooked something obvious?
> 
> No, it is really not obvious until I digged through the kernel source
> files, from the 3c59x.c file :
> 
> LK1.1.3 25 April 2000, Andrew Morton <[EMAIL PROTECTED]>
> - Merged with 3c575_cb.c
> 
> You should then use the 3c59x.o module which is in every 2.4 Debian
> kernel (except the bf2.4 !).

Thanks, this seems to be the solution indeed. After manually installing
the 3c59x module, the network comes to life for this notebook.

Currently, I struggle to figure out how to persuade the system into
loading the module automatically. I think that things go amiss in the
/etc/pcmcia/config-2.4 file, in the section

card "3Com 3CCFE575B/3CXFE575B Fast EtherLink XL"
  manfid 0x0101, 0x5157
  bind "3c575_cb"

I've tried replacing that with

card "3Com 3CCFE575BT Megahertz PCMCIA Card"
  manfid 0x0101, 0x5157
      bind "3c59x"

and adding

devicd "3c59x"
  class "network" module "3c59x"

but to no avail. How do I get the module to load automatically when
needed?

Greetinx & thanx in advance again, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Don't reply to strange experts (was: Test mail)

2002-11-07 Thread Jan T. Kim
On Thu, Nov 07, 2002 at 02:28:29AM +, iain d broadfoot wrote:
> Joyce, Matthew wrote:
> > OK
> > 
> > Matt
> > 
> >>From: [EMAIL PROTECTED] [mailto:expert@;bapat.net] 
> >>
> >>please ignore.
> 
> i'm ignoring it too.
> 
> iain

Hmm... one mail from an "expert user" and two replies confirming they
ignore the message...

This makes me think it's worthwhile pointing out that such messages should
generally not be replied to. Not only because such matters are not exactly
on topic here, but more importantly, chances are that all who reply to
the "expert user" will have their email addresses added to collections
used by spammers.

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Mouse

2003-03-06 Thread Jan T. Kim
On Thu, Mar 06, 2003 at 10:38:08AM -0400, Derek Broughton wrote:
> From: "Michael Westwind" <[EMAIL PROTECTED]>
> 
> > The touchpad on my Sony wouldn't work in X until I put a command to turn gpm
> > off in .xinitrc.  No trouble after that.  No idea if that applies to your
> > case.
> 
> It's funny but some people have only had success with gpm and others - like you
> and me - couldn't use it with gpm.

Sorry, I haven't followed all this thread, but here's an idea anyway...

Setting up gpm such that X works with it requires that

(1) gpm is run with the -R option, such that it repeats the mouse
input on /dev/gpmdata

(2) X is set up to use /dev/gpmdata as the mouse device

(3) the mouse protocol repeated onto /dev/gpmdata is the same as
tha mouse protocol specified in the X config.

If these requirements are not satisfied, things don't work, or (worse),
they don't always work. This particularly applies to setups in which
both gpm and X access the mouse (e.g. /dev/psaux) directly.

According to my experience, having gpm translate the mouse protocol may
lead to problems, I therefore configure gpm to use the "raw" protocol
(i.e. no translation, ``-R raw'' option).

So, you could try to manually shut down X and gpm. Then, edit the
InputDevice section for the mouse /etc/X11/XF86Config-4 to say

Option "Device" "/dev/gpmdata"
Option "Protocol" "PS/2"

and save the file. Then, start gpm and X

gpm -t ps2 -m /dev/psaux -R raw
startx

If the mouse works, configure the gpm startup process to use the options
in the command line above...

On a final note, I once had a computer which required me to use the "fups2"
protocol type -- check the output of ``gpm -t help'' for options...

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Satellite 5200-603: Getting video on LCD and CRT simultaneously (w/ ACPI)

2003-06-04 Thread Jan T. Kim
Hello list,

I have a Toshiba Satellite 5100-603 notebook with Debian 3.0 (stable)
installed. This is a "legacy free" notebook, so I have built an ACPI
enabled kernel (by installing and unpacking the 2.4.18 kernel source
package, applying the acpi-20020918-2.4.18.diff.gz patch downloaded from
sourceforge and using make-kpkg according to the instructions in
http://www.debian.org/doc/manuals/reference/ch-kernel.en.html) and
installed the resulting kernel package.

The new kernel boots ok and gives me a /proc/acpi/toshiba directory
with the "video" file, but somehow, this doesn't quite work for me. I'd
like to run the notebook connected to a beamer for presentations, such
that I also see what I'm presenting on the lcd. So, here's what I tried
and what I got:

* start X in 1024x768 mode, then, as root, run

echo 'crt_out: 1' > /proc/acpi/toshiba/video

  --> nothing happens, not even the content of the video file
  changes, no matter whether beamer is connected or not.

* start without beamer connected, connect it when system has booted
  into console. Then, log in and run
  "echo 'crt_out: 1' > /proc/acpi/toshiba/video" in console
  mode --> content of video file reflects change to "crt_out: 1"
  and console appears on both lcd and beamer. But upon
  running "startx", things get messed up, I could not even
  cleanly shut down the system anymore.

* start with beamer connected --> console appears on beamer but
  lcd is dead. Upon running "echo 'crt_out: 1' > /proc/acpi/toshiba/video",
  lcd backlight comes on, but lcd displays random pattern that converge
  to uniform whitish over several seconds.

>From reading various docs, it has been my understanding that the lcd
and crt video output can be switched on and off at will by appropriately
writing into the /proc/acpi/toshiba/video file. What have I missed?

Thanx in advance for any help.

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



ACPI and kernel patching (was: I fried my Sony Vaio PCG-FXA678)

2003-05-02 Thread Jan T. Kim
On Thu, May 01, 2003 at 09:57:31AM -0700, Jaye Inabnit ke6sls wrote:

> Next, and this is what surprised me, is that when I installed the ACPI 
> functionality, I seem to have lost the fan support.  I am not wording this 
> well.  The fan *never* turns on now.  I think it involves the system reading 
> the internal temp incorrectly.  I have not yet dug deeply into the ACPI 
> module that controls the temp but I think I need to find out how I can 
> manually LOWER the temperature settings so that my fan turns on sooner to 
> keep the system safely cooled.  Before I added ACPI, the system defaulted to 
> APM.  With APM, my fan stayed on ALL the time, but it was unable to monitor 
> my battery or power state.

I recently got a Toshiba Satellite 5100 notebook, which, as far as I
learned, is "legacy free", i.e. it has no traditional BIOS which includes
not having APM. I installed Debian 3.0 (stable), and the fan on this
machine gets on and off (with kernel-image-2.4.18-686).

So, it seems that it is not generally such that the fan is dead with a
plain vanilla kernel.

I've heard, though, that it's at least possible to forcibly turn off the
fan and thereby cause a system overheat with ACPI. Personally, I'd say
that such would be a faulty design or implementation on the hardware
side -- hardware should generally survive even complete hang of the
OS without any permanent damage.

ACPI settings should enable the user to choose whether the system should
be fast and noisy or, alternatively, slower and silent, not to enable the
user to fry the system.

In the meantime, I have applied the toshiba ACPI kernel patch, which gives
me the corresponding /proc entry. In /proc/acpi/toshiba/fan/status, there
are two entries, "running" indicates whether the fan is on, and "force_on"
indicates whether the fan is permanently on due to user request. There is
no "force_off", and rightly so, I'd say.

One question regarding patching the kernel: I tried to apply this patch
(http://memebeam.org/toys/ToshibaAcpiDriver) the "Debian way", by setting
up stuff in /usr/src/kernel-patches etc., but I found this rather tedious
and eventually gave up and just patched the source manually. Are there
any auxiliary tools for generating the scripts in the "apply" and "unpatch"
subdirectores, or something like this?

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: alternate boot for internet connection

2003-06-17 Thread Jan T. Kim
On Tue, Jun 17, 2003 at 10:25:48AM -0400, Emma Jane Hogbin wrote:
> Hey all:
> 
> While we're on the topic of internet connections at bootHow could I
> make two entries in lilo: one for at home with a wireless internet, and
> one for "away" with no internet connection? I'd like to use the same
> kernel, just change some of the other stuff that loads. Is it possible to
> select which /etc/network/interfaces is called through lilo?

You could try netenv:

http://netenv.sourceforge.net/

Personally, I use the interactive mode of netenv, but the docs say you
can also use a kernel parameter passed in via an append statement in
/etc/lilo.conf to select your network environment.

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Help selecting used laptop and peripherals to run debian woody

2003-06-17 Thread Jan T. Kim
On Tue, Jun 17, 2003 at 01:17:06PM -0400, Pierre B wrote:
> I've been asked to help someone select and  buy a second hand
> laptop and install debian (woody) on it.
> 
> I'm seeking advice concerning both trouble free installation,
> and, more importantly, trouble free use.
> 
>Laptops to favour.
>Laptops to avoid.
>Features to favour.
>Features to avoid.
>Peripherals to favour.
>Peripherals to avoid.
>Faults to be aware of.
> 
>Considerations that are not obvious to someone
>who is experienced installing debian, redhat, mandrake and
>windows, but only on desktops?
> 
>For context, the requirement is more for mobility and small
>footprint inside the building rather than frequent travel.
> 
>Items of importance to user:
> 
>  Gnome desktop, Mozilla browser, Mozilla mail.

This sounds pretty plain, I don't see any specific constraints from this
application profile.

Regarding installation, my experience with installing Linux on notebooks
has been that things may be somewhat strange in the beginning, but once
you get the installation disk booted, the rest is not much different from
installing on a desktop system.

Many problems with notebooks are due to unsupported hardware components
(modems, sound cards, WLAN cards etc.), but there is no general answer
which items to use and which to avoid. My pseudo-algorithm for getting
a new laptop would be

1. assemble a wish list
2. get an idea which models match list best
3. go to http://www.linux-laptop.net/ and look for installation
   reports
4. If you don't like what you read in the report, go to 1 or to 2

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 2.4.18-686 kernel, but no PCMCIA

2003-07-07 Thread Jan T. Kim
On Mon, Jul 07, 2003 at 10:23:37AM -0400, Kenneth Jacker wrote:
>   cc> try to edit /etc/defaults/pcmcia, remove the line PCIC=i82365
>   cc> and add the line PCIC=yenta_socket.
> 
> I tried that ... didn't make any difference ...

In the /etc/init.d/pcmcia script, there is some code that replaces
the value yenta_socket with i82365 in the PCIC variable when the kernel
version is 2.4.x. I have disabled this override more than one notebook
installations in which the i82365 kernel module actually did not work
while the yenta_socket module worked just fine.

I don't have my notebook here right now, so I cannot give you the
precise code, but I remember that there is a comment reading
"yenta_socket -> i82365 on these systems" in the pcmcia startup
script.

Can anyone comment on why the script overrides the settings made in
the configuration file (i.e. /etc/default/pcmcia, I think)? I remember
that I found this behaviour rather irritating when I first encountered
it and figured it out.

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



trouble with WLAN card 3com 3CRWE62092A (but Lucent Orinoco works)

2003-07-31 Thread Jan T. Kim
Hi all,

I have a Toshiba Satelllite 5100-603 notebook and a 3Com 3CRWE62092A
WLAN card (PCMCIA) which is proven to work with this notebook. However,
it does not work for me within our university WLAN.

Upon inserting the card, the eth1 interface is configured, but it does
not receive an IP address. Strangely, when I use a Lucent Orinoco WLAN
card from our institute, everything works flawlessly.

By means of a /etc/dhclient-enter-hooks script, I checked that indeed,
dhclient receives an IP address (variable new_ip_address) when I insert
the Orinoco card while no IP address (variable new_ip_address is empty)
is received when I insert the 3Com card.

What I'd like to have now is an extensive transcript of the communication
between dhclient and the DHCP server, so I can attempt to further close
in on the point where things go amiss. Unfortunately, dhclient does not
seem to offer anything like a -verbose flag or similar. I'd be grateful
for any pointers on how to obtain detailed information on the progress
of DHCP based interface configuration.

Furthermore, I would, of course, welcome any hints, reports etc. which
may help me to sort out the problem. Here's some system info which may
hopefully help someone out there on the list to diagnose the problem.
My system is:

* running Debian stable
* kernel 2.4.18 with ACPI patch
* equipped with self-compiled poldhu driver, version 0.2.13, for
  using the 3Com card
* /etc/pcmcia/config.opts contains

  device "poldhu_cs"
class "network" module "poldhu_cs"

  card "No Wires Needed 11 Mbps Wireless LAN PC Card"
version "No Wires Needed", "11 Mbps Wireless LAN PC Card"
bind "poldhu_cs"

  card "3Com 3CRWE62092A Wireless LAN PC Card"
version "3Com", "3CRWE62092A Wireless LAN PC Card"
bind "poldhu_cs"

Upon inserting the 3Com card, the following messages appear in
/var/log/messages:

Jul 31 20:35:32 chipiona kernel: No Wires Needed Poldhu driver v0.2.13
Jul 31 20:35:32 chipiona kernel: poldhu_cs: index 0x30: Vcc 3.3, irq 3 io 0x0100
-0x013f
Jul 31 20:35:32 chipiona kernel: eth1: 3Com 11 Mbps Wireless LAN PC Card, port 1
00, irq 3, hw_addr 00:04:76:A5:88:A7
Jul 31 20:35:32 chipiona /etc/hotplug/net.agent: invoke ifup eth1

With the orinoco card, I just get the "invoke ifup eth1" message.

Regards & thanks for any hints & help,
Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Mouse and keyboard problems

2003-09-02 Thread Jan T. Kim
On Mon, Sep 01, 2003 at 01:20:50PM -0500, Charles Blair wrote:
> 
>I installed debian on a Toshiba 1405 laptop approximately a year ago.
> 
>Problem 1: when I am in an xterm window (from gnome?), I often
> get a letter repeated when I press a key.  I read somewhere that
> this can be fixed by changing a "stickykeys" setting, but I would
> like to know exactly what file to edit and what I do there.

I have a Toshiba Satellite 5100 which has a similar problem with
the keyboard -- without any fixup, 1% of the keystrokes are doubled,
but this happens only with the X window system, the consoles are not
affected.

The commands

xkbset exp bo
xkbset bo 1

fix this problem. I have these in the init function in my ~/.fvwm2rc
file, for gnome, I don't know what the right file for putting startup
commands would be.

The xkbset program is not part of the standard X11 packages, but
a debian package exists:

http://packages.debian.org/unstable/x11/xkbset.html

My experience is with a self-compiled xkbset program, though.

>Problem 2:  The touchpad mouse jumps around uncontrollably, and
> won't move at all after a few minutes of use.

This is usually due to having a wrong mouse type specified in
/etx/X11/XF86Config-4. Sometimes, the problem is caused by gpm, when
the /dev/gpmdata device is used by XFree86. In my experience, it's best
not to have gpm translate the mouse protocoll at all (i.e. use the
"raw" protocol).

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian Users...

2003-11-20 Thread Jan T. Kim
On Wed, Nov 19, 2003 at 09:35:23PM -0800, Larry Colen wrote:

> I've been using fvwm for years. Now I'm running fvwm2. It has some
> features I really like and haven't seen easily in other desktops. Also
> the last time I tried another desktop it was so freaking slow, I
> couldn't stand it.

I use fvwm2 too. Among the things I like about it is the fact that when
I get an account on a Linux box, I just have to copy my ~/.fvwm2rc file
into my new home directory, instead of messing around for an evening or so
with some "Control Center" or comparable thing in order to try and set up
my environment.

Personally, I strongly dislike those desktop systems because of their
foolish handling of iconification -- frequently, iconification doesn't
even render any icons anymore, and buttons or meny entries are produced
in some desktop-specific gadget. (Can anyone explain why that is??)

Another thing which irritates me a lot is that an increasing amount
of applications fails to handle the standard X options properly, and
apparently does not properly communicate with the window manager properly
either. For example, acroread just disregards any -geometry option,
and it took me a lot of experimentation to finally figure out a special
setup for the AcroRead class in my .fvwm2rc in which the full screen
view (which I needed for presentation purposes) works properly.

Is there any initiative of the Debian user community in which petitions
to software providers, asking them to adhere to the pertinent standards,
can be signed? I would gladly participate...

Greetings, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



What happened to kernel 2.6.0 in testing?

2004-03-03 Thread Jan T. Kim
Hi all,

this may not be exactly a laptop-specific question, but does any of
you know what happened to the 2.6 kernel packages? The package search
on the primary Debian website seems to indicate that the packages for
2.6.0, 2.6.1 and 2.6.2 are not listed for *any* distribution any longer
(not even for unstable). Only 2.6.3 is available, in unstable. Any
explanations?

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Middle mouse button on Toshiba Satellite S5100?

2004-03-09 Thread Jan T. Kim
Hi all,

I have recently upgraded my Toshiba Satellite 5100 notebook from a
2.4.21 kernel to a 2.6.0 kernel. Unfortunately, it turns out that the
cpad module (http://www.janerob.com/rob/ts5100/cPad/index.shtml) is
not available for the 2.6 kernel series.

My only reason for using this driver has been that with it, the middle
mouse button is functional; without that module, the middle mouse
button does nothing.

Is there any other way to get the middle mouse button to work? Some
option to be passed via the XF86Config file, perhaps? It's somewhat silly
to have the luxury of a middle mouse button below the touchpad, and yet
to be forced to synchronously press the left and right one to get its
function...

Greetinx, Jan

P.S.: I still wonder why the 2.6.0, 2.6.1 and 2.6.2 kernel packages
suddenly disappeared from the Debian servers...
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: compile 2.6.2 for laptop

2004-03-11 Thread Jan T. Kim
On Wed, Mar 10, 2004 at 03:23:29PM -0800, Ralph Bacolod wrote:
> I think you need the pcmcia-cs package. I tried compiling pcmcia-cs but I
> had no luck. .
> Hth.
> Rafiks
> --- [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > I've tried compiling the 2.6.2 kernel from the kernel-source from 
> > packages.debian.org.  I'm compiling the kernel so I can get a wpc11 ver. 
> > 3 wireless card working.

The pcmcia-cs kernel modules are not compatible with 2.6, i.e. they
cannot be built in conjunction with the 2.6.2 kernel sources. However,
the package is still needed, it provides the cardctl program and the
/etc/pcmcia directory.

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Middle mouse button on Toshiba Satellite S5100?

2004-03-11 Thread Jan T. Kim
On Wed, Mar 10, 2004 at 12:11:54PM +0100, Nicolas Dely wrote:
> Hello, there is something intereseting to do, If you want to use middle
> button : it's called xkbset. With xmodmap you set the keycode of ms-menu
> or ms-window and you assign this keycode to keysyms Pointer_Button2
> Pointer_Drag2, and with 'xkbset m' you enable mapping mouse button on
> keyboard and with 'xkbset exp m' you disable timeout. You are able to use
> this key like you middle mouse button.

Thanks for this hint, this sounds interesting indeed. However, I have
not been able to put it to work; maybe I didn't understand your suggestion
entirely correctly. I did

xkbset m
xkbset exp m
xmodmap -e 'keycode 115 = Pointer_Button2 Pointer_Drag2'

After that, the "Windows" key, which is normally dead with my X setup
but produces keycode 115 (as determined by xev) works like a middle
mouse button.

The real middle button, however, remains dead. Using xev, I found that
pressing the middle button does not generate any event.

So, how do I get the middle mouse button to generate "ms-window"
keypress / keyrelease events?

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: compile 2.6.2 for laptop

2004-03-11 Thread Jan T. Kim
On Thu, Mar 11, 2004 at 08:20:14AM -0500, Wes Reneau wrote:
> Jan T. Kim wrote:
> >The pcmcia-cs kernel modules are not compatible with 2.6, i.e. they
> >cannot be built in conjunction with the 2.6.2 kernel sources. However,
> >the package is still needed, it provides the cardctl program and the
> >/etc/pcmcia directory.

> So what am I to do?  Being the package isnt compatable with the new 
> kernel how do I make it work or do I?

The cardctl program and the stuff in /etc/pcmcia work with the modules
which are provided in the kernel 2.6.x source tree. It's just that the
kernel modules provided by the pcmcia-cs package don't work with the
2.6.x kernels, the cardctl program and its associated config files do
work.

You'll have to make sure that the modules are configured in the kernel
source, and you may have to add some stuff to /etc/pcmcia/wireless.opts
(or some other file in the /etc/pcmcia directory).

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Synaptics question (was: Middle mouse button on Toshiba Satellite S5100?)

2004-03-13 Thread Jan T. Kim
On Thu, Mar 11, 2004 at 01:12:12PM +0100, Nicolas Dely wrote:

> > The real middle button, however, remains dead. Using xev, I found that
> > pressing the middle button does not generate any event.
> >
> > So, how do I get the middle mouse button to generate "ms-window"
> > keypress / keyrelease events?
> 
> Your mouse drivers must generate an event to change event. xkbset
> just allows you to simulate mouse events on keyboard  and not to generate
> an event from the mouse. It was interesting for me because i've no
> middle button and it's not easy to emulate 3buttons in clicking on 2
> buttons at the same time.

Ok -- this is different from my situation, I do have a middle mouse
button, i.e. it is physically present, but pressing it has no effect,
unless I use the cpad kernel module. This, however, is not ready for
the 2.6 kernel series (yet).

> You've install  2.6.X kernel? In my case I have a synaptics touchpad. I've
> just download latest driver and update XF86Config-4 with
> README or INSTALL instructions which correct kernel preemptibility,
> touchpad sensibility, right released and pressed event and
> merge usb mouse and ps2 mouse in one section. Have you tried something
> like that?

Incidentally, I also tried the synaptics driver, I found it while
searching for an alternative to the cpad module. (Unfortunately, there
seems to be little hope to get the middle mouse button to work that
way, because I find that the /dev/input/event1 device doesn't produce
any output whatsoever when I press the middle mouse button.)

I haven't been able to get the synaptics module to work, however, and I
wonder whether that driver is compatible with the touchpad in my Toshiba
Satellite S5100-603. This is what I put into my /etc/X11/XF86Config-4 file:

Section "Module"
[...]
Load"synaptics"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Option  "CorePointer"
Driver  "synaptics"
Option  "Device""/dev/input/event1"
Option  "Protocol"  "auto-dev"
Option  "Emulate3Buttons"   "true"
EndSection

startx terminates with

Fatal server error:
failed to initialize core devices

Inspection of the /var/log/XFree86.0.log file reveals:

(II) Synaptics touchpad driver version 0.12.5
Configured Mouse no synaptics event device found (checked 5 nodes)
(**) Option "Device" "/dev/input/event1"
Query no Synaptics: 00
(EE) Configured Mouse no synaptics touchpad detected and no repeater device
(EE) Configured Mouse Unable to query/initialize Synaptics hardware.
(EE) PreInit failed for input device "Configured Mouse"

The evdev module is loaded (``modprobe evdev'' before ``startx''), and
I verified that /dev/input/event1 represents the touchpad by hexdumping
from that.

The touchpad on this laptop is an LC-display (see picture at
http://www.janerob.com/rob/ts5100/cPad/index.shtml). Perhaps, the
driver gets confused by some extended and / or proprietary interface
for fiddling with that LCD?

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Synaptics question

2004-03-17 Thread Jan T. Kim
On Sun, Mar 14, 2004 at 12:33:25PM +0100, Mattia Dongili wrote:
> On Sat, Mar 13, 2004 at 11:35:14PM +0100, Jan T. Kim wrote:

> > (EE) Configured Mouse no synaptics touchpad detected and no repeater device
> > (EE) Configured Mouse Unable to query/initialize Synaptics hardware.
> > (EE) PreInit failed for input device "Configured Mouse"
> > 
> > The evdev module is loaded (``modprobe evdev'' before ``startx''), and
> > I verified that /dev/input/event1 represents the touchpad by hexdumping
> > from that.
> 
> to verify that you have one you can cat /proc/bus/input/devices, I
> have:
> ...
> I: Bus=0011 Vendor=0002 Product=0007 Version=
> N: Name="SynPS/2 Synaptics TouchPad"
> P: Phys=isa0060/serio1/input0
> H: Handlers=mouse1 event2 
> B: EV=b 
> B: KEY=6420 0 67 0 0 0 0 0 0 0 0 
> B: ABS=1103 
> ...

Ok -- it does say "Synaptics", but it has a USB interface, not a PS/2
interface:

I: Bus=0003 Vendor=06cb Product=0003 Version=0011
N: Name="Synaptics Inc. Synaptics cPad"
P: Phys=usb-:00:1d.1-2/input0
H: Handlers=event2 mouse1 ts1 
B: EV=7 
B: KEY=7 0 0 0 0 0 0 0 0 
B: REL=3 

> also you need the psmouse driver loaded in order to correctly use a
> Synaptics Touchpad, dmesg tells me:
> ...
> Synaptics Touchpad, model: 1
>  Firmware: 5.9
>  Sensor: 37
>  new absolute packet format
>  Touchpad has extended capability bits
>  -> multifinger detection
>  -> palm detection
> input: SynPS/2 Synaptics TouchPad on isa0060/serio1
> ...

I tried loading the psmouse driver anyway, but it made no difference. I
expected this, but I wasn't 100% certain, as the builtin mouse (touchpad)
does become available via the /dev/psaux device.  I have to admit that
I don't entirely understand how this works, currently.

At any rate, in /var/log/messages, I find that the touchpad is indeed
handled by the USB mouse driver:

Mar 17 18:35:40 chipiona kernel: input: USB HID v1.00 Mouse [Synaptics Inc. 
Synaptics cPad] on usb-:00:1d.1-2

> also, the synaptics driver version 0.12.5 you are using should support
> the middle button

Well -- this is all that I really care for. Unfortunately, my hopes
to awaken the middle button to life are not too high, considering that
with all my messing around, I have never seen any data come out of any
device (/dev/psaux, /dev/input/event2 etc.) upon pressing the middle
button.

Perhaps, the USB mouse driver can somehow be told that the Synaptics cPad
is a three button mouse...? I'll have to search the docs on this, this
evening, I guess...

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Installation instructions for Laptop

2004-03-29 Thread Jan T. Kim
On Sun, Mar 28, 2004 at 09:06:28PM -0500, Eric Pineault wrote:
> If you've found this list then you probably have heard of this site:
> http://tuxmobil.org/
> if not check it out you might find your machine.
> 
> I suggest you try a knoppix system (knoppix.org) to check what works and
> what doesn't, work on from there. That's if you want to stay away from a
> commercial distribution, ie debian. If you want to pay try mandrake or Suse
> they are newbie friendly.

I'm sorry, but I have to contradict this recommendation. SuSE is
a bad idea for newbies, because it tends to mess with the system
configuration in /etc and elsewhere all the time, thereby confusing
and frustrating anyone who tries to learn system administration.

> > Hello,
> > I have a HP ZE4560 AMD 1.8GhZ Laptop. I currently have Windows XP on
> > my laptop however I am planning to install Linux on it. Could you
> > suggets as what Versions of Linux are stable and what are the
> > instructions to be followed while installing it. I have been told by
> > many of my friends that installing Linux on laptop is not a good idea
> > as it may make the systems unstable. Is that true

Certainly not in general. I've had three notebooks and helped install
Linux on some more. They all run very stably.

Instability mostly these sources:

* When Linux is to be installed in addition to Windows, this usually
  requires that the Windows partition is somehow shrinked. If that
  is not done properly, the Windows system may be messed up. (Then,
  if recovery of the Windows system is attempted, this may result
  in screwing up the newly installed Linux system etc.)

* Some notebooks have very new or "exotic" hardware components, and
  Linux support for these is in some preliminary stage, i.e.
  under development. In these cases, Linux may indeed be unstable,
  due to that specific piece of hardware. In these cases, the system
  usually can be rendered stable by removing the drivers for the
  problematic piece of hardware.

* Suspending the system using ACPI may, in many cases, not work
  properly.

Regarding Debian, using the testing or unstable distribution may result
in a more stable system (counterintuitively) -- most packages in the
testing distribution are not more "unstable" than their counterparts in
distros other than Debian.

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian Users...

2003-11-20 Thread Jan T. Kim
On Wed, Nov 19, 2003 at 09:35:23PM -0800, Larry Colen wrote:

> I've been using fvwm for years. Now I'm running fvwm2. It has some
> features I really like and haven't seen easily in other desktops. Also
> the last time I tried another desktop it was so freaking slow, I
> couldn't stand it.

I use fvwm2 too. Among the things I like about it is the fact that when
I get an account on a Linux box, I just have to copy my ~/.fvwm2rc file
into my new home directory, instead of messing around for an evening or so
with some "Control Center" or comparable thing in order to try and set up
my environment.

Personally, I strongly dislike those desktop systems because of their
foolish handling of iconification -- frequently, iconification doesn't
even render any icons anymore, and buttons or meny entries are produced
in some desktop-specific gadget. (Can anyone explain why that is??)

Another thing which irritates me a lot is that an increasing amount
of applications fails to handle the standard X options properly, and
apparently does not properly communicate with the window manager properly
either. For example, acroread just disregards any -geometry option,
and it took me a lot of experimentation to finally figure out a special
setup for the AcroRead class in my .fvwm2rc in which the full screen
view (which I needed for presentation purposes) works properly.

Is there any initiative of the Debian user community in which petitions
to software providers, asking them to adhere to the pertinent standards,
can be signed? I would gladly participate...

Greetings, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



What happened to kernel 2.6.0 in testing?

2004-03-03 Thread Jan T. Kim
Hi all,

this may not be exactly a laptop-specific question, but does any of
you know what happened to the 2.6 kernel packages? The package search
on the primary Debian website seems to indicate that the packages for
2.6.0, 2.6.1 and 2.6.2 are not listed for *any* distribution any longer
(not even for unstable). Only 2.6.3 is available, in unstable. Any
explanations?

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



Middle mouse button on Toshiba Satellite S5100?

2004-03-09 Thread Jan T. Kim
Hi all,

I have recently upgraded my Toshiba Satellite 5100 notebook from a
2.4.21 kernel to a 2.6.0 kernel. Unfortunately, it turns out that the
cpad module (http://www.janerob.com/rob/ts5100/cPad/index.shtml) is
not available for the 2.6 kernel series.

My only reason for using this driver has been that with it, the middle
mouse button is functional; without that module, the middle mouse
button does nothing.

Is there any other way to get the middle mouse button to work? Some
option to be passed via the XF86Config file, perhaps? It's somewhat silly
to have the luxury of a middle mouse button below the touchpad, and yet
to be forced to synchronously press the left and right one to get its
function...

Greetinx, Jan

P.S.: I still wonder why the 2.6.0, 2.6.1 and 2.6.2 kernel packages
suddenly disappeared from the Debian servers...
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



Re: compile 2.6.2 for laptop

2004-03-11 Thread Jan T. Kim
On Wed, Mar 10, 2004 at 03:23:29PM -0800, Ralph Bacolod wrote:
> I think you need the pcmcia-cs package. I tried compiling pcmcia-cs but I
> had no luck. .
> Hth.
> Rafiks
> --- [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > I've tried compiling the 2.6.2 kernel from the kernel-source from 
> > packages.debian.org.  I'm compiling the kernel so I can get a wpc11 ver. 
> > 3 wireless card working.

The pcmcia-cs kernel modules are not compatible with 2.6, i.e. they
cannot be built in conjunction with the 2.6.2 kernel sources. However,
the package is still needed, it provides the cardctl program and the
/etc/pcmcia directory.

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



Re: Middle mouse button on Toshiba Satellite S5100?

2004-03-11 Thread Jan T. Kim
On Wed, Mar 10, 2004 at 12:11:54PM +0100, Nicolas Dely wrote:
> Hello, there is something intereseting to do, If you want to use middle
> button : it's called xkbset. With xmodmap you set the keycode of ms-menu
> or ms-window and you assign this keycode to keysyms Pointer_Button2
> Pointer_Drag2, and with 'xkbset m' you enable mapping mouse button on
> keyboard and with 'xkbset exp m' you disable timeout. You are able to use
> this key like you middle mouse button.

Thanks for this hint, this sounds interesting indeed. However, I have
not been able to put it to work; maybe I didn't understand your suggestion
entirely correctly. I did

xkbset m
xkbset exp m
xmodmap -e 'keycode 115 = Pointer_Button2 Pointer_Drag2'

After that, the "Windows" key, which is normally dead with my X setup
but produces keycode 115 (as determined by xev) works like a middle
mouse button.

The real middle button, however, remains dead. Using xev, I found that
pressing the middle button does not generate any event.

So, how do I get the middle mouse button to generate "ms-window"
keypress / keyrelease events?

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



Re: compile 2.6.2 for laptop

2004-03-11 Thread Jan T. Kim
On Thu, Mar 11, 2004 at 08:20:14AM -0500, Wes Reneau wrote:
> Jan T. Kim wrote:
> >The pcmcia-cs kernel modules are not compatible with 2.6, i.e. they
> >cannot be built in conjunction with the 2.6.2 kernel sources. However,
> >the package is still needed, it provides the cardctl program and the
> >/etc/pcmcia directory.

> So what am I to do?  Being the package isnt compatable with the new 
> kernel how do I make it work or do I?

The cardctl program and the stuff in /etc/pcmcia work with the modules
which are provided in the kernel 2.6.x source tree. It's just that the
kernel modules provided by the pcmcia-cs package don't work with the
2.6.x kernels, the cardctl program and its associated config files do
work.

You'll have to make sure that the modules are configured in the kernel
source, and you may have to add some stuff to /etc/pcmcia/wireless.opts
(or some other file in the /etc/pcmcia directory).

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



Synaptics question (was: Middle mouse button on Toshiba Satellite S5100?)

2004-03-13 Thread Jan T. Kim
On Thu, Mar 11, 2004 at 01:12:12PM +0100, Nicolas Dely wrote:

> > The real middle button, however, remains dead. Using xev, I found that
> > pressing the middle button does not generate any event.
> >
> > So, how do I get the middle mouse button to generate "ms-window"
> > keypress / keyrelease events?
> 
> Your mouse drivers must generate an event to change event. xkbset
> just allows you to simulate mouse events on keyboard  and not to generate
> an event from the mouse. It was interesting for me because i've no
> middle button and it's not easy to emulate 3buttons in clicking on 2
> buttons at the same time.

Ok -- this is different from my situation, I do have a middle mouse
button, i.e. it is physically present, but pressing it has no effect,
unless I use the cpad kernel module. This, however, is not ready for
the 2.6 kernel series (yet).

> You've install  2.6.X kernel? In my case I have a synaptics touchpad. I've
> just download latest driver and update XF86Config-4 with
> README or INSTALL instructions which correct kernel preemptibility,
> touchpad sensibility, right released and pressed event and
> merge usb mouse and ps2 mouse in one section. Have you tried something
> like that?

Incidentally, I also tried the synaptics driver, I found it while
searching for an alternative to the cpad module. (Unfortunately, there
seems to be little hope to get the middle mouse button to work that
way, because I find that the /dev/input/event1 device doesn't produce
any output whatsoever when I press the middle mouse button.)

I haven't been able to get the synaptics module to work, however, and I
wonder whether that driver is compatible with the touchpad in my Toshiba
Satellite S5100-603. This is what I put into my /etc/X11/XF86Config-4 file:

Section "Module"
[...]
Load"synaptics"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Option  "CorePointer"
Driver  "synaptics"
Option  "Device""/dev/input/event1"
Option  "Protocol"  "auto-dev"
Option  "Emulate3Buttons"   "true"
EndSection

startx terminates with

Fatal server error:
failed to initialize core devices

Inspection of the /var/log/XFree86.0.log file reveals:

(II) Synaptics touchpad driver version 0.12.5
Configured Mouse no synaptics event device found (checked 5 nodes)
(**) Option "Device" "/dev/input/event1"
Query no Synaptics: 00
(EE) Configured Mouse no synaptics touchpad detected and no repeater device
(EE) Configured Mouse Unable to query/initialize Synaptics hardware.
(EE) PreInit failed for input device "Configured Mouse"

The evdev module is loaded (``modprobe evdev'' before ``startx''), and
I verified that /dev/input/event1 represents the touchpad by hexdumping
from that.

The touchpad on this laptop is an LC-display (see picture at
http://www.janerob.com/rob/ts5100/cPad/index.shtml). Perhaps, the
driver gets confused by some extended and / or proprietary interface
for fiddling with that LCD?

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



Re: Synaptics question

2004-03-17 Thread Jan T. Kim
On Sun, Mar 14, 2004 at 12:33:25PM +0100, Mattia Dongili wrote:
> On Sat, Mar 13, 2004 at 11:35:14PM +0100, Jan T. Kim wrote:

> > (EE) Configured Mouse no synaptics touchpad detected and no repeater 
> > device
> > (EE) Configured Mouse Unable to query/initialize Synaptics hardware.
> > (EE) PreInit failed for input device "Configured Mouse"
> > 
> > The evdev module is loaded (``modprobe evdev'' before ``startx''), and
> > I verified that /dev/input/event1 represents the touchpad by hexdumping
> > from that.
> 
> to verify that you have one you can cat /proc/bus/input/devices, I
> have:
> ...
> I: Bus=0011 Vendor=0002 Product=0007 Version=
> N: Name="SynPS/2 Synaptics TouchPad"
> P: Phys=isa0060/serio1/input0
> H: Handlers=mouse1 event2 
> B: EV=b 
> B: KEY=6420 0 67 0 0 0 0 0 0 0 0 
> B: ABS=1103 
> ...

Ok -- it does say "Synaptics", but it has a USB interface, not a PS/2
interface:

I: Bus=0003 Vendor=06cb Product=0003 Version=0011
N: Name="Synaptics Inc. Synaptics cPad"
P: Phys=usb-:00:1d.1-2/input0
H: Handlers=event2 mouse1 ts1 
B: EV=7 
B: KEY=7 0 0 0 0 0 0 0 0 
B: REL=3 

> also you need the psmouse driver loaded in order to correctly use a
> Synaptics Touchpad, dmesg tells me:
> ...
> Synaptics Touchpad, model: 1
>  Firmware: 5.9
>  Sensor: 37
>  new absolute packet format
>  Touchpad has extended capability bits
>  -> multifinger detection
>  -> palm detection
> input: SynPS/2 Synaptics TouchPad on isa0060/serio1
> ...

I tried loading the psmouse driver anyway, but it made no difference. I
expected this, but I wasn't 100% certain, as the builtin mouse (touchpad)
does become available via the /dev/psaux device.  I have to admit that
I don't entirely understand how this works, currently.

At any rate, in /var/log/messages, I find that the touchpad is indeed
handled by the USB mouse driver:

Mar 17 18:35:40 chipiona kernel: input: USB HID v1.00 Mouse [Synaptics Inc. 
Synaptics cPad] on usb-:00:1d.1-2

> also, the synaptics driver version 0.12.5 you are using should support
> the middle button

Well -- this is all that I really care for. Unfortunately, my hopes
to awaken the middle button to life are not too high, considering that
with all my messing around, I have never seen any data come out of any
device (/dev/psaux, /dev/input/event2 etc.) upon pressing the middle
button.

Perhaps, the USB mouse driver can somehow be told that the Synaptics cPad
is a three button mouse...? I'll have to search the docs on this, this
evening, I guess...

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



Re: Installation instructions for Laptop

2004-03-29 Thread Jan T. Kim
On Sun, Mar 28, 2004 at 09:06:28PM -0500, Eric Pineault wrote:
> If you've found this list then you probably have heard of this site:
> http://tuxmobil.org/
> if not check it out you might find your machine.
> 
> I suggest you try a knoppix system (knoppix.org) to check what works and
> what doesn't, work on from there. That's if you want to stay away from a
> commercial distribution, ie debian. If you want to pay try mandrake or Suse
> they are newbie friendly.

I'm sorry, but I have to contradict this recommendation. SuSE is
a bad idea for newbies, because it tends to mess with the system
configuration in /etc and elsewhere all the time, thereby confusing
and frustrating anyone who tries to learn system administration.

> > Hello,
> > I have a HP ZE4560 AMD 1.8GhZ Laptop. I currently have Windows XP on
> > my laptop however I am planning to install Linux on it. Could you
> > suggets as what Versions of Linux are stable and what are the
> > instructions to be followed while installing it. I have been told by
> > many of my friends that installing Linux on laptop is not a good idea
> > as it may make the systems unstable. Is that true

Certainly not in general. I've had three notebooks and helped install
Linux on some more. They all run very stably.

Instability mostly these sources:

* When Linux is to be installed in addition to Windows, this usually
  requires that the Windows partition is somehow shrinked. If that
  is not done properly, the Windows system may be messed up. (Then,
  if recovery of the Windows system is attempted, this may result
  in screwing up the newly installed Linux system etc.)

* Some notebooks have very new or "exotic" hardware components, and
  Linux support for these is in some preliminary stage, i.e.
  under development. In these cases, Linux may indeed be unstable,
  due to that specific piece of hardware. In these cases, the system
  usually can be rendered stable by removing the drivers for the
  problematic piece of hardware.

* Suspending the system using ACPI may, in many cases, not work
  properly.

Regarding Debian, using the testing or unstable distribution may result
in a more stable system (counterintuitively) -- most packages in the
testing distribution are not more "unstable" than their counterparts in
distros other than Debian.

Greetinx, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]  |
 |*NEW*WWW:   http://www.inb.uni-luebeck.de/staff/kim.html|
 *-=<  hierarchical systems are for files, not for humans  >=-*



Re: memory stick

2005-07-12 Thread Jan T. Kim
On Tue, Jul 12, 2005 at 12:10:03PM +0200, Colin Cotter wrote:
> Dear list,
> 
>  How do I use a memory stick with Debian? I connected my stick and
> the following appeared in "dmesg". Is it working? How do I access it?
> 
> cheers
> 
> --cjc
> 
> usb 4-1: new high speed USB device using address 4
> scsi1 : SCSI emulation for USB Mass Storage devices
>   Vendor:   Model: USB Flash Memory  Rev: 1.00
>   Type:   Direct-Access  ANSI SCSI revision: 02
> SCSI device sda: 492544 512-byte hdwr sectors (252 MB)
> sda: assuming Write Enabled
> sda: assuming drive cache: write through
>  /dev/scsi/host1/bus0/target0/lun0: [CUMANA/ADFS] p1<5>Attached scsi
> removable disk sda at scsi1, channel 0, id 0, lun 0
> USB Mass Storage device found at 4
> Buffer I/O error on device sda1, logical block 508378384

These errors don't look right, but otherwise, it seems to me that all
is fine.

You'll have to find out what causes those error messages. I suggest
connecting the stick while the laptop is in console mode; this way,
that bunch of multimedia demons that come with desktop environments
(gnome, kde) are out of the way. Then, as root, try to mount it, e.g.
with

mount -t vfat /dev/sda1 /mnt

If the stick mounts ok (i.e. the files on it become visible in the
/mnt directory), the stick and the OS basics are fine, and the error
messages are probably triggered by one of those demons. (Since I use
fvwm2, I don't know how to fix these, I'm afraid.)

If the error messages persist, there may be a problem with the stick.
If it has been used with various other operating systems, there is a
chance that it's just the file system that is messed up. In that case,
you could try ``mkfs -t vfat'' on the device /dev/sda1, but, of course,
that will erase all files on the stick, along with the problems, in case
of success.

Best regards, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]   |
 |*NEW*WWW:   http://www.cmp.uea.ac.uk/people/jtk |
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: memory stick

2005-07-12 Thread Jan T. Kim
On Tue, Jul 12, 2005 at 07:42:18PM +0200, Colin Cotter wrote:
> On 7/12/05, Steffen Waldherr <[EMAIL PROTECTED]> wrote:
> 
> > If this doesn't work, you might
> > want to try "fdisk /dev/sda" to see the partition
> > table of the stick and maybe repartition and/or
> > reformat it to your needs.
> > 
> > Steffen
> > 
> 
> Thanks. My partition table says:
> 
> Disk /dev/sda: 252 MB, 252182528 bytes
> 32 heads, 16 sectors/track, 962 cylinders
> Units = cylinders of 512 * 512 = 262144 bytes
> 
>Device Boot  Start End  Blocks   Id  System
> /dev/sda1   *   1 962  246264e  W95 FAT16 (LBA)
> 
> Does this shed any light on the matter?

Hmm... perhaps, you should try plain "fat" rather than "vfat" as the
file system type?

According to the fdisk output, the stick should become visible at
/dev/sda1, and should mount accordingly.

What about those error messages, do they persist? I once heard about
a case where a stick would only mount when connected by a USB extension
cable... don't know whether that is a USB-1 vs. USB-2 issue or perhaps
just a mechanical connection problem...

Best regards, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]   |
 |*NEW*WWW:   http://www.cmp.uea.ac.uk/people/jtk |
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: memory stick

2005-07-14 Thread Jan T. Kim
On Wed, Jul 13, 2005 at 05:16:43PM -0300, Derek Broughton wrote:
> s. keeling wrote:
> 
> > Colin Cotter <[EMAIL PROTECTED]>:
> >>  On 7/12/05, Steffen Waldherr <[EMAIL PROTECTED]> wrote:
> >> 
> >> > If this doesn't work, you might
> >> > want to try "fdisk /dev/sda" to see the partition
> >> > table of the stick and maybe repartition and/or
> >> > reformat it to your needs.
> > 
> > Beware, however, others have reported that once reformatted, the stick
> > became a paperweight.
> 
> Having done that, I can assure you it's not (quite) true (anyway, they're
> way too light to be good paperweights).  If you don't format it correctly,
> _Windows_ will treat it as a paperweight.  HP provides a handy reformatting
> tool on their website (google for HPUSBFW.exe) that seems to work to fix up
> memory sticks, if you run into that problem.  Been there, done that. :-)

For what it's worth, I have run ``mkfs -t vfat'' on a memory stick once,
after it had accumulated some weird and (as far as I recall) undeletable
files (due to a sequence of events involving unplugging without dismounting,
Windows or Macintosh system freezes, and other things). The stick has
been working normally ever since; I use it almost every day.

However, given the multitude of USB flash drive like devices, I would
not be surprised if this didn't work on other models.

Certainly, for things like USB MP3 sticks, cameras etc. I would not
recommend the mkfs approach, as reformatting them just like that may
e.g. erase configuration information.

Best regards, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]   |
 |*NEW*WWW:   http://www.cmp.uea.ac.uk/people/jtk |
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



wmacpi and fvwm

2005-08-03 Thread Jan T. Kim
Hi all,

I have run a dist-upgrade on a notebook (Toshiba Satellite 5100, but
I don't think the model matters much). Since then, the wmacpi program,
which I run in an fvwmbutton (using the fvwm2 window manager, of course)
behaves strangely:

* The button is black.

* When I start the wmacpi program manually, it comes up as a black
  window.

* However, when I iconise that window, the icon (!) displays the
  normal wmacpi stuff (LED-lookalike battery status).

Any explanations for this? Any ideas? As a fairly obvious trick, I tried

wmacpi -iconic

but the program just complains that -i was an invalid option (i.e. it
does not appear to use the standard command line processing of X programs).

I'd appreciate any hints.

Thanks in advance, Jan
-- 
 +- Jan T. Kim ---+
 |*NEW*email: [EMAIL PROTECTED]   |
 |*NEW*WWW:   http://www.cmp.uea.ac.uk/people/jtk |
 *-=<  hierarchical systems are for files, not for humans  >=-*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]