udev and cdrom on 2.6.13

2005-09-18 Thread Peter Plessas

Dear List,

this might seem like warming up an old topic, but i spent half a day now 
and need some advice:


upgraded to 2.6.13 from kernel.org, discovered that devsd is no more, 
installed udev, and don't get my cdrom drive to appear in /dev/


This is on a pismo, while everything was fine with a 2.6.11 and devfsd.
I learned from various posts that udev might have a bug that won't let 
it create cdrom drives.


As there is a way to hardcode it in the /etc/udev/cdsymlinks.conf or 
cd-aliases.rules file, i did not succeed so far. One thing is how do i 
find out on which bus/address my drive is?


Thanks for any help!
Peter

last, here comes my lsmod, but i think i have everything right:

[EMAIL PROTECTED]:/etc/udev$ lsmod | sort
Module  Size  Used by
agpgart37244  2 drm,uninorth_agp
airport 6464  0
apm_emu 6956  1
autofs422500  0
binfmt_misc11656  0
commoncap   6176  1 realtime
drm82616  2 r128
ehci_hcd   35400  0
evdev   9984  0
fat56636  2 vfat,msdos
firmware_class  9824  2 pcmcia,snd_hdsp
hermes  7488  2 airport,orinoco
i2c_dev10272  0
i2c_keywest10820  0
ieee1394  110544  2 sbp2,ohci1394
ipip   12328  0
lockd  71316  2 nfs
msdos   9760  0
nfs   250172  1
ntfs  125392  0
ohci1394   39380  0
ohci_hcd   24740  0
orinoco48312  1 airport
ov511  91604  0
pcmcia 40108  2
pcmcia_core45560  3 pcmcia,yenta_socket,rsrc_nonstatic
r128   54468  1
realtime5456  0
rsrc_nonstatic 12288  1 yenta_socket
sbp2   26376  0
scsi_mod  109612  3 sd_mod,sbp2,usb_storage
sd_mod 17136  0
snd64564  13 
snd_hdsp,snd_hwdep,snd_seq_oss,snd_rawmidi,snd_seq,snd_seq_device,snd_powermac,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer

snd_hdsp   64580  0
snd_hwdep   9476  1 snd_hdsp
snd_mixer_oss  21536  1 snd_pcm_oss
snd_page_alloc 10312  2 snd_hdsp,snd_pcm
snd_pcm   102436  3 snd_hdsp,snd_powermac,snd_pcm_oss
snd_pcm_oss65248  1
snd_powermac   49732  2
snd_rawmidi26464  2 snd_hdsp,snd_seq_midi
snd_seq65304  5 snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_seq_device  8908  4 snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd_seq_midi7968  0
snd_seq_midi_event  7136  2 snd_seq_oss,snd_seq_midi
snd_seq_oss43700  0
snd_timer  27396  2 snd_seq,snd_pcm
soundcore   9476  2 snd
sungem 36900  0
sungem_phy 10208  1 sungem
sunrpc162216  3 nfs,lockd
udf93892  0
uhci_hcd   44944  0
uninorth_agp9576  1
usb_storage39076  0
usbcore   133784  7 
ov511,usb_storage,ehci_hcd,ohci_hcd,uhci_hcd,usbhid

usbhid 42148  0
vfat   13440  0
videodev9216  1 ov511
yenta_socket   25260  2


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



Re: udev and cdrom on 2.6.13

2005-09-19 Thread Peter Plessas

Hi,

and thanks for the reply!

I have the ide-cd module compiled into the kernel.
So it should be always there.

Hmmmn, strange thing...

Peter

Gioele Barabucci wrote:

Peter Plessas wrote:


upgraded to 2.6.13 from kernel.org, discovered that devsd is no more,
installed udev, and don't get my cdrom drive to appear in /dev/


I have the same problem with my iBook G3.
It seems that the cdrom will not be available until one loads the ide-cd
module. But this module should be loaded by udev once the cdrom is
detected. A strange circular problem.

Anyway I worked around this problem adding the ide-cd module to the list of
modules that are loaded automatically at startup
(/etc/modules.autoload.d/kernel-2.6 in Gentoo).




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



Re: Pismo 2nd monitor support?

2005-09-25 Thread Peter Plessas

Hi!

I have a working external monitor on my Pismo, but since you mention it, 
did the dualhead ever work? I would be very interested in trying it!


rgds, Peter

Wojciech Owczarek wrote:

On friday, september 23th 2005 22:00, vze26m98 wrote:


Didn't find anything in the archives: is there support for the 2nd
monitor connection for Pismo laptops?

I've got a 2.6.8 kernel so maybe I'm behind the times.



I happen to own a pismo :)

