Re: usbfs

2004-05-19 Thread J. Javier Maestro
On May Wed 19 2004 18:40, mammique wrote:
> Hi,
> 
> usbfs don't provide acces to normal users on a ibook benh-2.6.5-rc3, it
> seems to be mounted correctly to provide acces to all users, as it works
> on my x86 2.4.24 :
> 
> usbfs on /proc/bus/usb type usbfs (rw,devmode=0666)
> 
> But only root can acces to my digital camera via gphoto2.
> 
> Am I wrong ?
> 
> Thank you.
> 
> Regards.

Apart from the fstab option, have a look at this:

http://www.gphoto.org/doc/manual/permissions-usb.html

I currently use the hotplug option with a group called camera on an
Intel-based computer, but should make no difference.

-- 
J. Javier Maestro
<[EMAIL PROTECTED]>
http://rigel.homelinux.com



Re: PowerBook 5,4 (the latest alu): cpufreq/sound/eth1394

2004-05-19 Thread Benjamin Herrenschmidt

> the question is, why "device_is_compatible" does not return successfully
> for "snapper". so far, i found out, that this function is located in
> arch/ppc/syslib/prom.c. what is responsible for filling the property
> "compatible"? looking back at my cpufreq problem, do you think
> that the parsing of the openfirmware device tree somewhat fails or
> misbehaves? i feel like one important item has changed unexpectedly in the OF
> and subsequent property calls result in failures. i attached the file
> tree of /proc/device-tree if that could be useful.

Or maybe you simply have a new sound chip which isn't "snapper" ? 

Ben.




Re: PowerBook 5,4 (the latest alu): cpufreq/sound/eth1394

2004-05-19 Thread Benjamin Herrenschmidt

> first, i thought: no problem, just pretend 5,4 to be like 5,2, but that
> did not work out. i modified pmac_feature.c at two places so far:
> - line 2120ff to add an entry for 5,4
> - line 2624 to trigger the "bump clock speed hack"

DO NOT DO THAT !

I should add a FAT BOLD warning, it's dangerous to play blind games
with the clock chip. perdiod. I'll have to find out the proper values
for this model, you can help by sending me a tarball of
/proc/device-tree

> but after enabling DEBUG_FEATURE as well, i saw problems in
> pmac_low_i2c.c:kw_handle_interrupt when rebooting:
> 
> PowerMac motherboard: PowerBook G4 15"
> Trying to bump clock speed for PID: c02112aad...
> KW: KW: NAK on address
> KW: wrong state. Got KW_I2C_IRQ_ADDR, state: state_stop (isr: 6)
> read result: 4,<6>Found UniNorth
> 
> and the code breaks out of the loop at pmac_feature.c:2665, because rc != 0.
> 
> apart from the bumping, the cpufreq driver does not start as well. i
> wonder if this has something to do with the i2c error above. which
> branch would be the right one in pmac_cpufreq.c:pmac_cpufreq_setup
> anyway? i assume 5,4 is compatible to MacRISC3, but did not debug any
> further, because i do not understand how to "make init/main.c non-init
> before enabling DEBUG_FREQ".
> 
> 
> 
> SOUND:
> 
> when trying the old dmasound module i get this when loading:
> 
> FATAL: Error inserting dmasound_pmac 
> (/lib/modules/2.6.6/kernel/sound/dmasound_pmac.ko): No such device
> dmasound_pmac: couldn't find a Codec we can handle
> 
> ALSA can be loaded, but is mute.
> - trying to play an .au file gives "aplay: set_params:880: Unable to
>   install hw params: ..."
> - .wav and .mp3 play fine, but i cannot hear a thing.
> - the alsamixer shows card/chip to be "PowerMac AWACS", although it is
>   "PowerMac Snapper" on my 5,2. there are also fewer items to control:
>   only master, headphone detection, mic boost, pc speak, auto-mute;
>   plus passive items: cd, line, mic. On my 5,2 i can control:
>   master, headphone, headphone detection, bass, treble, pcm, pcm1, pc
>   speak, auto-mute, drc, drc rang, monitor mix.
> 
> 
> ETH1394
> 
> not really a concern, but irritating. i have to blacklist that module,
> because it is printing this error message on the console all the time:
> 
> ip1394: eth1: Could not allocate isochronous receive context for the
> broadcast channel
> 
> on my 5,2 i only get this message once.
> 
> 
> 
> well, hopefully someone can shed some light on these.
> 
> thanks in advance,
> sebastian
-- 
Benjamin Herrenschmidt <[EMAIL PROTECTED]>



