Tibook G4 kernel compile fails

2002-09-16 Thread Mark T. Valites
I've been unsuccessfully trying to compile a kernel on my first generation
tibook since I received it nearly a year ago.  After playing around with
lots of yes/no/module choices, I figured I'd try the stock config supplied
with the kernel.  Low and behold, it compiled just fine.

The system is a first generation tibook with woody (& also an
semi-updated yd-2.2 install) with the 2.4.19 source.

After playing for a while today & several dozen failed kernel compiles
later, I think I have it narrowed down to the /dev/agpgart (AGP Support)
option.  When I don't include it, the make-kpkg lights right up.  When I
include it as either a module or statically built into the kernel, my
compile fails with lots of agpgar_be.c messages.

The initial message is along the lines of:

agpgart_bc.c:84: #error "Please define flush_cache."
agpgart_be.c: In function `agp_generic_agp_enable':
agpgart_be.c::400: warning: unused variable `cap_id'

and so on with a bunch more warns.

I haven't found any info on this so far.
I can post more error messages if necessary.  Or appropriate sections from
the kernel config.

Any suggestions would be greatly appreciated.

-Mark

>--))> >--))>
Mark T. Valites
Unix Systems Analyst
1 College Circle - 124b1 South Hall
SUNY Geneseo
Geneseo, NY 14454
585-245-5577
585-259-3471 (Cell)
585-245-5579 (Fax)



Re: Tibook G4 kernel compile fails

2002-09-16 Thread Mark T. Valites
> agpgart only works or even builds with Ben's tree. How does it fail
> without?

I did not know that...  I thought the 2.4.19 kernel would build on the ti
since it'd been out for a while.  I was under the impression the benh
kernels were the bleeding edge kernels kernels & that I could survive on a
custom 2.4.19 kernel.  I don't see much info on ppckernel.org - is it
possible to get a custom non-benh 2.4.x kernel to build?

I'm slowly dl-ing the benh source right now, but at this rate it may take
a few weeks...  Are there any mirrors to ppckernel.org or other places to
get it from?  How about patches to the standard kernel source?  I don't
see Ben under the people section of kernel.org...

Thanks ahead of time,
-Mark



Re: Tibook G4 kernel compile fails

2002-09-16 Thread Mark T. Valites
> If you already have a copy of the linux source, it's a lot faster to
> move/copy an existing tree into place, and then rsync benh's tree on top
> of that.

mozilla didn't seem to want to dl the benh source too fast, but wget is
moving along a lot faster.  Regardless, anyone have a rsync url for the
benh tree?  Maybe even the appropriate flags if you're feeling especially
generous?

Since I'm going to try kpkg with the benh tree when it finishes, any heads
ups before I start tommorrow morning or later tonight?



Disabling Builting Speakers On TiBook

2002-09-27 Thread Mark T. Valites
Is there a way to disable the built-in speakers on my TiBook? - I only
want to hear stuff from the line out.  I used audioctl to disable the
builtins on my ultra 5, but I have yet to find a ppc (or x86) equivalent.

>--))> >--))>
Mark T. Valites
Unix Systems Analyst
1 College Circle - 124b1 South Hall
SUNY Geneseo
Geneseo, NY 14454
585-245-5577
585-259-3471 (Cell)
585-245-5579 (Fax)



Re: Disabling Builting Speakers On TiBook

2002-09-27 Thread Mark T. Valites
Thanks Toby,

> On Fri, Sep 27, 2002 at 08:35:05AM -0400, Mark T. Valites wrote:
> > Is there a way to disable the built-in speakers on my TiBook? - I only
> > want to hear stuff from the line out.  I used audioctl to disable the
> > builtins on my ultra 5, but I have yet to find a ppc (or x86) equivalent.
>
> I'm afraid there's no way to do that at present. The speakers are
> disabled when you plug something into the line-out, but I imagine that
> you want them disabled all the time.

