Lenny on Imac G5 no windfarm module

2007-09-30 Thread Dylan Beaudette
Greetings,

I just installed Debian/Lenny on an Imac G5 (rev A). The install went fine 
(2.6.18 kernel) and the thermal control module was loaded (the windfarm 
module). After installing the base system and some packages I restarted the 
machine, which booted a 2.6.21-ppc64 kernel. 

Most things appear to work, however the kernel/drivers/macintosh/ directory is 
missing form the pre-installed kernel modules. This is somewhat of a let 
down- without the windfarm module the computer goes into vacuum cleaner mode. 

Is there any way that I can get a kernel with these modules? Could it be as 
simple as upgrading to Sid ?

Thanks in advance for any tips!

Dylan


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



Re: Lenny on Imac G5 no windfarm module

2007-10-01 Thread Dylan Beaudette
Thanks Micheal,

that did the trick.

on to the next set of problems!

Dylan



On 10/1/07, Michel Dänzer <[EMAIL PROTECTED]> wrote:
>
> On Sun, 2007-09-30 at 10:33 -0700, Dylan Beaudette wrote:
> >
> > I just installed Debian/Lenny on an Imac G5 (rev A). The install went fine
> > (2.6.18 kernel) and the thermal control module was loaded (the windfarm
> > module). After installing the base system and some packages I restarted the
> > machine, which booted a 2.6.21-ppc64 kernel.
> >
> > Most things appear to work, however the kernel/drivers/macintosh/ directory 
> > is
> > missing form the pre-installed kernel modules. This is somewhat of a let
> > down- without the windfarm module the computer goes into vacuum cleaner 
> > mode.
> >
> > Is there any way that I can get a kernel with these modules? Could it be as
> > simple as upgrading to Sid ?
>
> Yes:
>
> http://packages.debian.org/search?suite=sid&arch=any&mode=filename&searchon=contents&keywords=windfarm
>
>
> --
> Earthling Michel Dänzer   |  http://tungstengraphics.com
> Libre software enthusiast |  Debian, X and DRI developer
>



video offset on ImacG5 (sid)

2007-10-01 Thread Dylan Beaudette
Hi,


Just upgraded to Sid and have working ImacG5! There are a couple of
minor issues remaining:

1. the video is offset in the horizontal direction, meaning the far
right-hand side of the display is 'wrapped' around to the left-hand
side. about 10-20 pixels. I have a revision A Imac, with the NVidia
video card.

Could this be related to a ModeLine issue in the xorg.conf file ?

Cheers,

Dylan


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



Re: useful links & one caveat: apt over ssh

2002-11-01 Thread Dylan Beaudette
howdy--
i would recomend using the newest kernel, Etsushi Kato's mach_kernel +
Debian 3.0 installer, to format a partition, and then install the base
system via CD or ftp. (i usually use the base install CD, and then upon
rebooting install the rest via ftp).

i am using a kernel that is one revision older than Estushi's latest, and
it seems to work fine: sound, net, video, and the like. the newest one
seems to have a few more ethernet drivers built-into it.

all in all, i would recomend woody over all other distro's for installing
onto an old world pmac. not only is the install farily easy once your
figure it out (despite the prevailient complaints...) and the apt based
package management makes life oh so easy.

there is only one problem that i have been having with woody.. perhaps
somone can figure this out...

'apt-get install [package]' seems to alwasy die when run from either an ssh
session, or over a consol connected via the serial port. the only time that
i am able to use 'apt-get install [package] over ssh is when i am also
logged into the main consol.

if anyone knows what this is casued by, it would surely save a lot of
hassel!

i will add your notes tonight if that is ok with you.

dylan


Clive Menzies said at ÒRe: useful linksÓ.
[2002/10/31 13:19]

