Usb multimedia keyboard not working

2004-05-03 Thread Rex Chan
Hi guys,

I got myself a usb keyboard today, but i'm having problems with getting
it working.

I have HID module loaded, keybdev, and it appears to be detected
sucessfully, ie dmesg | grep USB ->
input: USB HID v1.10 Device [USB MULTIMEDIA KEYBOARD] on
usb2:2.1
I get error messages like:
usb_control/bulk_msg: timeout
usb.c: USB disconnect on device 00:10.0-1 address 2
hub.c: new USB device 00:10.0-1, assigned address 3
hub.c: USB device not accepting new address=3 (errno=-110)
hub.c: new USB device 00:10.0-1, assigned address 4
hub.c: USB device not accepting new address=4 (errno=-110)
and a few more wondeful:
usb_control/bulk_msg: timeout
after each disconnect...

Anybody know where to find out what this means?

-- 

Rex


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



Re: Mutt, different index format for sent and inbox

2004-04-25 Thread Rex Chan
Hey,

> > How do you adjust muttrc to have different formats of its index, the one
> > for inbox or folders containing incoming mail looks fine, but the
> > "sent" folder, where the sent ones are kept, would be better to have
> > showing the 'To:' field instead of the 'From:' field, since obviously the
> > 'From:' field tends to be the same person. Has anyone fixed that?
> 
> I hope I have understood you correctly, so this is what I use:
> |set index_format="%4C %Z %[%y-%m-%d %R] %-20.20F %?M?(#%03M)&(%5c/%4l)? %s"
> 
> Try to dig through it... :)
According to the mutt manual it should automatically show that field as
a To field if it was from you.

You might not have let mutt know what your email addresses are:

set alternates="\^(\
([EMAIL PROTECTED])\
|([EMAIL PROTECTED]))"

http://www.mutt.org/doc/manual/manual-6.html#index_format
http://www.mutt.org/doc/manual/manual-6.html#alternates


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



Re: Motherboard compatibility

2004-04-23 Thread Rex Chan
-  Barry Mead <[EMAIL PROTECTED]> [2004-04-23 02:27:27 -0700]:

> I have 3 computers with the ASUS A7V8X-X motherboard in them.  

> switch to Debian.  I am hoping that their is someone out there that has 
> either used Debian on this exact motherboard, or one with the same chipset 
> configuration.  Also even with Mandrake 9.1 I had to purchase three licenses 
> for the OSS sound system to get my Analog Devices AD980 chips to work.

I have the exact same motherboard. I'm have the sound working under ALSA. 
It required me to compile the alsa-source, and while I was at it, I
recompiled a kernel as well. I have a link to stuff that will help out
with it. 

I think some of the newer kernels have support for the VIA chipset but
I've stuck to using ALSA.

Playing around with ALSA link:

http://www.linuxorbit.com/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=541&page=1

-- 

Rex


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



Re: branding debian releases

2004-04-16 Thread Rex Chan
-  Simmel <[EMAIL PROTECTED]> [2004-04-16 14:18:37 +0200]:

> May sound lazy too, and yes I'm a lazy guy. If my boss tells me to setup an
> apache server and tells me to use debian because the cust would like to have
> especially this distri well heck I'm stuck in the installation routine for
> hours trying to figure out how dselect works. GREAT :-( And the main part,
> installing apache, isn't even done yet (this was my first experience with
> Debian). I know to work with apache, but I don'T know how to install Debian,
> never seen it before. First time I saw RH and SuSe using X-Server installs I
> was like YES M$ gets their ASS kicked, this is almost too simple! Everybody
> can handle that easily!