Sound not working with kernel 2.6.5

2004-05-19 Thread Vincent Lefevre
I upgraded my PowerBook G4 (first generation) from 2.4 kernels to
2.6.5, using the kernel-image-2.6.5-powerpc package. And sound isn't
working.

ogg123 says:

Error: Cannot open device oss.

With the "-d esd" option, I get:

Error: Cannot open device esd.

/dev/dsp: No such device

and ogg123 segfaults. I already had problems with 2.4 kernels
(bug 225393), but now this doesn't work at all.

Concerning the mixer, tkmixer says:

error opening mixer device
tkmixer: No such device

and gnome-volume-control:

Warning: This version of the Gnome Volume Control was compiled with
OSS version 3.8.2, and your system is running
version 32767.242.0.

and I get an error box saying:

Unable to open audio device '/dev/mixer'.
Please check that you have permissions to open '/dev/mixer'
and that you have sound support in your kernel.

ay:~> ll /dev/mixer
crw-rw-rw-1 root audio 14,   0 2002-01-25 00:43:02 /dev/mixer

ay:~> lsmod|grep snd
snd_pcm_oss67204  0 
snd_pcm   118680  1 snd_pcm_oss
snd_page_alloc 13636  1 snd_pcm
snd_timer  28836  1 snd_pcm
snd_mixer_oss  23104  1 snd_pcm_oss
snd64824  4 snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore  11652  1 snd

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: 
100% validated (X)HTML - Acorn / RISC OS / ARM, free software, YP17,
Championnat International des Jeux Mathématiques et Logiques, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



kopete 0.8.2 cannot find plugins on powerpc

2004-05-19 Thread Pander

Hi all,

Previously I had kopete 0.7.2 installed which I build complete from
source. Quit a job but worhtwhile the effort. I had to do this because 
not all required packages were not available or not stallable for my 
PowerBook G4 at that time.


Now I've noticed that my system was finally able to install kopete from
powerpc/testing. But after is was installed it has a problem finding the 
plugins like msn


After installation it gives:
$ kopete --version
Qt: 3.2.3
KDE: 3.2.2
Kopete: 0.8.2
 So that's all oke, but now it cannot find the plugins for msn, etc. I
tried setting in /etc/kderc this

[Directories]
prefixes=/usr/lib/kde3:/usr:/usr/lib

and running kbuildsycoca but still no luck, while the files are here:

/usr/lib/kde3/kcm_kopete_msn.la
/usr/lib/kde3/kcm_kopete_msn.so
/usr/lib/kde3/kopete_msn.la
/usr/lib/kde3/kopete_msn.so
/usr/lib/libkopete_msn_shared.so.0
/usr/lib/libkopete_msn_shared.so.0.0.0

Anyone have some pointers for me? Should this run out of the box, or are
there perhaps settings from my previous installation from source that
force it so search somewhere else?

Thanks,

Pander



Re: usbfs

2004-05-19 Thread Yves Combe

mammique a écrit :

Hi,

usbfs don't provide acces to normal users on a ibook benh-2.6.5-rc3, it
seems to be mounted correctly to provide acces to all users, as it works
on my x86 2.4.24 :

usbfs on /proc/bus/usb type usbfs (rw,devmode=0666)

But only root can acces to my digital camera via gphoto2.


in my fstab:
usbdevfs  /proc/bus/usb  usbdevfs devuid=0,devgid=102,devmode=0660 0 0

and people in the group 102 can use gphoto2

Regards,

--
yves


signature.asc
Description: OpenPGP digital signature


usbfs

