[SLUG] Multimedia keys and keyboard repeat

2007-10-12 Thread Joseph Goncalves
Hi all,

I have an annoying issue that I'm trying to get my mind around... I have 
recently purchased a laptop I have the multimedia keys working, but 
when I press the buttons there is a keyboard repeating problem. I press 
play/pause and the audio player rapidly toggles between play and pause.

I figured out a hack. I run the "keytouchd" app and kill it. The 
keyboard repeating problem goes away. My questions are:
1. Is there a command like xmodmap to control key repeats for specific 
keys?
2. What does keytouchd do to stop multimedia keys repeating?

Thanks
-- 
Joseph Goncalves
mailto:[EMAIL PROTECTED]
66D6 71CF 87F9 6B17 6824 C692 9FF0 1DAF 7DAE E661

--

Michael:
Hi.  I'm Michael Jackson, from The Jacksons.

Homer:  I'm Homer Simpson, from the Simpsons.

   Stark Raving Dad


signature.asc
Description: This is a digitally signed message part.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] mdadm/fstab mismatch (fuller explanation)

2007-10-12 Thread Grant Parnell

On Wed, September 26, 2007 9:27 pm, Erik de Castro Lopo wrote:
> Hi all,
>
> I've got something thats been bugging me for a while. I have an Ubuntu
> Fiesty box which has this in /etc/mdamd/mdadm.conf:
>
> ARRAY /dev/md0 level=raid1 num-devices=2
> UUID=7cff1ce4:b67054ef:e558e8bc:3d496b47
>
> and this in /etc/fstab:
>
> # /dev/md0
> UUID=2956c339-fa5e-45d9-ab13-e92a9597ab20 /home  ext3 defaults 0  2
>
> The UUIDs don't match, but the device still mounts on bootup as expected.
>
> Questions:
>
>   - Should the UUIDs match and if so, which one is wrong?
>   - How do I fix it?
>   - How the hell  is it workin now?
Q1, Q2, Q3

A1)
A quirk of raid1 mirror's on Linux software raid is you can usually mount
one of the components for recovery. IE they're pretty much exactly the
same. EG if /dev/md0 is made up from /dev/hda1 and /dev/hdc1 and you
booted from a CD that doesen't do RAID you could do "mount -o ro /dev/hda1
/mnt/recovery". This can also happen with some hardware raid cards if you
pop the drive onto a non-raid controller. It's much more interesting for
other raid types.

So much so that if you have Logical Volumes on a raid1 and zero out the
raid blocks then LVM goes to hell because it now finds two duplicate
volumes. Further fun happens when you plug in another hard disk from
another system which has the same Volume Group but you can play with that
another day - at least it lets you know and choses only one to run at a
time.

Anyway.. I digress. Yeah for software raid1 the uuid for the array, and
each of it's components will be the same.

A2)
To change it... you'd better boot off a rescue CD and learn/practise using
the mdadm utility. I'd suggest something like...
mdadm --assemble -U --uuid=956c339-fa5e-45d9-ab13-e92a9597ab20 \
/dev/md0 /dev/hda1 /dev/hdc1
Or as the case may be editing the /etc/mdadm.conf (/etc/raidtab on really
old systems) and/or /etc/fstab

A3)  think how the kernel starts up and runs from the initial
ramdisk. The answer lies within... because frankly all the stuff on your
regular filesystem, eg /etc/fstab and /etc/mdadm.conf can't be read until
the kernel can find the filesystem.  So you will find that whatever
created your /boot/initrd* file did so by thinking about what sort of
filesystem it would need to find.

On Fedora for example the initrd is a gzip'd cpio'd filesystem in which
you'll find /etc/init which happens to be a nash script (red hat's
cut-down bash). In there you'll find magic stuff like insmod scsi, insmod
raid1, raidstart /dev/md0, mount /dev/md0 /rootfs, switchroot