You mean external vga monitor or dualhead? From what I heard there was some 
possibility to get dualhead (correct me if I'm wrong, but anyway that was 
kind of legendary since there is no active development for the ati rage thing 
any more). Now about the external monitor, there is a tool caled m3mirror, 
you'l find it on Benjamin Herrenschmidt's page (he's "the linux ppc guy"):


http://penguinppc.org/~benh/m3mirror.c

Also AFAIR this little util refuses to compile on 2.6 kernels out of the box 
so you have to change the source a bit, but here's a version changed by me to 
compile on 2.6:


http://owczi.net/stuff/mac/m3mirror.c

All you have to do then is gcc -o m3mirror m3mirror.c

Also, you need to patch the kernel a bit with a little dirty hack to have the 
tv output and/or mirroring working. If you don't do this, all you're going to 
see on your pismo's external crt will be some sort of black-on-white 
diagnotic output similar to these you see on Sun machines ;]
You need to find a file in your kernel source directory: 
(assuming you have kernel source in /usr/src/linux)

/usr/src/linux/arch/ppc/syslib/prom_init.h

you then have to locate this line: 


}

for (j=0; jthis is a small change related to initiating all the accessible screens, and 
since a Pismo has 2 screens max (lcd + crt) it works ok, and solved the 
problem for me. 


So after you patch and build the kernel all you have to do is:

m3mirror crt:1 lcd:1 to have mirroring mode - both crt and lcd on
m3mirror crt:1 lcd:0 to have the cdr output only (like a projector)
m3mirror crt:0 lcd:1 to get to normal state


Greetings, and hope this helps,


owczi

Btw all stuf I wrote here I found on debian-powerpc list anyway, so you just 
didn't do enough research :>






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



unmet dependencies

2005-10-17 Thread Peter Plessas

Hi List,

wondering if this is my fault or sth else:

Being on a testing debian system here, trying to install mplayer from:
deb http://honk.physik.uni-konstanz.de/~agx/linux-ppc/debian/ mplayer/

but get errors about unmet deps:

 The following packages have unmet dependencies:
 mplayer-powerpc: Depends: libartsc0 (>= 1.4.2-1) but 1.3.2-3 is to be 
installed

 Depends: libdirectfb-0.9-22 but it is not installable
 Depends: libjack0.100.0-0 (>= 0.100.0) but it is not installable

My sources list includes:


#testing
deb http://debian.inode.at/debian/ testing main contrib

#sources
deb-src http://debian.inode.at/debian/ testing main contrib

#the non-US Debian packages.
#deb http://kebo.vlsm.org/debian-non-US/ sarge/non-US main contrib

#non-US sources
#deb-src http://kebo.vlsm.org/debian-non-US/ sarge/non-US main contrib

#mplayer
deb http://honk.physik.uni-konstanz.de/~agx/linux-ppc/debian/ mplayer/

#security
deb http://security.debian.org/ testing/updates main



Any help or ideas are very welcome!


Peter


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



Xorg and DRI on Pismo

2005-10-26 Thread Peter Plessas

Hi, dear fellows,

Having problems getting DRI to work in Xorg on my Pismo.

Full files are here:
mona.mur.at/peter/xorg.conf
mona.mur.at/peter/Xorg.0.log

Here are the interesting parts of the Xorg.0.log:


[EMAIL PROTECTED]:/var/log$ less Xorg.0.log
(WW) R128(0): Video BIOS not detected in PCI space!
(WW) R128(0): Attempting to read Video BIOS from legacy ISA space!
(WW) R128(0): Video BIOS not found!
(WW) R128(0): Static buffer allocation failed -- need at least 9216 kB 
video memory
(WW) R128(0): Static buffer allocation failed -- need at least 9216 kB 
video memory
(WW) R128(0): Static buffer allocation failed -- need at least 9216 kB 
video memory

.
.
.
.
(II) Loading /usr/X11R6/lib/modules/drivers/r128_drv.o
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 0.7
ABI class: X.Org Video Driver, version 0.7
ABI class: X.Org Video Driver, version 0.7
Symbol vgaHWGetIOBase from module 
/usr/X11R6/lib/modules/drivers/r128_drv.o is unresolved!
Symbol xf86ForceHWCursor from module 
/usr/X11R6/lib/modules/drivers/r128_drv.o is unresolved!
Symbol xf86ForceHWCursor from module 
/usr/X11R6/lib/modules/drivers/r128_drv.o is unresolved!

.
.
.
.
(II) R128(0): Direct rendering disabled
(II) R128(0): Direct rendering disabled
(II) R128(0): Direct rendering disabled




If anyone knows some help, oh i'd be so glad to hear!

regards, Peter


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



Re: Xorg and DRI on Pismo

2005-10-27 Thread Peter Plessas

Hi all!

Thanks very much for your help with this issue.

As suggested by Micel Daenzer, switching to a color depth of 16 helped, 
DRI is enabled, my opengl apps running fine again.


So there must be something (i guess inside xorg) that makes it want more 
memory as Ben already expected.


Benjamin Herrenschmidt wrote:


I haven't looked at X.org  r128 code for a while, maybe it's more memory
hungry nowadays. I need to dig out my venerable Pismo and have a look...

Ben.



This time being it works fine for me, so it's no longer a critical 
issue, although i am not sure where there difference between 16bit and 
24bit is in everyday use (sounds stupid but i don't see any difference).
It's just a bit weird when things are stopping to work after an upgrade 
or migration.


Thanks again, have a nice time!

cheers,
Peter


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



Re: Xorg and DRI on Pismo

2005-10-29 Thread Peter Plessas

Thanks Rick,

that definitely cleared all my doubts!

cheers, Peter

Rick Thomas wrote:


On Oct 27, 2005, at 7:18 AM, Peter Plessas wrote:

although i am not sure where the difference between 16bit and 24bit is 
in everyday use (sounds stupid but i don't see any difference).




24-bit depth provides 8 bits per color (red, green and blue) per pixel 
-- for a total of 256 x 256 x 256 = 16.777 Million colors.  16-bit depth 
provides 5 bits per color per pixel for red and blue (I think it is) and 
6 bits per color per pixel for green (I think) -- for a total of 32 x 32 
x 65 = 65536 colors.  The old MacOS-9 video drivers used to refer to 
this difference as "millions of colors" vs "thousands of colors".


24-bit color provides more subtle shading, and this can be important in 
some fine-arts applications.  16-bit color uses less video RAM and may 
be faster in some applications.  On most video screens, and for most 
purposes, the difference is almost invisible.  So it's not at all stupid 
that you don't see any difference in everyday use.


Rick




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



mplayer debs no GPG available

2005-10-31 Thread Peter Plessas

Dera List,

this might have been discussed before, but as i update the apt cache, i 
get an error/warning:


W: GPG error honk.physik.uni-konstanz.de /mplayer Release The following 
signatures could not be verified because the public key is not 
available: NO_PUBKEY BDCE3370C88CEDF6


This persists through various ways of updating.


Any idea?

Thanks,

Peter


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



orinoco patch 13e

2005-11-18 Thread Peter Plessas

Dear List,

trying to compile the great patched sources for the airport card 
including monitor mode, from http://www.paultt.org/downloads/index.html


but the make process stops with:

/usr/src/orinoco-0.13e-ptt/airport.c:273: error: array type has 
incomplete element type
/usr/src/orinoco-0.13e-ptt/airport.c:276: error: field name not in 
record or union initializer
/usr/src/orinoco-0.13e-ptt/airport.c:276: error: (near initialization 
for 'airport_match')
/usr/src/orinoco-0.13e-ptt/airport.c:277: error: field name not in 
record or union initializer
/usr/src/orinoco-0.13e-ptt/airport.c:277: error: (near initialization 
for 'airport_match')
/usr/src/orinoco-0.13e-ptt/airport.c:277: error: 'OF_ANY_MATCH' 
undeclared here (not in a function)
/usr/src/orinoco-0.13e-ptt/airport.c:278: error: field name not in 
record or union initializer
/usr/src/orinoco-0.13e-ptt/airport.c:278: error: (near initialization 
for 'airport_match')
/usr/src/orinoco-0.13e-ptt/airport.c:287: warning: initialization from 
incompatible pointer type

make[2]: *** [/usr/src/orinoco-0.13e-ptt/airport.o] Error 1
make[1]: *** [_module_/usr/src/orinoco-0.13e-ptt] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.13'
make: *** [modules] Error 2




Any similar experiences or ideas?


cheers, Peter


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



Re: orinoco patch 13e

2005-11-22 Thread Peter Plessas

Hi Paul, thanks for the reply and work!

Sadly only marginal success so far, since out of your revised sources, 
only the hermes module loads.


see below.

regards, Peter

Paul TT wrote:



try to download this:

http://www.paultt.org/downloads/orinoco/orinoco-0.13e-ptt2.tar.bz2

let me know if it works, i updated it to kernel 2.6.13.4,
but i couldn't test it on the ibook, since my mom now uses it :-)





gonzo:/usr/src/orinoco-0.13e-ptt2# insmod hermes.ko
gonzo:/usr/src/orinoco-0.13e-ptt2# insmod orinoco.ko
insmod: error inserting 'orinoco.ko': -1 Unknown symbol in module
gonzo:/usr/src/orinoco-0.13e-ptt2# insmod airport.ko
insmod: error inserting 'airport.ko': -1 Unknown symbol in module


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



patch for m3mirror and 2.6.14

2005-11-22 Thread Peter Plessas

Hi List,

just compiled a 2.6.14 on my pismo, and had to change the kernel sources 
to allow the ati m3mirror tool to work.


i did so successfully with my last three kernels using the following 
instructions:


--- prom_init.c.orig2004-09-07 11:31:26.534522288 +0200
+++ prom_init.c 2004-09-07 11:32:20.460324320 +0200
@@ -401,7 +401,7 @@
   break;
   }

-   for (j=0; j	prom_display_paths[i-1] = 
prom_display_paths[i];
	prom_display_nodes[i-1] = 
prom_display_nodes[i];

}


Did change the line
"for (i=j+1; i

2.6.14 and m3mirror broken

2005-12-10 Thread Peter Plessas

Hi List,

being already quite desperate, i try to get the m3mirror tool (to clone 
my Pismo's display on the external VGA out) to run under 2.6.14.


I have old instructions to manually change the file 
/usr/src/linux/arch/ppc/syslib/prom_init.c

at line 401:

from:
for (j=0; jso (following a hint from a posting by Vincent Lefèvre, assuming that 
the index has shifted by one) i changed this to:

for (i=j+1; iI have to give a lecture on tuesday using my trusted notebook and am in 
demand for a vga output then.


Any help is very much appreciated!!!

regards,
Peter


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



Re: 2.6.14 and m3mirror broken

2005-12-11 Thread Peter Plessas

Hi Helge, thanks!

Since i never filed a bug report on the BTS i should find out how to do 
this :-)

Problem is that m3mirror is more a small feature/hack by BenH (afaik).

Helge Kreutzmann wrote:

Did you report this in the BTS to get fixed at least in Debian?



Why don't you go back to the old, fixed kernel (at least for the
presentation)?
bc on the old one, audio is broken, and the talk is about the puredata 
computer music system. bad luck i guess...



Peter


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



Re: 2.6.14 and m3mirror broken

2006-01-14 Thread Peter Plessas

Hi List,

still having the same problem i posted about two months ago, i would 
like to know if something has changed regarding the kernel's behavior 
about screen cloning with m3mirror under 2.6.14?


original message:

http://lists.debian.org/debian-powerpc/2005/12/msg00247.html

regards,

Peter


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



module version magic

2006-03-08 Thread Peter Plessas

Dear List,

Trying to insert a self-compiled module into my kernel.

Getting the following error in modconf:
FATAL: Error inserting ovcamchip 
(/lib/modules/2.6.14.2pp0/kernel/drivers/usb/media/ovcamchip.ko): 
Invalid module format


Dmesg shows:
ovcamchip: version magic '2.6.14.2 preempt gcc-4.0' should be 
'2.6.14.2pp0 preempt gcc-4.0'


uname -a:
Linux gonzo 2.6.14.2pp0 #1 PREEMPT Mon Nov 21 22:20:33 CET 2005 ppc 
GNU/Linux


Could this be due to a compiler version upgrade between kernel and modules?

regards, Peter


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



Re: HOWTO: m3mirror & recent 2.6 kernels

2006-05-17 Thread Peter Plessas

Hi List, Julien,

Thanks for the suggestion how to do it. I'd like to ask 2 questions in 
advance before i recompile my kernel here:


Julien BLACHE wrote:

Hi,

For those of you still relying on m3mirror for slideshows, here's
how to make it work with a modern 2.6 kernel.

Edit arch/powerpc/kernel/prom_init.c, then, in prom_check_displays()


isn't it:
prom_num_displays()
in:
/usr/src/linux/arch/ppc/syslib/prom_init.c?


add a break; statement at the very end of the for() loop.


So this snippet:

for (i = 0; i < prom_num_displays; ++i)
prom_display_paths[i] = PTRUNRELOC(prom_display_paths[i]);

would become:

for (i = 0; i < prom_num_displays; ++i)
prom_display_paths[i] = 
PTRUNRELOC(prom_display_paths[i])break;


right?
This is on a debian 2.6.14 kernel, sources from kernel.org.

Oh, i am looking forward to give my talk on saturday on my box here with 
m3mirror working!

Thanks a lot for this great help!


regards,

Peter


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



Re: HOWTO: m3mirror & recent 2.6 kernels

2006-05-17 Thread Peter Plessas

Hi Julien, List,

thanks for the quick and useful reply.
Figures that i should try with a recent 2.6.16, and yes, i have the 
arch/powerpc/kernel/prom_init.c file.
Now since i am not so much a programmer, i am unsure where exactly to 
add the "break;" statement:


So i go to the declaration of (line 1541):
static void __init prom_check_displays(void)

some lines down there starts a "for" loop (line 1569):
for (node = 0; prom_next_node(&node); ) {

i see the end at (line 1613):
}

so i guess that should look like:
break;
}

right?

sorry for this confusing way to ask, but i am quite desperate to get 
m3mirror to work.


Thanks again!

regards,

Peter

Julien BLACHE wrote:

Peter Plessas <[EMAIL PROTECTED]> wrote:

Hi,



Edit arch/powerpc/kernel/prom_init.c, then, in prom_check_displays()


isn't it:
prom_num_displays()
in:
/usr/src/linux/arch/ppc/syslib/prom_init.c?



No, arch/ppc is deprecated for most modern, non-embedded PPC machines
(and for some/most of embedded ones too).



add a break; statement at the very end of the for() loop.


So this snippet:

   for (i = 0; i < prom_num_displays; ++i)
   prom_display_paths[i] = PTRUNRELOC(prom_display_paths[i]);

would become:

   for (i = 0; i < prom_num_displays; ++i)
   prom_display_paths[i] =
PTRUNRELOC(prom_display_paths[i])break;

right?



Absolutely not :) This looks like it is the old code from arch/ppc,
right ?

If you don't have arch/powerpc, then replace prom_num_displays by 1 in
the above.



This is on a debian 2.6.14 kernel, sources from kernel.org.



Never built this version of the kernel, I waited a bit for the dust to
settle around the ppc -> powerpc move :)