Hmm.  Maybe it's just an esd issue then.  When I use mpg123 or similar
apps with a plugged in line-out, the built in speakers don't play.  When I
use esd (enlightenment sound daemon) though, both the line-out and the
built in speakers play.  Any one know anything about this in regards to
esd?

>--))> >--))>
Mark T. Valites
Unix Systems Analyst
1 College Circle - 124b1 South Hall
SUNY Geneseo
Geneseo, NY 14454
585-245-5577
585-259-3471 (Cell)
585-245-5579 (Fax)



Re: Disabling Builting Speakers On TiBook

2002-09-27 Thread Mark T. Valites
I'm using the dmasound_pmac module - which OSS module should I try for the
tibook?

PS.  I'm rather new to make-kpkg & have been runnig it as "make-kpkg
buildpackage" - I see make-kpkg modules from make-kpkg --targets, but no
make-kpgk modules_install - is there a way to do this without recompiling
the whole kernel?

Thanks again,
-Mark
On Fri, 27 Sep 2002, Toby Sargeant wrote:

> On Fri, Sep 27, 2002 at 09:22:04AM -0400, Mark T. Valites wrote:
> >
> > Hmm.  Maybe it's just an esd issue then.  When I use mpg123 or similar
> > apps with a plugged in line-out, the built in speakers don't play.  When I
> > use esd (enlightenment sound daemon) though, both the line-out and the
> > built in speakers play.  Any one know anything about this in regards to
> > esd?
> >
>
> Are you using the OSS or the ALSA driver? In at least the recent OSS
> drivers, the speaker is always muted when the line-out is plugged as far
> as I'm aware. There shouldn't be anything special about esd.
>
> I've been informed that ALSA, on the other hand, provides two volume
> controls; one for speakers and one for line-out.
>
> Toby.
>

>--))> >--))>
Mark T. Valites
Unix Systems Analyst
1 College Circle - 124b1 South Hall
SUNY Geneseo
Geneseo, NY 14454
585-245-5577
585-259-3471 (Cell)
585-245-5579 (Fax)



Re: Re: Disabling Builting Speakers On TiBook

2002-09-27 Thread Mark T. Valites
Eeee!!!   My ears  Need to make it stop!!!

aumix installed just fine & works pretty well.  I was under the impression
the settings weren't persistent from Matt's mail, so I installed setmixer
as he suggested.  The second I apt-got it, a high pitched sound went off
from the laptop on both the speakers & line out.

dpkg -r setmixer didn't seem to make that disappear & now I think I am
stuck with my built in micrphone on.  (Didn't even know this thing had
one...  where's it live?)  How can I turn this off so it doesn't drive me
to killing someone?

Help is very much waited for & appreaciated ahead of time!
-Mark


On 27 Sep 2002, Matt Christian wrote:

> "Chris Tillman" <[EMAIL PROTECTED]> writes:
>
> > On Fri, Sep 27, 2002 at 11:31:31PM +1000, Toby Sargeant wrote:
> > [...]
> > > Are you using the OSS or the ALSA driver? In at least the recent OSS
> > > drivers, the speaker is always muted when the line-out is plugged as far
> > > as I'm aware. There shouldn't be anything special about esd.
> > >
> > > I've been informed that ALSA, on the other hand, provides two volume
> > > controls; one for speakers and one for line-out.
> > >
> >
> > aumix also provides control of both (the top two lines of the display).
>
> I've also found that the setmixer program works wonders by saving and
> restoring your the mixer parameters over reboots.
>
> apt-get install setmixer
>
> - Matt
>
> --
> Matt Christian  [EMAIL PROTECTED]  Learn to love and love to learn.
> http://www.visi.com/~mattc/ 0111 ftp://ftp.visi.com/users/mattc/
> 5468652073656372657420697320131b331b2e1b311b341b311b351b39110d0a
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>

>--))> >--))>
Mark T. Valites
Unix Systems Analyst
1 College Circle - 124b1 South Hall
SUNY Geneseo
Geneseo, NY 14454
585-245-5577
585-259-3471 (Cell)
585-245-5579 (Fax)