2004-05-19 Thread mammique
Hi,

usbfs don't provide acces to normal users on a ibook benh-2.6.5-rc3, it
seems to be mounted correctly to provide acces to all users, as it works
on my x86 2.4.24 :

usbfs on /proc/bus/usb type usbfs (rw,devmode=0666)

But only root can acces to my digital camera via gphoto2.

Am I wrong ?

Thank you.

Regards.

-- 
mammique <[EMAIL PROTECTED]>



iptables/mol bug

2004-05-19 Thread mammique
Hi,

i installed mol on an newer ibook, benh-2.6.5-rc3. I use sheep
networking, mol>osx can ping every machine on the lan and also the linux
it's running uppon, it also can connect to every machine on the lan but
not the local linux it's running uppon (it hangs on ssh or ftp waiting
for connection, if i telnet 21/22 it connects but hangs, when the server
should present itself). It is strange because i have no rule in
iptables, so i list my iptables to verify :

# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source   destination
 
Chain FORWARD (policy ACCEPT)
target prot opt source   destination
 
Chain OUTPUT (policy ACCEPT)
target prot opt source   destination

Nothing, special. So i retry to connect and it works ! I didn't change
anything in my rules but "iptables -L" seems to woke the firewall up.
Then everything works well, but if i reboot the problem re-appear until
i type "iptables -L".

Any idea ?

Regards.

Mammique.

-- 
mammique <[EMAIL PROTECTED]>



Re: PowerBook 5,4 (the latest alu): cpufreq/sound/eth1394

2004-05-19 Thread Sebastian Henschel
hi again...

poked into it a little further...

* Sebastian Henschel <[EMAIL PROTECTED]> [2004-05-19 15:25 +0200]:
> 
> * [EMAIL PROTECTED] [2004-05-19 14:50 +0200]:
> 
> > On Wed, May 19, 2004 at 02:20:43PM +0200, Sebastian Henschel wrote:
> > > howdy folks...
> > > 
> > > SOUND:
> > > 
> > > when trying the old dmasound module i get this when loading:
> > > 
> > > FATAL: Error inserting dmasound_pmac 
> > > (/lib/modules/2.6.6/kernel/sound/dmasound_pmac.ko): No such device
> > > dmasound_pmac: couldn't find a Codec we can handle
> > > 
> > > ALSA can be loaded, but is mute.
> > > - trying to play an .au file gives "aplay: set_params:880: Unable to
> > >   install hw params: ..."
> > > - .wav and .mp3 play fine, but i cannot hear a thing.
> > > - the alsamixer shows card/chip to be "PowerMac AWACS", although it is
> > >   "PowerMac Snapper" on my 5,2. there are also fewer items to control:
> > >   only master, headphone detection, mic boost, pc speak, auto-mute;
> > >   plus passive items: cd, line, mic. On my 5,2 i can control:
> > >   master, headphone, headphone detection, bass, treble, pcm, pcm1, pc
> > >   speak, auto-mute, drc, drc rang, monitor mix.
> > 
> > Same happened on my 17"-PB (1st generation)
> > Work-Around:
> > dmsaound_pmac works fine when not compiling module but static into kernel.
> 
> hm, not so here. compiling statically does not help. i do not even see a
> note about it in dmesg. what should be seen there?

found that note in the meantime, telling me the same as the module...

> also "cat /dev/[audio|dsp|mixer]" yields: no such device; aumix does not
> work, too.
> are there any OSS options needed? might the alsa modules interfere?

switching back to ALSA...

i looked into sound/ppc/pmac.c and commented out the lines 926+932,
which leads to the situation that snd-powermac starts in "snapper"-mode.
now it seems to work!

the question is, why "device_is_compatible" does not return successfully
for "snapper". so far, i found out, that this function is located in
arch/ppc/syslib/prom.c. what is responsible for filling the property
"compatible"? looking back at my cpufreq problem, do you think
that the parsing of the openfirmware device tree somewhat fails or
misbehaves? i feel like one important item has changed unexpectedly in the OF
and subsequent property calls result in failures. i attached the file
tree of /proc/device-tree if that could be useful.

