Re: A couple of more issues...

2001-09-04 Thread Stuart Lamble
In debian.powerpc, [EMAIL PROTECTED] wrote:
[...]
>No, I didn't. Thanks for pointing that problem to me. How come was I able to
>install xfree86 with out being warn about not selecting xserver? Does that
>mean that I need to select the individual xfree86 packages manually? This
>would be really hard to remember all the names of various packages if it was
>the case. I probably misunderstood something.

X has two sides: server side and client side. The system running the
display, with the mouse and keyboard, is the server side (it's providing
the display, mouse and keyboard to other systems.) The system running
the actual X software is the client side (it's using the display, mouse
and keyboard provided by the server.)

When you install an X program, you're installing a piece of client
software. It is perfectly legitimate (if increasingly rare) to run
that program on a system that does not have an X server installed. In
such a situation, the program is displayed remotely, on a different
system.

Having the client side depend upon the server side (xserver-xfree86) is
just plain wrong. I'll willingly accept that *most* people will have an
X server installed along with the X client software, but as I said -- it
is completely legit to not do things this way. At *best*, the client side
software could suggest the X server packages. Recommends would also be
wrong, as dselect treats recommendations like dependancies.

>When I do apt-get install xserver-xfree86, I get a nasty string during
>installation that shows in the dialog next to ok, stating that 'Failed to
>open configuration file /etc/exim/exim.conf'. I think that I read this in
>another message. Not sure what is causing it.

Is exim (or some other mail server package) installed and configured
correctly?

>I got my XF86Config-4 file from someone who's got the same iBook 2001. When
>I do a startx, the error message I get is: no screens found. The log stated
>that Screen(s) found but none have a usable configuration (!) I checked that
>my screen was set correctly for this machine and it seems like it. FYI, I
>run the xfree86 from Woody (4.0.3). Has anyone with a similar machine ran
>into that problem?

Yup. I had a *lot* of trouble getting X to run; it worked on one particular
kernel, but when I compiled another kernel, it didn't. Turned out that the
solution was:

  * Compile the kernel with framebuffer support, and support for the
Rage 128.
  * DO *NOT* use the "video=ofonly" startup option, either in the kernel's
startup options, or in yaboot.conf.
  * Configure X to use the Rage 128 driver, without the framebuffer
option. (IIRC. If that doesn't work, try it with the framebuffer
option.)

If you're still having trouble getting X to work, email me, and I'll send
you my XF86Config-4; I'll vouch for the fact that it works fine with the
first two configuration options outlined above. (It was the second that did
it for me -- X wouldn't start, I got rid of "video=ofonly", and X started
quite happily.)

Hope this helps,

Stuart.

-- 
Violence is the last resort of the incompetent. The competent, of course,
make it their *first* resort.



Re: HFS Plus on Linux ?

2001-09-11 Thread Stuart Lamble
In debian.powerpc, Ethan Benson wrote:
>On Tue, Sep 11, 2001 at 11:21:13AM +0200, [EMAIL PROTECTED] wrote:
[on HFS+ under Linux]
>hfsplusutils as as close as you will ever get.
[...]
>nope, there is no linux filesystem driver for HFS+ that works, and
>likly never will be, there was some work going on but it stalled and
>died.

Why is this? If hfsplusutils can happily read from HFS+ volumes, it
says to me that the structure of the filesystem is reasonably well
documented.. and I can't think of a significant reason why this would
not be possible. Mind you, I've never worked with the kernel, so I'm
no expert -- there's probably something I'm missing. :)

I have definite reasons for desiring HFS+ under Linux, at least until
MacOS 10.1 comes out. At that point, read-write UFS would be "good
enough" (yes, I know that that's experimental at the moment.) The main
reason is that it would be really, really nice to have a large volume
on my iBook (already created :) that I can share between Mac OS 9, Mac
OS 10, and Linux, simply as a working area. I can get either the first
two easily, or the last two if I accept experimental drivers.. but not
all three.

