Re: [OT] RS232 to USB adapter

2004-06-08 Thread Matt Foster
Quoting Christian Schuerer ([EMAIL PROTECTED]):
> Hello,
> 
> unfortunately my laptop doesn't have any standard serial port (RS232), but I 
> would need one for my studies. I googled if there are any linux-supported 
> Serial-to-USB adapters, but didn't find anything.
> 
> Does anyone know about a Serial-to-USB adapters which is known to work with 
> linux? Is there maybe a generic module like for USB mass storage devices?
> 
> Any help is appreciated,

Hi,

Assuming you mean USB-to-Serial adapters (it is usual to write the host
end first), then yes, they're readily available. 

I have one of these [1], which worked fine when I last used it with the
generic usb-serial adapter kernel driver (under 2.4), look under 'USB
Serial convertor support in 2.6 kernels.

[1] 
http://www.ebuyer.com/customer/products/index.html?action=c2hvd19wcm9kdWN0X292ZXJ2aWV3&product_uid=40608

Have fun,

matt
-- 
Matt Foster
[EMAIL PROTECTED] | [EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 



signature.asc
Description: Digital signature


Re: Black screen problem with vga text mode

2004-11-30 Thread Matt Foster
Quoting Sam Longon ([EMAIL PROTECTED]):
> > Can you tell me how you found about the vga=0x303 option? I need to
> > troubleshoot a video adapter problem myself and would like to read about the
> > various options I may use.
> I forget where I found them. But this is what I found:
> ??   640x480 800x600 1024x768 1280x1024 
> ??256 0x301  0x303   0x305 0x307 
> ??32k 0x310  0x313   0x316 0x319 
> ??64k 0x311  0x314   0x317 0x31A 
> ??16M 0x312 [0x315]  0x318 0x31B 
> hope it's helpful.
> 
> Regards,
> Sam

I think the file your looking for vesafb.txt which lives in
Documentation/fb/ in the kernel distribution.

HTH,

matt

-- 
Time exists so that everything doesn't happen at once, 
space exists so that everything doesn't happen to you.
Matt Foster | http://www.mattfoster.clara.co.uk 



signature.asc
Description: Digital signature


Re: Wi-Fi newbie...

2003-07-06 Thread Matt Foster
I think that this page:
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/ is fairly handy.
There seems to be quite a lot of info there on just about everything
Wavelan related.

Matt


Quoting Manolis Tzanidakis ([EMAIL PROTECTED]):
> Hello all,
> I want to implement a Wireless connection of my laptop & desktop
> box at home (both debian sid) however I'm a complete newbie on 
> that subject & will like to learn things.
> Is there any good site for *linux-only* Wi-Fi stuff, like
> how-tos, hardware compatibility, wep etc ?
> A quick googling I did showed only windoze-friendly sites.
> 

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



Re: ide CD Bruner

2003-07-06 Thread Matt Foster
Quoting mi ([EMAIL PROTECTED]):
> Does anybody know if cdrecord recently supports ide burning ?
> 

The 'normal' method to get cd IDE burners going under linux is to use
the ide-scsi kernel module, by passing hdx=ide-scsi on the kernel
command line. 

I think I'm right in saying that pre 2.5 kernels do not support native
IDE burning...

Also, reading this: http://www.codemonkey.org.uk/post-halloween-2.5.txt
suggests that the 2.5 kernel series _does_ do native IDE burning, but
only with a new version of cdrecord.

I think it's fairly likely that this is what cdrecord has just started
supporting.

HTH,

matt

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



Re: DMA Problem

2003-07-06 Thread Matt Foster
Quoting Marcel Gschwandl ([EMAIL PROTECTED]):
> Hi again,
> 
> I was root. As non root I would get
> HDIO_SET_DMA failed: Permission denied
> and not 
> HDIO_SET_DMA failed: Operation not permitted
> 
have you tried querying the drive with hdparm -I?
This should give you some indication of if can handle DMA.

If you find It can't, you may need specific kernel drivers to enable it.
I, for example, have an NForce2 chipset which works ok with generic IDE
support, but won't do DMA transfers (or mode changes) without a patch.

cheers,

Matt

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



Re: No fsck in battery mode

2003-09-01 Thread Matt Foster
It's /proc/acpi/ac_adapter/ACAD/state on my system.
Adding:

#
# see if ac is online
#

if grep "on-line" /proc/acpi/ac_adapter/ACAD/state > /dev/null 2>&1
then
echo "AC is on-line"
else
echo "AC offline"
rootcheck=no
fi

to line 39 of /etc/init.d/checkroot.sh (after where a load of variables are 
set) does what you want, at least on my system.

BTW acpi is built into the kernel, you may find that /proc/acpi/* don't
exist until after the modules are loaded.

HTH, and cheers for a good idea!

Matt

Quoting Harry Brueckner ([EMAIL PROTECTED]):
> Hello,
> 
> is there a way to avoid the regular fsck run (every n mounts or after m 
> days) when the laptop is in battery mode?
> 
> I think its quite a waste of battery power for the fsck run and 
> rescheduling for the next reboot (with powersupply available) would be very 
> nice. :-)
> 
> Any idea how to get around the fsck run?
> 
> TIA for any ideas,
>Harry
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 
> 
-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



Re: No fsck in battery mode

2003-09-01 Thread Matt Foster
Quoting Derek Broughton ([EMAIL PROTECTED]):
> From: "Matt Foster" <[EMAIL PROTECTED]>
> 
> > It's /proc/acpi/ac_adapter/ACAD/state on my system.
> > Adding:
> >
> > #
> > # see if ac is online
> > #
> >
> > if grep "on-line" /proc/acpi/ac_adapter/ACAD/state > /dev/null 2>&1
> 
> Which will work, but there's an on_ac_power program that is supposed to be
> smart enough to figure it out whether you're using apm or acpi.  I'd tell
> you which package it's in, but I can't get to the net from Linux at the
> moment...

So there is, its in powermgmt-base. much neater!

ta,

matt

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



Re: No fsck in battery mode

2003-09-01 Thread Matt Foster
Quoting Derek Broughton ([EMAIL PROTECTED]):
> From: "Frédéric Bothamy" <[EMAIL PROTECTED]>
> 
> > * Matt Foster <[EMAIL PROTECTED]> [2003-09-01 19:29] :
> > > Quoting Derek Broughton ([EMAIL PROTECTED]):
> > > >
> > > > Which will work, but there's an on_ac_power program that is supposed
> to be
> > > > smart enough to figure it out whether you're using apm or acpi.  I'd
> tell
> > > > you which package it's in, but I can't get to the net from Linux at
> the
> > > > moment...
> > >
> > > So there is, its in powermgmt-base. much neater!
> >
> > Except that since it is under /usr, it might not be available at fsck
> > time (that is, before /usr is mounted in /etc/rcS.d/S30checkfs.sh).
> 
> Doh!  Of course you're right.  I wonder if it could be copied to /boot and
> still work?  Matt's solution is good - but it must have the same problem:
> grep will be available at the same time as on_ac_power!
> 
well, no, since grep lives in /bin. On startup, / get mounted read-only.
Thats the only way fsck can be run. That means that you can use grep,
and anything else livig in /bin. I personally have almost everything in
one partition, so I can use on_acpi_power as well, but for the sake of
speed, I prefer the grep method. 

matt

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



Re: No fsck in battery mode

2003-09-07 Thread Matt Foster
Quoting Sean 'Shaleh' Perry ([EMAIL PROTECTED]):
> On Monday 01 September 2003 01:04, Harry Brueckner wrote:
> > Hello,
> >
> > is there a way to avoid the regular fsck run (every n mounts or after m
> > days) when the laptop is in battery mode?
> >
> > I think its quite a waste of battery power for the fsck run and
> > rescheduling for the next reboot (with powersupply available) would be very
> > nice. :-)
> >
> > Any idea how to get around the fsck run?
> >
> > TIA for any ideas,
> > Harry
> 
> So several of people have answered your question directly, however I would 
> like to caution you against this.
> 
> If fsck actually needs to run you are placing your data at considerable risk. 
>  
> What you should consider is moving over to ext3 or another journaled fs.  For 
> the most part the journaling filesystems never need to run fsck check and are 
> MUCH better about handling sudden power loss.  Both of which are important on 
> a laptop.  The plus side is moving from ext2 -> ext3 is a simple matter of 
> running tune2fs and editing /etc/fstab to use ext3.  The stock Debian kernels 
> support ext3 and if you use your own compiling it in is trivial.
> 
> A search for 'ext3 laptop' will probably give you ideas about tuning the fs 
> further for your usage.
> 

I completly agree with what you're saying, but if you're on the move,
few things are more irritating than having to wait ten minutes for your
system to start-up. If you're like me, then you only use your laptop on
battery periodically, and at that point its normally fine to let fsck
run its course. 

Regardless of fs type(ext2 or 3, that is), fsck is run at startup, and
on my system the file system gets checked every 20something mounts
regardless. Maybe I'm missing something. 

That said, I don't think I'd dare going without fsck unless my system
was using a journalled fs, (which reminds me, for speed of checking and
repairing, XFS is excellent).

Matt

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



Re: how does it all fit together? iwconfig, wlan-ng, hotplug, and pcmcia

2003-10-04 Thread Matt Foster
Hotplug will handle cardbus (32 Bit) cards, where as pcmcia jsut handle
16 nit cards. Its a tad confusing at first, until you realise that
cardbus is more or less PCI, and is therefore handled by pci
hotplugging.

To make my DLINK DWL-G650 Card work, I had to add to
/etc/pcmcia/config.opts to set up driver loading, and then add to
/etc/network/interfaces to allow hotplug to bring the interface up.

It certainly makes things interesting.

HTH

Matt


Quoting Daniel ([EMAIL PROTECTED]):
> 
>   Where does hotplug fit into this? Is that the recommended way of
> configuring new interfaces or should I stick with adding options in the
> /etc/pcmcia directory? Should I do my changes to
-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: Wi-Fi newbie...

2003-07-06 Thread Matt Foster
I think that this page:
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/ is fairly handy.
There seems to be quite a lot of info there on just about everything
Wavelan related.

Matt


Quoting Manolis Tzanidakis ([EMAIL PROTECTED]):
> Hello all,
> I want to implement a Wireless connection of my laptop & desktop
> box at home (both debian sid) however I'm a complete newbie on 
> that subject & will like to learn things.
> Is there any good site for *linux-only* Wi-Fi stuff, like
> how-tos, hardware compatibility, wep etc ?
> A quick googling I did showed only windoze-friendly sites.
> 

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042


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



Re: ide CD Bruner

2003-07-06 Thread Matt Foster
Quoting mi ([EMAIL PROTECTED]):
> Does anybody know if cdrecord recently supports ide burning ?
> 

The 'normal' method to get cd IDE burners going under linux is to use
the ide-scsi kernel module, by passing hdx=ide-scsi on the kernel
command line. 

I think I'm right in saying that pre 2.5 kernels do not support native
IDE burning...

Also, reading this: http://www.codemonkey.org.uk/post-halloween-2.5.txt
suggests that the 2.5 kernel series _does_ do native IDE burning, but
only with a new version of cdrecord.

I think it's fairly likely that this is what cdrecord has just started
supporting.

HTH,

matt

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042


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



Re: DMA Problem

2003-07-06 Thread Matt Foster
Quoting Marcel Gschwandl ([EMAIL PROTECTED]):
> Hi again,
> 
> I was root. As non root I would get
> HDIO_SET_DMA failed: Permission denied
> and not 
> HDIO_SET_DMA failed: Operation not permitted
> 
have you tried querying the drive with hdparm -I?
This should give you some indication of if can handle DMA.

If you find It can't, you may need specific kernel drivers to enable it.
I, for example, have an NForce2 chipset which works ok with generic IDE
support, but won't do DMA transfers (or mode changes) without a patch.

cheers,

Matt

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042


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



Re: No fsck in battery mode

2003-09-01 Thread Matt Foster
It's /proc/acpi/ac_adapter/ACAD/state on my system.
Adding:

#
# see if ac is online
#

if grep "on-line" /proc/acpi/ac_adapter/ACAD/state > /dev/null 2>&1
then
echo "AC is on-line"
else
echo "AC offline"
rootcheck=no
fi

to line 39 of /etc/init.d/checkroot.sh (after where a load of variables are set) does 
what you want, at least on my system.

BTW acpi is built into the kernel, you may find that /proc/acpi/* don't
exist until after the modules are loaded.

HTH, and cheers for a good idea!

Matt

Quoting Harry Brueckner ([EMAIL PROTECTED]):
> Hello,
> 
> is there a way to avoid the regular fsck run (every n mounts or after m 
> days) when the laptop is in battery mode?
> 
> I think its quite a waste of battery power for the fsck run and 
> rescheduling for the next reboot (with powersupply available) would be very 
> nice. :-)
> 
> Any idea how to get around the fsck run?
> 
> TIA for any ideas,
>Harry
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 
> 
-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042


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



Re: No fsck in battery mode

2003-09-01 Thread Matt Foster
Quoting Derek Broughton ([EMAIL PROTECTED]):
> From: "Matt Foster" <[EMAIL PROTECTED]>
> 
> > It's /proc/acpi/ac_adapter/ACAD/state on my system.
> > Adding:
> >
> > #
> > # see if ac is online
> > #
> >
> > if grep "on-line" /proc/acpi/ac_adapter/ACAD/state > /dev/null 2>&1
> 
> Which will work, but there's an on_ac_power program that is supposed to be
> smart enough to figure it out whether you're using apm or acpi.  I'd tell
> you which package it's in, but I can't get to the net from Linux at the
> moment...

So there is, its in powermgmt-base. much neater!

ta,

matt

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042


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



Re: No fsck in battery mode

2003-09-01 Thread Matt Foster
Quoting Derek Broughton ([EMAIL PROTECTED]):
> From: "Frédéric Bothamy" <[EMAIL PROTECTED]>
> 
> > * Matt Foster <[EMAIL PROTECTED]> [2003-09-01 19:29] :
> > > Quoting Derek Broughton ([EMAIL PROTECTED]):
> > > >
> > > > Which will work, but there's an on_ac_power program that is supposed
> to be
> > > > smart enough to figure it out whether you're using apm or acpi.  I'd
> tell
> > > > you which package it's in, but I can't get to the net from Linux at
> the
> > > > moment...
> > >
> > > So there is, its in powermgmt-base. much neater!
> >
> > Except that since it is under /usr, it might not be available at fsck
> > time (that is, before /usr is mounted in /etc/rcS.d/S30checkfs.sh).
> 
> Doh!  Of course you're right.  I wonder if it could be copied to /boot and
> still work?  Matt's solution is good - but it must have the same problem:
> grep will be available at the same time as on_ac_power!
> 
well, no, since grep lives in /bin. On startup, / get mounted read-only.
Thats the only way fsck can be run. That means that you can use grep,
and anything else livig in /bin. I personally have almost everything in
one partition, so I can use on_acpi_power as well, but for the sake of
speed, I prefer the grep method. 

matt

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042


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



Re: No fsck in battery mode

2003-09-07 Thread Matt Foster
Quoting Sean 'Shaleh' Perry ([EMAIL PROTECTED]):
> On Monday 01 September 2003 01:04, Harry Brueckner wrote:
> > Hello,
> >
> > is there a way to avoid the regular fsck run (every n mounts or after m
> > days) when the laptop is in battery mode?
> >
> > I think its quite a waste of battery power for the fsck run and
> > rescheduling for the next reboot (with powersupply available) would be very
> > nice. :-)
> >
> > Any idea how to get around the fsck run?
> >
> > TIA for any ideas,
> > Harry
> 
> So several of people have answered your question directly, however I would 
> like to caution you against this.
> 
> If fsck actually needs to run you are placing your data at considerable risk.  
> What you should consider is moving over to ext3 or another journaled fs.  For 
> the most part the journaling filesystems never need to run fsck check and are 
> MUCH better about handling sudden power loss.  Both of which are important on 
> a laptop.  The plus side is moving from ext2 -> ext3 is a simple matter of 
> running tune2fs and editing /etc/fstab to use ext3.  The stock Debian kernels 
> support ext3 and if you use your own compiling it in is trivial.
> 
> A search for 'ext3 laptop' will probably give you ideas about tuning the fs 
> further for your usage.
> 

I completly agree with what you're saying, but if you're on the move,
few things are more irritating than having to wait ten minutes for your
system to start-up. If you're like me, then you only use your laptop on
battery periodically, and at that point its normally fine to let fsck
run its course. 

Regardless of fs type(ext2 or 3, that is), fsck is run at startup, and
on my system the file system gets checked every 20something mounts
regardless. Maybe I'm missing something. 

That said, I don't think I'd dare going without fsck unless my system
was using a journalled fs, (which reminds me, for speed of checking and
repairing, XFS is excellent).

Matt

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042


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



Re: how does it all fit together? iwconfig, wlan-ng, hotplug, and pcmcia

2003-10-04 Thread Matt Foster
Hotplug will handle cardbus (32 Bit) cards, where as pcmcia jsut handle
16 nit cards. Its a tad confusing at first, until you realise that
cardbus is more or less PCI, and is therefore handled by pci
hotplugging.

To make my DLINK DWL-G650 Card work, I had to add to
/etc/pcmcia/config.opts to set up driver loading, and then add to
/etc/network/interfaces to allow hotplug to bring the interface up.

It certainly makes things interesting.

HTH

Matt


Quoting Daniel ([EMAIL PROTECTED]):
> 
>   Where does hotplug fit into this? Is that the recommended way of
> configuring new interfaces or should I stick with adding options in the
> /etc/pcmcia directory? Should I do my changes to
-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: linux-wlan-ng wep

2003-10-17 Thread Matt Foster
Quoting Yves Rutschle ([EMAIL PROTECTED]):
> On Fri, Oct 17, 2003 at 03:25:15PM +0200, Maximilian Pascher wrote:
> > please excuse this stupid question, but where the heck do I find the correct 
> > config file for linux-wlan-ng to set a wep key?
> 
> Not really a stupid question... I think the whole WLAN
> system lacks a bit of maturation in the Linux (Debian?)
> world, and there are indeed settings all over the place.
> Also, I have a suspicion that Debian does things in a
> different way than other distributions, rendering lots of
> documentation slightly wrong.
> 
> Apparently, encryption keys are manipulated with
> iwconfig(8), and most iwconfig parameters I have for my card
> are defined in /etc/network/interfaces, preceded with
> "wireless_". So if I were you, I'd try to add my key for the
> appropriate interface as:
> 
> iface wlan0 inet dhcp
> wireless_mode managed
> wireless_essid my_network
> wireless_enc 0001-0002-0003-0004
> 
> I haven't tried encryption at all yet, so this message is
> given to you free of charge and free of warranty, including
> that any of it is even remotely true :-)
> 
> Do let us know if that works tho!
> 
> /Y
> 
> 
I've used the command wireless_key before, which worked fine. So, if
wireless_enc doesn't, try that. They should be exactly equivalent AFAIK.

matt

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: your mail

2003-11-09 Thread Matt Foster
Quoting jamal khan ([EMAIL PROTECTED]):
> i want driver for crystal sound fusion (tm) cs-4281
>thankyou

I believe that this card is supported by alsa's cirrus logic module.
You should be able to apt-get install alsa, and build it from source.

Assuming, (of course), that it was a linux driver you were after :)


-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: Debian Users...

2003-11-18 Thread Matt Foster
sawfish

Quoting Dutch ([EMAIL PROTECTED]):
> 
> Just sorta takin an informal poll here...
> 
> Debian users,
> -how many of you are running Gnome?
> 
> -how many are running WindowMaker (me)
> 
> -If not WM,then which windowmanager doyou use/prefer?
> 
> (I have and am used to WindowMaker. Was thinking of playing with Gnome
> for a bit.)
> 
> -- 
> David
> 
> Bash > $_
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: CPU fan, CPU speed control

2003-11-28 Thread Matt Foster
Just a thought: You don't think that the two cpu thing below could be
due to intel hyperthreading do you? I've never used a box with a
hyperthreading CPU but I'm sure I've read about their CPU's appearing to
be two.

matt

Quoting xsdg ([EMAIL PROTECTED]):
> As others have said, you need to get cpufreq working.  Personally, I'd suggest 
> installing and using 2.6.0-testN (test9 works well on my laptop).  test9 (as well as 
> some others; I forget when it was merged) has cpufreq in the source tree, so all you 
> need to do is enable it and the relevant options.  If you need help, you can stop by 
> irc.oftc.net/#kernelnewbies.
> 
> Secondly, are you sure you have the correct cpuinfo?  I haven't seen any dual-proc 
> laptops before.
> 
> 
> On Fri, 21 Nov 2003 14:37:51 -0600 (CST)
> Dan Davison <[EMAIL PROTECTED]> wrote:
> 
> > 
> > Hi, I've just got a laptop with a Pentium 4 3.0 GHz CPU. The fan is very
> > noisy and seems to stay on all the time. I've been interested in the
> > recent discussion on this list about CPU speed control because I was
> > wondering whether the fan might turn off at times when the CPU was going
> > slower (plus it'd be good for batteries). However I'm new to debian and
> > linux and have not managed to get cpudynd or cpufreq working. I haven't
> > tried powernowd which I understand requires kernel 2.6. I'd be very
> > grateful for any suggestions about how to get control over the CPU speed
> > and/or calm the fan down a bit if/when it's not needed. Below is a
> > description of my attempt to get cpudynd working, with and withough ACPI.
> > 
> > 
> > I'm running kernel 2.4.22 at the moment. I installed and tried to get
> > working cpudynd:
> > 
> > dd:/home/dan# cpudynd 
> > cpudynd version 0.4.7 Copyright: Ricardo Galli <[EMAIL PROTECTED]>
> > cpudynd: CPU frequency control disabled
> > Error: Nothing to do, exiting
> > 
> > I tried this with APM options enabled in my kernel compilation, and now
> > I've enabled ACPI options as well and get the same response. How do I
> > enable CPU frequency control in this case?
> > 
> > 
> > More info:
> > 
> > Since having ACPI options included in my kernel, things seem to think I
> > have two CPUs. Is this normal/correct? Now when I look at /proc/cpuinfo I
> > get
> > 
> > dd:/proc# cat cpuinfo 
> > processor   : 0
> > vendor_id   : GenuineIntel
> > cpu family  : 15
> > model   : 2
> > model name  : Intel(R) Pentium(R) 4 CPU 3.00GHz
> > stepping: 9
> > cpu MHz : 3000.144
> > cache size  : 512 KB
> > fdiv_bug: no
> > hlt_bug : no
> > f00f_bug: no
> > coma_bug: no
> > fpu : yes
> > fpu_exception   : yes
> > cpuid level : 2
> > wp  : yes
> > flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
> > bogomips: 5989.99
> > 
> > processor   : 1
> > vendor_id   : GenuineIntel
> > cpu family  : 15
> > model   : 2
> > model name  : Intel(R) Pentium(R) 4 CPU 3.00GHz
> > stepping: 9
> > cpu MHz : 3000.144
> > cache size  : 512 KB
> > fdiv_bug: no
> > hlt_bug : no
> > f00f_bug: no
> > coma_bug: no
> > fpu : yes
> > fpu_exception   : yes
> > cpuid level : 2
> > wp  : yes
> > flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
> > bogomips: 5989.99
> > 
> > The contents of /proc/acpi/processor/CPU1/info are:
> > 
> > dd:/proc/acpi/processor/CPU1# cat info 
> > processor id:0
> > acpi id: 1
> > bus mastering control:   yes
> > power management:no
> > throttling control:  yes
> > performance management:  no
> > limit interface: yes
> > 
> > And BTW, is there any chance that the fan will turn off or slow down a bit
> > at lower CPU speeds (Do they (always) have a thermostat or something?)
> > 
> > 
> > Thanks a lot,
> > 
> > Dan
> > 
> > 
> > 
> > 
> > 
> > --
> > dan davison 
> > http://home.uchicago.edu/~davison/
> ::snip? SNIP!::
> 
> -- 
> | < caracal> xsdg: some cheese tends toward the |
> |   greasy side ... just put some in your pants and |
> |   you'll see  |
> ) http://www.cuodan.net/~xsdg/[EMAIL PROTECTED] (
> 


-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: wireless + wired + dhcp +... : unproper default route

2003-12-27 Thread Matt Foster
Quoting Jerome BENOIT ([EMAIL PROTECTED]):
> Hello List,
> 
> my laptop have both a wired and a wireless connections:
> to manage them I plan to use ifplugd beside ifupdown + dhcp stuff.
> 
> Of course the connection may be random,
> so without proper configuration, the route table may be random,
> and certainly unproper: in particular the default route
> may disapear if the eth0 is unpluged whereas it was pluged before
> the wireless connection. Another configuration is when the wireles 
> connection was pluged first and the wired second, then the default
> route is hold by the wireless card which is far slower than the
> wired card.
> 
> Is there an easy way to avoid these unproper configurations ?
> Must we play with dhcp ? or the iptable ?
> 
> Thanks in advance,
> Jerome
> 
> 
You could use the up (pre-updown post-down) commands in your interfaces
file to play about with the routing table when your interfaces come up
and down.

hth,

matt

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: wireless network problems

2004-01-01 Thread Matt Foster
Quoting Marcus Crafter ([EMAIL PROTECTED]):
> Mate, you'll probably need to take a look at the madwifi project at sf.net 
> to get the Gold card working (assuming it's operating with the Atheros
> chipset). I've got the 802.11/a/b/g gold card (miniPCI) and it works fine
> with this driver.

One thing I would add about the madwifi drivers is that if you want them
to work very well you'll need to check them out of cvs. The current
tarballs on the site are old (old old).  You might find the FAQ and wiki
helpful. There are links from madwifi's sf page.

have fun,
matt

ps. Happy New Year to everyone :)

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: 2.6.0 Kernel, Lost Keyboard and Mouse

2004-01-01 Thread Matt Foster
Quoting Andrew Neillans ([EMAIL PROTECTED]):
> 
> > Managed to actually get a copy of the 2.6.0 kernel to boot - it was next to
> > useless, but it booted! (With acpi=off   -- havent tried with acpi on yet,
> > that is my test for this morning ;))
> 
> Compiled with acpi on, and I loose keyboard + mouse. If I use acpi=off, both 
> work as expected. Strangely, with acpi disabled, i need to leave off the 
> acpi=off otherwise my mouse doesnt work ...
> 
> Anyone have any ideas on what to try in order to get acpi to behave? Would be 
> nice, considering its a laptop etc.
> 
> Andy
> 
Have you tried of pci=noacpi I had problems on various boxes without
that? 

hth,

matt

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: D-Link (pcmcia) DWL-650, debian 3.0r2 and Intel ISA to pcmcia card

2004-01-18 Thread Matt Foster
Quoting A. F. Cano ([EMAIL PROTECTED]):
> Hi,
> 
> After having read quite a bit about what is supported, I went out and got
> the D-Link DWL-650.  This wireless card is listed as working and tested
> at www.linux-wlan.org, the revision is P1 which according to D-Link is
> a Prism chipset.  According to what I've read, the orinoco_cs driver should
> support this card.
> 
> I have compiled the latest pcmcia sources with cardbus support.  The drivers
> load (orinoco_cs, hermes, etc...) but I only get a low tone upon insertion
> of the card.
> 
> The hardware is an Intel ISA card with two pcmcia slots (*).  Two other cards
> have been tested and work fine: a modem (serial_cs) and a 3c-589 ethernet
> card (3c589_cs).
> 
> The one thing that could be the problem is the ISA card (I think).  In
> different places I have read that the DWL-650 works in 16 bit and 32 bit
> slots, but also that it requires cardbus.  Is it necessary that the hardware
> explicitely support cardbus?  This is an old board so it likely does not.
> Could this be the reason why this card is not working?  Of course, software-
> wise, the pcmcia package is compiled with cardbus support.
> 
> One other long-shot possibility: could it be that kernel 2.2.20 is too old?
> I've tried 2.4.22 but have encountered disk controller hangs due to buggy
> HW in this old pentium-1 box.  2.2.20 works great.  Because this is such an
> old box, I'd rather not spend too much money on it, but I could return the
> pcmcia card and get a PCI one.
> 
> If there is no way this wireless card will work in this ISA card, what PCI
> wireless card would work with debian with minimum hassle?  Do pci wireless
> cards use the same drivers (minus the _cs)?
> 
> I welcome any info/opinions.
> 
> Thanks.
> 
> A.
> 
> 
> * Yeah, I know.  Not strictly a laptop, but where else would it be more
> appropriate to discuss laptop cards?
> 

Hi,

I'm pretty sure that you do need cardbus support, and it will most
likely explicitly need to be a cardbus controller that you use. Cardbus
is 32 bit, and acts a lot like pci. This explains it quite well
(http://www.handhelds.org/z/wiki/CardBus). I believe I'm right in saying
that you can't get ISA cardbus adapters, but I might be wrong.

hth,
matt

-- 
Matt Foster
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: Sony VAIO PCG-V505CP

2004-02-14 Thread Matt Foster
Quoting albatross ([EMAIL PROTECTED]):
> I just finished Debian Sarge. Install went ok but I freeze up when I digit
> startx even if I choosed vesa driver. Same thing using the ati radeon
> mobility 9200 driver? I get the graphic display but it doesen't go ahead...
> 
> Any hints?
> 
> albatross
> 

Most new vaio's will refuse to cooperate unless you use APCI in your
kernel. You might need to roll your own, unless you have recent  ACPI in
there already.

HTH,

matt

-- 
Matt Foster
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: Setting permissions

2004-03-21 Thread Matt Foster
Quoting s. keeling ([EMAIL PROTECTED]):
> Incoming from Aswin Venkat:
> > 
> > One problem that i've been noticing is that i cannot get emacs
> > to auto backup unless i open the emacs session in sudo mode. If i open
> 
> Could it be not that it cannot auto backup, but that you've TOLD it
> not to auto backup, via emacs' config file?  Try "emacs -q
> filename".  That will tell it to not load emacs' init file.
> 
> To tell the truth, I've always turned this off.  I can't remember the
> last time I saw emacs crash, or the machine it was running on.  I
> have:
> 
>(setq make-backup-files nil)
> 
> in my ~/.gnu-emacs (which is called by ~/.emacs).  If you find that in
> either of those files, comment it out and emacs will do backups.

This may not help at all, but then again it may... 

Anyway, I use vim as my default editor, and I had a similar problem
writing .viminfo (where vim stores info like command history, and
bookmarks). The problem was that the file was created during a sudo
session, and therefore root owned. So, if the backup file (or whatever
it is) is root owned, you might need to chmod it before you can access
it.

HTH, 

matt

-- 
Matt Foster
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: network files systems

2004-03-29 Thread Matt Foster
Quoting Lars Bjarby ([EMAIL PROTECTED]):
> On Sat, Mar 27, 2004 at 09:26:40PM +0100, Osamu Aoki wrote:
> 
> > unison or rsync maybe what you are looking at.
> > 
> 
> I can personally recommend using unison. I've been using it for a 
> couple of months to sync my home dir at school with my laptop. There 
> is also a windows port of it which is nice if you dualboot. I sync via 
> SSH but it is possible to sync against any directory etc...
> 
> if you're syncing with a FAT-partition you might want to check out the 
> "-ignorecase" switch..otherwise you might get douplicates of some 
> files/dirs.
> 

I agree, unison and rsync are the best. Use unison for when you want
directories to be identical, and rsync when you want to sync one way
only. You can configure both of them to use ssh, and if you use ssh keys
along with ssh-agent, syncing could be done automatically (say in a cron
job, or perhaps a post-up clause in the network/interfaces file).

The possibilities are endless!

Although neither of these solutions are network file systems, they are
nearly ideal for keeping laptops in sync, and are much less hassle to
set up than things like coda or intermezzo.

matt

-- 
Matt Foster
[EMAIL PROTECTED] | [EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 



signature.asc
Description: Digital signature


Re: PXE on laptop?

2004-04-25 Thread Matt Foster
Quoting Christian Nygaard ([EMAIL PROTECTED]):
> 
> Hi what major brands / series got PXE netbooting enabled laptops?
> 
> Cheers Chris
> 

My Sony Vaio R600 MX has an eepro100 card which will PXE boot. 
I suspect other sony laptops also do.

matt

-- 
Matt Foster
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: List based subject line

2004-05-29 Thread Matt Foster
Quoting David Fokkema ([EMAIL PROTECTED]):
> On Fri, May 28, 2004 at 09:13:46AM -0700, Bill Moseley wrote:
> > On Fri, May 28, 2004 at 03:29:09PM +0200, David Fokkema wrote:
> > > You can use procmail, a very simple yet efficient and very powerful mail
> > > filter. If you use the following rule:
> > > 
> > > :0
> > > ^X-Mailing-List:  > > debian-${MATCH}
> > 
> > Or if you use ^TO like 
> > 
> >   * (^TO|^X-Mailing-List:.*) ...
> > 
> > along with 
> > 
> > :0 Wh: msgid.lock
> > | formail -D 8192 $HOME/msgid.cache
> > 
> > they you you may find those CC's not so annoying, and maybe even nice on
> > very slow responding lists.
> 
> I like your last remark! However, I don't grok your last two script
> lines. Care to elaborate on them a bit? I would guess, from man formail,
> that duplicate messages are deleted. Very nice. But how do they get
> delivered in your correct mailboxes? Can you give the complete rule?
> Thanks!
> 

Aside from the obvious man pages, there's a really good introduction to
procmail filtering here[1]. The mailing list rules are particularly
good, and I've been using them for about 18 months (or maybe more) with
no problems at all.

hth,

matt

[1] http://www.linuxbrit.co.uk/procmail/

-- 
Matt Foster
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: linux-wlan-ng wep

2003-10-17 Thread Matt Foster
Quoting Yves Rutschle ([EMAIL PROTECTED]):
> On Fri, Oct 17, 2003 at 03:25:15PM +0200, Maximilian Pascher wrote:
> > please excuse this stupid question, but where the heck do I find the 
> > correct 
> > config file for linux-wlan-ng to set a wep key?
> 
> Not really a stupid question... I think the whole WLAN
> system lacks a bit of maturation in the Linux (Debian?)
> world, and there are indeed settings all over the place.
> Also, I have a suspicion that Debian does things in a
> different way than other distributions, rendering lots of
> documentation slightly wrong.
> 
> Apparently, encryption keys are manipulated with
> iwconfig(8), and most iwconfig parameters I have for my card
> are defined in /etc/network/interfaces, preceded with
> "wireless_". So if I were you, I'd try to add my key for the
> appropriate interface as:
> 
> iface wlan0 inet dhcp
> wireless_mode managed
> wireless_essid my_network
> wireless_enc 0001-0002-0003-0004
> 
> I haven't tried encryption at all yet, so this message is
> given to you free of charge and free of warranty, including
> that any of it is even remotely true :-)
> 
> Do let us know if that works tho!
> 
> /Y
> 
> 
I've used the command wireless_key before, which worked fine. So, if
wireless_enc doesn't, try that. They should be exactly equivalent AFAIK.

matt

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: your mail

2003-11-09 Thread Matt Foster
Quoting jamal khan ([EMAIL PROTECTED]):
> i want driver for crystal sound fusion (tm) cs-4281
>thankyou

I believe that this card is supported by alsa's cirrus logic module.
You should be able to apt-get install alsa, and build it from source.

Assuming, (of course), that it was a linux driver you were after :)


-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: Debian Users...

2003-11-18 Thread Matt Foster
sawfish

Quoting Dutch ([EMAIL PROTECTED]):
> 
> Just sorta takin an informal poll here...
> 
> Debian users,
> -how many of you are running Gnome?
> 
> -how many are running WindowMaker (me)
> 
> -If not WM,then which windowmanager doyou use/prefer?
> 
> (I have and am used to WindowMaker. Was thinking of playing with Gnome
> for a bit.)
> 
> -- 
> David
> 
> Bash > $_
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: CPU fan, CPU speed control

2003-11-28 Thread Matt Foster
Just a thought: You don't think that the two cpu thing below could be
due to intel hyperthreading do you? I've never used a box with a
hyperthreading CPU but I'm sure I've read about their CPU's appearing to
be two.

matt

Quoting xsdg ([EMAIL PROTECTED]):
> As others have said, you need to get cpufreq working.  Personally, I'd 
> suggest installing and using 2.6.0-testN (test9 works well on my laptop).  
> test9 (as well as some others; I forget when it was merged) has cpufreq in 
> the source tree, so all you need to do is enable it and the relevant options. 
>  If you need help, you can stop by irc.oftc.net/#kernelnewbies.
> 
> Secondly, are you sure you have the correct cpuinfo?  I haven't seen any 
> dual-proc laptops before.
> 
> 
> On Fri, 21 Nov 2003 14:37:51 -0600 (CST)
> Dan Davison <[EMAIL PROTECTED]> wrote:
> 
> > 
> > Hi, I've just got a laptop with a Pentium 4 3.0 GHz CPU. The fan is very
> > noisy and seems to stay on all the time. I've been interested in the
> > recent discussion on this list about CPU speed control because I was
> > wondering whether the fan might turn off at times when the CPU was going
> > slower (plus it'd be good for batteries). However I'm new to debian and
> > linux and have not managed to get cpudynd or cpufreq working. I haven't
> > tried powernowd which I understand requires kernel 2.6. I'd be very
> > grateful for any suggestions about how to get control over the CPU speed
> > and/or calm the fan down a bit if/when it's not needed. Below is a
> > description of my attempt to get cpudynd working, with and withough ACPI.
> > 
> > 
> > I'm running kernel 2.4.22 at the moment. I installed and tried to get
> > working cpudynd:
> > 
> > dd:/home/dan# cpudynd 
> > cpudynd version 0.4.7 Copyright: Ricardo Galli <[EMAIL PROTECTED]>
> > cpudynd: CPU frequency control disabled
> > Error: Nothing to do, exiting
> > 
> > I tried this with APM options enabled in my kernel compilation, and now
> > I've enabled ACPI options as well and get the same response. How do I
> > enable CPU frequency control in this case?
> > 
> > 
> > More info:
> > 
> > Since having ACPI options included in my kernel, things seem to think I
> > have two CPUs. Is this normal/correct? Now when I look at /proc/cpuinfo I
> > get
> > 
> > dd:/proc# cat cpuinfo 
> > processor   : 0
> > vendor_id   : GenuineIntel
> > cpu family  : 15
> > model   : 2
> > model name  : Intel(R) Pentium(R) 4 CPU 3.00GHz
> > stepping: 9
> > cpu MHz : 3000.144
> > cache size  : 512 KB
> > fdiv_bug: no
> > hlt_bug : no
> > f00f_bug: no
> > coma_bug: no
> > fpu : yes
> > fpu_exception   : yes
> > cpuid level : 2
> > wp  : yes
> > flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
> > bogomips: 5989.99
> > 
> > processor   : 1
> > vendor_id   : GenuineIntel
> > cpu family  : 15
> > model   : 2
> > model name  : Intel(R) Pentium(R) 4 CPU 3.00GHz
> > stepping: 9
> > cpu MHz : 3000.144
> > cache size  : 512 KB
> > fdiv_bug: no
> > hlt_bug : no
> > f00f_bug: no
> > coma_bug: no
> > fpu : yes
> > fpu_exception   : yes
> > cpuid level : 2
> > wp  : yes
> > flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
> > bogomips: 5989.99
> > 
> > The contents of /proc/acpi/processor/CPU1/info are:
> > 
> > dd:/proc/acpi/processor/CPU1# cat info 
> > processor id:0
> > acpi id: 1
> > bus mastering control:   yes
> > power management:no
> > throttling control:  yes
> > performance management:  no
> > limit interface: yes
> > 
> > And BTW, is there any chance that the fan will turn off or slow down a bit
> > at lower CPU speeds (Do they (always) have a thermostat or something?)
> > 
> > 
> > Thanks a lot,
> > 
> > Dan
> > 
> > 
> > 
> > 
> > 
> > --
> > dan davison 
> > http://home.uchicago.edu/~davison/
> ::snip? SNIP!::
> 
> -- 
> | < caracal> xsdg: some cheese tends toward the |
> |   greasy side ... just put some in your pants and |
> |   you'll see  |
> ) http://www.cuodan.net/~xsdg/[EMAIL PROTECTED] (
> 


-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: wireless + wired + dhcp +... : unproper default route

2003-12-27 Thread Matt Foster
Quoting Jerome BENOIT ([EMAIL PROTECTED]):
> Hello List,
> 
> my laptop have both a wired and a wireless connections:
> to manage them I plan to use ifplugd beside ifupdown + dhcp stuff.
> 
> Of course the connection may be random,
> so without proper configuration, the route table may be random,
> and certainly unproper: in particular the default route
> may disapear if the eth0 is unpluged whereas it was pluged before
> the wireless connection. Another configuration is when the wireles 
> connection was pluged first and the wired second, then the default
> route is hold by the wireless card which is far slower than the
> wired card.
> 
> Is there an easy way to avoid these unproper configurations ?
> Must we play with dhcp ? or the iptable ?
> 
> Thanks in advance,
> Jerome
> 
> 
You could use the up (pre-updown post-down) commands in your interfaces
file to play about with the routing table when your interfaces come up
and down.

hth,

matt

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: 2.6.0 Kernel, Lost Keyboard and Mouse

2004-01-01 Thread Matt Foster
Quoting Andrew Neillans ([EMAIL PROTECTED]):
> 
> > Managed to actually get a copy of the 2.6.0 kernel to boot - it was next to
> > useless, but it booted! (With acpi=off   -- havent tried with acpi on yet,
> > that is my test for this morning ;))
> 
> Compiled with acpi on, and I loose keyboard + mouse. If I use acpi=off, both 
> work as expected. Strangely, with acpi disabled, i need to leave off the 
> acpi=off otherwise my mouse doesnt work ...
> 
> Anyone have any ideas on what to try in order to get acpi to behave? Would be 
> nice, considering its a laptop etc.
> 
> Andy
> 
Have you tried of pci=noacpi I had problems on various boxes without
that? 

hth,

matt

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: wireless network problems

2004-01-01 Thread Matt Foster
Quoting Marcus Crafter ([EMAIL PROTECTED]):
> Mate, you'll probably need to take a look at the madwifi project at sf.net 
> to get the Gold card working (assuming it's operating with the Atheros
> chipset). I've got the 802.11/a/b/g gold card (miniPCI) and it works fine
> with this driver.

One thing I would add about the madwifi drivers is that if you want them
to work very well you'll need to check them out of cvs. The current
tarballs on the site are old (old old).  You might find the FAQ and wiki
helpful. There are links from madwifi's sf page.

have fun,
matt

ps. Happy New Year to everyone :)

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: D-Link (pcmcia) DWL-650, debian 3.0r2 and Intel ISA to pcmcia card

2004-01-18 Thread Matt Foster
Quoting A. F. Cano ([EMAIL PROTECTED]):
> Hi,
> 
> After having read quite a bit about what is supported, I went out and got
> the D-Link DWL-650.  This wireless card is listed as working and tested
> at www.linux-wlan.org, the revision is P1 which according to D-Link is
> a Prism chipset.  According to what I've read, the orinoco_cs driver should
> support this card.
> 
> I have compiled the latest pcmcia sources with cardbus support.  The drivers
> load (orinoco_cs, hermes, etc...) but I only get a low tone upon insertion
> of the card.
> 
> The hardware is an Intel ISA card with two pcmcia slots (*).  Two other cards
> have been tested and work fine: a modem (serial_cs) and a 3c-589 ethernet
> card (3c589_cs).
> 
> The one thing that could be the problem is the ISA card (I think).  In
> different places I have read that the DWL-650 works in 16 bit and 32 bit
> slots, but also that it requires cardbus.  Is it necessary that the hardware
> explicitely support cardbus?  This is an old board so it likely does not.
> Could this be the reason why this card is not working?  Of course, software-
> wise, the pcmcia package is compiled with cardbus support.
> 
> One other long-shot possibility: could it be that kernel 2.2.20 is too old?
> I've tried 2.4.22 but have encountered disk controller hangs due to buggy
> HW in this old pentium-1 box.  2.2.20 works great.  Because this is such an
> old box, I'd rather not spend too much money on it, but I could return the
> pcmcia card and get a PCI one.
> 
> If there is no way this wireless card will work in this ISA card, what PCI
> wireless card would work with debian with minimum hassle?  Do pci wireless
> cards use the same drivers (minus the _cs)?
> 
> I welcome any info/opinions.
> 
> Thanks.
> 
> A.
> 
> 
> * Yeah, I know.  Not strictly a laptop, but where else would it be more
> appropriate to discuss laptop cards?
> 

Hi,

I'm pretty sure that you do need cardbus support, and it will most
likely explicitly need to be a cardbus controller that you use. Cardbus
is 32 bit, and acts a lot like pci. This explains it quite well
(http://www.handhelds.org/z/wiki/CardBus). I believe I'm right in saying
that you can't get ISA cardbus adapters, but I might be wrong.

hth,
matt

-- 
Matt Foster
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: Sony VAIO PCG-V505CP

2004-02-14 Thread Matt Foster
Quoting albatross ([EMAIL PROTECTED]):
> I just finished Debian Sarge. Install went ok but I freeze up when I digit
> startx even if I choosed vesa driver. Same thing using the ati radeon
> mobility 9200 driver? I get the graphic display but it doesen't go ahead...
> 
> Any hints?
> 
> albatross
> 

Most new vaio's will refuse to cooperate unless you use APCI in your
kernel. You might need to roll your own, unless you have recent  ACPI in
there already.

HTH,

matt

-- 
Matt Foster
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: Setting permissions

2004-03-21 Thread Matt Foster
Quoting s. keeling ([EMAIL PROTECTED]):
> Incoming from Aswin Venkat:
> > 
> > One problem that i've been noticing is that i cannot get emacs
> > to auto backup unless i open the emacs session in sudo mode. If i open
> 
> Could it be not that it cannot auto backup, but that you've TOLD it
> not to auto backup, via emacs' config file?  Try "emacs -q
> filename".  That will tell it to not load emacs' init file.
> 
> To tell the truth, I've always turned this off.  I can't remember the
> last time I saw emacs crash, or the machine it was running on.  I
> have:
> 
>(setq make-backup-files nil)
> 
> in my ~/.gnu-emacs (which is called by ~/.emacs).  If you find that in
> either of those files, comment it out and emacs will do backups.

This may not help at all, but then again it may... 

Anyway, I use vim as my default editor, and I had a similar problem
writing .viminfo (where vim stores info like command history, and
bookmarks). The problem was that the file was created during a sudo
session, and therefore root owned. So, if the backup file (or whatever
it is) is root owned, you might need to chmod it before you can access
it.

HTH, 

matt

-- 
Matt Foster
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: network files systems

2004-03-29 Thread Matt Foster
Quoting Lars Bjarby ([EMAIL PROTECTED]):
> On Sat, Mar 27, 2004 at 09:26:40PM +0100, Osamu Aoki wrote:
> 
> > unison or rsync maybe what you are looking at.
> > 
> 
> I can personally recommend using unison. I've been using it for a 
> couple of months to sync my home dir at school with my laptop. There 
> is also a windows port of it which is nice if you dualboot. I sync via 
> SSH but it is possible to sync against any directory etc...
> 
> if you're syncing with a FAT-partition you might want to check out the 
> "-ignorecase" switch..otherwise you might get douplicates of some 
> files/dirs.
> 

I agree, unison and rsync are the best. Use unison for when you want
directories to be identical, and rsync when you want to sync one way
only. You can configure both of them to use ssh, and if you use ssh keys
along with ssh-agent, syncing could be done automatically (say in a cron
job, or perhaps a post-up clause in the network/interfaces file).

The possibilities are endless!

Although neither of these solutions are network file systems, they are
nearly ideal for keeping laptops in sync, and are much less hassle to
set up than things like coda or intermezzo.

matt

-- 
Matt Foster
[EMAIL PROTECTED] | [EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 



signature.asc
Description: Digital signature


Re: PXE on laptop?

2004-04-25 Thread Matt Foster
Quoting Christian Nygaard ([EMAIL PROTECTED]):
> 
> Hi what major brands / series got PXE netbooting enabled laptops?
> 
> Cheers Chris
> 

My Sony Vaio R600 MX has an eepro100 card which will PXE boot. 
I suspect other sony laptops also do.

matt

-- 
Matt Foster
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: List based subject line

2004-05-29 Thread Matt Foster
Quoting David Fokkema ([EMAIL PROTECTED]):
> On Fri, May 28, 2004 at 09:13:46AM -0700, Bill Moseley wrote:
> > On Fri, May 28, 2004 at 03:29:09PM +0200, David Fokkema wrote:
> > > You can use procmail, a very simple yet efficient and very powerful mail
> > > filter. If you use the following rule:
> > > 
> > > :0
> > > ^X-Mailing-List:  > > debian-${MATCH}
> > 
> > Or if you use ^TO like 
> > 
> >   * (^TO|^X-Mailing-List:.*) ...
> > 
> > along with 
> > 
> > :0 Wh: msgid.lock
> > | formail -D 8192 $HOME/msgid.cache
> > 
> > they you you may find those CC's not so annoying, and maybe even nice on
> > very slow responding lists.
> 
> I like your last remark! However, I don't grok your last two script
> lines. Care to elaborate on them a bit? I would guess, from man formail,
> that duplicate messages are deleted. Very nice. But how do they get
> delivered in your correct mailboxes? Can you give the complete rule?
> Thanks!
> 

Aside from the obvious man pages, there's a really good introduction to
procmail filtering here[1]. The mailing list rules are particularly
good, and I've been using them for about 18 months (or maybe more) with
no problems at all.

hth,

matt

[1] http://www.linuxbrit.co.uk/procmail/

-- 
Matt Foster
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



signature.asc
Description: Digital signature


Re: [OT] RS232 to USB adapter

2004-06-08 Thread Matt Foster
Quoting Christian Schuerer ([EMAIL PROTECTED]):
> Hello,
> 
> unfortunately my laptop doesn't have any standard serial port (RS232), but I 
> would need one for my studies. I googled if there are any linux-supported 
> Serial-to-USB adapters, but didn't find anything.
> 
> Does anyone know about a Serial-to-USB adapters which is known to work with 
> linux? Is there maybe a generic module like for USB mass storage devices?
> 
> Any help is appreciated,

Hi,

Assuming you mean USB-to-Serial adapters (it is usual to write the host
end first), then yes, they're readily available. 

I have one of these [1], which worked fine when I last used it with the
generic usb-serial adapter kernel driver (under 2.4), look under 'USB
Serial convertor support in 2.6 kernels.

[1] 
http://www.ebuyer.com/customer/products/index.html?action=c2hvd19wcm9kdWN0X292ZXJ2aWV3&product_uid=40608

Have fun,

matt
-- 
Matt Foster
[EMAIL PROTECTED] | [EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 



signature.asc
Description: Digital signature