Re: Re: Disabling Builting Speakers On TiBook

2002-09-27 Thread Mark T. Valites
Maybe it was a combination of the mic & the line (what's the line
anyways?)

setmixer -V mic 0
setmixer -V line 0

Seem to have taken care of it.  Thanks.

On Fri, 27 Sep 2002, Mark T. Valites wrote:

> Eeee!!!   My ears  Need to make it stop!!!
>
> aumix installed just fine & works pretty well.  I was under the impression
> the settings weren't persistent from Matt's mail, so I installed setmixer
> as he suggested.  The second I apt-got it, a high pitched sound went off
> from the laptop on both the speakers & line out.
>
> dpkg -r setmixer didn't seem to make that disappear & now I think I am
> stuck with my built in micrphone on.  (Didn't even know this thing had
> one...  where's it live?)  How can I turn this off so it doesn't drive me
> to killing someone?
>
> Help is very much waited for & appreaciated ahead of time!
> -Mark
>
>
> On 27 Sep 2002, Matt Christian wrote:
>
> > "Chris Tillman" <[EMAIL PROTECTED]> writes:
> >
> > > On Fri, Sep 27, 2002 at 11:31:31PM +1000, Toby Sargeant wrote:
> > > [...]
> > > > Are you using the OSS or the ALSA driver? In at least the recent OSS
> > > > drivers, the speaker is always muted when the line-out is plugged as far
> > > > as I'm aware. There shouldn't be anything special about esd.
> > > >
> > > > I've been informed that ALSA, on the other hand, provides two volume
> > > > controls; one for speakers and one for line-out.
> > > >
> > >
> > > aumix also provides control of both (the top two lines of the display).
> >
> > I've also found that the setmixer program works wonders by saving and
> > restoring your the mixer parameters over reboots.
> >
> > apt-get install setmixer
> >
> > - Matt
> >
> > --
> > Matt Christian  [EMAIL PROTECTED]  Learn to love and love to learn.
> > http://www.visi.com/~mattc/ 0111 ftp://ftp.visi.com/users/mattc/
> > 5468652073656372657420697320131b331b2e1b311b341b311b351b39110d0a
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> >
> >
>
> >--))> >--))>
> Mark T. Valites
> Unix Systems Analyst
> 1 College Circle - 124b1 South Hall
> SUNY Geneseo
> Geneseo, NY 14454
> 585-245-5577
> 585-259-3471 (Cell)
> 585-245-5579 (Fax)
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>

>--))> >--))>
Mark T. Valites
Unix Systems Analyst
1 College Circle - 124b1 South Hall
SUNY Geneseo
Geneseo, NY 14454
585-245-5577
585-259-3471 (Cell)
585-245-5579 (Fax)



Re: Re: Re: Disabling Builting Speakers On TiBook

2002-09-27 Thread Mark T. Valites
> Here's the answer to the "location of the TiBook microphone" question:
>
> http://www.macopinion.com/columns/roadwarrior/01/02/21/talk/3.html

For those who don't know, the mic's under the left speaker grate.  A
highly intelligent placement if you ask me...

> You probably had a feedback loop where the slightest noise (like typing
> on the keyboard) would feed into the microphone which would then output
> to the speakers which would then feed into the microphone and create a
> feedback loop.

Oh yeah, definetly had that.  Amazing how something like that can
modivatet you to fix it so fast...





Right clicking & pasting in X

2002-10-24 Thread Mark T. Valites
I've been running woody with a custom built benh kernel for a couple weeks
now on my tibook, but never haven't been bothered by not being able to
figure but how to right click, or highlight & paste text (unix style) yet.

Well tonight it finally bothered me enough to set about fixing it.  After
some digging in the archives & from sysctl -a, I see my button3 and
button2 are (probably stock) 100 & 97, respectively.
mouse_button_emulation looks like it is set to no by default, but that's
easy enough to fix...  After banging on keys & key combos for a while in
showkey, I found function-cntrl & function-option to be my second & third
buttons (not real obvious, but I like...)