JB.




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



airport monitor patch on 2.6.16

2006-08-06 Thread Peter Plessas

Hi List,

having had great success with PaulTT's orinoco patch on my powerbook, i 
am now on a new kernel (2.6.16) and trying to compile the latest version 
of the patch

http://www.paultt.org/downloads/orinoco/orinoco-0.13e-ptt3.tar.bz2
which fails at:

/home/peter/FROP/orinoco-0.13e-ptt3/orinoco_cs.c:640: error: unknown 
field 'attach' specified in initializer
/home/peter/FROP/orinoco-0.13e-ptt3/orinoco_cs.c:640: warning: excess 
elements in struct initializer
/home/peter/FROP/orinoco-0.13e-ptt3/orinoco_cs.c:640: warning: (near 
initialization for 'orinoco_driver')
/home/peter/FROP/orinoco-0.13e-ptt3/orinoco_cs.c:641: error: unknown 
field 'detach' specified in initializer
/home/peter/FROP/orinoco-0.13e-ptt3/orinoco_cs.c:641: warning: excess 
elements in struct initializer
/home/peter/FROP/orinoco-0.13e-ptt3/orinoco_cs.c:641: warning: (near 
initialization for 'orinoco_driver')

make[2]: *** [/home/peter/FROP/orinoco-0.13e-ptt3/orinoco_cs.o] Error 1
make[1]: *** [_module_/home/peter/FROP/orinoco-0.13e-ptt3] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16.16'
make: *** [modules] Error 2