> >At 10:12 am -0800 31/10/02, dylan wrote:
> >Clive-
> >i added a little more contrast to the color scheme on the page,
> hopefully it
> >helps a little (can you tell that i am fond of black backgrounds with
> amber
> >text?)
>
> Thanks ;-)
>
> >http://fungus.ucdavis.edu/~dylan/
> >
> >i would be happy to post your notes, as well as anyone else's regarding
> >Woody and Xwindows on old world scsi macs.
>
> Here are the notes but from a brief look at your webpages, it looks
> as though there is a later mach_kernel that I should try?  If so I'll
> gladly update the notes accordingly.  Do you recommend a reinstall
> from scratch or just upgrading the kernel?
>
> Installation notes for Woody on Nubus PowerPC's using the Apple
> MkLinux Booter and the Kernel with Debian Potato installer.
>
> I couldn't get potato (Debian GNU/Linux 2.2r5) to run X, recognise
> the floppy or use ppp successfully and so I upgraded to woody after
> installing a LAN and ADSL.
>
> These notes describe the woody (Debian GNU/Linux 3.0) installation on
> a PowerPC 8100/80 via the internet (broadband connection) accessed
> from a LAN with a DHCP server.
>
> It is assumed that one or more Linux partitions reside on your hard
> disk.  I used pdisk (MacOS).  For partitioning help see:
> http://www.debian.org/releases/woody/powerpc/ch-preparing.en.html#s-non-
> debian-partitioning
>
> Stage 1: Installing Debian Linux booter
>
> 1.Obtain the Apple MkLinux Booter from:
> http://nubus-pmac.sourceforge.net/
>
> It comprises three folders , the contents of which need to be copied
> to Control Panels (1 file), Extensions (1 file) and Preferences (2
> files) folders - it's pretty self-explanatory.
>
> 2.Download the Mach_Kernel from:
> http://www.symsys.com/~ingram/hardware/powermac/
> (the Kernel with Debian Installer from nubus-pmac.sourceforge.net/
> didn't boot for me)
>
> Rename from "Mach_Kernel" to "Mach Kernel" and place in the Extensions
> folder.
>
> 3.Go to Control Panels and open MkLinux window, select Custom
> which opens lilo.conf
>
> and make sure it reads as follows:
> # RAMDisk Debian Installer
> rootdev=/dev/ram
>
> (It doesn't matter what else is in the file as long as every other
> line starts with "# ")
>
> Save the file and exit
>
> 6.Restart your machine
>
> 7.When Apple MkLinux Booter comes up, press "MkLinux" button
> which should if all has gone according to plan it will take you to
> the woody installation system.
>
> Stage2: Installing woody
>
> Choose the following from the menus:
>
> 1.Configure the Keyboard
> 2.Initialise and Activate a Swap Partition
> 3.Initialise a Linux Partition (more than once if you have
> multiple partitions)
>
> The partition set I used on /dev/sda0 was:
>
> 6 /   80M
> 7 swap80 M
> 8 swap80 M
> 9./usr1G
> 10/var3G
> 11.   /tmp100M
> 12.   /home   500M
> 13. free  1.2G
>
> 4.Install Operating System Kernel and Modules
> Select Installation medium: network
> The installer configures your network configuration automatically
> using DHCP or BOOTP if you accept the defaults.
> It will then download from the default URL:
> powermac/images-1.44/rescue.bin
> powermac/drivers.tgz
>
> 5.Install the Base System
> Select Installation medium: network
> It will then download from the default URL:
> base2_2.tgz
>
> 6. Configure the Base System
> Choose and configure your time zone
>
> 7. Your can't "Make a Boot Floppy: for a Nubus Mac so -
> Reboot the System into MacOS.  Go to Control Panels and open MkLinux
> window, select Custom which opens lilo.conf
>
> Comment out with  "#" the second line below

Re: Frozen cursor after logout; CLI escape

2002-11-01 Thread Dylan Beaudette
for configuring the services that run in yourt current runlevel, i would
recomend 'rcconf'. you might have to apt-get it, but it is a nice little
cmnd line app for sorting out the various services!!

just my 2cents

dylan

Michel Dänzer said at ÒRe: Frozen cursor after logout; CLI escapeÓ.
[2002/11/01 12:32]

> On Fre, 2002-11-01 at 20:53, Marc Stergionis wrote:
> >
> > I have been using (since root obviously can't log in graphically)
> > control-option-F1 to get a command line to use as root,
>
> Better never log in as root at all. sudo or su is your friend.
>
> > but can't figure out how to toggle back out of that (to the user login)
>
> alt-F7, where alt can be option or command depending on the keymap.
>
> > and when I try to log  in as my user, the screen tells  me there's
> > already an xserver running (the existing graphic login screen).
>
> You could start another one with startx -- :1 .
>
>
> > Also, whenever I do use graphic login to start a user session, and
> > then logout to the graphic login screen, may cursor is *always*
> > frozen, even though it just worked in the previous session.
>
> This has been reported before, unfortunately I don't remember if any
> solution has been found yet.
>
>
> --
> Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
> XFree86 and DRI project member   /  CS student, Free Software enthusiast
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>



Re: optimizing my debian

2003-02-09 Thread Dylan Beaudette
i would STRONGLY recomend more ram at least 128mb.. that has always made
my life easier when i go to use X..

also, i would use a different WM... my favorites are fluxbox, blackbox,
enlightenment, and icewm...

fluxbox is extra fast, and if you can enable 2d acceleration (see past
posts on how to do this) that would help a lot as well...

i have an 8500 with 192mb ram, and X works quite nicely using fluxbox as
my WM, and ETERM as my terminal of choice

good luck

dylan


> Hello all,
>
> I have a PowerPC, 64 RAM, with woody updated. Icewm as Window Manager.
>
> The trouble is: it's so slow, sooo slw. It takes 5 seconds to open a
> terminal, and so on. XFCE was not bearable. Not to saw about Gnome or
> KDE.
> The MacOS 9.2 on the same computer is an arrow, compared to it!
>
> Did I forgot to remove some useless processes?
>
> Here are a few configuration infos. Thanks in advance.
>
>
> uname -a:
> Linux macraf.raf 2.4.19-pre7 #7 sam jun 8 21:24:34 JST 2002 ppc unknown
>
> top:
>  1000 raphael   17   0  1292 1292   956 R 0.6  2.0   0:00 top
>   486 root10 -10 34756  17M  5916 S <   0.4 29.6   0:20 XFree86
> 1 root 8   0   592  472   460 S   0.0  0.7   0:05 init
> 2 root 9   0 00   0 SW0.0  0.0   0:00 media-bay
> 3 root 9   0 00   0 SW0.0  0.0   0:00 keventd
> 4 root19  19 00   0 SWN   0.0  0.0   0:00 ksoftirqd_CPU0
> 5 root 9   0 00   0 SW0.0  0.0   0:00 kswapd
> 6 root 9   0 00   0 SW0.0  0.0   0:00 bdflush
> 7 root 9   0 00   0 SW0.0  0.0   0:00 kupdated
>53 root 9   0 00   0 SW0.0  0.0   0:00 khubd
>   112 daemon   9   0   520  364   364 S   0.0  0.5   0:00 portmap
>   199 root 9   0   692  604   512 S   0.0  0.9   0:00 syslogd
>   206 root 9   0  1348  472   472 S   0.0  0.7   0:00 klogd
>   212 root 9   0   732  556   556 S   0.0  0.8   0:00 rpc.statd
>   239 root 8   0  1116  808   716 S   0.0  1.3   0:00 cupsd
>   255 root 7  -5   796  616   556 S <   0.0  0.9   0:00 diald
>   268 root 9   0   736  564   536 S   0.0  0.9   0:00 gpm
>   290 root 9   0   608  464   464 S   0.0  0.7   0:00 inetd
>   331 proxy9   0   944  620   612 S   0.0  1.0   0:00 wwwoffled
>   338 root 9   0  6684 1256   848 S   0.0  2.0   0:05 xfs
>   344 root 9   0   592  500   456 S   0.0  0.8   0:00 pmud
>   351 root 8   0   824  668   612 S   0.0  1.0   0:00 cron
>   356 raphael  9   0  1500 1140  1140 S   0.0  1.8   0:00 bash
>   357 root 9   0   576  448   448 S   0.0  0.7   0:00 getty
>   358 root 9   0   576  448   448 S   0.0  0.7   0:00 getty
>   359 root 9   0   576  448   448 S   0.0  0.7   0:00 getty
>   360 root 9   0   576  448   448 S   0.0  0.7   0:00 getty
>   361 root 9   0   576  448   448 S   0.0  0.7   0:00 getty
>   478 raphael  9   0  1272 1016  1016 S   0.0  1.6   0:00 startx
>   485 raphael  9   0   600  412   412 S   0.0  0.6   0:00 xinit
>   489 raphael  9   0  1244  996   996 S   0.0  1.6   0:00 sh
>   490 raphael  9   0  2440 1700  1408 S   0.0  2.7   0:00 icewm
>   491 raphael  9   0  3124 2024  1488 S   0.0  3.2   0:01 gnome-terminal
>   492 raphael  9   0   700  532   532 S   0.0  0.8   0:00 gnome-pty-helpe
>   493 raphael  9   0  1540 1176  1176 S   0.0  1.8   0:00 bash
>   538 root 8   0  1532 1332  1184 S   0.0  2.1   0:00 bash
>   549 raphael   11   0  3864 2940  2264 S 0.0  4.7   0:01 gnome-terminal
>   550 raphael  9   0   704  536   536 S   0.0  0.8   0:00 gnome-pty-helpe
>   551 raphael  9   0  1604 1420  1280 S   0.0  2.2   0:00 bash
>
> [EMAIL PROTECTED]:~$ less /proc/cpuinfo
> cpu : 740/750
> temperature : 32 C (uncalibrated)
> clock   : 400MHz
> revision: 131.2 (pvr 0008 8302)
> bogomips: 797.90
> machine : PowerBook3,1
> motherboard : PowerBook3,1 MacRISC Power Macintosh
> detected as : 70 (PowerBook Pismo)
> pmac flags  : 0003
> L2 cache: 1024K unified
> memory  : 64MB
> pmac-generation : NewWorld
>
>
> [EMAIL PROTECTED]:~$ free
>  total   used   free sharedbuffers
> cached
> Mem: 61908  60236   1672  0   2876
> 19420
> -/+ buffers/cache:  37940  23968
> Swap:65532  32764  32768
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]





`shutdown -r now` problems

2003-04-23 Thread Dylan Beaudette
Hi-
(B
(Bafter a recent power outage my 8500 will has been acting a little strange.
(B
(Bnormally a `shutdown -r now` command would bring down all services,
(Bunmount the FS, and reboot the machine.
(B
(Bhowever, it now prompts me with "Give root password for maintenance (or
(Btype control-D for normal startup)"
(B
(Btyping 'control-D' does nothing, giving the root password dumps me into
(B(what appears to be) single user mode. from there i am able to issue the
(B'halt' command, and then perform a hard reset.
(B
(Bhere is where the biggest problem -- when i boot the machine back up it
(Btells me that the FS was not cleanly unmounted and performs a check.
(B
(Bis there anything i can do to get my machine to perform a `shutdown -r
(Bnow` command correctly?
(B
(Bthanks in advance,
(B
(Bdylan

`shutdown -r now` problems

2003-04-23 Thread Dylan Beaudette
Hi-
(B
(Bafter a recent power outage my 8500 will has been acting a little strange.
(B
(Bnormally a `shutdown -r now` command would bring down all services,
(Bunmount the FS, and reboot the machine.
(B
(Bhowever, it now prompts me with "Give root password for maintenance (or
(Btype control-D for normal startup)"
(B
(Btyping 'control-D' does nothing, giving the root password dumps me into
(B(what appears to be) single user mode. from there i am able to issue the
(B'halt' command, and then perform a hard reset.
(B
(Bhere is where the biggest problem -- when i boot the machine back up it
(Btells me that the FS was not cleanly unmounted and performs a check.
(B
(Bis there anything i can do to get my machine to perform a `shutdown -r
(Bnow` command correctly?
(B
(Bthanks in advance,
(B
(Bdylan

Re: Last ditch on PlanB driver

2005-01-14 Thread Dylan Beaudette
On Friday 14 January 2005 10:26 am, Sean Jewett wrote:
> Has anyone managed to get the planb driver to work (or better yet, with
> the v4l stuff)?  If so, how?  What kernel, what distro, what phase of the
> moon?

Yes. I have a working planb setup on an 8500/250 604e machine, running a 
custom compiled "2.4.23-pre5-ben0" kernel.

I am no at the machine right now, but i can forward some email conversations 
that i have had about a year ago concerning the project.



-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341


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



Re: Last ditch on PlanB driver

2005-01-16 Thread Dylan Beaudette
On Sunday 16 January 2005 12:55 pm, david wrote:
> Dylan Beaudette wrote:
> >On Friday 14 January 2005 10:26 am, Sean Jewett wrote:
> >>Has anyone managed to get the planb driver to work (or better yet, with
> >>the v4l stuff)?  If so, how?  What kernel, what distro, what phase of the
> >>moon?
> >
> >Yes. I have a working planb setup on an 8500/250 604e machine, running a
> >custom compiled "2.4.23-pre5-ben0" kernel.
> >
> >I am no at the machine right now, but i can forward some email
> > conversations that i have had about a year ago concerning the project.
>
> Hi Dylan
>
> I would very much appreciate any information you have on this project
> when you can spare a moment or two :)
>
> thanks in advance
>
> david

Well it has been a while since I have messed around with all of this... and it 
seems that the 'Ben' -series PPC kernel tree is no longer maintained... 

I am not sure if the Bitkepper PPC kernel tree, or the official tree have code 
that is working... check here: http://www.ppckernel.org/tree.php?id=5 for the 
bitkeeper PPC kernel

also... I don't have the source code that I used to compile this kernel! i 
thought that I did somewhere... but it is not on this machine anymore...

I will try to get the planb driver working with a more modern kernel and 
report back here when i have some spare time. also -- i am pretty sure that 
the planb driver needs the i2c subsystem in order to function.

I have used the program 'webcam' to capture images from the video input 
hardware. here is some configuration information:
---
[grab]
device = /dev/video0
text = "food? %Y-%m-%d %H:%M:%S"
width = 640
height = 480
delay = 60
input = composite
norm = ntsc
rotate = 0
top = 0
left = 0
bottom = -1
right = -1
quality = 85
trigger = 0
once = 0
---

i usually run webcam like this:
webcam webcam.conf
here is some sample output:
---
[EMAIL PROTECTED]:~/notes$ webcam webcam.conf 
reading config file: webcam.conf
ioctl: VIDIOCSCHAN(0,Composite,flags=0x0,type=2,norm=3): Invalid argument
ioctl: VIDIOCMCAPTURE(0,fmt=4,size=48x32): Invalid argument
video4linux webcam v1.3 - (c) 1998-2001 Gerd Knorr
grabber config:
  size 640x480 [16 bit YUV 4:2:2 (packed)]
  input composite, norm ntsc, jpeg quality 85
  rotate=0, top=0, left=0, bottom=480, right=640
write config:
  local transfer /home/httpd/uploading.jpg => /home/httpd/cam.jpg
"food? 2005-01-16 19:08:17"
---

here is a sample image generated by webcam (no video signal, so it is a black 
screen...)
http://surfdavis.no-ip.com/cam.jpg


here is some information from the 8500, with planb module:
-
surf:/# modprobe planb
surf:/# tail /var/log/messages
Jan 16 18:59:15 surf kernel: Linux video capture interface: v1.00
Jan 16 18:59:15 surf kernel: PCI: Enabling device 01:0d.0 (0014 -> 0016)
Jan 16 18:59:15 surf kernel: PlanB: PowerMacintosh video input driver rev. 
2.11
Jan 16 18:59:15 surf kernel: PlanB: SAA7196 video processor rev. 1
-
surf:/# lsmod
Module  Size  Used byNot tainted
planb  41124   0  (unused)
videodev5312   2  [planb]
dmasound_pmac  69104   0 
dmasound_core  13560   0  [dmasound_pmac]
soundcore   4520   3  [dmasound_core]
i2c-core   14584   0  [dmasound_pmac]


-- 
Dylan Beaudette
Soil Science Graduate Group
University of California at Davis


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



Re: Last ditch on PlanB driver

2005-01-17 Thread Dylan Beaudette
On Monday 17 January 2005 08:54 am, Sean Jewett wrote:
> On Sun, 16 Jan 2005, Dylan Beaudette wrote:
> > I will try to get the planb driver working with a more modern kernel and
> > report back here when i have some spare time. also -- i am pretty sure
> > that the planb driver needs the i2c subsystem in order to function.
>
> Well, I can confirm 2.4.27, I just got it working.
>
[snip snip]

Great. I just installed a custom compiled 2.4.29 BK kernel from 
http://www.penguinppc.org/kernel/#bitkeeper

and it looks like planb is working fine.

here is my kernel configuration:
http://fungus.ucdavis.edu/~dylan/linux/BK-2.4.29_with_planb_working.config

along with some other misc. PPCLinux / NuBus stuff:
http://fungus.ucdavis.edu/~dylan/linux/

cheers!

PS: I am interested in how stable peoples's machines are using the planb 
interface...

-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341


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



Re: Last ditch on PlanB driver

2005-01-17 Thread Dylan Beaudette
On Monday 17 January 2005 01:16 pm, Dylan Beaudette wrote:
> On Monday 17 January 2005 08:54 am, Sean Jewett wrote:
> > On Sun, 16 Jan 2005, Dylan Beaudette wrote:
> > > I will try to get the planb driver working with a more modern kernel
> > > and report back here when i have some spare time. also -- i am pretty
> > > sure that the planb driver needs the i2c subsystem in order to
> > > function.
> >
> > Well, I can confirm 2.4.27, I just got it working.
>
> [snip snip]
>
> Great. I just installed a custom compiled 2.4.29 BK kernel from
> http://www.penguinppc.org/kernel/#bitkeeper
>
> and it looks like planb is working fine.
>
> here is my kernel configuration:

OOPS!
that link should be:

http://fungus.ucdavis.edu/~dylan/linux/doc/BK-2.4.29_with_planb_working.config


-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341


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



Re: X-Window configurations

2005-01-21 Thread Dylan Beaudette
I do,

Send me a reminder tonight, and I will forward my config to you. I am using a 
300Mhz PB G3.

Dylan

On Friday 21 January 2005 06:52 am, pharme wrote:
> Hi folks,
>
> I finally got Debian 30r4 running on my G3 Powerbook.
> Just have yet got the configurations for the x-window up.
>
> According to the install doc, it recommended  a 59-63 horizontal sync
> range and to set the mouse device as /dev/input/mice.
> Other than that, the rest of the conf I set was the default (might not
> be default coz i selected the first setting in the list).
> After the configuration, i tried to fire up startx or xdm, no luck, all
> i got was streaks of colours like colour test monitor (be it login as
> root or user)
> Anyone has a more successful congfigurations for a powerbook to share.
>
> thanks
>
> pharme

-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341


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



Re: X-Window configurations

2005-01-22 Thread Dylan Beaudette
On Friday 21 January 2005 11:29 am, Dylan Beaudette wrote:
> I do,
>
> Send me a reminder tonight, and I will forward my config to you. I am using
> a 300Mhz PB G3.
>
> Dylan

Here is a link to the XF86Config-4 file:

http://fungus.ucdavis.edu/~dylan/linux/doc/XF86Config-4.wallstreet

Enjoy!


> On Friday 21 January 2005 06:52 am, pharme wrote:
> > Hi folks,
> >
> > I finally got Debian 30r4 running on my G3 Powerbook.
> > Just have yet got the configurations for the x-window up.
> >
> > According to the install doc, it recommended  a 59-63 horizontal sync
> > range and to set the mouse device as /dev/input/mice.
> > Other than that, the rest of the conf I set was the default (might not
> > be default coz i selected the first setting in the list).
> > After the configuration, i tried to fire up startx or xdm, no luck, all
> > i got was streaks of colours like colour test monitor (be it login as
> > root or user)
> > Anyone has a more successful congfigurations for a powerbook to share.
> >
> > thanks
> >
> > pharme
>
> --
> Dylan Beaudette
> Soils and Biogeochemistry Graduate Group
> University of California at Davis
> 530.754.7341

-- 
Dylan Beaudette
Soil Science Graduate Group
University of California at Davis


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



Re: Buy benh (or other) a minimac Re: Hi question about mac - mini

2005-01-25 Thread Dylan Beaudette
On Tuesday 25 January 2005 03:54 pm, Benjamin Herrenschmidt wrote:
> On Tue, 2005-01-25 at 23:24 +, Rory Campbell-Lange wrote:
> > I'm interested in making a donation.
> > Does Ben want one though?
>
> Heh ! Well, I wouldn't say no :)
>
> Ben.

Please put me down for $10.

PS: any word on using Sarge on one of the new iMac G5s?

Cheers!

-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341


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



poerbook can only sleep once

2005-02-13 Thread Dylan Beaudette
Greetings,

I have been using Sarge on my powerbook G3 Mainstreet (upgraded to a 500mhz G4 
processor), and have been generally very happy with it.

I am using the  pbbuttonsd to manage the battery, display, sound, and 
powersaving features of the machine. 

I can make the machine sleep by pressing the power key once, and then pressing 
any other key. Waking the machine is normal. Upon waking I have to restart 
the PCMCIA system (any ideas on how to do this automatically?).

However! Pressing the power button will only put the machine to sleep once per 
reboot cycle! I have tried restarting pbbuttonsd, but this does not seem to 
fix the problem...

I am using a stock debian kernel:
kernel-image-2.4.27-powerpc-pmac

Any ideas?

Thanks in advance!

-- 
Dylan Beaudette
Soil Science Graduate Group
University of California at Davis


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



Japanese Input on Sarge/KDE

2005-02-13 Thread Dylan Beaudette
Hi everyone.

In the past I have been able to get a working japaese input system with 
canna-server and kinput2. 

i start the input environment with a little script:
export LANG=ja_JP
kinput2 -xim -kinput -canna &
uxterm&

from the uxterm i can start typing in japanese by first pressing 
"shift+space". in the past any KDE application started from this uxterm would 
allow me to input japanes into a text field by first pressing 
"shift+space"... A couple of months ago this stopped working. Could there be 
something that has changed since then?

Also, i was advised to add the following to my .xinitrc:
export XMODIFIERS='@im=kinput2

however i am not really sure what this is doing..

Any ideas?

Thanks in advance!


-- 
Dylan Beaudette
Soil Science Graduate Group
University of California at Davis


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



Re: where's tfm?

2005-02-14 Thread Dylan Beaudette
> compiled for 4.1.0.1, module version = 1.0.0
> (II) Loading /usr/X11R6/lib/modules/extensions/libxie.a
> (II) Module xie: vendor="The XFree86 Project"
> compiled for 4.1.0.1, module version = 1.0.0
> (II) Loading /usr/X11R6/lib/modules/drivers/fbdev_drv.o
> (II) Module fbdev: vendor="The XFree86 Project"
> compiled for 4.1.0.1, module version = 0.1.0
> (II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
> (II) Module mouse: vendor="The XFree86 Project"
> compiled for 4.1.0.1, module version = 1.0.0
> (II) FBDev: driver for framebuffer: fbdev, afb
> (II) Loading /usr/X11R6/lib/modules/linux/libfbdevhw.a
> (II) Module fbdevhw: vendor="The XFree86 Project"
> compiled for 4.1.0.1, module version = 0.0.2
> (II) FBDev(0): using default device
> (II) Running in FRAMEBUFFER Mode
> (**) FBDev(0): Depth 15, (--) framebuffer bpp 16
> (==) FBDev(0): RGB weight 555
> (==) FBDev(0): Default visual is TrueColor
> (==) FBDev(0): Using gamma correction (1.0, 1.0, 1.0)
> (II) FBDev(0): Hardware: control (vidmem: 2047k)
> (II) FBDev(0): Checking Modes against framebuffer device...
> (II) FBDev(0):  mode "800x600" ok
> (II) FBDev(0):  mode "640x480" ok
> (II) FBDev(0): Checking Modes against monitor...
> (--) FBDev(0): Virtual size is 800x600 (pitch 800)
> (**) FBDev(0): Default mode "640x480": 25.2 MHz (scaled from 0.0 MHz),
> 31.5 kHz, 60.0 Hz
> (==) FBDev(0): DPI set to (75, 75)
> (II) Loading /usr/X11R6/lib/modules/libfb.a
> (II) Module fb: vendor="The XFree86 Project"
> compiled for 4.1.0.1, module version = 1.0.0
> (**) FBDev(0): Using "Shadow Framebuffer"
> (II) Loading /usr/X11R6/lib/modules/libshadow.a
> (II) Module shadow: vendor="The XFree86 Project"
> compiled for 4.1.0.1, module version = 1.0.0
> (==) FBDev(0): Backing store disabled
> (**) FBDev(0): DPMS enabled
> PEXExtensionInit: Couldn't open default PEX font file  Roman_M
> (II) Keyboard "Generic Keyboard" handled by legacy driver
> (**) Configured Mouse: Protocol: "ImPS/2"
> (**) Configured Mouse: Core Pointer
> (==) Configured Mouse: Buttons: 3
> (II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
> sh: /usr/X11R6/lib/X11/xkb/xkbcomp: No such file or directory
> Couldn't load XKB keymap, falling back to pre-XKB keymap
> Could not init font path element unix/:7100, removing from list!
>
> Fatal server error:
> could not open default font 'fixed'
>
> On Mon, 14 Feb 2005 12:22:47 -0500, Eric C. Cooper <[EMAIL PROTECTED]> wrote:
> > On Mon, Feb 14, 2005 at 08:32:22AM -0200, Felipe Fonseca wrote:
> > > just updated my kernel to 2.4.18, and now lspci shows:
> > >
> > > 00:0b.0 Host bridge: Apple Computer Inc. Bandit PowerPC host bridge
> > > (rev 03) 00:10.0 Class ff00: Apple Computer Inc. Grand Central I/O (rev
> > > 02) 01:0b.0 Non-VGA unclassified device: Apple Computer Inc. Control
> > > Video 01:0d.0 Class ff00: Apple Computer Inc. PlanB Video-In (rev 01)
> >
> > lspci shows the same thing on my 7600 with a 2.6.10 kernel.
> > (This is a headless machine, so I wouldn't have noticed if the video
> > wasn't working ...)
> >
> > --
> > Eric C. Cooper  e c c @ c m u . e d u
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> > [EMAIL PROTECTED]
>
> --
> FelipeFonseca
> http://felipe.hipercortex.com

-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341


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



Re: old apple machines supported ?

2005-02-17 Thread Dylan Beaudette
If anyone is interested I have successfully installed debian woody on a 6100, 
7100, 8100  using the nubus-pmac kernels
 
-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341


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



Re: Powerbook G3 Wallstreet Problems!!!

2005-02-22 Thread Dylan Beaudette
Here is some general old-world specific linux stuff:
http://fungus.ucdavis.edu/~dylan/linux/

Note that I have Sarge installed on my powerbook G3 (now a powerbook G4),
and sound works quite well, you just need to do a modprobe
`dmasound_pmac`.

Also, if you are interested, I have the 300Mhz + 1Mb Cache processor
daughter card for your machine. Contact me off-list if you are interested.

Cheers,

Dylan

> Hi Everybody!
>
> I've just installed Debian on a G3 Powerbook Wallstreet 233 which an
> austriab celebrety gave to me and managed to get some problems out of
> the way - like getting x started without having the keyboard mixed
> around when I install a 2.4 kernel  (it's funny but typing op63u´t  for
> shutdown but a bit confusing). But there are still a lot of problems I
> can't figure out that easy!
>
> - I need PCMCIA support to run an Orinoco Wlan Card (I really do need
> this so I can continue my work on my Diploma thesis ...). But I really
> couldn't figure out what I did wrong and the things I found on the web
> are pretty confusing
>
> - Sound under KDE would be nice but when I start KDE it says: Error
> while initializing the sound driver; device /dev/dep can't be opened
> (Permission denied)
>
> - I also had some troubles with the video card, there was a fency strip
> under x, but I figured out that it's the colour depth set to high --
> 24, so i turned default to 16, this works fine
>
> So if anyone can please help me, I'm somehow a newby to debian, but gut
> some redhat experience,... and I really need this thing up and running
> for my diploma thesis...
>
> Thanks a lot in forth,
>
> Rainer
>
>
>


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



Re: PCMCIA

2005-03-01 Thread Dylan Beaudette
On Tuesday 01 March 2005 11:26 am, Rainer Gutkas wrote:
> Hi there!
>
> I'm running debian with a 2.4.18 Kernel for old PPC on an G3 Powerbook
> Wallstreet and still can't figure out how I can get PCMCIA running.
> I've found Kernel Patches for PCMCIA support for 2.4.18 but for new
> world machines. I don't know what to do!!!
> So if anybody can please help me!
> My most important goal is to get an Orinoco Wlan Card up and running so
> I can make experiments for my diploma theses!!!
>
>
> Thanks in forth,
>
> Rainer

PCMCIA worked out of the box with Debian/Sarge on my wallstreet

-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341


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



Re: PCMCIA

2005-03-01 Thread Dylan Beaudette
On Tuesday 01 March 2005 08:14 pm, Tommy Trussell wrote:
> On Tue, 1 Mar 2005 15:08:12 -0800, Dylan Beaudette <[EMAIL PROTECTED]> 
wrote:
> > PCMCIA worked out of the box with Debian/Sarge on my wallstreet
>
> I'm glad someone has a positive experience, because I'd like to know,
> too -- on My "Wallstreet/PDQ" running sarge, I have trouble with
> PCMCIA. In fact, when I put in a pcmcia card it gets HOT. I could
> SMELL the Orinoco wireless card getting hot, for example. For fun I
> blame "hotplug," but I suspect I have some sort of PCMCIA module
> conflict that's fighting over whatever goes in the slot. (The Orinoco
> wireless card and compact flash card adapter both work perfectly
> booted under Mac OS 9.2.2.)

Hmmm... is this is 300Mhz Powerbook G3? thats what I have...

> I haven't spent much time tracking down the problem and everything
> else in Debian has worked so well I just reboot into OS 9 when I need
> the compact flash reader.

I am using a compact flash reader, and USB 1.1 PCMCIA card in my machine, and 
all seems to be working fine. Remind me, and i will post my relevant config 
files to the internet!

> One more thing I have not found a clear answer with a Wallstreet is
> getting the PCMCIA eject buttons to work. Apparently there used to be
> a patch you could apply to an old kernel, but I gather it never got
> rolled into anything modern. It would be cool if pbbuttonsd had the
> card eject code in it, though I realize that would probably never
> happen.

Alas, this may never be fixed... I have not yet found a way to get the cards 
out, short of manually pulling them out... However, i think that the springs 
in my slots are getting worn, and I sometimes have to do this in MacOS... 

BTW, are you able to get sleep support on your machine also, what kernel 
are you using... 

Since this is such a popular machine, perhaps it would be a good idea to pool 
all of our knowledge on this machine in some sort of web page... I would be 
happy to host it!

-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341


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



Re: Canon i950 printer ppd file

2005-03-18 Thread Dylan Beaudette
On Friday 18 March 2005 05:48 pm, Kim Cascone wrote:
> I'm trying to get my DebianPPC iBook hooked up to a Canon i950 (via a
> USB connection; not over a network - yet)
> I ran the Gnome CUPS manager and it's looking for a ppd file for the
> printer...none are to be found in either the foomatic db or the library
> for CUPS
> I looked on the canon ftp site and only found drivers for i386 available
> q: do the .exe's in the canon ftp downloads contain ppd files?
> if so, and these are text files is there any modification that needs to
> be done to get them to work on a ppc?
> if the canon ftp exe's do not contain ppd files then can someone point
> me to where I might find one for the Canon i950 printer?
> or is there a ppd for another Canon model that would work with some
> mods?
> btw: I've already trawled the linuxprinting.org site for info...
> thanks in advance
> KIM

have you installed foo-matic ? that (generated?) all of the ppd files for my 
rahter obscure HP office jet printer

-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341


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



..'xxx is not an ELF file' errors

2005-05-23 Thread Dylan Beaudette
The other night I was playing around with my linux/PPC powerbook, and 
`aptitude upgrade' failed giving errors on a gtk package. after that 
incident and some repeated attempts of the usual `aptitude -f upgrade' 
and `dpkg --configure -a' aptitude decided that it was going to remove 
a bunch of files: namely everything related to gtk and kde !!


Thinking that I would sit down and fix the problem tonight, i started 
reading up on APT on the debian pages. I was able to force a re-install 
of the offending packages with dpkg, and subsequent `aptitude -f 
upgrades' would mostly work.


However, throughout all of this i would occasionally see the message:
/usr/lib/xxxlib is not an ELF file ...

and some package would fail to be upgraded.

Also, in the process of all of this KDE crashed and seemed to have 
corrupted anything that had previously been downloaded in 
/var/cache/apt/archives/ ...


i figured this must have been due to broken libs or libs of varying 
vintage in use by KDE, and thus the crashes... ? maybe.


right now it is downloading the remaining 55 packages to upgrade (down 
from 277 earlier this evening).


I started wondering if hard disk corruption may have been the root of 
all of this... but the drive is rather new, and was not cheap. i did 
have some hard disk problems in the past with older kernels (i am 
running debian's 2.4.27), perhaps the kernel is to blame...?


any ideas on what might be going on here, or where to go from now?

thanks in advance!

--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341


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



Re: gcc install problems in sarge testing [solved]

2004-08-30 Thread Dylan Beaudette

Jérôme Warnier wrote:


Le dim 29/08/2004 à 23:08, [EMAIL PROTECTED] a écrit :
 


Greetings:

I recently installed sarge testing onto my powerbook G3.

i have most things working, however there seems to be no compiler!
I noticed that when i installed that there was no option for development stuff 
in tasksel... could this have been forshadowing of what was to come?


i noticed that gcc-3.3-base was installed, but the actual compiler collection 
was not..


so after an apt-get install gcc-3.3 i am left with a bunch of dpkg errors... 
(see below)
   


This is a known bug in Sarge on all arch, and should be fixed now.
See #268771 (there are lots of bugs which have been merged).

[..]
 


thank you very much. problem has since been solved!

Dylan



X crashes when I play a movie

2004-09-13 Thread Dylan Beaudette
Greetings!

When ever I try to play a movie with KDE's Kaboodle, or just open Xine X 
suddenly restarts and I find myself at a login prompt. I have checked the 
XF86 log, but haven't been able to find any clues... so far this has happened 
with both MPEG and DIVX movies... :(

I am running debian Sarge (testing) on a powerbook G3 wallstreet.

any ideas?

thanks in advance!

Dylan



Re: Some problems in the daily use of a Debian System

2004-12-01 Thread Dylan Beaudette
On Wednesday 01 December 2004 05:28 am, Pablo Gil wrote:
> Oooops, I forgot attaching the pbbuttonsd.conf file!

as for the trackpad try this as root;

#trackpad notap

I put this in a init.d script that is run at boot time...

cheers!

-- 
Dylan Beaudette
Soil Science Graduate Group
University of California at Davis



debian testing PPC: Strange Segmentation Faults

2004-12-28 Thread Dylan Beaudette
Good morning!

Last night all was well with my G4 powerbook, even after a rather large
number of updates from and apt-get update && apt-get upgrade.

However, this morning, I noticed some strange segmentation faults when the
machine was starting. They all seemed to be happening after a sed command
was issued. I tried manually using sed and grep, and both now seem to be
giving segementation faults!

here is a quick example with the output of strace included:

snip--
[EMAIL PROTECTED]:~$ echo "food" | grep -i food
Segmentation fault
[EMAIL PROTECTED]:~$ strace echo "food" | grep -i food
execve("/bin/echo", ["echo", "food"], [/* 27 vars */]) = 0
uname({sys="Linux", node="pbg4", ...})  = 0
brk(0)  = 0x10013680
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30016000
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.preload", O_RDONLY)= -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=72216, ...}) = 0
mmap(NULL, 72216, PROT_READ, MAP_PRIVATE, 3, 0) = 0x30027000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
directory)
open("/lib/libc.so.6", O_RDONLY)= 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\1\322"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1298544, ...}) = 0
mmap(0xfea1000, 1370024, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xfea1000
mprotect(0xffd3000, 116648, PROT_NONE)  = 0
mmap(0xffe1000, 49152, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 0x13) = 0xffe1000
mmap(0xffed000, 10152, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xffed000
close(3)= 0
munmap(0x30027000, 72216)   = 0
brk(0)  = 0x10013680
brk(0x10034680) = 0x10034680
brk(0)  = 0x10034680
brk(0x10035000) = 0x10035000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=3202928, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0x30027000
close(3)= 0
fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30017000
write(1, "food\n", 5)   = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
+++ killed by SIGPIPE +++
Segmentation fault
---snip---

can anyone make any sense of all of this? for some reason my sed and grep
broke between yesterday night and this morning and i imagine that it
had something to do with the update last night.

any ideas would be greatly appreciated!

thanks,

Dylan



SIGSEGV on kdmgreet after dist-upgrade

2005-01-08 Thread Dylan Beaudette
Greetings,

I have been using Sarge for the last couple of months without incident,
however after a dist-upgrade this morning i was left with a
non-functioning kdm... when it loads i get a KDE-style error message
(SIGSEGV) and kdm quits...

i am able to start KDE via XDM, but my font's are not rendered correctly...


in the past i have been using;
atptitude update && aptitude upgrade

this morning i tried a dist-upgrade, in order to get some packages that
were being held back

is this a problem that should go away with the next upgrade cycle, or have
i inadvertantly done something horribly wrong...?



thanks in advance

Dylan



Re: Last ditch on PlanB driver

2005-01-14 Thread Dylan Beaudette
On Friday 14 January 2005 10:26 am, Sean Jewett wrote:
> Has anyone managed to get the planb driver to work (or better yet, with
> the v4l stuff)?  If so, how?  What kernel, what distro, what phase of the
> moon?

Yes. I have a working planb setup on an 8500/250 604e machine, running a 
custom compiled "2.4.23-pre5-ben0" kernel.

I am no at the machine right now, but i can forward some email conversations 
that i have had about a year ago concerning the project.



-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341



Re: Last ditch on PlanB driver

2005-01-16 Thread Dylan Beaudette
On Sunday 16 January 2005 12:55 pm, david wrote:
> Dylan Beaudette wrote:
> >On Friday 14 January 2005 10:26 am, Sean Jewett wrote:
> >>Has anyone managed to get the planb driver to work (or better yet, with
> >>the v4l stuff)?  If so, how?  What kernel, what distro, what phase of the
> >>moon?
> >
> >Yes. I have a working planb setup on an 8500/250 604e machine, running a
> >custom compiled "2.4.23-pre5-ben0" kernel.
> >
> >I am no at the machine right now, but i can forward some email
> > conversations that i have had about a year ago concerning the project.
>
> Hi Dylan
>
> I would very much appreciate any information you have on this project
> when you can spare a moment or two :)
>
> thanks in advance
>
> david

Well it has been a while since I have messed around with all of this... and it 
seems that the 'Ben' -series PPC kernel tree is no longer maintained... 

I am not sure if the Bitkepper PPC kernel tree, or the official tree have code 
that is working... check here: http://www.ppckernel.org/tree.php?id=5 for the 
bitkeeper PPC kernel

also... I don't have the source code that I used to compile this kernel! i 
thought that I did somewhere... but it is not on this machine anymore...

I will try to get the planb driver working with a more modern kernel and 
report back here when i have some spare time. also -- i am pretty sure that 
the planb driver needs the i2c subsystem in order to function.

I have used the program 'webcam' to capture images from the video input 
hardware. here is some configuration information:
---
[grab]
device = /dev/video0
text = "food? %Y-%m-%d %H:%M:%S"
width = 640
height = 480
delay = 60
input = composite
norm = ntsc
rotate = 0
top = 0
left = 0
bottom = -1
right = -1
quality = 85
trigger = 0
once = 0
---

i usually run webcam like this:
webcam webcam.conf
here is some sample output:
---
[EMAIL PROTECTED]:~/notes$ webcam webcam.conf 
reading config file: webcam.conf
ioctl: VIDIOCSCHAN(0,Composite,flags=0x0,type=2,norm=3): Invalid argument
ioctl: VIDIOCMCAPTURE(0,fmt=4,size=48x32): Invalid argument
video4linux webcam v1.3 - (c) 1998-2001 Gerd Knorr
grabber config:
  size 640x480 [16 bit YUV 4:2:2 (packed)]
  input composite, norm ntsc, jpeg quality 85
  rotate=0, top=0, left=0, bottom=480, right=640
write config:
  local transfer /home/httpd/uploading.jpg => /home/httpd/cam.jpg
"food? 2005-01-16 19:08:17"
---

here is a sample image generated by webcam (no video signal, so it is a black 
screen...)
http://surfdavis.no-ip.com/cam.jpg


here is some information from the 8500, with planb module:
-
surf:/# modprobe planb
surf:/# tail /var/log/messages
Jan 16 18:59:15 surf kernel: Linux video capture interface: v1.00
Jan 16 18:59:15 surf kernel: PCI: Enabling device 01:0d.0 (0014 -> 0016)
Jan 16 18:59:15 surf kernel: PlanB: PowerMacintosh video input driver rev. 
2.11
Jan 16 18:59:15 surf kernel: PlanB: SAA7196 video processor rev. 1
-
surf:/# lsmod
Module  Size  Used byNot tainted
planb  41124   0  (unused)
videodev5312   2  [planb]
dmasound_pmac  69104   0 
dmasound_core  13560   0  [dmasound_pmac]
soundcore   4520   3  [dmasound_core]
i2c-core   14584   0  [dmasound_pmac]


-- 
Dylan Beaudette
Soil Science Graduate Group
University of California at Davis



Re: Last ditch on PlanB driver

2005-01-17 Thread Dylan Beaudette
On Monday 17 January 2005 08:54 am, Sean Jewett wrote:
> On Sun, 16 Jan 2005, Dylan Beaudette wrote:
> > I will try to get the planb driver working with a more modern kernel and
> > report back here when i have some spare time. also -- i am pretty sure
> > that the planb driver needs the i2c subsystem in order to function.
>
> Well, I can confirm 2.4.27, I just got it working.
>
[snip snip]

Great. I just installed a custom compiled 2.4.29 BK kernel from 
http://www.penguinppc.org/kernel/#bitkeeper

and it looks like planb is working fine.

here is my kernel configuration:
http://fungus.ucdavis.edu/~dylan/linux/BK-2.4.29_with_planb_working.config

along with some other misc. PPCLinux / NuBus stuff:
http://fungus.ucdavis.edu/~dylan/linux/

cheers!

PS: I am interested in how stable peoples's machines are using the planb 
interface...

-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341



Re: Last ditch on PlanB driver

2005-01-17 Thread Dylan Beaudette
On Monday 17 January 2005 01:16 pm, Dylan Beaudette wrote:
> On Monday 17 January 2005 08:54 am, Sean Jewett wrote:
> > On Sun, 16 Jan 2005, Dylan Beaudette wrote:
> > > I will try to get the planb driver working with a more modern kernel
> > > and report back here when i have some spare time. also -- i am pretty
> > > sure that the planb driver needs the i2c subsystem in order to
> > > function.
> >
> > Well, I can confirm 2.4.27, I just got it working.
>
> [snip snip]
>
> Great. I just installed a custom compiled 2.4.29 BK kernel from
> http://www.penguinppc.org/kernel/#bitkeeper
>
> and it looks like planb is working fine.
>
> here is my kernel configuration:

OOPS!
that link should be:

http://fungus.ucdavis.edu/~dylan/linux/doc/BK-2.4.29_with_planb_working.config


-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341



Re: X-Window configurations

2005-01-21 Thread Dylan Beaudette
I do,

Send me a reminder tonight, and I will forward my config to you. I am using a 
300Mhz PB G3.

Dylan

On Friday 21 January 2005 06:52 am, pharme wrote:
> Hi folks,
>
> I finally got Debian 30r4 running on my G3 Powerbook.
> Just have yet got the configurations for the x-window up.
>
> According to the install doc, it recommended  a 59-63 horizontal sync
> range and to set the mouse device as /dev/input/mice.
> Other than that, the rest of the conf I set was the default (might not
> be default coz i selected the first setting in the list).
> After the configuration, i tried to fire up startx or xdm, no luck, all
> i got was streaks of colours like colour test monitor (be it login as
> root or user)
> Anyone has a more successful congfigurations for a powerbook to share.
>
> thanks
>
> pharme

-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341