You might like to try the new debian installer
(http://www.debian.org/devel/debian-installer/) which is in development
at the moment. It's at beta 3. It autodetects a lot of hardware, 
and if you're lucky consists of mostly pressing enter.

> And to get away from M$ ("winzigweich") you should try a RH and SuSe install
> and then judge for yourself. which install looks nicer? which installer
> is simpler to use for the average user? which installer has tons of
> information on any subject you can click with your mouse?

The installer is currently all text based, but it's modularised and will
allow people to write a graphical frontend to it really quickly. I'll
assume there will be lots of information in the frontend on the
particular options that presented.


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



Re: System clock GMT or not

2003-08-24 Thread Rex Chan
On Sun, Aug 24, 2003 at 01:54:49PM +1000, James Steward<[EMAIL PROTECTED]> wrote:
> Debian has a system configuration tool but I can't remember exactly what it's 
> called..something like base-config.
> 
> Basically, in the file /etc/adjtime on the 3rd line there's either UTC or 
> LOCAL.
> 
> Be a little careful changing this by hand.  When the system is shutdown the OS 
> checks the software kernel clock and compares to the hardware clock.  The 
> error is written to this file so that next time you power up, the kernel 
> automatically adjusts for drift in the hardware clock.  If you go and change 
> it from UTC to LOCAL the kernel will think there is a big error (up to 24 
> hours I guess) and next time you power up you get a screwed time.
> 
> Best to use the base-config tool...
> 
> JS

Will it screw it up if you set the hardware clock manually via
hwclock command?


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



Re: ip changed after sometime using dhcp

2003-08-19 Thread Rex Chan
> It sounds as though the lease times on the DHCP server are not long enough.
> 
> A simple solution is to use a static IP address but this will depend on
> your ability to manually assign an IP address at the server end.
> 
> HTH
> 
> Clive

Well, one of my friends had the same problem, he wrote a script 
and made it a cron job that would check his ip and email him the new
ip if it changed.

If you can't control what ip you get given and when the ip will change,
this seemed like a fairly simple solution.

-- 


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



Re: Sound Config Asus A7V8x-x with 2.4.22-pre10

2003-08-17 Thread Rex Chan
On Sat, Aug 09, 2003 at 10:32:06AM -0600, Dan Hunt wrote:
> On Thu, Aug 07, 2003 at 03:35:05PM +1000, Rex Chan wrote:
>  | Hi Dan,
>  | 
>  | I'm just wondering if you were able in the end to get sound
>  | working on your motherboard.
> 
> Thanks for asking Rex, not yet. I will keep you posted. Let me 
> know if you get it to work or find helpful documents. If we leave a
> thread here it will be easier for others.
> 
> http://www.alsa-project.org/ was my stop today. 
> I downloaded the latest alsa stable files into my home/alsa directory.

Hey Dan,

I managed to get the sound going with alsa, with the same motheboard.
I sort of used the instructions from this site as a guide.

http://www.linuxorbit.com/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=541&page=1

I have a custom kernel and am using packages from unstable. 
i got the alsa-source package, and built the alsa module from that.

Then I also got the alsa-base, alsa-utils as well. 

There was a gnome alsamixer package as well

Fairly straightforward, and it works
although the sound is a bit scratchy at the moment, maybe playing around
with the mixer will fix it up.

-- 

Rex


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



Re: Fluxbox, Bash and LANG

2003-08-14 Thread Rex Chan
> > Anybody got any ideas of where to look to set the LANG variable?
> 
> grep -r "en_US\.UTF-8" /etc
> 
> should ferrit it out.
> 
> -- 
> Rob Weir <[EMAIL PROTECTED]> | [EMAIL PROTECTED]  |  Do I look like I want a CC?
> Words of the day: assassination bootleg Rubin fissionable Subversion lynch NASA

Thanks mate!

-- 

Rex


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



Fluxbox, Bash and LANG

2003-08-11 Thread Rex Chan
Hi guys,

I was playing around with locales and locale related stuff. 
I used dpkg-reconfigure localeconf 
to set everything to C as a default.

I've verified as the /etc/environment file
contains LANG=C.

However whenever I call Bash through the fluxbox menu, 
it opens up an x-term-emulator with the LANG set to en_US.UTF-8.

I've checked the fluxbox entry and it says
"x-terminal-emulator -T "Bash" -e /bin/bash -login"
and checked all the files from "man bash" mentioned such as
.bashrc, .bash_profile,  /etc/profile but I can't find where the
LANG option is set for the bash shell.
 
I wouldn't mind but I often open up mutt in these xterms and
it causes weird characters to appear when scrolling up and down...

Anybody got any ideas of where to look to set the LANG variable?

-- 

Rex


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



Modconf and no modules after kernel upgrade

2003-08-08 Thread Rex Chan
Hi guys,

after deciding to muck around with compiling and
installing a new kernel (from 2.4.18-bf2.4 to 2.4.21) from
source, I've managed to lose all the modules that
I had before ie using modconf shows only one entry
and that's a dummy network driver.

Going back to the old kernel image hasn't helped restored
any of them either.

Anybody know how to get either old modules back or add
new entries for modconf?

-- 

Rex


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



Re: Getting Evolution to expand a threaded message list in unstable

2003-08-02 Thread Rex Chan
> I'm not sure since exaclty when, but recently I noticed, I can't get
> evolution to expand/collapse a threaded message view. 
> 
> I have searched the menus, where I used to find this option, and the
> online help to no avail.  Could anyone help me, or has the feature
> simply been removed?

Ctrl-t might be worth a shot.


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



Re: Linux firewall vs Windows and Hardware based firewalls

2003-07-31 Thread Rex Chan
On Thu, Jul 31, 2003 at 08:50:21PM +0800, Robert Storey wrote:
> Everything I've ever read indicates that a hardware-based firewall is
> more secure and reliable than an PC operating system, be it Linux or
> Windows. A PC OS has to be complex because it has so many functions to
> perform, but that adds potential security holes and one can never close
> them all. Furthermore, Intel-based PCs have some well-known exploits
> (such as buffer overflows) which are a function of the hardware and
> there is no real cure because changing the CPU instructions would break
> backward compatibility. By contrast, a router operating system is very
> simple and designed to do only one thing, and the hardware (which has no
> moving parts) is more reliable and uses far less electricity than a PC.
> 
> A Linux-based firewall is probably good enough for the average home
> hobbyist, but in a professional environment it doesn't pay to "save
> money" by recycling an old PC with Linux installed in place of a router.
> 
> regards,
> Robert

Hmm... I'm not an expert and this is my understanding of software and
hardware firewalls.

A hardware firewall would probably be more reliable - the security part
is debatable. A firewall is a firewall - it's security comes from its
configuration. An cutdown firewall/router machine with minimal services
can be just as secure as hardware firewall.

The advantage of hardware firewall - most likely speed - 
specialised hardware to deal with packet processing and the like.

This won't be an issue if you're a home user with a few machines but
for corporate use, with lots of machines and traffic, you want things
to be speedy and more efficient.

-- 


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