Hm, can somone think of a reason for this?
This is on Debian testing with
gcc version 4.0.4 20060507 (prerelease) (Debian 4.0.3-3)


Thanks for any possible help and to Paul for those great patches!

Peter



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



hdsploader on pcc

2005-03-19 Thread peter plessas
Dear list,
this is a bit complicated, due to big/little endian issues, perhaps.
I am trying to load the firmware into my hdsp pcmcia card.
I am getting the following:
peter:~# hdsploader
hdsploader - firmware loader for RME Hammerfall DSP cards
Looking for HDSP + Multiface or Digiface cards :
Card 0 : PowerMac Screamer Rev 0
Card 1 : RME Hammerfall DSP at 0xf300, irq 58
Upload firmware for card hw:1
Hwdep ioctl error on card hw:1 : Input/output error.
I am using debian testing, running a 2.6.8 kernel with manually compiled 
1.0.8 alsa drivers on a G3 powerpc laptop.

cardbus version is 11 (rev 0b)
the card is loadable out of osx.
i am stuck here, and don't know what to do now.
any suggestions are very welcome!
thanks,
Peter
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


external usb disk error

2005-04-17 Thread peter plessas
Hi List,
have been wrking on this for some days now...
i have an external (powered) usb disk (macpower icecube,200G), which i 
need to attach to my pismo running 2.6.11, Debian testing.