cheers,
 sebastian
-- 
::: .O.
::: ..O
::: OOO
::: lynx -source http://www.kodeaffe.de/shensche.pub | gpg --import


tree.bz2
Description: Binary data


signature.asc
Description: Digital signature


Re: PowerBook 5,4 (the latest alu): cpufreq/sound/eth1394

2004-05-19 Thread Sebastian Henschel
rehi..

* [EMAIL PROTECTED] [2004-05-19 14:50 +0200]:

> On Wed, May 19, 2004 at 02:20:43PM +0200, Sebastian Henschel wrote:
> > howdy folks...
> > 
> > SOUND:
> > 
> > when trying the old dmasound module i get this when loading:
> > 
> > FATAL: Error inserting dmasound_pmac 
> > (/lib/modules/2.6.6/kernel/sound/dmasound_pmac.ko): No such device
> > dmasound_pmac: couldn't find a Codec we can handle
> > 
> > ALSA can be loaded, but is mute.
> > - trying to play an .au file gives "aplay: set_params:880: Unable to
> >   install hw params: ..."
> > - .wav and .mp3 play fine, but i cannot hear a thing.
> > - the alsamixer shows card/chip to be "PowerMac AWACS", although it is
> >   "PowerMac Snapper" on my 5,2. there are also fewer items to control:
> >   only master, headphone detection, mic boost, pc speak, auto-mute;
> >   plus passive items: cd, line, mic. On my 5,2 i can control:
> >   master, headphone, headphone detection, bass, treble, pcm, pcm1, pc
> >   speak, auto-mute, drc, drc rang, monitor mix.
> 
> Same happened on my 17"-PB (1st generation)
> Work-Around:
> dmsaound_pmac works fine when not compiling module but static into kernel.

hm, not so here. compiling statically does not help. i do not even see a
note about it in dmesg. what should be seen there?
also "cat /dev/[audio|dsp|mixer]" yields: no such device; aumix does not
work, too.
are there any OSS options needed? might the alsa modules interfere?

thanks,
 sebastian
-- 
::: .O.
::: ..O
::: OOO
::: lynx -source http://www.kodeaffe.de/shensche.pub | gpg --import


signature.asc
Description: Digital signature


Re: PowerBook 5,4 (the latest alu): cpufreq/sound/eth1394

2004-05-19 Thread martin

Hi,
On Wed, May 19, 2004 at 02:20:43PM +0200, Sebastian Henschel wrote:
> howdy folks...
> 
> SOUND:
> 
> when trying the old dmasound module i get this when loading:
> 
> FATAL: Error inserting dmasound_pmac 
> (/lib/modules/2.6.6/kernel/sound/dmasound_pmac.ko): No such device
> dmasound_pmac: couldn't find a Codec we can handle
> 
> ALSA can be loaded, but is mute.
> - trying to play an .au file gives "aplay: set_params:880: Unable to
>   install hw params: ..."
> - .wav and .mp3 play fine, but i cannot hear a thing.
> - the alsamixer shows card/chip to be "PowerMac AWACS", although it is
>   "PowerMac Snapper" on my 5,2. there are also fewer items to control:
>   only master, headphone detection, mic boost, pc speak, auto-mute;
>   plus passive items: cd, line, mic. On my 5,2 i can control:
>   master, headphone, headphone detection, bass, treble, pcm, pcm1, pc
>   speak, auto-mute, drc, drc rang, monitor mix.

Same happened on my 17"-PB (1st generation)
Work-Around:
dmsaound_pmac works fine when not compiling module but static into kernel.

> 
> 
> well, hopefully someone can shed some light on these.
> 
> thanks in advance,
> sebastian
> -- 
> ::: .O.
> ::: ..O
> ::: OOO
> ::: lynx -source http://www.kodeaffe.de/shensche.pub | gpg --import

regards,

martin


signature.asc
Description: Digital signature


PowerBook 5,4 (the latest alu): cpufreq/sound/eth1394

2004-05-19 Thread Sebastian Henschel
howdy folks...

