Re: [gentoo-user] Problem with keyboard layout

2008-06-20 Thread Mateusz A. Mierzwiński

Mateusz A. Mierzwiński pisze:

Hi!

I have problem with Keyboard Layout. I've set KDE (3.5.9) to use 
Polish Keyboard Layout, but when i press left ALT it brings event like 
RETURN key was pressed. After pressing UP arrow print screen event 
with screen capture app bringing to life. What's wrong? I can't use my 
PC normal. Arch is AMD64, that things started after today's Gentoo 
update. What's wrong?


If You tell me to get checksums of xkbcomp or something like that, 
I've all ready done it. Files are the same.


ThX, Mateusz M






signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Problem with keyboard layout

2008-06-20 Thread Volker Armin Hemmann
On Thursday 19 June 2008, Mateusz A. Mierzwiński wrote:
 Hi!

 I have problem with Keyboard Layout. I've set KDE (3.5.9) to use Polish
 Keyboard Layout, but when i press left ALT it brings event like RETURN
 key was pressed. After pressing UP arrow print screen event with screen
 capture app bringing to life. What's wrong? I can't use my PC normal.
 Arch is AMD64, that things started after today's Gentoo update. What's
 wrong?

 If You tell me to get checksums of xkbcomp or something like that, I've
 all ready done it. Files are the same.

 ThX, Mateusz M

have you set your layout in xorg.conf? If no, try it and deactivate layouts in 
kde. If yes, maybe it is bad interaction. What does xev report when you hit a 
key?
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Problem with keyboard layout

2008-06-20 Thread Dimitar Toshev
On Thursday 19 June 2008, Mateusz A. Mierzwiński wrote:
 Hi!

 I have problem with Keyboard Layout. I've set KDE (3.5.9) to use Polish
 Keyboard Layout, but when i press left ALT it brings event like RETURN
 key was pressed. After pressing UP arrow print screen event with screen
 capture app bringing to life. What's wrong? I can't use my PC normal.
 Arch is AMD64, that things started after today's Gentoo update. What's
 wrong?

 If You tell me to get checksums of xkbcomp or something like that, I've
 all ready done it. Files are the same.

 ThX, Mateusz M

Make sure you set the right keyboard model - it's set from the Keyboard 
Layout config. If you use evdev for your keyboard driver, set the model 
to Evdev-managed keyboard; otherwise, use on of the Generic models.

If this started happening recently, my guess is that you've upgraded 
xf86-input-evdev and the new version is automatically detecting your keyboard 
and mouse and assigning them to the evdev driver. In case you don't want 
automatic input detection, add

Section ServerFlags
Option  AutoAddDevices off
EndSection

to your xorg.conf.

-- 
Dimitar Toshev
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Problem with keyboard layout

2008-06-20 Thread Rumen Yotov
On (19/06/08 22:41) Mateusz A. Mierzwiński wrote:
 Hi!

 I have problem with Keyboard Layout. I've set KDE (3.5.9) to use Polish 
 Keyboard Layout, but when i press left ALT it brings event like RETURN key 
 was pressed. After pressing UP arrow print screen event with screen capture 
 app bringing to life. What's wrong? I can't use my PC normal. Arch is 
 AMD64, that things started after today's Gentoo update. What's wrong?

 If You tell me to get checksums of xkbcomp or something like that, I've all 
 ready done it. Files are the same.

 ThX, Mateusz M

Hi,

Please check the elog message of your latest xf86-input-evdev ebuild.
Here's part of it (xf86-input-evdev-1.99.2-r2.log):
LOG   2008-06-12 09:35:06.380: If your XKB (keyboard settings) stopped
working,
LOG   2008-06-12 09:35:06.570: you may uninstall this driver or move
your XKB configuration.
LOG   2008-06-12 09:35:06.761: Download an example from
http://dev.gentoo.org/~compnerd/temp/hal-config-examples/
LOG   2008-06-12 09:35:06.952: (these will be installed with
sys-apps/hal soon),
LOG   2008-06-12 09:35:07.142: and drop it into /etc/hal/fdi/policy/
...end...
Or just see the ebuild itself.
This is working for me.
HTH. Rumen