Problem is, hitting function-[cntrl|option] on a hyperlink or on my
desktop in E don't seem to do anything.  Where am I going wrong?

echoing 1 > /proc/sys/dev/mac_did/mouse_button_emulation lets me past
highlighted text with function-cntrl-option, but still no right
clicking...

Thanks in advance,
-Mark

--
>--))> >--))>
Mark T. Valites
Unix Systems Analyst
1 College Circle - 124b1 South Hall
SUNY Geneseo
Geneseo, NY 14454
585-245-5577
585-259-3471 (Cell)
585-245-5579 (Fax)



New TiBook Install Problems

2003-08-27 Thread Mark T. Valites
Nearly two years ago now, I'd installed debian-ppc on a first generation
tibook & ran that happily until this past winter, when I accidently
dropped it and snapped the hinges holding the screen to the base. It still
worked, but just had to be held up by a wall. But that's another story...

The deparment here must have felt some pity on me, for that was also the
day I tore my LCL & ACL in my left knee. Eventually, they picked up a new
gigahertz tibook for me & that is what I have now.

I've really tried to give OS X a fair chance, but I just can't take it any
more.  I have OpenBSD on the machine, but it's just not the same as good
ole' debian. So I went to use one of the mini net install isos today to
load debian onto it, but I haven't gotten very far.

On boot off the cd, I get the following error message before the "Welcome
to yaboot" line:

cd:2,/install/powermac/boot.msg: Unknown or corrupt filesystem

If I boot with the install24 or install24-safe kernels, I get the same
error and then return to the boot prompt.

If I boot with the install kernel, it starts to take, flashes a mostly
white screen & then dies.

If I boot with "install video=ofonly", it starts to take, and stops on a
mostly white screen with the following text:

... ok
opening display /[EMAIL PROTECTED]/ATY,Xia_B... ok
copying OF device tree... done
Calling quiesece...
booting...
_


I haven't seen anything in the archives about openbsd munging up my
filesystem, but I suspect this is the cause. I don't have my openbsd cds
with me at the moment, so I can't think of a way to dump my parition table
to include in the message.

I'd like to not have to wipe the hd & be able to keep openbsd. Is there
any hope? (Please cc me on reply as I am not currently a list member)

Thanks in advance,
-Mark

-- 
Mark T. Valites
Unix Systems Analyst
CIT - SUNY Geneseo
>--))> >--))>




[no subject]

2002-03-30 Thread Mark T. Valites
I recently partitioned up my first generation ti-book for OS9,X,yellow 
dog, & woody.  I'm not sure how to properly set up the bootstrap(s) & 
yaboot.conf(s) to boot both of the distros.  I currently have one 
bootstrap partition (installed with yellow dog) that lists the yellow 
dog partition, OS9, & OS X as bootable options.  I  can get it to boot 
to my debian partition by using a kernel from the yellow-dog partition, 
and passing it the "root=/dev/hdaX" arg.  However, this just doesn't 
sound like the right way to do it.  If I remove the yellow dog kernel 
(rm -rf /my/kernel - oops), then I can't boot to the debian 
partition.  I tried installing a second bootstrap partition & making the 
first point to that, but I've had no such luck so far.  Any ideas on the 
proper way to do this?


>--))> >--))>
Mark T. Valites
Unix Systems Analyst
1 College Circle - 124b1 South Hall
SUNY Geneseo
Geneseo, NY 14454
585-245-5577
585-259-3471(Cell)


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



Re: Amazing I have posted twice to this list and not one answer

2002-04-09 Thread Mark T. Valites
I'm not sure if this will solve your problem, or if it will work when
"date" didn't, but try "rdate -s your.favortire.ntp.server.com" & see if
you have any luck with that.

