Re: [expert] Joysticks

2000-12-04 Thread Jeff Cours

On Mon, 4 Dec 2000, Stephen Boulet wrote:

> No.  :(
> 
> > > Has anyone been able to get a digital joystick running in LM7.2?
> >
> > Spence

I just spent a few minutes going over the Mandrake site and couldn't
find any mention of a joystick under the "Features" section. A search
of Mandrake Forum for the keyword "joystick" didn't turn up anything
either. I think I've been coming from the wrong direction here: I'd
thought that Mandrake supported joysticks but I was just having
problems getting them working, but now I'm begining to wonder if
they're officially supported hardware in the Mandrake distribution.

Well, anyway, I'm experimenting with the 2.4 kernel to see if I can
get joysticks (and some USB support I need) to work with it.
Flightgear just doesn't feel right under mouse control...

- Jeff





Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Setting up a mail cronjob

2000-12-04 Thread Jeff Cours

On Mon, 4 Dec 2000, praedor wrote:

> I am almost there with this command:
> 
> mail -s "ip update message" [EMAIL PROTECTED]
> 
> This will produce a message with a subject of "ip update message" and add my 
> email to the "To:" field.  It does leave an empty message body and doesn't 
> send a "ctrl-d" command to mail which is required to sending.  How do I do 
> that?

If you 'echo' something and pipe it into the mail command, when the
echo finishes it will send an End Of File (the equivalent of a
ctrl-d) to mail. So, you can use an incantation similar to this one:

echo | mail -s "ip update message" [EMAIL PROTECTED]

or, if you really want to get fancy:

echo "mail from `hostname` at `hostname -i`" | mail -s "ip
update message" [EMAIL PROTECTED]

(note: should all be one line)

Take a look at the "Command Substitution" section of "man bash" to see
what the "`"'s are doing, and "man hostname" to see what hostname is
doing.

- Jeff





Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Logitech extreme digital 3D joystick and SBLive card

2000-11-26 Thread Jeff Cours

I've been having similar problems with joy-* modules, but haven't had
time to dive into tracking down the source of the problem.

Is anyone successfully using a joystick with LM 7.2?

thanks,
Jeff

Stephen Boulet wrote:
> 
> I'm having trouble getting my joystick to work. I have a Logitech wingman
> extreme digital 3D and a soundblaster live card.
> 
> When I try to load the logitech module, I get:
> 
>   [root@mozart /root]# insmod joy-logitech
>   Using /lib/modules/2.2.17-21mdk/misc/joy-logitech.o
>   /lib/modules/2.2.17-21mdk/misc/joy-logitech.o: init_module: Device or
> resource busy
>   Hint: insmod errors can be caused by incorrect module parameters, including
> invalid IO or IRQ parameters
> 
> Anyone know how I should fix this?
> 
> -- Stephen
> 
>   
> Keep in touch with http://mandrakeforum.com:
> Subscribe the "[EMAIL PROTECTED]" mailing list.



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



[expert] joystick support/modprobe error

2000-11-14 Thread Jeff Cours

I'm trying to get joystick support to work on a Mandrake 7.2
installation. I'm able to load the "joystick" module without any
problems, but I run into a "Device or resource busy" error when I try to
load joy-analog (or joy-sidewinder: it's a Sidewinder 3D joystick). I've
appended the actual output below.

Sound seems to be working fine on the system (it's a C-Media
CMI8738/C3DX chipset on the motherboard). Also, modprobe fails
regardless of whether X is running or not, but I haven't tested any time
except after the system's finished booting so I guess an order
dependence could be biting me.

Any suggestions on where to look for the source of the problem? Is a
kernel recompilation in my future? Should I start diving into the
joystick sources?

thanks very much in advance,
Jeff

$ sudo /sbin/modprobe joystick
$ /sbin/lsmod
Module  Size  Used by
joystick5792   0 (unused)
vfat9408   0 (autoclean) (unused)
fat30432   0 (autoclean) [vfat]
isapnp 27616   0 (unused)
i810   72112   2
agpgart19728   5 [i810]
autofs  9456   2 (autoclean)
usb-uhci   19184   0 (unused)
usbcore43632   1 [usb-uhci]
ppp20976   0 (autoclean) (unused)
slhc4544   0 (autoclean) [ppp]
dmfe9504   1 (autoclean)
cmpci  20960   0
soundcore   2800   4 [cmpci]
supermount 14224   2 (autoclean) 
$ sudo /sbin/modprobe joy-analog
/lib/modules/2.2.17-21mdk/misc/joy-analog.o: init_module: Device or
resource busy
Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ parameters
/lib/modules/2.2.17-21mdk/misc/joy-analog.o: insmod
/lib/modules/2.2.17-21mdk/misc/joy-analog.o failed
/lib/modules/2.2.17-21mdk/misc/joy-analog.o: insmod joy-analog failed



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



[expert] LM 7.2 on PCChips' Book PC

2000-11-13 Thread Jeff Cours

I just finished a successful fresh install of Mandrake 7.2 on a PCChips'
Book PC (i810-based motherboard) over the weekend. I did a custom install,
low security, development system, but wound up installing all packages. I
used CD-R disks from www.cheapbytes.com. One quirk under the graphical
installer, which was common to both 7.1 and 7.2, is that, in the lower
left corner of the screen, you can see the tops of what look like 3
buttons that run off the bottom of the screen. I've no idea what they're
supposed to do, since I can't read the labels, but fortunately they didn't
seem to be necessary.

Overall, the process went pretty smoothly. Because the board uses an i810,
you have to manually tell the kernel how much RAM you have, and be sure to
tell it one MB less than the actual installed amount (so for a 128MB
machine, you'd tell it 127MB). X correctly identified the i810 and appears
to be using video accelleration -- I can run tuxracer -- though there are
some quirks that I have to resolve.

In checking how well video was working, I found that the Lemmings clone
(can't remember the name at the moment and the system is at home) wanted
to use a larger resolution than what was available on the desktop, so I
wound up having to pan. It also failed to reset the desktop size and
resolution when it exited. But it did run, which is a good start. 

I'm also getting some artifacts in kterm. They appear when a drop-down
menu covers the text area. Since they don't show up in xterm, I'm guessing
that's a KDE2 problem, not a problem in X or the video drivers.

Haven't figured out yet how to get the system monitor applet to load at
startup under KDE2.

There were no font problems under KDE2 at 1024x768 at 16 bits. (The
chipset will go higher according to the FAQs at Intel, but I'm using an
LCD monitor that's happiest at 1024x768, and Netscape much prefers 16 bit
color.) I haven't tried Gnome yet.

Sound seems to work just fine. I didn't even have to goose it with
sndconfig.

The on-board modem does not appear to be working. I could bring up a
minicom connection to it under 7.1, but with 7.2 I'm not getting any
response. Since it uses /dev/ttyS3 (COM4), which is one of the dustier
corners of the hardware world, this problem may take some investigation.
Also, the Book PC doesn't have serial ports -- it's strictly a USB machine
-- and I haven't yet gotten the Palm Pilot to sync correctly through USB
using Palm's USB adaptor. (I get a "no such device", or somesuch, error.)
I'm guessing that'll take a kernel recompile or an upgrade to the 2.4
kernel, but I haven't had time to investigate thoroughly.

The installer mis-detected the HP DeskJet 810C as an 812C, but a bit of
manual reconfiguration fixed that problem. I was able to print from
StarOffice but haven't really pushed it yet.

I was most impressed when Quicken 2000 for Windows installed and ran under
7.2's default Wine package. It was a little slow, and tended to grumble a
lot (mostly in the form of "fixme" error messages), but it didn't crash
and worked well enough to balance the checkbook last night.

- Jeff





Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] pop-3

2000-11-04 Thread Jeff Cours

rharvey wrote:
> 
> so do I need to setup a mx record on my linux box or have my provider set
> this up correctly on their dns ?

Robert -

It looks like you have an MX record already. Your MX record points to a
machine called "server1.rdcomputersolutions.net".

The problem is that there is no A (address) record for
server1.rdcomputersolutions.net. So when someone tries to send mail to
[EMAIL PROTECTED], their mail system first does an MX record
lookup and finds out "to send e-mail to someone at
rdcomputersolutions.net, you must send it to the machine
server1.rdcomputersolutions.net". Then, it does an A record lookup on
server1.rdcomputersolutions.net to get its IP address, but since there
is no A record, the mail software can't get the IP address, so it can't
send the mail.

At this point, the simplest route is probably to ask the person handling
your DNS to add an A record for server1.rdcomputersolutions.net or, if
that's not the machine where you want your mail going, to change the MX
record to point to the proper machine.

- Jeff



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] root password

2000-10-30 Thread Jeff Cours

On Sun, 29 Oct 2000 [EMAIL PROTECTED] wrote:

> In a message dated 29-Oct-00 18:07:05 Central Standard Time, 
> [EMAIL PROTECTED] writes:
> 
> 
> > how do you setup a second user to have the same access as root
> > a user that will be able to change root password.
> > In novell that is one of the first things we were taught was to have 2 admin
> > accounts so you wont get locked out of your system.

Here's an option I haven't seen anyone mention yet: if you haven't
already, check out the excellent "sudo" package. RPMs should be available
on www.rpmfind.net. It lets you set up a user to have full or partial root
access without having to have the root password, and it logs everything
the user does as root.

For example, on my home machine, I have account "jeff". I've set up sudo
so that "jeff" has root priviledges. If I want to do something that only
"root" can do, like run "vipw", I would run it like this:

$ sudo vipw

Sudo would then ask me for my password (as opposed to the root password),
would log the fact that I tried to run vipw, and would execute vipw for me
as root.

Advantages:
1. It saves lots of logging out and in, having to open a separate xterm
just for root access, etc.
2. It provides a log of what I've done, in case I need to backtrack.
3. If I ever see that someone has actually logged in as root, I know
there's something odd going on, because I do it so rarely.
4. If I need to recover root access, I can use sudo access to do it. "sudo
passwd root" ought to work (I haven't tried it yet), and even if it
doesn't I can get a root shell with "sudo su -" (which I've verified
works).

- Jeff




Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] here is the $170 question ^__^