pgpX9JUkO4ihq.pgp
Description: PGP signature


[gentoo-user] Sudo config

2008-06-20 Thread Paul Melvin
HI,

 

I have been using ubuntu for a while and have come to like sudo.

 

Now I am moving over to gentoo and would like to set this up as for me it is
far more convenient to just type sudo rather than the su business.

 

However when I emerge sudo, install and run it the following comes up with:

 

We trust you have received the usual lecture from the local System

Administrator. It usually boils down to these three things:

 

#1) Respect the privacy of others.

#2) Think before you type.

#3) With great power comes great responsibility.

 

Password:

 

Which is all very good but I don't really want to see it every time, I have
searched on how to remove it but have found nothing, I did download sudo tar
and do a grep and found it in one of the c files but as I am not a
programmer I don't know if I can simply remove this or not.

 

How can I, when I sudo,:

 

1.get rid of all the text

2.change the password line to something, dare I say it, like ubuntu, e.g.
[sudo] password for paul, I assume paul is just a $USER

 

Cheers

 

paul



Re: [gentoo-user] Problem with keyboard layout

2008-06-20 Thread Mateusz A. Mierzwiński

Rumen Yotov pisze:

On (19/06/08 22:41) Mateusz A. Mierzwiński wrote:
  

Hi!

I have problem with Keyboard Layout. I've set KDE (3.5.9) to use Polish 
Keyboard Layout, but when i press left ALT it brings event like RETURN key 
was pressed. After pressing UP arrow print screen event with screen capture 
app bringing to life. What's wrong? I can't use my PC normal. Arch is 
AMD64, that things started after today's Gentoo update. What's wrong?


If You tell me to get checksums of xkbcomp or something like that, I've all 
ready done it. Files are the same.


ThX, Mateusz M



Hi,

Please check the elog message of your latest xf86-input-evdev ebuild.
Here's part of it (xf86-input-evdev-1.99.2-r2.log):
LOG   2008-06-12 09:35:06.380: If your XKB (keyboard settings) stopped
working,
LOG   2008-06-12 09:35:06.570: you may uninstall this driver or move
your XKB configuration.
LOG   2008-06-12 09:35:06.761: Download an example from
http://dev.gentoo.org/~compnerd/temp/hal-config-examples/
LOG   2008-06-12 09:35:06.952: (these will be installed with
sys-apps/hal soon),
LOG   2008-06-12 09:35:07.142: and drop it into /etc/hal/fdi/policy/
...end...
Or just see the ebuild itself.
This is working for me.
HTH. Rumen
  

Thank's all for help.

I've recompiled xorg-server without HAL support and without EVDEV input 
device. Now XORG runs OK with Polish keyboard. Anyone also know what is 
DMX flag (libdmx)?




signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: digital camera - Longshot!

2008-06-20 Thread James
Matthew R. Lee gentoo at matthewlee.org writes:

 
 Dear All,
 I've just taken delivery of a shiny new microscope with a digital imaging 
 system. Essentially a fancy usb webcam.  As usual out of the box there is no 
 Linux support. The model is a Q Imaging Go-3. Their website doesn't mention 
 linux support except in the context of the firewire models.


http://www.qimaging.com/products/cameras/documentation/

Says:
The Go Series use superior CMOS sensors which take advantage of USB 2.0
plug-n-play interfaces under Windows supported operating systems. The
MicroPublisher cameras use CCD technology combined with the sustained data
performance of FireWire to offer superior color imaging and performance for
Windows, Mac and Linux based operating systems. Both the Go and MicroPublisher
series cameras come with QCapture Suite and QCapture Pro software designed for
high speed performance preview and capture functions. A Software Development Kit
is available for easy interfacing with custom software. QImaging cameras are
compatible with a large selection of life science and industrial software for
microscope, machine vision and video streaming applications. 


