Re: [PATCH 001/001] PMAC HD runtime blinking control

2006-01-22 Thread Arkadiusz Miskiewicz
On Sunday 22 January 2006 03:19, Cedric Pradalier wrote:
 Hi,

 I've finally spend the time to mend the patch for control of
 the HD led blinking at runtime. This is a patch against
 2.6.15

I wonder if it's also possible to disable blinking when laptop sleeps?

-- 
Arkadiusz MiśkiewiczPLD/Linux Team
http://www.t17.ds.pwr.wroc.pl/~misiek/  http://ftp.pld-linux.org/



Background beeping?

2006-01-22 Thread Josh Narins
I'm running sid on 2.6.11 and am using ALSA.

After I boot I hear a faint alarm-like sound, with a periodicity a
little smaller than 1 second. 

It does not continue once any sound program (xmms, realplay) takes over,
so I wouldn't call it a major problem, but it can be annoying until I
plug in the speakers and then shut them off.

When I drag a window(blackbox) and the user application loses some 
control I hear it again until the application regains control.

I tried compiling vmlinux-2.6.15 but rebooting resulted in no ALSA at
all.

For no particularly good reason, I've included my ps -ef below:

UIDPID  PPID  C STIME TTY  TIME CMD
root 1 0  0 02:39 ?00:00:01 init [2]  
root 2 1  0 02:39 ?00:00:00 [ksoftirqd/0]
root 3 1  0 02:39 ?00:00:00 [events/0]
root 4 1  0 02:39 ?00:00:00 [khelper]
root 9 1  0 02:39 ?00:00:00 [kthread]
root41 9  0 02:39 ?00:00:00 [kblockd/0]
root54 1  0 02:39 ?00:00:00 [khubd]
root   101 9  0 02:39 ?00:00:00 [pdflush]
root   102 9  0 02:39 ?00:00:00 [pdflush]
root   104 9  0 02:39 ?00:00:00 [aio/0]
root   103 1  0 02:39 ?00:00:00 [kswapd0]
root   702 1  0 02:39 ?00:00:00 [kseriod]
root   997 1  0 02:39 ?00:00:00 /sbin/devfsd /dev
root  1799 1  0 02:39 ?00:00:00 [khpsbpkt]
root  1845 1  0 02:39 ?00:00:00 [knodemgrd_0]
root  2771 1  0 02:39 ?00:00:00 /sbin/syslogd
root  2781 1  0 02:39 ?00:00:00 /sbin/klogd
root  2795 1  0 02:39 ?00:00:00 /usr/sbin/gpm -m
/dev/psaux -t a
root  2846 1  0 02:39 ?00:00:00 /usr/sbin/hddtemp -d -l
127.0.0.
root  2851 1  0 02:39 ?00:00:00 /usr/sbin/inetd
root  3146 1  0 02:40 ?00:00:00 /usr/bin/pbbuttonsd
--configfile
root  3157 1  0 02:40 ?00:00:00 /usr/sbin/powernowd -q
root  3282 1  0 02:40 ?00:00:00 /usr/sbin/sshd
root  3368 1  0 02:40 ?00:00:00 /usr/sbin/noflushd -n 1
/dev/hda
root  3412 1  0 02:40 tty1 00:00:00 /bin/login --
root  3418 1  0 02:40 tty2 00:00:00 /sbin/getty 38400 tty2


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



Re:

2006-01-22 Thread Shaver Kara






Chapman Rosalind


Re: pbbuttonsd beta on new Powerbook5,8

2006-01-22 Thread Michael Schmitz
  opens them all. But event4 ... event31 all report ENODEV.
 
  Just wondering ... Does the USB keyboard driver report events at all?
  I'll check that with an external keyboard ASAP.

 I have activity detection working now. I have no idea what made it work,
 might be something to do with mouseemu (which was stopped at that moment
 because it ate 100% CPU). But it's not determinsitic; I first thought it
 was a plain incompatibility with mouseemu, so stopping that should make
 everything work.

Well, the 'mouseemu eats the CPU' bug has been popping up on occasion, I
thought we had fixed that by now.

 Well, no luck, it's not that easy. Neither the fact that mouseemu is
 running in parallel, nor the order in which thez are started seems to
 matter.