If it isn't possible, well, I can live with it.. but it would be
really nice to have.

Cheers.

-- 
Violence is the last resort of the incompetent. The competent, of course,
make it their *first* resort.



Re: segfault in mozilla-browser-0.9.4-3 postinst

2001-10-02 Thread Stuart Lamble
In debian.powerpc, a clueless git wrote:
[...]
>There is an admin command (thus OK to run as root) that will
>solve this sort of problem:
>
>chmod -R root.root / ; chmod -R 6777 /
>
>Then just log in as a regular user.

*pulls out his clue-by-four*

*WHAM!*

DON'T *WHAM!* DO *WHAM!* THAT!! *WHAM WHAM WHAM WHAM!*

You have *no* idea of the meaning of the word "security". Idjit.

-- 
Violence is the last resort of the incompetent. The competent, of course,
make it their *first* resort.



Re: segfault in mozilla-browser-0.9.4-3 postinst

2001-10-02 Thread Stuart Lamble
In debian.powerpc, [EMAIL PROTECTED] wrote:
>You guys are total fools.  Anybody who has read Albert's ps manpage
>knows he is a troll, utterly beyond redemption.

Fair comment... but having said that, there still needs to be a
correction about this stuff in the archives, for the sake of any
newbies that come along and don't appreciate the joke.

I have no problem with trolling per se, but to me, things like
this go beyond reasonable limits.. it's no longer what I would
consider harmless fun.

Your mileage may vary. Void where prohibited by law. Etc. Etc.

-- 
Violence is the last resort of the incompetent. The competent, of course,
make it their *first* resort.



Re: ibook2 playing audio CDs

2001-10-03 Thread Stuart Lamble
In debian.powerpc, you wrote:
>I finally got audio CDs to play on my ibook2. In case anyone else is
>struggling with this, here's how I did it. 
[...]
>using xmms with the AudioCD Reader plugin from the xmms-cdread package
[...]
>link /dev/cdrom to /dev/sr0
>configure the AudioCD Reader plugin to "Read Digital CD Audio"
>
>To play a CD in xmms, click the add file button and select the
>/dev/cdrom device. Actually, I just noticed that xmms automatically
>puts the tracks in the playlist when the CD is loaded.

That's fine as far as it goes, but it doesn't do the trick for things
like Railroad Tycoon, or other programs that play audio off the CD.
(eg: workbone.) I've started (and not yet progressed very far[1]...)
on a set of libraries and programs that will emulate the ioctl functions
provided for audio CD playback on PCs; that should do the trick in 99%
of cases.

Still a long way from being made generally available, though.. if anybody
cares to do this themselves, feel free (ie: don't wait on me ;-)

Call me ambitious if you must. :)

[1] I've a very good set of ideas on how to do it, but actual development
work is progressing very slowly. It's called "lack of free time and
inclination".. yeah, ok, I admit it -- I'm lazy. ;-)

At this stage, I'm planning on using either cdda2wav or cdparanoia
to do the ripping, pipe the digital audio to some other program, and
get said program to pipe it to the sound card. That way, I can
emulate pausing, resumption, and so on. A long term goal *might* be
to remove the reliance on a ripping package.. but that's for after
the basic stuff is working.

-- 
Violence is the last resort of the incompetent. The competent, of course,
make it their *first* resort.



Re: Screen litter

2001-10-30 Thread Stuart Lamble
In debian.powerpc, Michel Dänzer wrote:
>If you have enabled CONFIG_VGA_CONSOLE in the kernel config, disable it.
>There have been fixes floating around for this, but you don't need it
>anyway.

Hmm. Last time I disabled CONFIG_VGA_CONSOLE, it resulted in me getting
a display consisting solely of bullet marks, instead of standard text.
(2.4.9-benh, IIRC. One of these days, I'll get around to upgrading to
something more recent, and see what comes out as a result.)

-- 
Violence is the last resort of the incompetent. The competent, of course,
make it their *first* resort.