Oh by the way, in my previous post I mentioned classes of usb
drivers. Take a look here:

http://www.usb.org/developers/defined_class

A generic class driver under linux just might work for your device,
since it is bascially a web cam. Vendors most often try to get 
their products to use the generic class drivers, so they work
out of the box with the various operating systems.

Surely there is a way to make one of their microscopes work with linux?


I'd be interested in this, if they do not cost too much.


James

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Sudo config

2008-06-20 Thread Anthony Metcalf

Paul Melvin wrote:


HI,

 


I have been using ubuntu for a while and have come to like sudo.

 

Now I am moving over to gentoo and would like to set this up as for me 
it is far more convenient to just type sudo rather than the su business.


 

However when I emerge sudo, install and run it the following comes up 
with:


 


We trust you have received the usual lecture from the local System

Administrator. It usually boils down to these three things:

 


#1) Respect the privacy of others.

#2) Think before you type.

#3) With great power comes great responsibility.

 


Password:

 

Which is all very good but I don’t really want to see it every time, I 
have searched on how to remove it but have found nothing, I did 
download sudo tar and do a grep and found it in one of the c files but 
as I am not a programmer I don’t know if I can simply remove this or not.


 


How can I, when I sudo,:

 


1.get rid of all the text

2.change the password line to something, dare I say it, like ubuntu, 
e.g. [sudo] password for paul, I assume paul is just a $USER


 


Cheers

 


paul


Look at /etc/sudoers It is very well documented.

I have a line like

# Same thing without a password
%wheel  ALL=(ALL)   NOPASSWD: ALL

which mean sthat anyone in the wheel group can use sudo as you want.

Anthony



Re: [gentoo-user] Sudo config

2008-06-20 Thread Ward Poelmans
2008/6/20 Paul Melvin [EMAIL PROTECTED]:
 1.get rid of all the text

Add:
Defaults !lecture

to you sudoers file

 2.change the password line to something, dare I say it, like ubuntu, e.g.
 [sudo] password for paul, I assume paul is just a $USER

Look at the sudoers man page. It's all there.

Ward
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Sudo config

2008-06-20 Thread Etaoin Shrdlu
On Friday 20 June 2008, 16:58, Paul Melvin wrote:

 How can I, when I sudo,:



 1.get rid of all the text

The lecture directive in /etc/sudoers seems to control that, although 
it's not terribly clear.

 2.change the password line to something, dare I say it, like ubuntu,
 e.g. [sudo] password for paul, I assume paul is just a $USER

This is controlled by the passprompt directive.

man sudoers has decent explanations of both.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: digital camera - Longshot!

2008-06-20 Thread Matthew R. Lee
On Friday 20 June 2008 11:02:28 James wrote:
 Matthew R. Lee gentoo at matthewlee.org writes:
  Dear All,
  I've just taken delivery of a shiny new microscope with a digital imaging
  system. Essentially a fancy usb webcam.  As usual out of the box there is
  no Linux support. The model is a Q Imaging Go-3. Their website doesn't
  mention linux support except in the context of the firewire models.

 http://www.qimaging.com/products/cameras/documentation/

 Says:
 The Go Series use superior CMOS sensors which take advantage of USB 2.0
 plug-n-play interfaces under Windows supported operating systems. The
 MicroPublisher cameras use CCD technology combined with the sustained data
 performance of FireWire to offer superior color imaging and performance for
 Windows, Mac and Linux based operating systems. Both the Go and
 MicroPublisher series cameras come with QCapture Suite and QCapture Pro
 software designed for high speed performance preview and capture functions.
 A Software Development Kit is available for easy interfacing with custom
 software. QImaging cameras are compatible with a large selection of life
 science and industrial software for microscope, machine vision and video
 streaming applications. 


 Oh by the way, in my previous post I mentioned classes of usb
 drivers. Take a look here:

 http://www.usb.org/developers/defined_class

 A generic class driver under linux just might work for your device,
 since it is bascially a web cam. Vendors most often try to get
 their products to use the generic class drivers, so they work
 out of the box with the various operating systems.

 Surely there is a way to make one of their microscopes work with linux?


 I'd be interested in this, if they do not cost too much.


 James