i have a 15" 1.5 GHz alu powerbook here which identifies itself as
PowerBook5,4. i discovered several problems which anyone of you might be
helpful about. :)

- running kernel 2.6.6 with no other patches; 2.6.6-bk4 does not seem to
  cover any problems i experience here
- debian testing synced today
- hopefully did not overlook any previous posts
- have an "old" alu powerbook next to me (5,2)


CPUFREQ:

/proc/cpuinfo:

processor   : 0
cpu : 7447A, altivec supported
clock   : 1499MHz
revision: 1.1 (pvr 8003 0101)
bogomips: 747.52
machine : PowerBook5,4
motherboard : PowerBook5,4 MacRISC3 Power Macintosh
detected as : 287 (Unknown Intrepid-based)
pmac flags  : 0008
L2 cache: 512K unified
memory  : 512MB
pmac-generation : NewWorld

as you can see at the bogomips, the value looks like running at lower
frequency (number of clock and bogomips roughly equal on 5,2). dmesg also
does not show an output like "Registering PowerMac CPU frequency...".
first, i thought: no problem, just pretend 5,4 to be like 5,2, but that
did not work out. i modified pmac_feature.c at two places so far:
- line 2120ff to add an entry for 5,4
- line 2624 to trigger the "bump clock speed hack"

but after enabling DEBUG_FEATURE as well, i saw problems in
pmac_low_i2c.c:kw_handle_interrupt when rebooting:

PowerMac motherboard: PowerBook G4 15"
Trying to bump clock speed for PID: c02112aad...
KW: KW: NAK on address
KW: wrong state. Got KW_I2C_IRQ_ADDR, state: state_stop (isr: 6)
read result: 4,<6>Found UniNorth

and the code breaks out of the loop at pmac_feature.c:2665, because rc != 0.

apart from the bumping, the cpufreq driver does not start as well. i
wonder if this has something to do with the i2c error above. which
branch would be the right one in pmac_cpufreq.c:pmac_cpufreq_setup
anyway? i assume 5,4 is compatible to MacRISC3, but did not debug any
further, because i do not understand how to "make init/main.c non-init
before enabling DEBUG_FREQ".



SOUND:

when trying the old dmasound module i get this when loading:

FATAL: Error inserting dmasound_pmac 
(/lib/modules/2.6.6/kernel/sound/dmasound_pmac.ko): No such device
dmasound_pmac: couldn't find a Codec we can handle

ALSA can be loaded, but is mute.
- trying to play an .au file gives "aplay: set_params:880: Unable to
  install hw params: ..."
- .wav and .mp3 play fine, but i cannot hear a thing.
- the alsamixer shows card/chip to be "PowerMac AWACS", although it is
  "PowerMac Snapper" on my 5,2. there are also fewer items to control:
  only master, headphone detection, mic boost, pc speak, auto-mute;
  plus passive items: cd, line, mic. On my 5,2 i can control:
  master, headphone, headphone detection, bass, treble, pcm, pcm1, pc
  speak, auto-mute, drc, drc rang, monitor mix.


ETH1394

not really a concern, but irritating. i have to blacklist that module,
because it is printing this error message on the console all the time:

ip1394: eth1: Could not allocate isochronous receive context for the
broadcast channel

on my 5,2 i only get this message once.



well, hopefully someone can shed some light on these.

thanks in advance,
sebastian
-- 
::: .O.
::: ..O
::: OOO
::: lynx -source http://www.kodeaffe.de/shensche.pub | gpg --import


signature.asc
Description: Digital signature


Re: Sending Faxes from G4

2004-05-19 Thread Clive Menzies
On (19/05/04 09:44), Jason E. Stewart wrote:
> Clive Menzies <[EMAIL PROTECTED]> writes:
> > I'm exploring how to set up faxing from my G4 and looked at
> > mgetty+sendfax and efax.  Most of the threads I've pulled from google
> > seem quite dated (1997 etc) and I'm wondering whether these are the
> > right packages or is there something else I should try.
> >
> > Either way, if someone has a working setup, I'd appreciate some pointers
> > to appropriate documentation.  I've looked at info mgetty and it talks
> > about settings for inittab.  I'm trying to get my head around which is
> > the modem port ;)
> 
> You can also try internet fax:
> 
>   http://www.tpc.int/
> 
> I've been using it for months from India, and I'm very satisfied.
Hi Jas