And grow up, don't whine when you don't get a response to a post.  That's
the way things work.


>--))> >--))>
Mark T. Valites
Unix Systems Analyst
1 College Circle - 124b1 South Hall
SUNY Geneseo
Geneseo, NY 14454
585-245-5577
585-259-3471 (Cell)

On Tue, 9 Apr 2002, Guy Durand wrote:

> Date: Tue, 09 Apr 2002 18:49:41 -0400
> From: Guy Durand <[EMAIL PROTECTED]>
> To: Elizabeth Barham <[EMAIL PROTECTED]>,
>  powerpclist 
> Subject: Re: Amazing I have posted twice to this list and not one answer
> Resent-Date: Tue, 9 Apr 2002 18:54:53 -0400 (EDT)
> Resent-From: debian-powerpc@lists.debian.org
>
> Elizabeth Barham wrote:
>
> >
> >
> > What happens when you use date? Does it change the time at all or do
> > you mean when you reboot the date has not changed?
> >
> > Elizabeth
>
> Date doesn't change anything.  I'm stuck in March 1934 or 56 (machine is off
> and I'm at work).  I order to add a Mach Carrier Expansion board, I had to
> clear the the board by pressing a small switch (which name escapes me for
> the moment); I would like to know if there is anyone has experienced this
> and if yes have they found a solution; also if there is a way, maybe with a
> utility, to change the date in the firmware.
>
> Badiane
>
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>


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



X & No keyboard input with new kernels

2002-04-19 Thread Mark T. Valites
I recently did a woody net install on my first generation tibook (booting
the installer from OF...).  I never had luck too much luck with the X in
debian, but it worked fine for me in yellow-dog 2.1 & 2.2.  But since I
would much rather run woody than yd, I started playing with it last night,
and was able to get a little further into it.  I can get some sort of X to
start with the fbdev driver, but only 8 bit color.  15 & 16 croak on me.
I noticed that the yellow dog conf was using the ati driver, but I can't
get any color depth to work with X in debian.

So I figured maybe my kernel was missing something.  i386 kernel compiling
doesn't bother me in the least, but I'm not too comfortable with ppc
hardware, so I grabbed a Ben H. kernel from ppckernel.  I also copied the
2.4.18xxx kernel & modules from the yd side over & set both up.  However,
when I booted either of them, I had no keyboard input.  (I have no kernel
parameters for either through append in yaboot.conf...)

In the meantime, I'm giving a shot at the kernel compile myself.

Any suggestions for X or something else I could be doing wrong
kernel-wise?


>--))> >--))>
Mark T. Valites
Unix Systems Analyst
1 College Circle - 124b1 South Hall
SUNY Geneseo
Geneseo, NY 14454
585-245-5577
585-259-3471 (Cell)


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



Re: X & No keyboard input with new kernels

2002-04-19 Thread Mark T. Valites


>--))> >--))>
Mark T. Valites
Unix Systems Analyst
1 College Circle - 124b1 South Hall
SUNY Geneseo
Geneseo, NY 14454
585-245-5577
585-259-3471 (Cell)

On 19 Apr 2002, Colin Walters wrote:
> I have a first-gen tibook too; I've put my XF86Config put up at:
>
> http://people.debian.org/~walters/debian/XF86Config-4
>

Colin, this is much appreaciated.  Guess I'll have to figure out the ppc
kernel compile this weekend...


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



Re: changing extensions, a little OT perhaps.

2002-04-28 Thread Mark T. Valites
>--))> >--))>
Mark T. Valites
Unix Systems Analyst
1 College Circle - 124b1 South Hall
SUNY Geneseo
Geneseo, NY 14454
585-245-5577
585-259-3471 (Cell)

> In terminal:
> 
>
> for i in *; do
>mv $i $i.mp3;
> done
>

I've been close to this.  When I did it, I passed the rename to some sed
& the one thing that I encountered was that it was a good idea to double
quote the variables.  You may not come across this in what you're doing
though...


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