After connecting the drive to the computer, i see the partitions in 
/proc/partitions:

   8 0  195360984 sda
   8 1   32764536 sda1
   8 2   32764567 sda2
   8 3   32764567 sda3
   8 4   97064730 sda4
The first three partitions are FAT ones.
but as i try to mount them:
mount /dev/sda1/ /mnt
i get:
 /dev/sda1 is not a valid block device
and the partitions disappear from the /proc/partitions file, i have to 
power cycle the disk, and the whole thing starts again.

I had success mounting and using the disk on an x86 debian box.
I am able to mount my memory stick on the pismo.
Any help would be, oh so appreciated!
regards, Peter
--
logs:
dmesg at power up of device:
usb 2-1: new full speed USB device using ohci_hcd and address 14
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 14
usb-storage: waiting for device to settle before scanning
  Vendor: SAMSUNG   Model: SP2014N   Rev: VC10
  Type:   Direct-Access  ANSI SCSI revision: 04
SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
sda: assuming drive cache: write through
SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
sda: assuming drive cache: write through
 /dev/scsi/host3/bus0/target0/lun0: p1 p2 p3 p4
Attached scsi disk sda at scsi3, channel 0, id 0, lun 0
dmesg after some time:
usb 2-1: grep timed out on ep0in
(5 more lines)
usb 2-1: cat timed out on ep0in
(3 more lines)
also:
usb 2-1: khubd timed out on ep0in
usb 2-1: device descriptor read/64, error -110
---
modules of interest:
lsmod(without snd modules, etc.):
sd_mod 16400  0
ohci1394   38404  0
usb_storage36512  0
ohci_hcd   24648  0
sbp2   26064  0
scsi_mod  101308  3 sd_mod,usb_storage,sbp2
ieee1394  115688  2 ohci1394,sbp2
evdev   9984  0
udf94020  0
binfmt_misc11656  0
nfs   239608  0
lockd  70328  1 nfs
sunrpc157448  2 nfs,lockd
ipip   12072  0
xfrm4_tunnel4964  1 ipip
usbhid 41536  0
usbcore   131024  4 usb_storage,ohci_hcd,usbhid
sungem 35780  0
sungem_phy  9568  1 sungem
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: flakey ibook keyboard