I just had a quick look and it looks so easy; setting up to fax on my
G4, configuring modem etc. has just dropped to the bottom of my project
list ;) (and may well drop off all together)

Thanks

Clive

-- 
http://www.clivemenzies.co.uk
strategies for business



pbbuttonsd: sleep with Shift+Powerkey

2004-05-19 Thread Joerg Sommer
Hi,

how can I tell pbbuttonsd the sleep key is shift (or anyone else) with key
116. I mapped key 116 in icewm to logout. So when I press the power key
icewm shows the logout dialog and the screen is blanked. What can I do?
Has pbbuttonsd this feature?

Bye, Joerg.

-- 
"Any setuid root program that does an exec() somewhere is just a less
user friendly version of su."   
 -- Olaf Kirch on bugtraq 2000-08-07



UPDATED PRICE LIST for CD Sleeves, DVD Cases, CD-Rs & DVD-Rs

2004-05-19 Thread Steve Crump
Here is our "UPDATED PRICE LIST."

If you would like to request samples or would like a complete price
list, please let me know. Some prices are on our website at
http://securedisc.com.


Black DVD Cases


Less than $0.40 Each for 25 DVD Cases
Less than $0.13 Each for 10,000 DVD Cases
* Call for larger quantities


White Paper CD Sleeves with 4" Window and Flap


Less than $0.07 Each for 50 Sleeves
Less than $0.02 Each for 10,000 Sleeves
* Call for larger quantities


- CD Foam Hubs (adhesive) - Less than $4.00 for 100
- CD-R - Less than $28.00 for 100
- DVD-R - Less than $99.95 for 100
- CD Mailers - Less than $10.00 for 100

Please feel free to call or e-mail me. PRICES DO NOT INCLUDE SHIPPING.

*Coming soon...  Shipping from New York State!!!

Thanks,

Steve Crump
SecureDisc.com, Inc.
7938 South 3500 East
Salt Lake City, Utah 84121
Phone: 801-453-0238
Toll Free: 1-(877)-347-2758
Fax: 801-880-2544
mailto://[EMAIL PROTECTED]
http://securedisc.com



We respect your preference to not receive further e-mail from us.  To
remove your email address from our list, please send a message to
[EMAIL PROTECTED] and it will be promptly honored.

You may also remove your email address by clicking on the link below. 
If clicking on the link does not launch your browser and load the
unsubscribe confirmation page, you will need to copy and paste the web
address below into your browser's location bar.

http://securedisc.com/[EMAIL PROTECTED]



Re: 802.11g on an ibook?

2004-05-19 Thread [EMAIL PROTECTED]

Hi,

Rob Latham a écrit :

On Tue, May 18, 2004 at 05:18:44PM +0100, Lee Braiden wrote:




I had good luck with the usb DWL-122 from D-Link.  It's pretty
unstable under os x, but it's rock solid under linux.


DWL-122 and MA111 have the same driver under Mac OS X (just some 
modifications to do before to install the .pkg), and MA111 rocks under 
Linux


So MA111 from NetGear is a good solution too.


Regards,


eric bachard



Re: Installing Woody

2004-05-19 Thread Brad Boyer
On Tue, May 18, 2004 at 04:53:06PM -0700, Eric D. Hedekar wrote:
> Also, is the standard Mac ADB mouse (plugged in through the keyboard) a
> serial port mouse?  It asks me to define this in the Xwindows setup and I
> don't see ADB as a choice there.

If you've got a really old kernel, the ADB mouse shows up at /dev/adbmouse
using the "BusMouse" protocol. With a recent kernel, you'll see the
mouse traffic on /dev/input/mice, with an "ImPS/2" protocol.

Brad Boyer
[EMAIL PROTECTED]