Re: eth0 and eth1 mixed
An alternative way to do this is with interface mapping with the ifupdown scripts. Try: # install -m 755 /usr/share/doc/ifupdown/examples/get-mac-address.sh \ /usr/local/bin add this to your /etc/network/interfaces (Substituting in your mac addresses, see /sbin/ifconfig -a | grep HW) auto eth0 eth1 mapping eth0 eth1 script /usr/local/bin/get-mac-address.sh map 11:22:33:44:55:66 sungem map AA:BB:CC:DD:EE:FF ieee1394 iface ieee1394 inet dhcp pre-up /bin/false #Will not bring up iface sungem inet dhcp # Whatever yo want here On Sun, 2005-04-03 at 22:23 +0200, [ATR]Dj-Death wrote: Le dimanche 03 avril 2005 à 16:17 +0200, Maximilian Gerlach a écrit : Try blacklisting eth1394. Greets, Maxi I personnaly prefer this : (in /etc/modutils/something) alias eth0 sungem alias eth1 eth1394 -- Lionel Landwerlin / Dj-Death [EMAIL PROTECTED] -- David Stanaway [EMAIL PROTECTED]
Re: r128 Dual head support (Was Re: Video card register dumps)
On Fri, 2004-11-26 at 00:24, Benjamin Herrenschmidt wrote: On Thu, 2004-11-25 at 23:38 -0600, David Stanaway wrote: On Fri, 2004-11-12 at 19:35, Benjamin Herrenschmidt wrote: Well, if you don't know the chip well and don't have specs, it will be a hard time to get that stuff working I'm afraid. You should look at the initial dual head work for r128 cards that Alex Deucher [EMAIL PROTECTED] did for X.org, since you need at least that (dual head) as a first step to enabling TV Out. Then, I suggest you look at the open-beos project (I think it's on SourceForge) for the radeon code that drives the TV encoder. Do you have any more information about this? I saw mention back in August that he was looking for hardware to work on the dual head support. He got something working afaik, you should ask him. I am looking at r128dh.diff here http://www.botchco.com/alex/r128/ I will let people know if this works on ppc.
r128 Dual head support (Was Re: Video card register dumps)
On Fri, 2004-11-12 at 19:35, Benjamin Herrenschmidt wrote: Well, if you don't know the chip well and don't have specs, it will be a hard time to get that stuff working I'm afraid. You should look at the initial dual head work for r128 cards that Alex Deucher [EMAIL PROTECTED] did for X.org, since you need at least that (dual head) as a first step to enabling TV Out. Then, I suggest you look at the open-beos project (I think it's on SourceForge) for the radeon code that drives the TV encoder. Do you have any more information about this? I saw mention back in August that he was looking for hardware to work on the dual head support. -- David Stanaway [EMAIL PROTECTED]
Re: Playing DVDs on Debian
On Wed, 2004-07-07 at 01:06 -0700, Adam Done wrote: On Tue, 2004-07-06 at 22:35, Dean Hamstead wrote: try using mplayer I tried using apt-get install mplayer but nothing exists Also I have tried other players.. vlc. totem.. xine.. but nothing works.. :( Have you tried ogle? I use that to play DVDs on my TiBook 450MHz. It supports DVD menus too which is a bonus compared to mplayer, vlc etc.. -- David Stanaway [EMAIL PROTECTED]
Re: [Fwd: Re: Dual head on G4 Powerbook 400MHz]
On Thu, 26 Feb 2004 at 09:17:49 +1100, Benjamin Herrenschmidt wrote: In the normal case, we really want all displays opened. This make sure everything gets properly initialized by the firmware. The fact that m3mirror hack doesn't work in this case is a side effect ;) It could probably be fixed by other means though. I compared the radeonfb.c to aty128fb.c. in 2.6.3 It looks like the radeonfb.c initialzes the displays by toggling a few flags in some registers for CRTC2_GEN_CNTL and CRTC_EXT_CNTL. However, aty128fb.c only deals with the CRTC_EXT_CNTL register. I am sure there are lots of other differences too, but it is late. In which kernel version was dual head mode first working with the radeonfb driver? What kind of tweaks for dual head were needed in the radeonfb driver? Also, I am a little confused about the framebuffer. Is that only used for the primary display? It only seems to be setup with color, and mode information for the primary display in both drivers. I haven't looked at the X drivers yet, I am sure that will answer my questions. Again what version was dual head support introduced for the radeon driver so I can see what was changes were needed. -- David Stanaway [EMAIL PROTECTED]
Re: Dual head on G4 Powerbook 400MHz
On Tue, 2004-02-24 at 13:18, Julien BLACHE wrote: There was a patch for the 2.4 kernel, but it doesn't work on 2.6. On 2.4, you could also replace the prom_init.c file with the one from 2.4.20 and that would allow you to use m3mirror to enable the crt output. I have had a look at the differences, and the only things I can see are some POWER4 additions, and improving the process for opening the displays in check_display. When I boot, the prom_init output scrolls past pretty fast, and I think I just see one display get opened before the LCD gets reset to a different graphics mode. My device-tree has a parent node ATY,[EMAIL PROTECTED] with 2 children displays: ATY,RageM3p12A and ATY,RageM3p12B A is LCD and B is the CRT. Would a hack workaround be to change the sorting of display nodes so that the CRT is opened first? Also, is there a safe way to put a pause in before opening the displays in prom_init to review the displays found in the first part of check_displays? I haven't looked through the aty128fb driver yet, but what is involved in fixing up dualhead there? -- David Stanaway [EMAIL PROTECTED]
[Fwd: Re: Dual head on G4 Powerbook 400MHz]
I got this from BenH, looks like he ment to CC the list but typoed :P. -- David Stanaway [EMAIL PROTECTED] ---BeginMessage--- I could make it just open the first display if there were 2 and they were both M3s, but is there are more general test to see if this is necessary? In the normal case, we really want all displays opened. This make sure everything gets properly initialized by the firmware. The fact that m3mirror hack doesn't work in this case is a side effect ;) It could probably be fixed by other means though. The proper solution would be to add dualhead support to aty128fb.c. (or pester BenH until he either writes the code or gives us enough information to do it -- now that radeonfb is mostly fixed, maybe we can get a chance ? ;) Or to XFree r128 driver... Is is much of a hack to the build scripts (debian ones) for X to just have the r128 driver rebuilt and the .o files relinked as needed? Otherwise it will take ages and ages for itterative builds? I don't have time to work on that and the information I have is under NDA, so while I can use it to write code, I can't just publish it... Sorry... No problem. I will have a look at it, but I don't have alot of spare time. -- Benjamin Herrenschmidt [EMAIL PROTECTED] ---End Message---
Dual head on G4 Powerbook 400MHz
I am trying to get dual head, or even just CRT only use from the Rage 128 M3 on my TiBook without much luck. I just got a Studio 21 display and I am not having any luck using it in linux yet. I am using sid with X 4.3.0-2 and kernel 2.6.3 (I also build the drm trunk from the source package in sid if that is relevant). Should I be using framebuffer and the ati driver in X, or should I be using the fb driver? I can see the CRT and the LCD device entries in /proc/device-tree and I can turn the lcd and the crt off and on with m3mirror, I just can't get X to use the CRT. -- David Stanaway [EMAIL PROTECTED]
Re: 2.6.3-benh1 does not boot
On Mon, 2004-02-23 at 03:15, Victor Fuente wrote: Hi David, recently i had the same problem with 2.6 and it was because i forgot to build pci support in the kernel. I just tried the same .config with 2.6.3 vanilla and it is working, I will just stick with that for a bit. -- David Stanaway [EMAIL PROTECTED]
Re: 2.6.3-benh1 does not boot
I am also having problems booting the new kernel. It complains about being unable to mount the root VFS hda11 or hda11 The kernel image is compiled with xfs support, and the root is xfs. From memory, this is the relevant stuff in my yaboot.conf partition=11 boot=/dev/hda9 root=/dev/hda12 image=/vmlinux label=Linux image=/boot/vmlinux-2.4.21-newpmac label=LinuxOld My yaboot config works fine for 2.4.21. Does anyone have some tips? (I'll try reviewing some kernel options, but it takes ages to compile on my 1st ed TiBook.)
[Fwd: Woody on RS/6000 F50 - Success!]
Here is a procedure posted here [EMAIL PROTECTED] from my mail archive... -- David Stanaway ---BeginMessage--- Hi all, I've finally managed to net-install Debian woody on the IBM RS/6000 7025 F50. Here are some details for what they're worth. I've had to compile a kernel from sources obtained via rsync from the linuxppc_2_4_devel tree: rsync -avz source.mvista.com::linuxppc_2_4_devel This tree is based on kernel 2.4.20-pre5. I previously tried 2.4.15, 2.4.18 and 2.4.19 from kernel.org, with and without the powerpc patches from the same source (2.4.19 unpatched only), but I couldn't compile an image that would boot on this machine from any of them. I am net-booting via DHCP/BOOTP; I have not yet had much of a stab at making the machine bootable from the disk. The system console is on the serial port, because configuring all the graphical-console stuff out of the kernel was the only way the previous kernel sources I used would even attempt to boot. I don't know yet if the sources I'm using now will fix that problem, too, if I configure the graphical-console stuff back in. I used minicom on another woody machine to connect to the serial console on the RS/6000 via null-modem cable. The serial port used with minicom was set to 9600 8N1 and the modem initialisation string used was ~^M~ . The kernel was given the boot parameter console=ttyS0,9600 . The original kernel was cross-compiled on an Intel Debian woody machine. Building the cross-compiler was simple (in retrospect); here's the drill I followed for any interested party: - Compile binutils for a ppc-linux target: cd /usr/local/src apt-get source binutils Find the original binutils source tarball in the directory where apt extracts the sources and untar it in /usr/local/src. Then make a separate build directory for binutils in /usr/local/src. cd /usr/local mkdir binutils-build cd binutils-build ./binutils source dir/configure --target=ppc-linux make make install - Compile a gcc cross-compiler for a linux-ppc target, for the C language only, without libc support: cd /usr/local/src apt-get source gcc-2.95 Find the original gcc tarball in the directory where apt extracts the sources, untar it in /usr/local/src, and edit the file gcc/config/t-linux in the gcc source tree to change the line TARGET_LIBGCC2_CFLAGS = -fPIC to TARGET_LIBGCC2_CFLAGS = -fPIC -Dinhibit_libc so that an already cross-compiled libc is not required to build gcc. The gcc build process will complain at the end that the compiled libc cannot create executables, but we don't care because we're going to use it to build a kernel, not executables. Then make a separate build directory for gcc in /usr/local/src: cd /usr/local/src mkdir gcc-build cd gcc-build ../gcc-source-dir/configure --target=ppc-linux --enable-languages=c (so we only build a C compiler, which is all we need for a kernel, and not a complete suite) make make install You can now get your kernel sources, edit the top-level Makefile and change the lines setting the two following variables so that they read: ARCH := ppc CROSS_COMPILE := ppc-linux- (note the dash at the end of ppc-linux-) Then configure and compile a kernel as usual: make (menu)config, dep, zImage etc. To start the Debian installer, I used the root.bin floppy image from the powerc-chrp Debian woody floppy set as suggested by Rolf Brudeseth (copied to arch/ppc/boot/images/ramdisk.image.gz in the kernel source tree and made into a combined image with the kernel using make zImage.initrd). After compiling a kernel and getting it to net-boot, the Debian net-installation is routine. As I was net-booting, I skipped the steps about installing the kernel and about making the system bootable from disk. I also compiled everything I needed for the net install into the kernel, so I skipped the step about installing the modules, too. A modular kernel with more features was successfully compiled and installed on the machine itself after installation, using the make-kpkg utility from the kernel-package Debian package and the same sources. I will keep the list posted of further developments. Many thanks to all those who gave me various insights on the RS/6000 and who shared their own experiences installing Debian woody on these machines. Best regards, | George Karaolides Planitis Communications Ltd., | | tel: +357 22 45 65 00 Office 102, 11 Florinis Street, | | web: www.planitis.net Nicosia CY 1065, | | email: [EMAIL PROTECTED] Republic of Cyprus. | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] ---End Message---
Re: instalacao do woody numa F50
On Wed, 2002-11-13 at 22:08, Marcos Petrucci wrote: Caros amigos, Estou tendo enormes dificuldades para fazer a instalação da versao 3 para powerpc do Debian. A máquina é uma F50 IBM com processador CHRP. Se alguem ja instalou em uma máquina ou sabe de algum roteiro, por favor me informe... I don't speak Portugese, and I am only learning Spanish, but I am fairly sure that Carlos is saying that he is having enormous difficulties installing Debian 3.0 on his IBM F50 (Which is a CHRP system), and he needs a procedure to follow to install woody on this machine. -- David Stanaway
Re: galeon-snapshot and powerpc
On Tue, 2002-11-12 at 17:30, [EMAIL PROTECTED] wrote: On Tue, Nov 12, 2002 at 18:03:56 -0500, christophe barbe composed: I see a bug in galeon-snapshot which is so obvious that I am wondering if it is powerpc specific. I can get the menu from a right click in the web page. i assume you mean *can't* get a menu, cuz at one point, in an ealier version of galeon-snapshot i couldn't get menus on a right-click either. it was the version before 1.3.20021103 [EMAIL PROTECTED]:~$ dpkg -p galeon-snapshot Package: galeon-snapshot Priority: optional Section: web Installed-Size: 14524 Maintainer: Mark Howard [EMAIL PROTECTED] Architecture: powerpc Version: 1.3.0.20021103-1 Replaces: galeon-beta Provides: www-browser I get the same behaviour (No context menus), and this is kinda frustrating. -- David Stanaway
Re: Screen poweroff with an ibook
On mysystem, I am using the framebuffer device, and I can use: /sbin/fblevel off; read -p Hit enter..(But you won't see this); /sbin/fblevel on In sawfish you can bind /sbin/fblevel off and /sbin/fblevel on to shortcut keys ( I used M-F1 , M-F2 ) I don't know if this will work for the radeon On Tue, 2002-09-17 at 20:05, J. Volkmann wrote: Hello, as I use my laptop in classes, I sometimes don't use it for 20 or more Minutes. Is there a way to turn the screen off manually perhaps with a key shortcut? My laptop is an ibook2 with the radeon (2x USB, 700 MHz). Another thing: Is the ibook able to do a hot-switch of batteries? Thanks in advance, Johannes -- David Stanaway
RE: vulnerable to apache/ssl worm ?
This is all beside the point (Anyway, you would do better looking at the CERT advisories, and debian-security-announce advisories). If you are running woody and keep up to date with security.d.o then you are not exposed to this flaw. http://www.cert.org/advisories/CA-2002-27.html http://www.debian.org/security/2002/dsa-136 (Note: dsa-136-2 was posted yesterday, but at this time it doesn't seem to be on the site. Note: this advisory is an update to DSA-136-1, issued 30 Jul 2002. It includes ASN1 updates in the woody packages, plus the potato packages which were not initially available.) On Mon, 2002-09-16 at 13:05, Gilger.John wrote: Thus sproke Jack Howarth: Subject: Re: vulnerable to apache/ssl worm ? Vinai, No. From what I have read the code the worm executes is i386 specific. Jack IIRC, the article on CNet said that it was *Intel* specific. That made me wonder if it affects AMD chips also. (is the problem with X86 architecure or Intel's version?) John -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- David Stanaway
Re: 2 problems --nolisten tcp
On Fri, 2002-09-13 at 22:17, [EMAIL PROTECTED] wrote: 2. The second problem is with x. It appears that X is not allowing external connections. I am running my ibook on a small network here are my house. I have run xhost +ipaddr for another linux box (i386). I then ssh to that box and set the DISPLAY variable to point to my ibook. However, when I try to launch a X program, the display attempt is refused. Is there some default parameter that is being set that tells X to refuse external connections? grepping for the X server option which is effecting you, /etc/X11/gdm/gdm.conf:command=/usr/X11R6/bin/X -nolisten tcp -deferglyphs 16 /etc/X11/xdm/Xservers::0 local /usr/X11R6/bin/X -dpi 100 -nolisten tcp It depends which display manager you are using, but if you want network access to the display, then you want to take out the -nolisten tcp arg. -- David Stanaway
Re: Boot-time serial port setup
On Tue, 2002-09-03 at 17:56, Michael Milligan wrote: A simple question, probably: I am setting up an old inkjet serial printer on my G3 running woody. After some research and several test pages, I established that CUPS handles the thing fine, but only if I first manually issue $ stty -F /dev/ttyS1 230400 cstopb raw echo ixoff ixon as root. Since I don't really want to have to log into the thing every time it gets rebooted just to enable the printer, I was wondering what is the Debianishly correct way to execute this command at boot time. I *could* write a new boot script and insert the links in /etc/rc* myself, but this seems somehow tacky. Write it, and put it in /etc/init.d then install it with update-rc.d (It has a nice manpage) -- David Stanaway
Modem problems - TiBook rev A
Listerines... Aug 19 19:13:26 ciderbox pppd[11078]: Couldn't create new ppp unit: Inappropriate ioctl for device I get this error after a while with pppd with persist option. I need to kill the pppd and restart it which is annoying since I host my email/dns via this link. Any hints would be welcome... Here is a more complete log... Aug 19 15:02:23 ciderbox pppd[11078]: rcvd [LCP EchoRep id=0xe8 magic=0x3aa2c901] Aug 19 15:02:53 ciderbox pppd[11078]: sent [LCP EchoReq id=0xe9 magic=0x37505512] Aug 19 15:02:53 ciderbox pppd[11078]: rcvd [LCP EchoRep id=0xe9 magic=0x3aa2c901] Aug 19 15:03:23 ciderbox pppd[11078]: sent [LCP EchoReq id=0xea magic=0x37505512] Aug 19 15:03:23 ciderbox pppd[11078]: rcvd [LCP EchoRep id=0xea magic=0x3aa2c901] Aug 19 15:03:48 ciderbox pppd[11078]: Hangup (SIGHUP) Aug 19 15:03:48 ciderbox pppd[11078]: Modem hangup Aug 19 15:03:48 ciderbox pppd[11078]: Script /etc/ppp/ip-down started (pid 14005) Aug 19 15:03:48 ciderbox pppd[11078]: Connection terminated. Aug 19 15:03:48 ciderbox pppd[11078]: Connect time 629.7 minutes. Aug 19 15:03:48 ciderbox pppd[11078]: Sent 5378216 bytes, received 7750862 bytes. Aug 19 15:03:49 ciderbox pppd[11078]: Couldn't release PPP unit: Invalid argument Aug 19 15:03:57 ciderbox pppd[11078]: Script /etc/ppp/ip-down finished (pid 14005), status = 0x0 Aug 19 15:04:36 ciderbox pppd[11078]: Serial connection established. Aug 19 15:04:36 ciderbox pppd[11078]: using channel 45 Aug 19 15:04:36 ciderbox pppd[11078]: Couldn't create new ppp unit: Inappropriate ioctl for device Aug 19 15:04:37 ciderbox pppd[11078]: Hangup (SIGHUP) Aug 19 15:05:12 ciderbox pppd[11078]: Serial connection established. Aug 19 15:05:12 ciderbox pppd[11078]: using channel 46 Aug 19 15:05:12 ciderbox pppd[11078]: Couldn't create new ppp unit: Inappropriate ioctl for device Aug 19 15:05:13 ciderbox pppd[11078]: Hangup (SIGHUP) Aug 19 15:05:50 ciderbox pppd[11078]: Serial connection established. Aug 19 15:05:50 ciderbox pppd[11078]: using channel 47 Aug 19 15:05:50 ciderbox pppd[11078]: Couldn't create new ppp unit: Inappropriate ioctl for device Aug 19 15:05:50 ciderbox pppd[11078]: Hangup (SIGHUP) -- David Stanaway
Re: Sound on a PowerBook
On Wed, 2002-07-24 at 02:22, Greg Howland wrote: Hi, I saw a post of yours in the Debian-PowerPC archives and thought you could help me with getting sound on my PowerBook. The archives stated the solution was to get dmaaudio-pmac, run modconf and install the modules, then adduser username audio to give yourself access to the device. That sound about right. except it is dmasound_pmac My quesion is, is dmaaudio-pmac a package I can download with apt-get? Or, is there something more involved I have to do? Greg If you have a stock debian kernel, then it should be one of the modules that came with it. try: modprobe dmasound_pmac, then lsmod. dmasound_pmac 47056 2 dmasound_core 13512 2 [dmasound_pmac] soundcore 4520 3 [dmasound_core] I am running a 2.4 kernel and there is a possibility that the module was called dmaaudio_pmac in 2.2, its pretty easy to find out. look at: modprobe -l If you have built your own kernel, be sure that you are using the benh kernel sources: Ben's tree @ http://penguinppc.org/dev/kernel.shtml There, the option is: M PowerMac DMA sound support in the sound section, or: CONFIG_DMASOUND_PMAC=m CONFIG_DMASOUND=m in the .config (You chould base your .config on the debian default which is in /boot/config-2.2.20-newpmac. I am not sure / can't remember what happens when you take a config from a 2.2 kernel and use it in a 2.4 kernel. It should be OK. -- David Stanaway signature.asc Description: This is a digitally signed message part
Re: Power off the screen of an iBook
On Sun, 2002-07-14 at 11:05, Michel Dänzer wrote: On Sun, 2002-07-14 at 17:44, Vincent Bernat wrote: When DPMS is used by X, there seems to be an unique level which is black screen. If I try xset dpms force off, the screen just goes black and doesn't power off. Is there something to tweak to allow X to power off the screen after x minutes ? Or some utility which can power off the screen from command line ? X doesn't do power management with flat panels by default. http://www.penguinppc.org/~daenzer/XFree86-4.2/patches/ati-dpms.diff is a patch to remedy that when Option UseFBDev is used (which is recommended anyway). It's applied in my 4.2 binaries at http://www.penguinppc.org/~daenzer/XFree86-4.2/ . Another option that I use to manually turn of the display is this: $ /sbin/fblevel off; read -p Hit enter; /sbin/fblevel on I run that in a terminal (In sawfish I had M-F1 bound to exec: /sbin/fblevel off and M-F2 bound to exec: /sbin/fblevel on) -- David Stanaway signature.asc Description: This is a digitally signed message part
Kernel branch recommendation for xfs filesystem support?
Hi, I want to use xfs on my ppc, but I was wondering what important stuff I would be missing from the -benh branch. If I use the linux2.4-xfs cvs repository at SGI, should I expect problems with powerpc? I have a 1st gen TiBook. -- David Stanaway signature.asc Description: This is a digitally signed message part
Possible input problem with xfree86_4.2.0-0pre1v1 and sawfish-gnome
I just built the new debs for powerpc, and I was having some problem with the behavior of my USB Mouse and keyboard for the duration of an X Session and I am unable to repeat it. I am running xfree86_4.2.0-0pre1v1 from gdm with gnome-session and sawfish-gnome 1.0.1.20020116. My hardware is a first generation G4 Powerbook (With a Rage128 M3), and I am running: 2.4.19-pre8-ben0 with the r128 DRI module, and I am using the r128 driver for my display. Here is the running problem that I was having: There are some regular but intermitant problems with registering mouse clicks, and some key combinations yeild odd results. All revolving around change of focus. EG: In gnome, my task list sometime takes a couple of clicks before the the active window changes. Alert dialogs from evolution especially seem to have problems getting focus. Clicking the mouse in a gnome-terminal selects the whole line some-times, the rest of the time, it selects a just a word. Also, using a drag to select only selects to word boundaries. In evolution compose message dialog, Often, after click or using the down arrow followed by pressing the shift key results in the input focus changing from the message text to either the scroll bar or the subject textbox. I am having alot of difficulty describing a 100% reliable case where these glitches occur, but they occur very frequently. For instance capitalizing the I at the beginning of this paragraph took about 10 tries before I could stop the focus shifting to the subject line. On recollection, the problem with selection in gnome-terminal was always apparent. I am now going to try and do some tests with a different windowmanager (Currently I am using sawfish-gnome which I upgraded at the same time as X [As I had a problem with gnome starting from gnome session despite the gnome dialog getting past the Starting Gnome Windowmanager icon without pause..) ii sawfish-gnome 1.0.1.20020116 A highly configurable window manager for X11 Okay.. from the sawfish program menu, I switched to windowmaker, and I am still having the same problems. Now to see if it is just something wrong with this X session. Well suprise suprise.. sawfish didn't start. (I'll get an error later) but when I set the window manager to windowmaker from gnome-control-center, I get none of the problems that I was experiencing earlier. Particularly not the onl I have full HID support and am using /dev/input/mice From XF86Config-4 -- Section Device Identifier Generic Video Card Driver r128 BusID PCI:0:16:0 Option UseFBDev true EndSection Section InputDevice Identifier Configured Mouse Driver mouse Option CorePointer Option Device/dev/input/mice Option Protocol ImPS/2 Option ZAxisMapping 4 5 EndSection From dmesg -- [EMAIL PROTECTED]:~$ dmesg |egrep -i '(keyboard)|(mice)|(mouse)|(input)|(adb)|(hid)' Kernel command line: root=/dev/hda11 ro keyboard_sends_linux_keycodes=1 hdc=ide-scsi single input0: Macintosh mouse button emulation adb: starting probe task... usb.c: registered new driver hid hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik [EMAIL PROTECTED] hid-core.c: USB HID support drivers mice: PS/2 mouse device common for all mice adb devices: [2]: 2 c3 [3]: 3 16EXT3-fs: INFO: recovery required on readonly filesystem. ADB keyboard at 2, handler 1 Detected ADB keyboard, type ANSI. input1: ADB HID on ID 2:2.c3 input2: ADB HID on ID 7:7.1f ADB mouse at 3, handler set to 4 (trackpad) input3: ADB HID on ID 3:3.01 adb: finished probe task... input4,hiddev0: USB HID v10.01 Keyboard [Mitsumi Electric Apple Extended USB Keyboard] on usb1:3.0 input5,hiddev0: USB HID v10.01 Pointer [Mitsumi Electric Apple Extended USB Keyboard] on usb1:3.1 input6,hiddev0: USB HID v10.01 Mouse [Logitech USB Mouse] on usb1:4.0 -- David Stanaway signature.asc Description: This is a digitally signed message part
Re: Possible input problem with xfree86_4.2.0-0pre1v1 and sawfish-gnome
On Tue, 2002-06-18 at 10:16, Michel Dänzer wrote: On Tue, 2002-06-18 at 13:52, David Stanaway wrote: Here is the running problem that I was having: There are some regular but intermitant problems with registering mouse clicks, and some key combinations yeild odd results. All revolving around change of focus. I've been seeing this on and off for quite some time, but of course I've been running a 4.2 server for a long time as well for its Radeon support. Can you try with a 4.1 server to see if it makes a difference? The problem being that it seems to occur non-deterministically, so one can never be sure it's actually not there... I was running 4.1 before and I had no problems. I was also running your bare bones 4.2 binaries as well (However, I used the ati driver as per your xf86config) and I don't recall any problems. When I was running your binaries I only had Indirect rendering for glx, now when I am am using the full package I am using the r128 driver (I couldn't see a manpage for ati, and I was puzzled why it worked.) and I have Direct Rendering: OpenGL vendor string: VA Linux Systems, Inc. OpenGL renderer string: Mesa DRI Rage128 20010405 M3 AGP 1x OpenGL version string: 1.2 Mesa 3.4.2 I saw from another post that direct rendering is unstable with the M3. I did get a system crash last night when changing the display settings in quake2 (To use lower detail, as the framerate slowed dramatically when an explosion was visible). Could this be related? Or is it a completely seperate issue. -- David Stanaway signature.asc Description: This is a digitally signed message part
Re: Possible input problem with xfree86_4.2.0-0pre1v1 and sawfish-gnome
On Tue, 2002-06-18 at 17:09, Michel Dänzer wrote: On Tue, 2002-06-18 at 23:35, David Stanaway wrote: On Tue, 2002-06-18 at 10:16, Michel Dänzer wrote: On Tue, 2002-06-18 at 13:52, David Stanaway wrote: Here is the running problem that I was having: There are some regular but intermitant problems with registering mouse clicks, and some key combinations yeild odd results. All revolving around change of focus. I've been seeing this on and off for quite some time, but of course I've been running a 4.2 server for a long time as well for its Radeon support. Can you try with a 4.1 server to see if it makes a difference? The problem being that it seems to occur non-deterministically, so one can never be sure it's actually not there... I was running 4.1 before and I had no problems. I was also running your bare bones 4.2 binaries as well (However, I used the ati driver as per your xf86config) and I don't recall any problems. Well, I've seen the problem with my binaries. If I see this again, what kind of things should I look for that might help determine the problem? I am back to running sawfish now (Which I prefer to windowmaker) Should I change to another windowmanager just to see if it occurs with that to? I will change to windowmaker if I can disable completely the dock and app icons. Maybe the server is just a red herring anyway, as I also experienced it with sawfish. It would be great if anyone could determine a pattern behind this or even better the cause. :/ One other suspicion I'd like to mention though is sleep. I don't think I've seen the problems with this new TiBook yet, which I can't put to sleep yet. Well, I don't put this system to sleep, I just use: fblevel off to turn the LCD off. Does that cancel that suspicion? I still run pmud but it doesn't do anything at present ( I always have AC Power and am running network services so I don't want the system to sleep. ) -- David Stanaway signature.asc Description: This is a digitally signed message part
Mysterious semicrash overnight...
I was building X over night (It failed strangely...) and my gnome session died as well as a screen session(Well it was marked as Dead when I did screen -r, and I wiped it before checking further). Also from the kernel logs.. some ide problems: Jun 17 00:34:17 ciderbox kernel: hda: timeout waiting for DMA Jun 17 00:34:20 ciderbox kernel: ide_pmac_dmaproc: chipset supported ide_dma_timeout func only: 14 Jun 17 00:34:20 ciderbox kernel: hda: status timeout: status=0xd0 { Busy } Jun 17 00:34:20 ciderbox kernel: hda: drive not ready for command Jun 17 00:34:20 ciderbox kernel: ide0: reset: success Jun 17 00:34:20 ciderbox kernel: hda: Enabling Ultra DMA 4 Jun 17 00:34:20 ciderbox kernel: ide_pmac: Set UDMA timing for mode 4, reg: 0x0c50014a Jun 17 00:34:20 ciderbox kernel: hda: lost interrupt Jun 17 01:43:31 ciderbox kernel: ide_pmac_dmaproc: chipset supported ide_dma_lostirq func only: 13 Jun 17 01:43:31 ciderbox kernel: hda: lost interrupt Jun 17 01:43:31 ciderbox kernel: hda: dma_intr: status=0xd0 { Busy } Jun 17 01:43:31 ciderbox kernel: hda: DMA disabled Jun 17 01:43:31 ciderbox kernel: ide0: reset: success FYI: I did have: hdparm -m 16 -u 1 but I didn't have it set to save on reset, so after the reset: multcount= 0 (off) I/O support = 0 (default 16-bit) unmaskirq= 0 (off) using_dma= 0 (off) keepsettings = 0 (off) nowerr = 0 (off) readonly = 0 (off) readahead= 8 (on) geometry = 19485/16/63, sectors = 19640880, start = 0 busstate = 1 (on) My X build died at: Jun 17 02:35 @ gcc -O2 -fsigned-char ... -c glint_dri.c make[6]: *** wait: No child processes. Stop. make[6]: *** Waiting for unfinished jobs make[6]: *** wait: No child processes. Stop. make[8]: *** wait: No child processes. Stop. make[8]: *** Waiting for unfinished jobs make[8]: *** wait: No child processes. Stop. make[7]: *** wait: No child processes. Stop. make[7]: *** Waiting for unfinished jobs make[7]: *** wait: No child processes. Stop. make[5]: *** [hw/xfree86] Error 2 make[3]: *** wait: No child processes. Stop. make[3]: *** Waiting for unfinished jobs make[3]: *** wait: No child processes. Stop. make[4]: *** wait: No child processes. Stop. make[4]: *** Waiting for unfinished jobs make[4]: *** wait: No child processes. Stop. make[2]: *** [World] Error 2 make[1]: *** [World] Hangup make: *** [debian/stampdir/build] Hangup I am not sure if this was because my xsession died, or something else. I am not sure when my xsession died. gnome-session from gdm doesn't log to ~/.xsession-errors and I didn't check the timestamps in ~/.gnome before I logged in and removed any evidence. Any hints as to what I should do? -- David Stanaway signature.asc Description: This is a digitally signed message part
Re: Mysterious semicrash overnight...
On Mon, 2002-06-17 at 11:37, Branden Robinson wrote: On Mon, Jun 17, 2002 at 10:34:43AM -0500, David Stanaway wrote: I was building X over night (It failed strangely...) and my gnome [...] My X build died at: Jun 17 02:35 If this is XFree86 4.2.0-0pre1v1: Depending on what timezone that was and when you downloaded the source package, you might have the broken source package that was up for a while. I am on US Central time: And yes I had the old diff: [EMAIL PROTECTED]:~$ diff xfree86_4.2.0-0pre1v1.dsc \ build/xfree86_4.2.0-0pre1v1.dsc 11c11 85d9ac93f973efcfa092b62613e696f5 2108914 xfree86_4.2.0-0pre1v1.diff.gz --- f782cf73609e69abfc5e7d4025f1f3e7 2346758 xfree86_4.2.0-0pre1v1.diff.gz I'm downloading the new diff now (As well as the debs from Michael Dänzer and yourself incase I get sick of building heh (I'd like to try and put some tuning into the gcc args for my 7410). -- David Stanaway signature.asc Description: This is a digitally signed message part
[OT] New upstream dev version of mol with improved linux-on-linux support...
The developers have notified the general list that they have some major changes in their bitkeeper sources that they would like tested. I thought that people on debian-powerpc might be interested even if it is slightly off-topic. Full message with bk/rsync details..: http://lists.maconlinux.org/pipermail/mol-general/2002-June/000338.html From: Samuel Rydh [EMAIL PROTECTED] Subject:Testing needed, Linux support Date: 16 Jun 2002 16:07:05 +0200 I have recently pushed a major change to the MMU subsystem of MOL. I would appreciate it if as many as possible could test the latest BK/rsync version of MOL. The change was primarily targeted to speed up the performance of MOL when unix-like operating systems is run within MOL (Linux, OS X). However, there is some performance gain with MacOS classic too (I quick MacBench run indicated about 5% gain). signature.asc Description: This is a digitally signed message part
Re: NuBus x Monolithic Kernels
On Thu, 2002-06-06 at 14:42, Chris Tillman wrote: On Thu, Jun 06, 2002 at 02:41:48PM -0300, Daniel Bolgheroni wrote: Why monolithic kernels can?t run on NuBus systems like Performa 6300? Try nubus-mac.sourceforge.net. Better yet, try: http://sourceforge.net/projects/nubus-pmac/ signature.asc Description: This is a digitally signed message part
Re: USB ACM and new-powermac boot floppies
On Fri, 2002-05-24 at 23:20, [EMAIL PROTECTED] wrote: Also, would I be able to initialize ext3 partitions using the new boot floppies? I'd like to move everything over to ext3. When I installed woody, I was able to set up an ext3 filesystem with the new-powermac boot floppy flavour. That was a little while back, but I imagine that is still the case :) CONFIG_USB_ACM=m CONFIG_EXT3_FS=y is notable for you, and there are ISDN modules too. I don't know about the old powermac boot floppies. About the rest, sorry I have no idea. I can paste the kernel config from the base kernel .. it is attached. CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_HAVE_DEC_LOCK=y CONFIG_EXPERIMENTAL=y CONFIG_MODULES=y CONFIG_MODVERSIONS=y CONFIG_KMOD=y CONFIG_PPC=y CONFIG_PPC32=y CONFIG_6xx=y CONFIG_PPC_STD_MMU=y CONFIG_ALL_PPC=y CONFIG_ALTIVEC=y CONFIG_TAU=y CONFIG_PCI=y CONFIG_NET=y CONFIG_SYSCTL=y CONFIG_SYSVIPC=y CONFIG_KCORE_ELF=y CONFIG_BINFMT_ELF=y CONFIG_KERNEL_ELF=y CONFIG_BINFMT_MISC=m CONFIG_PCI_NAMES=y CONFIG_HOTPLUG=y CONFIG_PCMCIA=m CONFIG_CARDBUS=y CONFIG_I82092=y CONFIG_I82365=y CONFIG_TCIC=y CONFIG_PARPORT=m CONFIG_PARPORT_PC=m CONFIG_PARPORT_PC_CML1=m CONFIG_PARPORT_PC_FIFO=y CONFIG_PARPORT_1284=y CONFIG_PPC_RTC=m CONFIG_PPC601_SYNC_FIX=y CONFIG_PROC_DEVICETREE=y CONFIG_PPC_RTAS=y CONFIG_PREP_RESIDUAL=y CONFIG_PNP=m CONFIG_ISAPNP=m CONFIG_BLK_DEV_FD=m CONFIG_PARIDE=m CONFIG_PARIDE_PARPORT=m CONFIG_PARIDE_PD=m CONFIG_PARIDE_PCD=m CONFIG_PARIDE_PF=m CONFIG_PARIDE_PT=m CONFIG_PARIDE_PG=m CONFIG_PARIDE_ATEN=m CONFIG_PARIDE_BPCK=m CONFIG_PARIDE_COMM=m CONFIG_PARIDE_DSTR=m CONFIG_PARIDE_FIT2=m CONFIG_PARIDE_FIT3=m CONFIG_PARIDE_EPAT=m CONFIG_PARIDE_EPATC8=y CONFIG_PARIDE_EPIA=m CONFIG_PARIDE_FRIQ=m CONFIG_PARIDE_FRPW=m CONFIG_PARIDE_KBIC=m CONFIG_PARIDE_KTTI=m CONFIG_PARIDE_ON20=m CONFIG_PARIDE_ON26=m CONFIG_BLK_CPQ_DA=m CONFIG_BLK_CPQ_CISS_DA=m CONFIG_BLK_DEV_DAC960=m CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_SIZE=4096 CONFIG_BLK_DEV_INITRD=y CONFIG_PACKET=y CONFIG_PACKET_MMAP=y CONFIG_NETLINK=y CONFIG_RTNETLINK=y CONFIG_NETLINK_DEV=m CONFIG_NETFILTER=y CONFIG_FILTER=y CONFIG_UNIX=y CONFIG_INET=y CONFIG_IP_MULTICAST=y CONFIG_IP_ADVANCED_ROUTER=y CONFIG_RTNETLINK=y CONFIG_NETLINK=y CONFIG_IP_MULTIPLE_TABLES=y CONFIG_IP_ROUTE_FWMARK=y CONFIG_IP_ROUTE_NAT=y CONFIG_IP_ROUTE_MULTIPATH=y CONFIG_IP_ROUTE_TOS=y CONFIG_IP_ROUTE_VERBOSE=y CONFIG_NET_IPIP=m CONFIG_NET_IPGRE=m CONFIG_NET_IPGRE_BROADCAST=y CONFIG_IP_MROUTE=y CONFIG_IP_PIMSM_V1=y CONFIG_IP_PIMSM_V2=y CONFIG_SYN_COOKIES=y CONFIG_IP_NF_CONNTRACK=m CONFIG_IP_NF_FTP=m CONFIG_IP_NF_IRC=m CONFIG_IP_NF_QUEUE=m CONFIG_IP_NF_IPTABLES=m CONFIG_IP_NF_MATCH_LIMIT=m CONFIG_IP_NF_MATCH_MAC=m CONFIG_IP_NF_MATCH_MARK=m CONFIG_IP_NF_MATCH_MULTIPORT=m CONFIG_IP_NF_MATCH_TOS=m CONFIG_IP_NF_MATCH_LENGTH=m CONFIG_IP_NF_MATCH_TTL=m CONFIG_IP_NF_MATCH_TCPMSS=m CONFIG_IP_NF_MATCH_STATE=m CONFIG_IP_NF_MATCH_UNCLEAN=m CONFIG_IP_NF_MATCH_OWNER=m CONFIG_IP_NF_FILTER=m CONFIG_IP_NF_TARGET_REJECT=m CONFIG_IP_NF_TARGET_MIRROR=m CONFIG_IP_NF_NAT=m CONFIG_IP_NF_NAT_NEEDED=y CONFIG_IP_NF_TARGET_MASQUERADE=m CONFIG_IP_NF_TARGET_REDIRECT=m CONFIG_IP_NF_NAT_SNMP_BASIC=m CONFIG_IP_NF_NAT_IRC=m CONFIG_IP_NF_NAT_FTP=m CONFIG_IP_NF_MANGLE=m CONFIG_IP_NF_TARGET_TOS=m CONFIG_IP_NF_TARGET_MARK=m CONFIG_IP_NF_TARGET_LOG=m CONFIG_IP_NF_TARGET_TCPMSS=m CONFIG_IP_NF_COMPAT_IPCHAINS=m CONFIG_IP_NF_NAT_NEEDED=y CONFIG_IP_NF_COMPAT_IPFWADM=m CONFIG_IP_NF_NAT_NEEDED=y CONFIG_IPV6=m CONFIG_IP6_NF_IPTABLES=m CONFIG_IP6_NF_MATCH_LIMIT=m CONFIG_IP6_NF_MATCH_MAC=m CONFIG_IP6_NF_MATCH_MULTIPORT=m CONFIG_IP6_NF_MATCH_OWNER=m CONFIG_IP6_NF_MATCH_MARK=m CONFIG_IP6_NF_FILTER=m CONFIG_IP6_NF_TARGET_LOG=m CONFIG_IP6_NF_MANGLE=m CONFIG_IP6_NF_TARGET_MARK=m CONFIG_KHTTPD=m CONFIG_VLAN_8021Q=m CONFIG_IPX=m CONFIG_ATALK=m CONFIG_DECNET=m CONFIG_BRIDGE=m CONFIG_X25=m CONFIG_LAPB=m CONFIG_ECONET=m CONFIG_ECONET_AUNUDP=y CONFIG_ECONET_NATIVE=y CONFIG_NET_SCHED=y CONFIG_NETLINK=y CONFIG_RTNETLINK=y CONFIG_NET_SCH_CBQ=m CONFIG_NET_SCH_CSZ=m CONFIG_NET_SCH_PRIO=m CONFIG_NET_SCH_RED=m CONFIG_NET_SCH_SFQ=m CONFIG_NET_SCH_TEQL=m CONFIG_NET_SCH_TBF=m CONFIG_NET_SCH_GRED=m CONFIG_NET_SCH_DSMARK=m CONFIG_NET_SCH_INGRESS=m CONFIG_NET_CLS=y CONFIG_NET_CLS_TCINDEX=m CONFIG_NET_CLS_ROUTE4=m CONFIG_NET_CLS_ROUTE=y CONFIG_NET_CLS_FW=m CONFIG_NET_CLS_U32=m CONFIG_IDE=y CONFIG_BLK_DEV_IDE=y CONFIG_BLK_DEV_IDEDISK=y CONFIG_BLK_DEV_IDECS=m CONFIG_BLK_DEV_IDECD=y CONFIG_BLK_DEV_IDETAPE=m CONFIG_BLK_DEV_IDEFLOPPY=m CONFIG_BLK_DEV_IDESCSI=m CONFIG_BLK_DEV_CMD640=y CONFIG_BLK_DEV_RZ1000=y CONFIG_BLK_DEV_IDEPCI=y CONFIG_BLK_DEV_IDEDMA_PCI=y CONFIG_BLK_DEV_ADMA=y CONFIG_BLK_DEV_IDEDMA=y CONFIG_BLK_DEV_AEC62XX=y CONFIG_BLK_DEV_ALI15X3=y CONFIG_BLK_DEV_AMD74XX=y CONFIG_BLK_DEV_CMD64X=y CONFIG_BLK_DEV_CY82C693=y CONFIG_BLK_DEV_CS5530=y CONFIG_BLK_DEV_HPT34X=y CONFIG_BLK_DEV_HPT366=y CONFIG_BLK_DEV_NS87415=y CONFIG_BLK_DEV_OPTI621=y CONFIG_BLK_DEV_PDC202XX=y CONFIG_PDC202XX_BURST=y CONFIG_PDC202XX_FORCE=y
dmasound_pmac and Quake2? No sound
Hi there, is there a way around this problem that gets reported by quake2 when I start it? --- sound initialization --- SNDDMA_Init: Sorry, but your soundcard doesn't support trigger or mmap. (0100) Thanks.. -- David Stanaway signature.asc Description: This is a digitally signed message part
Re: gcc / dpkg-buildpackage
On Sun, 2002-05-19 at 11:43, Lars D. Noodén wrote: Thanks, Jeroen, It turns out that I was missing libc6-devel. You will find that: apt-get builddeps is handy. -- David Stanaway signature.asc Description: This is a digitally signed message part
Re: Older BenH kernels (2.4.18?)
On Fri, 2002-05-17 at 23:12, Will Cicola wrote: I apologize in advance if this question has insanely obvious answer, but I swear I did make every effort to find it out on my own already (google, debian lists, and the like). Is there a place where I can get source for older BenH kernels (specifically 2.4.18)? The reason I ask is that MOL doesn't seem to want to let me use modules compiled for 2.4.18 with my 2.4. 19-pre6-ben0 kernel (I compiled them myself, and this is the only kernel I' ve ever run besides the initial 2.2 that came with potato, so I don't know why it's compiling them for 2.4.18...I assume this is another question that's easily answered if you're not a newbie :) Anyway, I'd like to find the source to an actual, true-blue 2.4.18 kernel, but I'd really like to use the BenH tree. Thanks in advance for not ridiculing me! There is no need to be so defensive... How are you building your mol modules? And how are you building your kernel? - CD into your kernel source tree - You can get a copy of previous kernel configs from /boot .. copy the latest working one to .config in the top dir of the kernel source. - make menuconfig (Or whatever you prefer..) - use make-kpkg (Read the docs in /usr/doc/kernel-package) to build your modules , and kernel image. EG: fakeroot make-kpkg kernel_image fakeroot make-kpkg modules Then you should get packages like this in your parent dir. kernel-image-2.4.19-pre6-ben0_10.00.Custom_powerpc.deb mol-modules-2.4.19-pre6-ben0_0.9.61+10.00.Custom_powerpc.deb -- David Stanaway signature.asc Description: This is a digitally signed message part
Re: woody + apropos
Works for me. [EMAIL PROTECTED]:/usr/doc/man-db$ man -k canonical canonical (5)- (unknown) canonical- format of Postfix canonical table (5) [canonical] - (unknown) cleanup- canonicalize and enqueue Postfix message (8) [cleanup] - (unknown) realpath (3) - return the canonicalized absolute pathname [EMAIL PROTECTED]:/usr/doc/man-db$ apropos canonical canonical (5)- (unknown) canonical- format of Postfix canonical table (5) [canonical] - (unknown) cleanup- canonicalize and enqueue Postfix message (8) [cleanup] - (unknown) realpath (3) - return the canonicalized absolute pathname Do you have man-db installed? On Tue, 2002-05-14 at 05:23, Lars D. Noodén wrote: Should the command apropos work 'out of the box'? I've recently done a fresh install of woody and get no hits when searching with apropos, even though the relevant man pages exist: -- David Stanaway signature.asc Description: This is a digitally signed message part
Re: I recompiled 2.4.18 for use with sawfish-gnome
On Wed, 2002-05-08 at 14:29, Gjermund Gusland Thorsen wrote: But I still got the same keyboard problem :-( pls help When I try to login in gdm pressing q on the keyboard shows 1 on the screen, something is fxxked up for the lack of a better term. This is a bit of an FAQ. Search the archives (Hint: ADB keycodes) Look at the Debian release notes. http://www.debian.org/releases/testing/ http://www.debian.org/releases/testing/powerpc/release-notes/ signature.asc Description: This is a digitally signed message part
Re: changing extensions, a little OT perhaps.
On Fri, 2002-04-26 at 12:32, Bob Torres wrote: Hi All, I recently transferred some MP3s from my MacOS desktop to my Debianppc laptop. There are no file extensions for these mp3 files, so they're kind worthless for xmms in Linux. On the Linux side, how would I go about adding extensions to these files without doing it manually? In other words, is there something I could pass at the command line to accomplish this for a whole directory of files? I've been using Linux for three years or so now, and I've always wanted to know how to do this...anyone care to educate me? I'm hoping for something a little more substantive than go learn sed (or whatever program), though learning by example usually works the best for me. ; ) Well sed would be useful to learn, but not as useful as bourne or bash shell (Bourne is more portable). If you have all the MP3s in one directory and no other files. Then it is really easy: for f in *; do mv ${f} ${f}.mp3; done If you have a directory tree populated with mp3's (And only mp3's) You can try: find ~/mp3dir -type f -exec mv '{}' '{}.mp3' \; Be careful with this one though, as you don't want to accidentally run it from the wrong directory. A safer approach might be to make a small shell script: -- ~/bin/renamemp3 #!/bin/sh case $# in 1) file=$1 ;; *) echo usage: $0 'filename' 12 exit 1 esac if ! file ${file} | grep -q 'MPEG 1.0 layer 3'; then echo ${file} is not an mp3 file 12 exit 1 fi case ${file} in *.mp3) echo ${file} already has .mp3 suffix 12 exit ;; *) mv ${file} ${file}.mp3 esac -- ~/bin/renamemp3 Then run: find ~/mp3dir -type f -exec ~/bin/renamemp3 '{}' \; I have not tested this script so use with caution.. (IE Read through it and check that it makes sense, test it on a small dir tree with some copies of files in it. -- David Stanaway signature.asc Description: This is a digitally signed message part
Re: Audio Problems on an iBook
On Thu, 2002-04-25 at 09:18, Will Aoki wrote: On Thu, Apr 25, 2002 at 11:59:45AM +0100, Gareth Bowker wrote: Hi, I've got an iBook which every so often seems to go a bit haywire in the audio department. When I open the lid, so the machine comes out of suspend, most times everything's fine. Every once in a while, I'll get a load of static come out of the left speaker. Other times, it seems that the microphone comes on (afaict it doesn't work at other times :/) at full gain and gets into a feedback loop. In eith case the only option is a reboot. If you have the driver configured as a module, removing and reloading dmasound_pmac might make the noise go away. For me, sometimes suspending and resuming again will also make it go away. Is this a problem with the audio drivers or is it more likely to be a hardware issue? The machine's a new (bought just before Christmas) 12.1 iBook with one of those horrible softmodems. It's been happening quite frequently as of late on my 1st generation iBook2 - it tends to occur at least once a week (most recent was Tuesday, in a library - gack!), although for me it's a rapid clicking noise instead of static or a feedback whistle. (I suppose it could be feedback with a 1/4 second time delay.) I've taken to carrying a stereo plug to insert into the headphone jack when the clicks start, since the driver turns off the speakers when something is connected to the jack. This comes up on the list once every few months. Last I heard the driver maintainer was unable to reproduce it on his TiBook. It happens on my TiBook which is a first generation one. It only happens when I close the lid and keeps feeding back until I mute and unmute the audio. I suspect it is something to do with the mixer settings getting junked when the system goes into sleep. It could be a problem with esd also, as I am running that. Cheers... -- David Stanaway signature.asc Description: This is a digitally signed message part
Running powerbook with the lid down
Hi, My TiBook is acting as a web/mail server at the moment and I would like to be able to put the lid down when I am not logged in, but at the moment this puts the system into sleep mode. What do I need to do so that this action only puts the display into energy saving mode? Cheers... -- David Stanaway signature.asc Description: This is a digitally signed message part
Re: Running powerbook with the lid down
On Thu, 2002-04-25 at 11:49, Bastien Nocera wrote: On Thu, 2002-04-25 at 17:39, David Stanaway wrote: Hi, My TiBook is acting as a web/mail server at the moment and I would like to be able to put the lid down when I am not logged in, but at the moment this puts the system into sleep mode. What do I need to do so that this action only puts the display into energy saving mode? man pmud or pmud -h will tell you the answer. Strongly discouraged though if you don't want to kill your laptop. Thanks.. thats pretty clear... But why is it discouraged? Is it the continous use that is discouraged, or the running while the lid is closed that is (Due to reduced heat dispation maybe)? -- David Stanaway signature.asc Description: This is a digitally signed message part
Alternatives to DPMS OffTime/BlankTime support on PowerBooks
Hi all. Currently, I have had to enable keybindings that run: /sbin/fblevel on|off I had to make /dev/fb0 readable by group video (And add myself to that group) for this to work which I am not sure is a good thing. I would like to emulate the [xset s ...] functionality, or the equivalent options in XF86Config-4: Section ServerFlags Option BlankTime 2 Option OffTime 5 EndSection so that my screenblanking will work based on an idle timeout in X (Either at the gdm login screen, or in a user session). Any tips would be welcome :) -- David Stanaway signature.asc Description: This is a digitally signed message part
Re: Delete key
On Wed, 2002-04-24 at 14:30, [EMAIL PROTECTED] wrote: On Tue, Apr 23, 2002 at 01:23:07PM -0500, John Goerzen wrote: Hi, I have a titanium Powerbook G4. This laptop does not have a key that sends delete. It has a delete key, but Linux uses it as Backspace. Mozilla's mail/news reader wants to use a delete key for deleting a message. How can I fake a delete key? -- John i *think* you can use either ctrl-shift delete or ctrl delete. i remember someone mentioning it a couple months ago. That doesn't work for me. It doesn't phase me too much as I normally use an Apple Pro keyboard which has a regualr keyboard with the exception of Help which funtions as Insert. -- David Stanaway signature.asc Description: This is a digitally signed message part
Audio encoders optimized for altivec (I have a G4)
Hi, I was wondering if anyone could recommend an encoder for me? I use grip as a front end, and tried oggenc from vorbis-tools but I can only encode at half realtime! I have only used mp3 encoders before on intel systems, so maybe this is just a sign that ogg is a more complex transformation than mp3 but I was hoping for at least real time perfomance. It doesn't really matter to me if I creat oggs or mp3s. Any recommendations? -- Cheers David Stanaway signature.asc Description: This is a digitally signed message part
Re: iBook video output
On Tue, 2002-04-16 at 16:26, Paolo Redaelli wrote: Does anyone know if is it possible to use iBook's video output? I would need it for a Free software conference at Politecnico di Milano that will take place on 10 May. Thanks in advance Paolo Redaelli Have a look here and see if it applies to you. http://penguinppc.org/~benh/ Where he talks about m3mirror -- David Stanaway signature.asc Description: This is a digitally signed message part
Re: lxdoom and sound
On Wed, 2002-04-17 at 07:49, Mannequin* wrote: Adrian Cox [EMAIL PROTECTED] writes: On 16 Apr 2002 19:54:14 -0500 Mannequin* [EMAIL PROTECTED] wrote: I've just finished a long and tedious search on Google for anyone who know how to get any sort of sound out of lxdoom. I have a PowerBook G3 Firewire, running 2.4.17-ben0. I'm in the audio group, but as far as that goes, I'm at a loss. Can anyone here help me out? Have you tried any of the other doom packages, such as prboom? I haven't tried this recently, as I recall the SDL packages in testing being broken last time I tried. Yup, same problem. It points out during INIT that it couldn't start it's sound server. Same problem maybe? Are you running X? (Is esd running? If it is then you got problems (Which can be fixed by using LD_PRELOAD or some such thing pointing at an esd dsp compat lib)) Other than that.. You are in group audio, and /dev/dsp and /dev/mixer are rw to group audio? -- David Stanaway signature.asc Description: This is a digitally signed message part
Re: Device name for internal modem on new G4 machine?
On Sun, 2002-04-14 at 11:54, William Brennan wrote: Then I went searching through the mail archives to see what other people have asked and was prompted by one message to type modprobe macserial, so I tried that. The result of entering the command was: macserial: i2c-modem detected, id= 1 PowerMac Z8530 serial driver version 2.0 tty00 at 0x305bo20 (irq=22) is a Z8530 ESCC (internal modem) tty01 at 0x3062000 (irq=23) is a Z8530 ESCC /dev/ttyS0 The output from the driver loading is a little odd. Just add macserial to the end of /etc/modules (Or use modconf to find it), and remeber to enable macserial as a module in the macintosh device drivers section if you rebuild your kernel. -- David Stanaway signature.asc Description: This is a digitally signed message part
Booting off Firewire drives on newworld pmacs?
Hi, I was wondering if anyone has had any luck booting off a firewire drive. The first thing I tried was to get the ofpath for the device, but that doesn't work: ofpath /dev/sda9 ofpath: Driver: sbp2 is not supported Is there anything else I should try? -- David Stanaway signature.asc Description: This is a digitally signed message part
Where is abiword for ppc in woody?
I was wondering why there is no abiword built for powerpc in woody? There are builds for hppa, alpha, ia64, i386, mips, mipsel and sparc But no powerpc :/ Is this likely to be built before release? -- David Stanaway signature.asc Description: This is a digitally signed message part
Re: /dev/dsp
On Mon, 2002-04-08 at 04:01, Thomas Peri wrote: Is there a precompiled kernel that I can use for this purpose (making sound work on my G4, on which I've just installed woody new-powermac)? I'm not particularly up for learning how to build a custom one just yet. Try, dmaaudio-pmac It is in the base set of drivers, and works on my G4 powerbook fine. Also, can someone point me to instructions on replacing the one I've got now with the new one? To have the module load: as root: modconf , then install the dmaaudio-pmac module. (Or just add dmaaudio-pmac to /etc/modules, then modprobe dmaaudio-pmac) To give yourself access to the audio device: adduser yourusername audio And make sure that group audio has read/write access to /dev/dsp and /dev/mixer Now logout of gnome or kde, then log back in. You should have audio now. -- David Stanaway signature.asc Description: This is a digitally signed message part
Re: keyboard problems with macally ikey
On Mon, 2002-04-08 at 07:01, Thomas Peri wrote: I use a macally ikey keyboard, and I've noticed two problems. a) The LEDs are wacky. they start off all un-lit, but when I enable num-lock, they all turn on. Disabling num-lock doesn't turn any of them off, but when caps-lock is enabled, the num-lock LED turns off. When I disable caps-lock, the num-lock LED comes back on. I had this problem with the default kernel, but it went away when I built a new kernel. I have the Apple Pro keyboard. I am currently running: 2.4.19-pre4-ben0 which I got the source from ppckernel.org (I think). I have attached my .config (Put it in the untarred kernel tree before you run make menuconfig). -- David Stanaway # # Automatically generated make config: don't edit # # CONFIG_UID16 is not set # CONFIG_RWSEM_GENERIC_SPINLOCK is not set CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_HAVE_DEC_LOCK=y # # Code maturity level options # CONFIG_EXPERIMENTAL=y # # Loadable module support # CONFIG_MODULES=y CONFIG_MODVERSIONS=y CONFIG_KMOD=y # # Platform support # CONFIG_PPC=y CONFIG_PPC32=y CONFIG_6xx=y # CONFIG_4xx is not set # CONFIG_POWER3 is not set # CONFIG_POWER4 is not set # CONFIG_8xx is not set # CONFIG_8260 is not set CONFIG_PPC_STD_MMU=y CONFIG_ALL_PPC=y # CONFIG_APUS is not set # CONFIG_GEMINI is not set # CONFIG_SMP is not set CONFIG_ALTIVEC=y CONFIG_TAU=y # CONFIG_TAU_INT is not set CONFIG_TAU_AVERAGE=y # # General setup # # CONFIG_HIGHMEM is not set # CONFIG_ISA is not set # CONFIG_EISA is not set # CONFIG_SBUS is not set # CONFIG_MCA is not set CONFIG_PCI=y CONFIG_NET=y CONFIG_SYSCTL=y CONFIG_SYSVIPC=y # CONFIG_BSD_PROCESS_ACCT is not set CONFIG_KCORE_ELF=y CONFIG_BINFMT_ELF=y CONFIG_KERNEL_ELF=y CONFIG_BINFMT_MISC=m CONFIG_PCI_NAMES=y CONFIG_HOTPLUG=y # # PCMCIA/CardBus support # CONFIG_PCMCIA=m CONFIG_CARDBUS=y # CONFIG_I82092 is not set # CONFIG_I82365 is not set # CONFIG_TCIC is not set # # Parallel port support # # CONFIG_PARPORT is not set CONFIG_PPC_RTC=y CONFIG_PPC601_SYNC_FIX=y CONFIG_PROC_DEVICETREE=y CONFIG_PPC_RTAS=y CONFIG_BOOTX_TEXT=y # CONFIG_PREP_RESIDUAL is not set # CONFIG_CMDLINE_BOOL is not set # # Memory Technology Devices (MTD) # # CONFIG_MTD is not set # # Plug and Play configuration # # CONFIG_PNP is not set # # Block devices # CONFIG_BLK_DEV_FD=m # CONFIG_BLK_CPQ_DA is not set # CONFIG_BLK_CPQ_CISS_DA is not set # CONFIG_BLK_DEV_DAC960 is not set CONFIG_BLK_DEV_LOOP=y # CONFIG_BLK_DEV_NBD is not set CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_SIZE=4096 CONFIG_BLK_DEV_INITRD=y # # Multi-device support (RAID and LVM) # # CONFIG_MD is not set # # Networking options # CONFIG_PACKET=y # CONFIG_PACKET_MMAP is not set # CONFIG_NETLINK_DEV is not set CONFIG_NETFILTER=y # CONFIG_NETFILTER_DEBUG is not set CONFIG_FILTER=y CONFIG_UNIX=y CONFIG_INET=y CONFIG_IP_MULTICAST=y # CONFIG_IP_ADVANCED_ROUTER is not set CONFIG_IP_PNP=y CONFIG_IP_PNP_DHCP=y CONFIG_IP_PNP_BOOTP=y CONFIG_IP_PNP_RARP=y CONFIG_NET_IPIP=m CONFIG_NET_IPGRE=m # CONFIG_NET_IPGRE_BROADCAST is not set # CONFIG_IP_MROUTE is not set # CONFIG_ARPD is not set # CONFIG_INET_ECN is not set CONFIG_SYN_COOKIES=y # # IP: Netfilter Configuration # CONFIG_IP_NF_CONNTRACK=m CONFIG_IP_NF_FTP=m CONFIG_IP_NF_IRC=m # CONFIG_IP_NF_QUEUE is not set CONFIG_IP_NF_IPTABLES=m CONFIG_IP_NF_MATCH_LIMIT=m CONFIG_IP_NF_MATCH_MAC=m CONFIG_IP_NF_MATCH_MARK=m CONFIG_IP_NF_MATCH_MULTIPORT=m CONFIG_IP_NF_MATCH_TOS=m # CONFIG_IP_NF_MATCH_AH_ESP is not set CONFIG_IP_NF_MATCH_LENGTH=m CONFIG_IP_NF_MATCH_TTL=m CONFIG_IP_NF_MATCH_TCPMSS=m CONFIG_IP_NF_MATCH_STATE=m CONFIG_IP_NF_MATCH_UNCLEAN=m CONFIG_IP_NF_MATCH_OWNER=m CONFIG_IP_NF_FILTER=m CONFIG_IP_NF_TARGET_REJECT=m CONFIG_IP_NF_TARGET_MIRROR=m CONFIG_IP_NF_NAT=m CONFIG_IP_NF_NAT_NEEDED=y CONFIG_IP_NF_TARGET_MASQUERADE=m CONFIG_IP_NF_TARGET_REDIRECT=m CONFIG_IP_NF_NAT_LOCAL=y CONFIG_IP_NF_NAT_SNMP_BASIC=m CONFIG_IP_NF_NAT_IRC=m CONFIG_IP_NF_NAT_FTP=m CONFIG_IP_NF_MANGLE=m CONFIG_IP_NF_TARGET_TOS=m CONFIG_IP_NF_TARGET_MARK=m CONFIG_IP_NF_TARGET_LOG=m CONFIG_IP_NF_TARGET_ULOG=m CONFIG_IP_NF_TARGET_TCPMSS=m CONFIG_IP_NF_ARPTABLES=m CONFIG_IP_NF_ARPFILTER=m # CONFIG_IP_NF_COMPAT_IPCHAINS is not set # CONFIG_IP_NF_COMPAT_IPFWADM is not set # CONFIG_IPV6 is not set # CONFIG_KHTTPD is not set # CONFIG_ATM is not set # CONFIG_VLAN_8021Q is not set # # # # CONFIG_IPX is not set CONFIG_ATALK=m # # Appletalk devices # # CONFIG_DEV_APPLETALK is not set # CONFIG_DECNET is not set # CONFIG_BRIDGE is not set # CONFIG_X25 is not set # CONFIG_LAPB is not set # CONFIG_LLC is not set # CONFIG_NET_DIVERT is not set # CONFIG_ECONET is not set # CONFIG_WAN_ROUTER is not set # CONFIG_NET_FASTROUTE is not set # CONFIG_NET_HW_FLOWCONTROL is not set # # QoS and/or fair queueing # # CONFIG_NET_SCHED is not set # # Network testing # # CONFIG_NET_PKTGEN is not set # # ATA/IDE/MFM/RLL support # CONFIG_IDE=y # # IDE, ATA and ATAPI Block devices # CONFIG_BLK_DEV_IDE=y # # Please see Documentation/ide.txt for help/info on IDE
[Fwd: Bug#141769: install problems]
This came up on debian-boot, I thought I would spread it to powerpc :) -- David Stanaway ---BeginMessage--- package: install release: 2.2.3 Hi there, I have followed the install procedure for the prep method v1.1 15 oct 1999 when installing debian linux. I have tried the release from 23 januari 2000 on a Motorola system with ppcbug firmware and on a Motorola system with an open firmware. The ppcbug machine hangs after a succesfull install and rebooting. (last messages on the screen are the initialisation of the tty ports) The openfimware machine hangs after a succesfull install and rebooting with the following message kernel panic: VFS:unable to mount rootfs on 08:01 rebooting in 180 seconds. It seems that the bootstring is not accepted (boot hdisk0 bootargs=root=/dev/sda5) When I try to install the potato release on the machine with open firmware the ncr controller hangs while waiting for a serial_number_timeout. About this problem there is a question in the faq related to an IBM E20 machine. Can anyone help me out here please ? Regards Ronald Iemenschot [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] ---End Message--- signature.asc Description: This is a digitally signed message part
Re: firewire harddisk
On Thu, 2002-04-04 at 13:32, jonas bandi wrote: Hi, I would like to use my firewire harddisk with linux. Can anybody point me to information how to do that? You need a patched 2,2 kernel or a later 2.4 kernel (2.4.19-preX-ben0 from ppckernel.org) and the sbp2 module (You will also need scsi disk support) I needed to update the 2.4 kernel from woody bootdisks version 3.0.19 (That had a 2.4.16 kernel I think) before my firewire drive was detected. You will need the package scsiadd to (Well I did) and rescan the scsi bus once the disk is connected and the module is inserted. . You may also like to see the archive of this list and look for this email: From: William R Sowerbutts [EMAIL PROTECTED] To: debian-powerpc@lists.debian.org Subject:Sharing disk space between MacOS X and Linux Date: 03 Apr 2002 11:27:59 +0100 Which goes equally for MacOS9. -- David Stanaway signature.asc Description: This is a digitally signed message part
Using swapfile, instead of swap partition Re: Installing onto a powerbook for the first time
On Wed, 2002-04-03 at 03:22, nik gaffney wrote: you can try using BootX, which loads as an extension from MacOS, then choosing linux from the dialog. this means launching macos every time you want to boot debian.. Only on Oldworld pmacs. another probelm you might have is that debian (and most unix) requires a swap partition (virtual memory) to work best, unless you have lots of RAM. im not sure exactly how to install debian w/out a swap partition. dd if=/dev/zero of=/.swapfile bs=1M count=128 chmod 600 /.swapfile mkswap /.swapfile swapon /.swapfile I think you can put /.swapfile in fstab too /.swapfile noneswapsw 0 0 -- David Stanaway signature.asc Description: This is a digitally signed message part
Re: OT: USB-S/PDIF-Converter
On Sat, 2002-03-30 at 02:17, Daniel Kleine-Albers wrote: Hello, it's a little bit off-topic, but maybe someone of you knows where i can buy such a thing. I need a USB-S/PDIF-Converter Cable to output the sound digitally to my minidisc recorder via an optical link (TOSLINK). Does anyone know about such an adapter or where i should look further? I looked already through the apple website and through cyberport.de and found nothing. Creative has something like that for Firewire. Creative Audigy or something. that is if Firewire is an option. I don't know about linux support for it though. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
How to get debconf aware of the 1152x768 modeline?
I found this modline on the net: Modeline 1152x768 65 1152 1168 1384 1480 768 771 777 806 -hsync -vsync .. but I would like to know how to get that into debconf so that when I upgrade X at some point in the future, I don't have to manually add it again. -- David Stanaway [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]