2005-05-10 Thread peter plessas
Hi,
Yup, my pismo does this once every some weeks.
nothing about the other strange behavior though.
Peter
Uwe Steinmann wrote:
I have seen repeating keys for quite some time both on a pismo and
an ibook G4. I cannot tell if certain keys are more effected than others.
  Uwe

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


Re: ATI Rage128 video DID work, but...

2004-11-30 Thread peter plessas

Hi!

I had the same problem with my pismo/ATI Rage 128 and just compiled a 
new 2.6.8 with the aforementioned changes to prom_init.c.
After doing the Option UseFBDev and Option sw_cursor changes to my X 
config, the second VGA out works! Thanks very much for the help!

But there is another problem that occurred with my new kernel:

At startup, the system can't "access the hardware clock by any known 
method" resulting in a date of Jan 1904, which makes my Xserver refuse 
to start.


I haven't found any solution yet...
The startup message also suggest that i use the "--debug" method to find 
out which ways it tries to access the hardware clock, but giving a 
"linux --debug" command at the yaboot promt, i see no change

(this is perhaps an alltogether wrong way of using kernel bootup arguments?)

with the new kernel, i was just excluding some unneeded alsa and 
joystick modules, no other changes were made.


Well i'm pretty stuck at this point, and having to set the date&time 
manually at every startup is not an option either.


My logs in /var/log don't say anything about that issue (or i haven't 
found them...)


Does anyone know sth i could try?

Thank you all!
Peter



hwclock can't access /dev/rtc!

2004-12-01 Thread peter plessas

Dear List!

after recompiling my working 2.6.8 kernel on my pismo i get:

pismo# hwclock
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access 
method.


with the new kernel AND the old one. So i have to set the time/date 
manually every startup. Could this be bc of some devfs issue (which i am 
running)? After booting the new kernel for the first time, the date/time 
was correct, but as i was trying to put the computer into sleep mode, it 
crashed, better to say, it shut down immediately.


I need help here, this is Debian Testing with 2.6.8.

regards, Peter Plessas



Re: hwclock can't access /dev/rtc: solved

2004-12-01 Thread peter plessas

Solved!
One more happy user today!

Well, after a boot into OSX and back to debian the time is correct now!
Thanks!

Peter




libdv2-dev? battery monitor?

2004-12-07 Thread peter plessas

Dear List,

i am searching for libdv2-dev via apt, but only have libdv4 available.
Does anyone know the appropriate apt sources?

There is a small panel applet in kde which displays the battery status, 
but only root in its own kde session can run it. I try to enable it via 
the kontrol center, but no chance.

then changing the permissions of /dev/pmu didn't help either.
If anyone has a hint i'd be glad to know!