Of course once the initial ramdisk mounts the root filesystem proper it
then may go run something like /bin/init which finds it's way to
/etc/rc.d/rc.sysinit (fedora/Redhat/Centos) which as part of it's process
THEN looks at /etc/fstab and here's the funny bit... it tries to mount all
the filesystems mentioned (with the auto attribute) but only if not
mounted already.. now the root filesystem IS mounted already so again the
/etc/fstab entry for the root filesystem is not used.

-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux
Guru, SLUG President, AUUG and Linux Australia member, Sydney
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music lover,
Big kid that refuses to grow up. I'd make a good family pet, take me home
today!

Some people actually read these things it seems.


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Aust Govt Netalert - Not for Linux

2007-10-12 Thread Jeremy Portzer

bill wrote:
Just received the Aust Govt booklet "Netalert- protecting Australian 
Families OnLine".


Checked out their comparison table of internet filters. 
(http://www.netalert.gov.au/filters/Compare_internet_content_filters.html#Comparisontable) 



Gotta love how the "Safe Eyes (Mac version)" is ticked as certified for 
IE6 and IE7.  Huh?  The latest (and no longer supported) version of IE 
for Mac is 5.2.


Where "The Australian Government has undertaken a detailed assessment 
process to provide Australian households with access to the best 
available filters through the /National Filter Scheme."/


Seems like the Govt has missed the boat again Re Linux, or maybe Linux 
users are considered intelligent enough not to need Govt assistance?




What percentage of Australian home users are using Linux on the desktop? 
 Despite the advocacy of many here, I doubt the number is large enough 
to be worth spending money on.  This program is costly enough as it is.


--Jeremy



--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Comsec behaving badly, how to talk to a big business

2007-10-12 Thread O Plameras

Alex Samad wrote:

Hi

I am having problems with comsec sending badly formatted emails, I have emailed 
them faxed them, but its the case of a big business spending lots of money on 
their it, why would one of their clients know better then them.  My problem is 
I run my own domain and I run my own mail server (exim on lenny/amd64)


what i see is this in the exim logs
2007-10-05 10:00:39 1IdacR-0001Z7-C7 H=mcini-ns02.commsec.com.au 
[203.166.116.14] F=<[EMAIL PROTECTED]> rejected after 
DATA: malformed address: <[EMAIL PROTECTED]>\n may not follow [EMAIL PROTECTED] 
: failing address in "To:" header is: [EMAIL PROTECTED] <[EMAIL PROTECTED]>



looks like they are sending a

[EMAIL PROTECTED] <[EMAIL PROTECTED]>

when it should be a 

"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> 


I think haven't double checked the rfc.

Now its not all there mail that bounces just some of it

Any ideas how to talk to them ?
  


Use 'escalation', a process that's set up by large companies to deal 
with potential
problems such as yours. Under this process when you deal with front line 
support
staff and you are not getting results, ask him/her you want to speak to 
his/her
manager/supervisor; then when talking to manager/supervisor still you 
find no resolution

to your problem ask him/her you want to speak to his/her manager/supervisor,
and so on. Continue with this escalation until your problem is resolved. 
Usually,
the person will say my manager is not available, then you say can I 
speak to his/her
manager and if that manager is not available, then you again say can I 
speak to the

manager of that manager and so on.

I have used this process successfully most often specifically with Telstra
and similar large companies. I have also used this with CommSec with lesser
success rate when it comes to technical problems such as yours. But then
CommSec is not mainly in the service of providing computing technical help.

Incidentally, I have used CommSec since 1999 and I still have a few open 
equities
with CommSec but I'm progressively moving to E-Trade and 
www.igmarkets.com.au.


My favourite is the latter. If you wish to know why I like 
www.igmarkets.com.au
visit their website and/or email me offline and I can share some stories 
of my profitable

experiences.

Hope this helps.

O Plameras

Disclosure: I will not gain materially by mentioning the name E-Trade or 
www.igmarkets.com.au.






--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html