Thanks for the info, I haven't got time to do anything about this until the 
weekend. Hopefully it will just work.  As for the cost, it is excessivly 
spendy. The cost was around 2.3 million chilean pesos, that's about £2300 or 
$4600 US. Yeah! seemed exhorbitant to me, but I'm not paying for it.
Saludos
Matt

-- 
%%%
Dr. Matthew R. Lee
Instituto Biologia Marina 'Jurgen Winter'
Universidad Austral de Chile
Campus Isla Teja
Valdivia

[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Sudo config

2008-06-20 Thread Conway S. Smith
On Fri, 20 Jun 2008 16:11:31 +0100
Anthony Metcalf [EMAIL PROTECTED] wrote:
 Paul Melvin wrote:
 
  HI,
 
   
 
  I have been using ubuntu for a while and have come to like sudo.
 
   
 
  Now I am moving over to gentoo and would like to set this up as
  for me it is far more convenient to just type sudo rather than
  the su business.
 
   
 
  However when I emerge sudo, install and run it the following
  comes up with:
 
   
 
  We trust you have received the usual lecture from the local System
 
  Administrator. It usually boils down to these three things:
 
   
 
  #1) Respect the privacy of others.
 
  #2) Think before you type.
 
  #3) With great power comes great responsibility.
 
   
 
  Password:
 
   
 
  Which is all very good but I don’t really want to see it every
  time, I have searched on how to remove it but have found nothing,
  I did download sudo tar and do a grep and found it in one of the
  c files but as I am not a programmer I don’t know if I can simply
  remove this or not.
 
   
 
  How can I, when I sudo,:
 
   
 
  1.get rid of all the text
 
  2.change the password line to something, dare I say it, like
  ubuntu, e.g. [sudo] password for paul, I assume paul is just a
  $USER
 
 
 Look at /etc/sudoers It is very well documented.
 
 I have a line like
  # Same thing without a password
  %wheel  ALL=(ALL)   NOPASSWD: ALL
 which mean sthat anyone in the wheel group can use sudo as you want.
 
 Anthony
 

Note that the correct way to edit the /etc/sudoers file is w/ the
command visudo as root, rather than editing the file directly in your
favorite editor.  Set the EDITOR environment variable to your
preferred editor  visudo should use it.


Conway S. Smith
--
gentoo-user@lists.gentoo.org mailing list



RE: [gentoo-user] Sudo config

2008-06-20 Thread Paul Melvin
 -Original Message-
 From: Etaoin Shrdlu [mailto:[EMAIL PROTECTED]
 Sent: 20 June 2008 16:17
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Sudo config
 
 On Friday 20 June 2008, 16:58, Paul Melvin wrote:
 
  How can I, when I sudo,:
 
 
 
  1.get rid of all the text
 
 The lecture directive in /etc/sudoers seems to control that, although
 it's not terribly clear.
 
  2.change the password line to something, dare I say it, like ubuntu,
  e.g. [sudo] password for paul, I assume paul is just a $USER
 
 This is controlled by the passprompt directive.
 
 man sudoers has decent explanations of both.
 --
 gentoo-user@lists.gentoo.org mailing list

Thanks Ward and Etaoin, will do
 

__ Information from ESET Smart Security, version of virus signature 
database 3203 (20080620) __

The message was checked by ESET Smart Security.

http://www.eset.com
 

--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Remote install @Hetzner

2008-06-20 Thread Enrico Weigelt

Hi folks,


I'm currently trying to install Gentoo remotely on an Hetzer 
(www.hetzner.de) Server via rescue system. Everything seemed
to work fine, but the box doesn't come up.

I don't have any physical/serial console access, so I cannot 
see what's happening :(

Did anyone manage to get an remote install in such an situation ?
(maybe even @ Hetzner).


thx
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Internal Mic on Mac

2008-06-20 Thread Paulo J. Matos
Hi,

I have a macbook with gentoo and kernel 2.6.25-gentoo-r3, any
suggestions on how to make the internal mic working?
I have sound but internal mic doesn't seem to work.

Cheers,

Paulo Matos

-- 
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Remote install @Hetzner

2008-06-20 Thread Markus Schönhaber
Enrico Weigelt schrieb:

 I'm currently trying to install Gentoo remotely on an Hetzer 
 (www.hetzner.de) Server via rescue system. Everything seemed
 to work fine, but the box doesn't come up.
 
 I don't have any physical/serial console access, so I cannot 
 see what's happening :(
 
 Did anyone manage to get an remote install in such an situation ?
 (maybe even @ Hetzner).

I have a remote server @ Hetzner but it's Ubuntu not Gentoo, so I have
no idea what might be the problem.
WRT serial console: did you try LARA? On the robot website, below
Verwaltung click on Support-Anfragen. There you can select Remote
Console (LARA).

Regards
  mks
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Remote install @Hetzner

2008-06-20 Thread Johann Schmitz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

We've set up a gentoo server on Hetzner. There are some hints about remote 
install in the hetzner dokuwiki
(http://wiki.hetzner.de), even some gentoo-related articles.
Did you tried to reboot into the rescue system, and check the logs? Is the 
Server reachable via ping?



Enrico Weigelt schrieb:
| Hi folks,
|
|
| I'm currently trying to install Gentoo remotely on an Hetzer
| (www.hetzner.de) Server via rescue system. Everything seemed
| to work fine, but the box doesn't come up.
|
| I don't have any physical/serial console access, so I cannot
| see what's happening :(
|
| Did anyone manage to get an remote install in such an situation ?
| (maybe even @ Hetzner).
|
|
| thx

- --
Johann Schmitz
http://www.j-schmitz.net

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkhcFmIACgkQZsUt7MqpQk2bywCg1XEwVoDoi6BZe9IrBHfNBKvO
VtUAn3f+P2761CLZhBIwgt7SRevqG/Fp
=tA45
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Remote install @Hetzner

2008-06-20 Thread Markus Schönhaber
Markus Schönhaber wrote:

 I have a remote server @ Hetzner

s/remote/root/

Regards
  mks
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Remote install @Hetzner

2008-06-20 Thread Enrico Weigelt
* Johann Schmitz [EMAIL PROTECTED] wrote:

Hi,

 We've set up a gentoo server on Hetzner. There are some hints about remote 
 install in the hetzner dokuwiki
 (http://wiki.hetzner.de), even some gentoo-related articles.

yep, already found it, but didn't help very much :(

 Did you tried to reboot into the rescue system, and check the logs? Is the 
 Server reachable via ping?

It doesnt seem to write anythings to disk, neither does the IP interface
come up. I guess, something's wrong with the bootloader or kernel.
The image installation seems to work fine. But I just forgot to set the
root password and the management robot is now offline until 01:00 :((

In the next step (if the bot's back again) I'll try to boot the debian
image's kernel with gentoo's rootfs from the second disk. That should
isolate the problem to either Gentoo config or the (meanwhile overwritten)
bootloader/kernel.

BTW: I've tried to start some services within the sysroot, but that
tried to mount/check the rootfs and of course failed :(
Should I trick init.d to think these services were already started ?


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Remote install @Hetzner

2008-06-20 Thread Enrico Weigelt
* Markus Schönhaber [EMAIL PROTECTED] wrote:

 WRT serial console: did you try LARA? On the robot website, below
 Verwaltung click on Support-Anfragen. There you can select Remote
 Console (LARA).

Do all servers have that remote console or do I have to order
it additionally ?
(the bot's currently offline, so I cant check yet)

cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Remote install @Hetzner

2008-06-20 Thread Markus Schönhaber
Enrico Weigelt wrote:

 Do all servers have that remote console or do I have to order
 it additionally ?

I'm not sure. But since I didn't explicitly order it, I think that, yes,
all dedicated servers come with this feature included.

 (the bot's currently offline, so I cant check yet)

Seems that today's your lucky day...

Regards
  mks
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Sudo config

2008-06-20 Thread Stroller


On 20 Jun 2008, at 15:58, Paul Melvin wrote:

...
However when I emerge sudo, install and run it the following comes  
up with:


We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

Password:

Which is all very good but I don’t really want to see it every  
time,...


On my systems I have only seen this *every* time I `sudo` when my  
clock has been broken.


Suggest you `emerge ntp` and add ntp-client to the default runlevel.

Stroller.

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Multiple TV Cards.

2008-06-20 Thread Andrew MacKenzie
+++ Duane Griffin [gentoo-user] [Thu, Jun 19, 2008 at 11:53:38PM +0100]:
 2008/6/17 Andrew MacKenzie [EMAIL PROTECTED]:
  But since I have two video cards that are both using bttv...   How do I set
  this option for one but not the other?  Can I 'rmmod' the driver for video1
  but not video0?
 Nope, it doesn't work like that. But luckily, there is another way.
 The tuner parameter is an array. Try tuner=-1,2 to auto-detect on
 the first card and specify the tuner explicitly for the second.
Sweet, I never knew that!  Is this 'standard' for options passed to modules
(so if I needed to do something similar with two NICs)?

-- 
// Andrew MacKenzie  |  http://www.edespot.com
// GPG public key: http://www.edespot.com/~amackenz/public.key
// Wow, I'm being shot at from both sides. That means I *must* be right. :-)
// -- Larry Wall


pgpZLKdZicuoP.pgp
Description: PGP signature


Re: [gentoo-user] Remote install @Hetzner

2008-06-20 Thread Enrico Weigelt
* Markus Schönhaber [EMAIL PROTECTED] wrote:
 Enrico Weigelt wrote:
 
  Do all servers have that remote console or do I have to order
  it additionally ?
 
 I'm not sure. But since I didn't explicitly order it, I think that, yes,
 all dedicated servers come with this feature included.

hmm, just checked it: there's nothing like this, but in the
order dialog there're a lot extra options.

Meanwhile the bot's up again, and I can now can play around 
how to get gentoo booted from debian kernel ;-o


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Multiple TV Cards.

2008-06-20 Thread Duane Griffin
2008/6/21 Andrew MacKenzie [EMAIL PROTECTED]:
 +++ Duane Griffin [gentoo-user] [Thu, Jun 19, 2008 at 11:53:38PM +0100]:
 Nope, it doesn't work like that. But luckily, there is another way.
 The tuner parameter is an array. Try tuner=-1,2 to auto-detect on
 the first card and specify the tuner explicitly for the second.
 Sweet, I never knew that!  Is this 'standard' for options passed to modules
 (so if I needed to do something similar with two NICs)?

It depends on the specific parameter/module. You can see the parameter
types in their description using modinfo. For example, /sbin/modinfo
e1000e shows most parameters with type array of int. These will
probably work in a similar way. However the copybreak parameter has
type uint, so that can only be set to a single value globally.

You may also find it useful to check existing parameter values by
looking at /sys/module/module/parameters/parameter files.

Cheers,
Duane.

-- 
I never could learn to drink that blood and call it wine - Bob Dylan
-- 
gentoo-user@lists.gentoo.org mailing list