2000-10-29 Thread Jeff Cours

"Michael R. Batchelor" wrote:
> > I guess I'm going to have
> > to download a data sheet and find out how this thing really works.
> 
> How about giving us a little tutorial if you figure it out?

I just downloaded the data sheets and found that they run a few hundred
pages. It might take a while to get through this stuff, but if I do make
it through and can make heads or tails of it, I'll post a summary.

- Jeff



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] here is the $170 question ^__^

2000-10-29 Thread Jeff Cours

"Michael R. Batchelor" wrote:
> > I guess I'm going to have
> > to download a data sheet and find out how this thing really works.
> 
> How about giving us a little tutorial if you figure it out?

I just downloaded the data sheets and found that they run a few hundred
pages. It might take a while to get through this stuff, but if I do make
it through and can make heads or tails of it, I'll post a summary.

- Jeff



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] here is the $170 question ^__^

2000-10-28 Thread Jeff Cours

Makis Marmaridis wrote:

> This behaviour (having to set the total memory to a meg less than the
> actual) is specific to your motherboard chipset as it reserves 1 megabyte of
> the system RAM for use by the video display.
> 
> I have seen the mem parameter normally working by using the full amount of
> physical memory (except of course in the case of i810 chipsets!).

Thanks for the info. What confused me is that the chipset is rated for
4MB video memory, but it's only remapping 1MB. I guess I'm going to have
to download a data sheet and find out how this thing really works.

- Jeff



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] here is the $170 question ^__^

2000-10-27 Thread Jeff Cours

On Fri, 27 Oct 2000, andy b wrote:

> ok... I bought 127 megs of ram to add to my 64 megs
> my bios recognises 192 megs... but Linux only recognises 64 (even if I only put
> in the 128 meg module)
> it would be nice to triply my ram... any ideas?

Have you tried using the "mem=" switch in the bootloader? On a 512MB
system, I had to append "mem=511M" to the "linux" line under
/boot/menu.lst, winding up with a line that looks like this:

title linux
kernel (hd0,4)/boot/vmlinuz root=/dev/hd5 mem=511M

Note that the number is one less than the total number of meg in the
syste. I don't know if that's necessary in general, or just in the
specific case of the i810-based motherboard I'm using, but if I set it to
512M I get a kernel panic during boot-up.

- Jeff





Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.