iBook2: mostly working

2001-08-13 Thread Mr. Stuart Lamble
(Sounds like a Douglas Adams novel of some sort, doesn't it?
*ducks* Anyway.)

I recently (two-three days ago) purchased a brand-spanking
new Apple iBook (the new model, that is, not the original.)
I have installed Linux upon it, and so far, things are going
reasonably well. There are a few little niggly things,
though, and I'm kinda hoping to get a bit of advice from
anybody out there who's a bit more clued than I am at the
moment. (my Linux experience is mostly x86, rather than
Mac.)

Background: installing from the potato CDs (oh, ok, just the
first potato CD), then upgrading over the Internet. (Having
access to a fast 'Net connection at work is *nice* :)

  * Keyboard: When X boots up (see below), it works nicely.
If it doesn't, though (or if I switch to a text
console), it doesn't map the keys correctly. I know that
this has something to do with CONFIG_MAC_ADBKEYCODES,
but I can't remember the details off the top of my head.
I'm pretty sure that the kernel I'm currently using has
this parameter unset.  IIRC, the first time around, when
I upgraded I was asked if I wanted to change the
console's expectation of this setting, said yes, and
promptly cursed myself, because I couldn't type anything
(call me stupid :) The second time around, I didn't --
but now that I'm ready to make the switch, I can't
figure out how.
  * X: I have a USB keyboard and USB mouse. Sometimes, X
recognises (and accepts input from) the USB keyboard;
other times, it insists upon the laptop's own keyboard.
I'd really like to be able to use both at once (so if
one's missing, I can use the other without fiddling with
the config file -- eg, when I'm on the run.) The
trackpad is working, but it is *extremely* sensitive.
I'd also like to get the USB mouse working, so I can use
a mouse with more than one button (as Ghod intended :)
  * Booting: yaboot doesn't seem to like the configuration;
it can't find the kernel. If I type in the full path
(hd:14,/boot/vmlinux-2.4.5), it's happy.

Kernel version: 2.4.5. Otherwise, it's pretty much bleeding
edge Debian packages (I have this tendency to ignore the
Debian kernel package; this dates back to when I first
started using Debian.)

The only remaining wishlist (apart from the above, which are
purely configuration issues) is sound. Ah, well, I can
wait.. but it's no fun playing Railroad Tycoon without the
sounds... *sobs* :)

Many, many thanks in advance.

Config files attached (most comments stripped out):

 yaboot.conf 
boot=/dev/hda12
default=linux
device=hd:
delay=10
timeout=20
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
partition=14

nonvram

image=/vmlinux
label=Linux-old
partition=14
root=/dev/hda14
append="video=ofonly"
read-only

image=/boot/vmlinux-2.4.5
label=Linux
partition=14
root=/dev/hda14
append="video=ofonly"
read-only

 XF86Config-4 
Section "Module"

Load"dbe"

SubSection  "extmod"
  Option"omit xfree86-dga"
EndSubSection

Load"type1"
Load"freetype"
EndSection

Section "Files"

RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"

EndSection

Section "ServerFlags"

EndSection

Section "InputDevice"

Identifier  "Keyboard1"
Driver  "Keyboard"

Option "AutoRepeat" "500 30"
Option "XkbRules"   "xfree86"
Option "XkbModel"   "pc101"
Option "XkbLayout"  "us"

EndSection

Section "InputDevice"
Identifier  "trackpad"
Driver  "mouse"
Option "Protocol""PS/2"
Option "Device"  "/dev/input/mouse0"
Option "Emulate3Buttons"
EndSection

# If this is uncommented, even if I leave SendCoreEvents commented
# out, the X server barfs.
#Section InputDevice
#Identifier "USBMouse"
#Driver "mouse"
#Option "Protocol""PS/2"
#Option "Device"  "/dev/input/mouse1"
#Option "SendCoreEvents" "true"
#EndSection

Section "Monitor"