regards, Peter P.



how to power off an airport card

2004-12-25 Thread peter plessas

Dear List!

Happy XMAS!
I wonder how i can completely power off my airport card (G3 pismo, 
builtin 'classic' airport card) to save battery power.

is:
~$: iwconfig eth1 power off
enough?

cheers, Peter



Re: how to power off an airport card

2004-12-25 Thread peter plessas

Thanks!

Peter

Johannes Mockenhaupt wrote:

On Sat, Dec 25, 2004 at 11:44:19PM +0100, peter plessas wrote:


Dear List!

Happy XMAS!
I wonder how i can completely power off my airport card (G3 pismo, 
builtin 'classic' airport card) to save battery power.

is:
~$: iwconfig eth1 power off
enough?



Not quite, you need to remove the aiport module too. Then the card is
powered off.

Johannes




umlauts once again :)

2004-12-25 Thread peter plessas

Hi!

i know this has been dealt with before, but i didn't find any real 
answers in the list's archive:


I have an US keyboard, how can i type umlauts such as: "ü ö ä"?

(except for using kde's kcharselect applet (which means clicking on the 
desired letter and pasting it to where it's needed?)


thanks again!



liblame?

2005-01-07 Thread peter plessas

Hi List!

Happy NewYear!

i am searching for liblame via apt and can't get any satisfactory package.

i am trying to compile a piece of software which complains at the 
./configure stage:


checking for InitMP3 in -lmp3lame... no

and all i get via apt-search lame is:
liblame0 which is installed, but i don't get any -dev packages.

does anyone know a hint or a sources.list entry for me?

thanks!

Peter



Re: liblame?

2005-01-07 Thread peter plessas

thanks! that's it!

Elimar Riesebieter wrote:


deb http://honk.physik.uni-konstanz.de/~agx/linux-ppc/debian/ mplayer/
apt-get update && apt-get install liblame-dev

HANN
Elimar





Usb harddisk trouble...

2005-06-12 Thread Peter Plessas

Hi List,

still got problems mounting and accessing an external HD (MacPower 
Icecube FW800) through USB.


I think i gotot all required modules loaded:

 vfat   13888  0
 msdos   8928  0
 usb_storage36512  0
 ntfs  130256  0
 fat43772  2 vfat,msdos
 sd_mod 16400  0
 ohci1394   38404  0
 evdev   9984  0
 ohci_hcd   24648  0
 uhci_hcd   42128  0
 ehci_hcd   34952  0
 sbp2   26064  0
 scsi_mod  101308  3 usb_storage,sd_mod,sbp2
 ieee1394  115688  2 ohci1394,sbp2
 udf94020  0
 binfmt_misc11656  0
 usbhid 41536  0
 usbcore   131024  6 
usb_storage,ohci_hcd,uhci_hcd,ehci_hcd,usbhid


At power on, the HD gets listed in /proc/partitions:

   8 0  195360984 sda
   8 1   32764536 sda1  -> FAT32
   8 2   32764567 sda2  -> FAT32
   8 3   32764567 sda3  -> FAT32
   8 4   97064730 sda4  -> ntfs

The partitions were made on a win2k box.

/var/log/messages shows the device:

 Jun 12 17:59:12 gonzo kernel: usb 2-1: new full speed USB device using 
ohci_hcd and address 38
 Jun 12 17:59:12 gonzo kernel: scsi10 : SCSI emulation for USB Mass 
Storage devices

 Jun 12 17:59:13 gonzo usb.agent[19676]:  usb-storage: already  loaded
 Jun 12 17:59:17 gonzo kernel:   Vendor: SAMSUNG   Model: SP2014N 
 Rev: VC10
 Jun 12 17:59:17 gonzo kernel:   Type:   Direct-Access 
  ANSI SCSI revision: 04
 Jun 12 17:59:17 gonzo kernel: SCSI device sda: 390721968 512-byte hdwr 
 sectors (200050 MB)
 Jun 12 17:59:17 gonzo kernel: SCSI device sda: 390721968 512-byte hdwr 
 sectors (200050 MB)
 Jun 12 17:59:18 gonzo kernel:  /dev/scsi/host10/bus0/target0/lun0: p1 
p2 p3 p4
 Jun 12 17:59:18 gonzo kernel: Attached scsi disk sda at scsi10, 
channel  0, id 0, lun 0
 Jun 12 17:59:18 gonzo scsi.agent[19712]:  sd_mod: loaded 
sucessfully (for disk)


As i try to mount the first partition:
 gonzo:~# mount -v -t msdos /dev/sda1 /fw/
 mount: /dev/sda1 is not a valid block device

And /var/log/messages gives:

 Jun 12 18:00:24 gonzo kernel: usb 2-1: reset full speed USB device 
using ohci_hcd and address 38

 Jun 12 18:00:25 gonzo kernel: usb 2-1: scsi_eh_10 timed out on ep0in
 Jun 12 18:00:30 gonzo kernel: usb 2-1: scsi_eh_10 timed out on ep0in
 Jun 12 18:00:30 gonzo kernel: usb 2-1: reset full speed USB device 
using ohci_hcd and address 38

 Jun 12 18:00:31 gonzo kernel: usb 2-1: scsi_eh_10 timed out on ep0in
 Jun 12 18:00:36 gonzo kernel: usb 2-1: scsi_eh_10 timed out on ep0in
 Jun 12 18:00:37 gonzo kernel: scsi: Device offlined - not ready after 
 error recovery: host 10 channel 0 id 0 lun 0

 Jun 12 18:00:37 gonzo kernel: usb 2-1: USB disconnect, address 38

The same is with the other partitions (fat and ntfs(readonly))...

I am stuck here...

A nice post from Eddy Petrisor on this list got me the info to disable 
CONFIG_EFI_PARTION in the kernel conf, but it was always off...


Any ideas what to try next would be very appreciated!

regards,

Peter P.


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



Re: Usb harddisk trouble...

2005-06-13 Thread Peter Plessas

Hi Martin, List,

Thanks for the suggestions, sadly that is mostly stuff i already tried...

CONFIG_MSDOS_PARTITION is on.

> Try if any of these work:

> mount -v -t vfat /dev/sda1 /fw/
timeout

> mount -v -t fat /dev/sda1 /fw/ 
does not exist, it would be "-t msdos"

> mount -v /dev/sda1 /fw/
tries to auto the filesystem, tries htfs first, then gives error of 
course...



If that does not work, run fdisk /dev/sda and see if that works okay.


fdisk and cfdisk show the same timeout and behavior as the mount command.

Strange thing is, that my 64MB memory stick mounts without a problem...
nice difference to the HD at mount is in /var/log/messages:

HD:
Jun 13 16:20:03 gonzo kernel: Attached scsi disk sda at scsi7
STICK:
Jun 13 16:23:06 gonzo kernel: Attached scsi removable disk sda at scsi8
^
Hmmmn
Thanks for the help!!

Peter


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



wlan sniffer under ppc

2005-06-27 Thread Peter Plessas

Hi List,

just as i come across more and more information, that wlan sniffing on 
powerpc with old airport cards seems really hard to do (seems like one 
has to patch the card drivers), i wonder if anyone had success in doing 
it any way?


regards, Peter


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



2nd monitor output

2004-10-14 Thread peter plessas

Dear List,

i just joined the list, and i must say that i started using deb-powerpc 
1/2year ago. By now it became my fav OS on my G3 pismo powerbook. Until 
now i was using debian on i386.


i have to give a talk on my favorite programming language (pure-data) in 
november, and i should have my second monitor (vga) output working by 
that time.


i fond some resources on the net, but i am still not sure how to 
accomplish that task.


1.) do i have to use a ben herrenschmidt kernel to get it working?
2.) how do i have to change my XF86Config?
3.) do i need any additional modules?