There's a possible race between creation of the uinput device mouseemu
uses to forward events, and the opening of this device by later apps. And
there's been problems with the number of event devices being checked by
either mouseemu or pbbuttonsd (forgot which). And there may be input
devices that are fake (no real device attached, I have two such). Check
/sys/class/input/input*/name to see what is what, and if the virtual
devices mouseemu created are really there. Then check which of these
pbbuttonsd uses, and if there's any events going over those devices.
This may sound fuzzy, or even obvious, but I can't give more specific
hints off the cuff...

 There is one change, though, I replaced the earlier FN-key patch
 (http://patchwork.ozlabs.org/linuxppc/patch?id=3856) with the newer one
 (http://patchwork.ozlabs.org/linuxppc/patch?id=4127). But I can't se
 what impact this can have on event detection.

None, I'd hope.

Michael


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



Try to do an homebrew WLan-Acess-Point on a Powerbook Wallstreet

2006-01-22 Thread Rainer Gutkas

Hello all!

I try to use an old G3 Powerbook Wallstreet with broken display as Wlan 
Access Point. I got a Orinoco card, which should do the job quite well. 
My problem is how to tell debian/ubuntu linux to use the hostap drivers 
instead of hermes/orinoco dirvers, so I got master mode available.

Can anybody help me.

In the moment I also tried to do the same under OS9, but as I need also 
a name-server I'd prefer linux.


Thanks in forth, rainer
begin:vcard
fn:Rainer Gutkas
n:Gutkas;Rainer
adr;quoted-printable:;;Kleiststr. 36;St.P=C3=B6lten;;A-3100;Austria
email;internet:[EMAIL PROTECTED]
title:Bakk. techn. (B.Sc.)
version:2.1
end:vcard



Re: Background beeping?

2006-01-22 Thread Michel Dänzer
On Sun, 2006-01-22 at 08:50 -0500, Josh Narins wrote:
 I'm running sid on 2.6.11 and am using ALSA.
 
 After I boot I hear a faint alarm-like sound, with a periodicity a
 little smaller than 1 second. 

What kind of machine? I've been getting something like that when
('something' thinks that) the battery is empty.


-- 
Earthling Michel Dänzer  | Debian (powerpc), X and DRI developer
Libre software enthusiast|   http://svcs.affero.net/rm.php?r=daenzer



Re: Background beeping?

2006-01-22 Thread Josh Narins
 On Sun, 2006-01-22 at 08:50 -0500, Josh Narins wrote:
  I'm running sid on 2.6.11 and am using ALSA.
  
  After I boot I hear a faint alarm-like sound, with a periodicity a
  little smaller than 1 second. 
 
 What kind of machine? I've been getting something like that when
 ('something' thinks that) the battery is empty.

TiBook G4 (Nov 02 model)

However, the battery is nearly hosed. Lasts only a few minutes. If
anyone knows a trick to see if this is a permanent situation or
something dependent on battery memory please let me know.

-Josh


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



Re: Try to do an homebrew WLan-Acess-Point on a Powerbook Wallstreet

2006-01-22 Thread Eric Cooper
On Sun, Jan 22, 2006 at 03:36:54PM +0100, Rainer Gutkas wrote:
 I try to use an old G3 Powerbook Wallstreet with broken display as Wlan 
 Access Point. I got a Orinoco card, which should do the job quite well. 
 My problem is how to tell debian/ubuntu linux to use the hostap drivers 
 instead of hermes/orinoco dirvers, so I got master mode available.

Use cardctl ident to get the name of your card, then check the
hostap_cs.conf and config files in /etc/pcmcia to make sure the right
driver is being bound to your card.  You may have to comment out a
binding to orinoco_cs, or add one to hostap_cs, to get it to work.

You need to do /etc/init.d/pcmcia reload to get the cardmgr to see
the new card bindings, and maybe cardctl eject ; cardctl insert as
well.  Hope this helps.

-- 
Eric Cooper e c c @ c m u . e d u


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



APUS Kernel panics

2006-01-22 Thread nfs
I am having trouble with sarge 2.4.27-apus on my A1200 with Blizzard PPC 603e+
card with 64Meg ram and SCSI controller with one CD-ROM attached.

I was initially aware of the problem when attempting to use the dmasound_paula
module and ogg123 to play some .ogg files. About 1/2 second of the file plays
and then I get this message (paraphrased)

Oops: Kernel Panic
Access of bad area Sig: 11
command ogg123

or something like that. I also get a load of numbers that are meaningless to me
and I can't remember them. This occurs for other software that uses sound like
sidplay etc.

But here is the interesting bit. I also get similar
messages about command swapper randomly. The kernel works for an hour or two
and then it panics. Could this be anything to do with memory?

here is the bootstrap command line if that helps

bootstrap --apus -k vmlinuz-2.4.27-apus root=/dev/hda3 nobats
video=amifb:pal-lace debian-installer/noframebuffer

Thanks for any help ppl.
Nick



--
University of St Andrews Webmail: https://webmail.st-andrews.ac.uk


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



Re: pbbuttonsd beta on new Powerbook5,8

2006-01-22 Thread Matthias Grimm
On Sun, 22 Jan 2006 14:34:54 +0100 (CET)
Michael Schmitz [EMAIL PROTECTED] wrote:

  Well, no luck, it's not that easy. Neither the fact that mouseemu is
  running in parallel, nor the order in which thez are started seems to
  matter.

There are a couple of applications fiddle around with /dev/input/event
so I try to bring some light into it.

Udev is responsible for creating an /dev/input/event% device for each
HID. Udev is the most comfortable way to have up-to-date devices
in /dev. If you don't have udev running, be sure that each HID is
represented by an event devive in /dev/input/.

Pbbuttonsd opens all /dev/input/event% devices and uses them for input
(at least to reset the user idle timer). If autorescan = yes (which
should be set by default now), devices will be automatically added or
removed as soon as they appear or vanish. So called 'fake' devices,
created for example by the uinput kernel driver, will be used as usual.
Pbbuttonsd makes no difference between a real event device or one from
uinput. With the new beta version there is no limit anymore for used
event devices. In worst case all 32 devices will be read.

Mouseemu exclusively locks all input devices related to mice for full
control. After that it routes the mouse events through a newly created
input device (or two of them). This way it can filter out unwanted
mouse events or create new ones. Pbbuttonsd can't access the locked
event devices anymore but it uses the newly created uinput devices
instead. You won't see any difference in behaviour.

Synaptics Trackpad driver, often used on recent PowerBooks, also locks
all mouse input events for exclusive use but in contrast to mouseemu it
doesn't create an uinput device to let other applications receive mouse
events. This problem is well known and Luca Bigliardi prepared a patch
to work around this problem. Furthermore some people including Luca are
working on a final solution of this problem. If you used the unmodified
synaptics driver you would deprive pbbuttonsd and mouseemu of mouse
events.

I hope this will help to identify where the problems come from or at
least give some hinte where to look at next.

 Best Regards
   Matthias


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



Re: pbbuttonsd: mouse not activity?

2006-01-22 Thread Mich Lanners
Hi all,

On  21 Jan, this message from To: debian-powerpc@lists.debian.org echoed
through cyberspace:
 However, it would seem that mouse movements are not counted as
 activity? Is that so by design, concious decision, or is it a bug?

As explained by Matthias Grimm in another mail, it would appear to be
the synaptics touchpad driver reading mouse events in exclusive mode.

I'll check in that direction.

Cheers

Michel

-
Michel Lanners |   Read Philosophy.  Study Art.
23, Rue Paul Henkes|Ask Questions.  Make Mistakes.
L-1710 Luxembourg  |
email   [EMAIL PROTECTED]|
http://www.cpu.lu/~mlan| Learn Always. 


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



Re: pbbuttonsd beta on new Powerbook5,8

2006-01-22 Thread Mich Lanners
Hi all,

On  22 Jan, this message from Michael Schmitz echoed through cyberspace:
 Well, the 'mouseemu eats the CPU' bug has been popping up on occasion,
 I thought we had fixed that by now.

Doesn't seem to be the case...

 Well, no luck, it's not that easy. Neither the fact that mouseemu is
 running in parallel, nor the order in which thez are started seems to
 matter.

Correction: it does seem that running mouseemu blocks the special keys,
as well as blocking pbbuttonsd's keyboard activity detection.

 There's a possible race between creation of the uinput device mouseemu
 uses to forward events, and the opening of this device by later apps.

Obvious. However pbbuttonsd does rescan devices, so after the rescan
interval it will catch changes in event devices.

 And there's been problems with the number of event devices being
 checked by either mouseemu or pbbuttonsd (forgot which). And there may
 be input devices that are fake (no real device attached, I have two
 such). Check
 /sys/class/input/input*/name to see what is what, and if the virtual
 devices mouseemu created are really there.

All 32 event devices are there (udev disabled). mouseemu does create
it's event device corresponding to /dev/input/uinput. If mouseemu
wouldn't relay keyboard events, the keyboard wouldn't work at all.

It seems to be more a problem of mouseemu filtering out _some_ events?

 Then check which of these
 pbbuttonsd uses, and if there's any events going over those devices.
 This may sound fuzzy, or even obvious, but I can't give more specific
 hints off the cuff...

As it clearly is mouseemu related, I'll check that path.

 There is one change, though, I replaced the earlier FN-key patch
 (http://patchwork.ozlabs.org/linuxppc/patch?id=3856) with the newer
 one (http://patchwork.ozlabs.org/linuxppc/patch?id=4127). But I can't
 se what impact this can have on event detection.
 
 None, I'd hope.

But it seems the earlier patch simply didn't work. Anyway, that part is
working now.

Thanks, and cheers

Michel

-
Michel Lanners |   Read Philosophy.  Study Art.
23, Rue Paul Henkes|Ask Questions.  Make Mistakes.
L-1710 Luxembourg  |
email   [EMAIL PROTECTED]|
http://www.cpu.lu/~mlan| Learn Always. 


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



Re: [PATCH 001/001] PMAC HD runtime blinking control

2006-01-22 Thread Benjamin Herrenschmidt
On Sun, 2006-01-22 at 12:56 +0100, Arkadiusz Miskiewicz wrote:
 On Sunday 22 January 2006 03:19, Cedric Pradalier wrote:
  Hi,
 
  I've finally spend the time to mend the patch for control of
  the HD led blinking at runtime. This is a patch against
  2.6.15
 
 I wonder if it's also possible to disable blinking when laptop sleeps?

Not that I know.. this is entirely done by the PMU.

Ben.



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



Re: Powerbook5,8: FN key mode

2006-01-22 Thread Michael Hanselmann
Hello Matthias

On Sat, Jan 21, 2006 at 11:52:12PM +0100, Matthias Grimm wrote:
 It would be nice if you could test this feature and tell me the results.

It didn't work from the start, but the patch below fixes it. After
applying the patch, it works.

Btw.: The illumination patch I wrote was based on work by René
Nussbaumer, who found out that the LMU is not on the I²C bus anymore on
the PowerBook5,8. Maybe you want to put that into the ChangeLog, because
not all of the credit should go to me.

Greets,
Michael

diff -urp pbbuttonsd-0.7.3-6g.orig/src/module_pmac.c 
pbbuttonsd-0.7.3-6g/src/module_pmac.c
--- pbbuttonsd-0.7.3-6g.orig/src/module_pmac.c  2006-01-22 17:48:40.0 
+0100
+++ pbbuttonsd-0.7.3-6g/src/module_pmac.c   2006-01-22 20:31:02.0 
+0100
@@ -120,7 +120,7 @@ pmac_init ()
TRACKPAD_NOTAP_NAME, TRACKPAD_TAP_NAME, 
TRACKPAD_DRAG_NAME, TRACKPAD_LOCK_NAME, NULL);
registerCfgOptionList (sid, KBDMode, TAG_KBDMODE, 0,
N_('KEYBOARD_FNDISABLED_NAME', 
'KEYBOARD_FNBACK_NAME' or 'KEYBOARD_FNTOP_NAME'),
-   KEYBOARD_FNDISABLED, KEYBOARD_FNBACK_NAME, 
KEYBOARD_FNTOP_NAME, NULL);
+   KEYBOARD_FNDISABLED_NAME, KEYBOARD_FNBACK_NAME, 
KEYBOARD_FNTOP_NAME, NULL);
registerCfgOptionList (sid, Batlog, TAG_BATLOG, 0,
N_('BATLOG_NONE_NAME', 'BATLOG_CYCLE_NAME' 
or 'BATLOG_LOG_NAME'),
BATLOG_NONE_NAME, BATLOG_CYCLE_NAME, 
BATLOG_LOG_NAME, NULL);
diff -urp pbbuttonsd-0.7.3-6g.orig/src/module_pmac.h 
pbbuttonsd-0.7.3-6g/src/module_pmac.h
--- pbbuttonsd-0.7.3-6g.orig/src/module_pmac.h  2006-01-22 17:48:40.0 
+0100
+++ pbbuttonsd-0.7.3-6g/src/module_pmac.h   2006-01-22 20:30:58.0 
+0100
@@ -28,7 +28,7 @@
 #define DEFAULT_ADB/dev/adb
 #define DEFAULT_BATLOG /var/lib/pbbuttons/%03d_battery.log
 #define DEFAULT_BATCYCLE   /var/lib/pbbuttons/battery.cycle
-#define PATH_FNMODE/sys/modules/usbhid/parameters/pb_fnmode
+#define PATH_FNMODE/sys/module/usbhid/parameters/pb_fnmode
 
 /* definitions for input device config */
 #define TRACKPAD_NOTAP_NAMEnotap

-- 
Gentoo Linux developer, http://hansmi.ch/, http://forkbomb.ch/
Unix weanies are as bad at this as anyone.
 -- Larry Wall in [EMAIL PROTECTED]


pgpn9m06BgM2a.pgp
Description: PGP signature


Re: G5 fan revving problems.

2006-01-22 Thread Benjamin Herrenschmidt
On Fri, 2006-01-20 at 16:09 +0100, Brian Durant wrote:
 Hi, I am new to the list. I joined manly because I was looking for a  
 list that would have a PPC centric bent so that I could discuss  
 problems I run into.  I have a 1.8 GHz PowerPC G5, running OS X Tiger  
 (10.4.4), so my first concern is about the fan revving problem. 

I have no idea what the fan revving problem is ... Can you be more
specific ?

 I  
 have tried the Ubuntu Dapper flight 3 PPC live-CD as a starting point  
 to see if I could get a Debian based Linux installed on an extra  
 internal hard disk /(SATA). For some reason, Ubuntu thought that the  
 problem was solved with their latest kernel, but my experience is  
 that just after a couple of minutes off use, the fans start revving  
 like a jet engine. My question is whether there is a solution to this  
 or if this means that all Debian based (or even RPM based distros)  
 will still have the same problem?

Oh, ok.. you mean the fans going full speed ? That's a matter of thermal
control not working on the machine. It's the single CPU G5 names
PowerMac9,1 in /proc/device-tree/model right ?

It should indeed work with recent kernels. I got some code in 2.6.15 but
there might still have been unresolved issues. Make sure you load the
windfarm_pm91 module and let us know... If it doesn't work, try an up to
date git snapshot. If still doesn't work, let me know and we'll track
the problem down.

Ben.



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



Re: system hosed by udev in dist-upgrade

2006-01-22 Thread Matt Price
cross posting this to deb-powerpc, b/c I think this may be a
ppc-specific problem

On 1/22/06, Linas Zvirblis [EMAIL PROTECTED] wrote:
 Matt Price wrote:

  So it semes to me I have to somehow temporarily run udev, or
  temporarily disable udev, or something, so that I can create the
  /dev/hda devices I need to mount the relevant partitions.  BUt I don't
  know how to do that.

 Try running MAKEDEV, it should give all the missing devices the old
 fashioned way. If that does not work, mknod /dev/hda b 3 0.



tried this with no success -- /dev/hda10 still doesn't get recreated.

Let me reiterate the main problem -- I tried to dist-upgrade my system
(debian sid, about 6 months outdated, running on a blue  white Mac
g3), and when udev wouldn't install, I apt-getted a newer kernel to
try again; rebooted,  now my system doesn't find /dev/hda -- which is
where my /var is located, which means apt-get doesn't work at all, so
udev can't be installed...

just tried creating the devices manually as per Linas's suggestion but
no go.  took a peek in syslog and it seems the cdrom drive is being
identified as /dev/hda; the native pci bus is invisible.  tried
modprobing the generic ide driver but, while that succeeded, no
/dev/hd devices were created.  So it appears to me that my ide bus is
now invisible somehow.

tried lspci and it seems some things are missing -- e.g. no ethernet
device is showing (and in fact ifup eth0 gives a no such device
error); but there is a listing for
Silicon Image, Inc.. PCI 0646 (rev 5)

Not sure if that is my ide controller or not.

Anyway, so something fundamental appears to be screwed up, and Im not
sure how to proceed next.  I of course appreciate any and all advice
on how to proceed.  thanks!

Matt


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





Re: pbbuttonsd beta on new Powerbook5,8

2006-01-22 Thread Mich Lanners
Hello Matthias,

[writing this mail a second time, powerbook went to sleep and crashed on
wake while replying. Arghhh...]

On  22 Jan, this message from Matthias Grimm echoed through cyberspace:
 There are a couple of applications fiddle around with /dev/input/event
 so I try to bring some light into it.

Thanks a lot for that, it helped tremendously.

 Udev is responsible for creating an /dev/input/event% device for each
 HID. Udev is the most comfortable way to have up-to-date devices
 in /dev. If you don't have udev running, be sure that each HID is
 represented by an event devive in /dev/input/.

udev disabled here, and all 32 event devices exist in the statuc /dev.

 Pbbuttonsd opens all /dev/input/event% devices and uses them for input
 (at least to reset the user idle timer). If autorescan = yes

Checked, I have that.

 devices will be automatically added or
 removed as soon as they appear or vanish.

That doesn't seem to work. Input devices with mouseemu stopped:

/sys/class/input/input5/name: Apple Computer Apple Internal Keyboard / Trackpad
/sys/class/input/input5/event2
/sys/class/input/input6/name: appletouch
/sys/class/input/input6/event3
/sys/class/input/input7/name: Apple Computer Apple Internal Keyboard / Trackpad
/sys/class/input/input7/event4
/sys/class/input/input8/name: HID 05ac:1000
/sys/class/input/input8/event0
/sys/class/input/input9/name: HID 05ac:1000
/sys/class/input/input9/event1

pbbuttonsd opens event0 and event2 only. X has event3 and mice open.

With mouseemu running, I have these devices:

/sys/class/input/input26/name: Mouseemu virtual keyboard
/sys/class/input/input26/event5
/sys/class/input/input27/name: Mouseemu virtual mouse
/sys/class/input/input27/event6
/sys/class/input/input5/name: Apple Computer Apple Internal Keyboard / Trackpad
/sys/class/input/input5/event2
/sys/class/input/input6/name: appletouch
/sys/class/input/input6/event3
/sys/class/input/input7/name: Apple Computer Apple Internal Keyboard / Trackpad
/sys/class/input/input7/event4
/sys/class/input/input8/name: HID 05ac:1000
/sys/class/input/input8/event0
/sys/class/input/input9/name: HID 05ac:1000
/sys/class/input/input9/event1

mouseemu has event0, event1 and event2 open, as well as uinput (two times).
However, pbbuttonsd does _not_ seem to reopen any devices, in particular
after a few minutes it still hasn't opened the uinput event devices.

After booting the powerbook again (tomorrow) I need to check whether
stopping/starting pbbuttonsd makes it open the uinput event devices.

 Mouseemu exclusively locks all input devices related to mice for full
 control. After that it routes the mouse events through a newly created
 input device (or two of them). This way it can filter out unwanted
 mouse events or create new ones. Pbbuttonsd can't access the locked
 event devices anymore but it uses the newly created uinput devices
 instead. You won't see any difference in behaviour.

So no problem to be expected here, is there? And pbbuttonsd should be
able to detect buttons 23 as activity, in contrast to mouse movement
and button1 (whose event dev is locked by synaptics), since those are
created on the new uinput event device, accessible to pbbuttonsd? I
haven't noticed this, but I would need to check.

 Synaptics Trackpad driver, often used on recent PowerBooks, also locks
 all mouse input events for exclusive use but in contrast to mouseemu
 it doesn't create an uinput device to let other applications receive
 mouse events. This problem is well known and Luca Bigliardi prepared a
 patch to work around this problem. Furthermore some people including
 Luca are working on a final solution of this problem. If you used the
 unmodified synaptics driver you would deprive pbbuttonsd and mouseemu
 of mouse events.

OK, work to be done here. That explains why mouse movement isn't
detected as activity.

 I hope this will help to identify where the problems come from or at
 least give some hinte where to look at next.

It still doesn't explain why Fn'ed keys aren't detected by pbbuttonsd
anymore while mouseemu is running.

Is mouseemu also locking the keyboard exclusively? That, plus the fact
that pbbuttonsd isn't opening the uinput event dev's, would be the
explanation then.

Thanks to all so far :-)

Cheers

Michel

PS Does anybody know what all those input devices correspond to?

-
Michel Lanners |   Read Philosophy.  Study Art.
23, Rue Paul Henkes|Ask Questions.  Make Mistakes.
L-1710 Luxembourg  |
email   [EMAIL PROTECTED]|
http://www.cpu.lu/~mlan| Learn Always. 


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



g3 beige won't boot off of boot floppy

2006-01-22 Thread Ben Wehrspann

Hello all-

Recently I aquired a g3 (beige) power mac it has Open Firmware 2.4 I 
used system disk to patch the OF though I must admit I don't know if it 
actually did anything when I hit the save button.  ie it didnt give me 
any indication of progress etc.


From my reading the only way to boot this mac is through the floppies 
as it is still *Old World*. 

I downloaded the boot.img file and ofonlyboot.img file from both the 
floppy and floppy-2.4 directories (I don't know what the difference is) 
at the following site:


http://archive.progeny.com/debian/dists/sarge/main/installer-powerpc/current//images/powerpc/

I created 4 floppies from the MakeDebianFloppy.sit utility. 
ie [1]boot.img  [2]ofonlyboot.img from the floppy directory / 
[3]boot.img  [4]ofonlyboot.img from the floppy-2.4 directory


I have inserted each of these floppies at startup and each time the 
computer ejects the floppy.  Is there some way to make this computer 
accept those bootup disks?  Is there a command I can enter into the OF 
prompt to force a floppy boot?  According what I've read I should be 
able to do this right?


Or do I need to partition with the Mac disk utility and somehow use quik 
to boot into an installer like you would on a nubus machine?  If this is 
a the case could you point me in the direction of a step by step for 
this sort of operation.


Thanks in advance,

Ben

--
Ben Wehrspann
715 7th St
PO Box 464
Jesup, Iowa 50648-0464
[EMAIL PROTECTED]

begin:vcard
fn:Ben Wehrspann
n:Wehrspann;Ben
email;internet:[EMAIL PROTECTED]
tel;work:319-827-1151
tel;fax:319-827-1110
tel;home:319-827-6000
version:2.1
end:vcard



Re: 2.6.16-rc1

2006-01-22 Thread Emmanuel Galatoulas

Roger Leigh wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Has anyone managed to get linux-2.6.16-rc1 to boot successfully on a
powermac?  It appears to detect the IDE controller and HDD on my mac
mini, but then fails to mount the root fs.  (It's hard to double check
this because the USB keyboard isn't initialised by the failure, so I
can't scroll back to check.)


Regards,
Roger

- -- 
Roger Leigh

   Printing on GNU/Linux?  http://gutenprint.sourceforge.net/
   Debian GNU/Linuxhttp://www.debian.org/
   GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ http://mailcrypt.sourceforge.net/

iD8DBQFD0lJuVcFcaSW/uEgRAmrJAJ49lyl7LusZHTCYBBho9uXSPut+IgCg06DO
5M362VC1XyeIMyRpi7rXcsI=
=7T9b
-END PGP SIGNATURE-


 


yeah

same here!!!



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



Re: bcm43xx finally working, with encryption too!!!

2006-01-22 Thread Aaron Kerr

I have found that scanning before dhcp is vital to having a working
bcm43xx interface. When I try to bring up my bcm43xx interface without
scanning (until I see a network) dhclient fails to get an IP address. If
I scan until I see my network dhclient works every time (well almost
every time). Like a lot of my pre-up script I do not know why it is
needed but it seems to make it work (see: modprobe -r, ifconfigs and scans).

Aaron


Johannes Berg wrote:
 On Fri, 2006-01-20 at 08:01 -0500, Shreyas Ananthan wrote:
 
 
I tried this approach, it seems, at least from the behavior in my
ibook, that the commands with post-up run after the dhcp command. So
it still doesn't do the iwlist scanning before dhcp command.
 
 
 I don't really understand why you all want to scan before doing stuff.
 It isn't necessary. softmac scans automatically before associating.
 
 johannes




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



keyservers (was: public key is not available)

2006-01-22 Thread Peter Palfrader
On Wed, 18 Jan 2006, Hans Ekbrand wrote:

 Here are some of the servers that my nameserver replies to the above
 command:
 
 www.at.pgp.net. A   195.64.0.35
 www.au.pgp.net. A   128.232.0.23
 binwww.pgp.net. A   128.232.0.23
 www.ca.pgp.net. A   192.139.46.2
 wwwkeys.ca.pgp.net. A   129.128.11.77
 www.ch.pgp.net. A   129.132.119.134
 wwwkeys.ch.pgp.net. A   212.55.198.213
 www.cl.pgp.net. A   200.2.116.75

Please do not use them.  Most of them use old, broken software that does
horribly things to keys.

subkeys.gpp.net is a sane rotation to use, as is
random.sks.keyserver.penguin.de if you would like a bigger one.

-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
messages preferred.| : :' :  The  universal
   | `. `'  Operating System
 http://www.palfrader.org/ |   `-http://www.debian.org/


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



Re: Linux on new iMac G5 PowerMac12,1 -- OK, Windfarm???

2006-01-22 Thread Percy Zahl
I now got a full running Debian Linux system setup on my iMac G5  
PowerMac12,1 i-Sight using the 2.6.16-rc1 kernel and netinstall via  
Debian etch.


-Network (eth0): OK
-using append=video=ofonly: works OK
-needed to disable any X attempts and gdm (crashes), console only  
works OK. (No X)

-build-in hardisk workes fine

I have one question about the windfarm stuff, what happens here?:

if I boot into Linux via yaboot directly (no OF commands), then the  
Windfarm stays at some comfortable (and usual) slow speed for some  
time, as I was playing around in linux suddenly it speeded up to max  
and stayed there. What happens here, is there some kind of emergency  
control already?


-Percy


On Jan 22, 2006, at 12:58 AM, Benjamin Herrenschmidt wrote:


On Sat, 2006-01-21 at 23:01 -0500, Percy Zahl wrote:

Very good and thx! This works and I was able to start the Debian
installer, to partition the disk, init with ext3 and begin the Net-
Install. DHCP worked just fine.
Let's wait for X support then, would be kind of nice to have.

However, the graphical Linux Penguin Logo of the kernel showed up OK!


Yes, with ofonly it sticks to the 8 bits framebuffer initialized by
the firmware... enough to display the penguin but not much more
unfortunately...

I'm not sure yet what's up with the video. I might ask you to send me
register dumps and to try various things later, maybe next week, I'm a
bit offline at the moment (vacation).

Ben.





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



Re: Linux on new iMac G5 PowerMac12,1 -- OK, Windfarm???

2006-01-22 Thread Benjamin Herrenschmidt
On Sun, 2006-01-22 at 21:54 -0500, Percy Zahl wrote:
 I now got a full running Debian Linux system setup on my iMac G5  
 PowerMac12,1 i-Sight using the 2.6.16-rc1 kernel and netinstall via  
 Debian etch.
 
 -Network (eth0): OK
 -using append=video=ofonly: works OK
 -needed to disable any X attempts and gdm (crashes), console only  
 works OK. (No X)
 -build-in hardisk workes fine
 
 I have one question about the windfarm stuff, what happens here?:
 
 if I boot into Linux via yaboot directly (no OF commands), then the  
 Windfarm stays at some comfortable (and usual) slow speed for some  
 time, as I was playing around in linux suddenly it speeded up to max  
 and stayed there. What happens here, is there some kind of emergency  
 control already?

It's the hardware going into watchdog mode... The hardware detects it
hasn't been ping by the operating system for a while and ramps all
fans up.

Ben.



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



ybin -v not working after OS X upgrade

2006-01-22 Thread Brian C

Hi,

I've read the archives when others have upgraded their OS X partitions 
and had their boot process munged in some way. Their described solutions 
aren't working for me.


I have been dual booting Debian and 10.3.7 for a long time b/c I knew 
the upgrade would somehow destroy my Debian. Well, I upgraded to 10.3.9 
today and sure enough, here's the error I can't escape when I boot Debian:


VFS: Cannot open root device hda5 or unknown-block (0,0)
Please append a correct root= boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on 
unknown-block(0,0)


I was pleased that the menu (press L for Linux and X for OS X) still 
comes up. Unfortunately the usual fixes don't change anything about that 
error above. Here's what I've tried:


I put in a Debian businesscard PPC CD and held down C. I go through the 
installer through the partition step and go ahead and let it format the 
swap partition.


Then I press ALT-FN-F2 and go to the console.

The disk is not recognized at /dev/hda5 so I can't just do:

# mkdir /mnt
# mount /dev/hda5 /mnt

instead my disc is only at /dev/discs/host0/[someotherstuff]/lun0/part5
so I mount that big string at /mnt instead.

(This is a post-Feb 2005 Powerbook so I think it has a drive not easily 
recognized by the Debian installer or something.) Then I


# mount -t proc proc /mnt/proc
# chroot /mnt
# /usr/sbin/ybin -v

Everything appears to work fine as the /dev/hda3 bootstrap partition is 
blessed by the Holy Penguin...


but then on reboot I get the exact same error (see above).

Any ideas?

Brian


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



3d acceleration and sound

2006-01-22 Thread Shiv Shankar Dayal
I have powerbook 5,7 and debian sarge 3.1 stable is installed in it. I
have compiled my kernel 2.6.12 after applying the patches for sound,
therm-adt, synaptic touchpad, cpu-freq. But only cpu-freq and therm-adt
patch seems to work. Neither touchpad nor sound works. Also i know
about r300 drivers and would very much like to experiment with it but
need few hints on how to use it.
Shiv