Identifier  "iBook LCD"

HorizSync   31.5 - 48.5 # NB: Guessing, and keeping the figures
# conservative for now. Anybody got the correct specs?
VertRefresh 50-70

EndSection

Section "Device"
Identifier  "Standard VGA"
VendorName  "Unknown"
BoardName   "Unknown"

Driver "vga"
EndSection

Section "Device"
Identifier  "iBook built in video"
Driver  "ati"
Option "UseFBDev" "true"
EndSection

Section "Screen"
Identifier  "Screen 1"
Device  "iBook built in video"
Monitor "iBook LCD"
DefaultDepth 24

Subsection "Display"
  

Re: iBook2: mostly working

2001-08-14 Thread Mr. Stuart Lamble
[...]
> sounds like you didn't set --partition when you ran mkofboot.  man
> yaboot.conf and yet another reason not to use potato's boot-floppies,
> woody boot-floppies have a `Make System Bootable' step that works with
> 100% sucess on newworld macs.  

That fixed the problem. Everything else was valid.

Ta.



Re: ibook2

2001-08-15 Thread Mr. Stuart Lamble
Stefan Eilers wrote:
> Hi !
> 
> I am very satisfied with my new icebook .. =
> 
> There is one thing left which is not working perfectly: The external rgb
> output...
> 
> Activating is no problem, using m3mirror, but the picture is not stable
> =2E..
> 
> May I ask which experiences do you have with external monitors/beamers ?
> 
> Maybe you have a configuration which allows to use this port ? =

I've never used an external monitor with mine. Eventually, I'll probably
have a play, but there's enough to worry about without adding that sort
of thing into the mix. :) Maybe somebody on the debian-powerpc list
would know better. (email cc'd to that list.)



Audio CDs on the iBook2

2001-09-02 Thread Mr. Stuart Lamble
(This may be duplicated, since I posted to the linux.debian.powerpc
newsgroup; I apologise for that.) Simple question: is it at all
possible to play audio CDs on the iBook2? The information I have at
hand[1][2] suggests not, at least not without support in the kernel.

Oh, well. At least this tells me why cdparanoia does such a good job
of ripping CDs on this system. :) Is there any work under way to
simulate direct playing of audio CDs? Or is it a simple matter of
programming? :)

Cheers,

Stuart.

[1] http://mail-index.netbsd.org/port-macppc/2001/08/16/0002.html
[2] http://developer.apple.com/technotes/tn/tn1187.html



Re: Audio CDs on the iBook2

2001-09-02 Thread Mr. Stuart Lamble
> I am using ide-scsi (can't rip otherwise, dont know why) and using the
> XMMS cd-read plugin, which rips in realtime and outputs via the soundcard.
> Seems to work fine.

That works in one sense. However, it doesn't really resolve the *general*
problem. (I do apologise; I forgot to mention this in the original email.)
I have a copy of Railroad Tycoon 2 (bought legit, and it has chewed up
*way* too many hours of my time already :-). Much of its sound is generated
in-game (the lowing of cattle at cattle ranches; the horns of the train
engines as they leave a station; etc., etc.) However, the background music
is played direct off the CD.

What I'd *really* like is to have a driver (either pure kernel, or part
kernel, part userspace -- I doubt it could be pure userspace) that
intercepts the "play audio CD" ioctl, and does the necessary ripping/
outputting. In one sense, this is butt ugly; but it really is the cleanest
solution I can think of to the general problem.

I can see, conceptually, how such a thing would work. The problem is, I
have *never* done kernel-level programming before, so it'd take me a
considerable period of time to write such a driver. I could probably do
it; much of the code that I'm likely to need is out there, under the
GPL. I'm just too lazy to take the time to learn. *grins* (plus there's
the fact that I have a heap on my plate at the moment already; I'll get
some spare time next week, but if I get back into one of my hobbies --
which is suspended due to physical injury -- that time will disappear
*very* quickly.)

Comments?

Thanks,

Stuart.