i'd be so glad to get any advice, this is the last item on my debian-ppc 
'wishlist' that i want to get running.


thanks, have fun!

Peter Plessas



Re: 2nd monitor output

2004-10-21 Thread peter plessas

Dear List,

i made some progress in the externl VGA-out problem, but one thing 
remains unclear:


ok, i have an
ATI Technologies Inc Rage Mobility M3 AGP 2x (rev 02)

and using the m3mirror tool i can get an external vga monitor to display 
the open firmware startup message:


... ok
copying OF device tree...done
Calling quiesce ...
returning 0x140 from prom_init

Then i i tried to pass the kernel boot arguments: 
video=aty128fb::crt:1.lcd:1


and got on LCD: flickering screen
on external CRT: still only OF boot msg.

LCD and CRT are both at 1024x768

Dunno if i got this right: to mirror an X screen i need to change my 
XConfig file, right?


I don't really need a console on the external CRT.

thanks for the help!

Peter P.



Re: 2nd monitor output

2004-10-22 Thread peter plessas

Hi

Jens Schmalzing wrote:


That said, I am also using a Pismo, and mirroring works perfectly for
me without any additional kernel command line options - the kernel
automatically picks the aty128fb driver, and the aty128fb driver picks
the correct video mode for the LCD, which also works on the CRT.


I am having this problem with a standard debian 2.6.8. kernel and 
compiled-into-the-kernel aty128fb module. What kernel do you use? And 
did your XF86Config need any changes?


thanks,
Peter