[gentoo-user] Bug in bash ?

2007-04-21 Thread alain . didierjean
Can somebody explain why
ls [A-Z]*
works as ls * (or ls -R):
It seems that [A-Z] is ignored by bash-3.1.17 on amd64.
The expression works as expected with zsh...

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Bug in bash ?

2007-04-21 Thread Jan Seeger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

This is no bug. Bash globs everything that begins with A-Z (also
directories) and then gives that list to ls. So ls lists all these files
and the directories that begin with A-Z. Strangely though, bash seems to
ignore case. (When I try your command, ls gives me all the files that
begin with a letter and excludes files that begin with a number) 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGKc7ZMmLQdC6jvocRAjoiAJ9guN8zoA5A2ZxQIZxEeyGxdb9TggCdFbgb
c0NkXZqd15DLXNNsd1liS5Y=
=m/kr
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] virtualbox shared folder anyone?

2007-04-21 Thread Helmut Jarausch
I have Virtualbox version 1.3.8 (binary) installed on my Gentoo system. I have 
run

vboxmanage sharedfolder add WinXP -name linux -hostpath /BackUp

and in WinXP's command line window

net use x: \\vboxsvr\linux

but I always get network path not found. I've checked that /BackUp has
rwx permissions for everyone.

Unfortunately, Virtualbox is completely useless for me without a working shared 
folder.

Many thanks for a hint,

Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Bug in bash ?

2007-04-21 Thread Renat Golubchyk
On Sat, 21 Apr 2007 10:44:09 +0200 Jan Seeger [EMAIL PROTECTED]
wrote:
 This is no bug. Bash globs everything that begins with A-Z (also
 directories) and then gives that list to ls. So ls lists all these
 files and the directories that begin with A-Z. Strangely though, bash
 seems to ignore case. (When I try your command, ls gives me all the
 files that begin with a letter and excludes files that begin with a
 number)

That happens because of your locale setting. If LC_COLLATE is not C
or POSIX then e.g. [A-D] can be equal to [AbBcCdD] or [AaBbCcD]. So
set LC_COLLATE to C and you'll get a portable behaviour.

Cheers,
Renat

-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
  (Einstein)


signature.asc
Description: PGP signature


Re: [gentoo-user] initrd for LVM no longer works

2007-04-21 Thread Dietrich Moerman
In the mean time, I also tried to build a manual initrd containing all the 
tools and commands in linuxrc I need to activate LVM volumes. But the problem 
remains, the kernel boots but when initrd is extracted and mounted everything 
seems to go wrong, and the system again stops giving Kernel panic - not 
syncing: No init found.

I have ran out of ideas, I guess this must be the most bizarre Linux related 
problem I have ever encountered.

Any ideas are still welcome. If the problems remains, I guess I'll have to 
ditch LVM and go back to regular partitions which don't need an initrd to boot 
from.


--
[EMAIL PROTECTED] mailing list



[gentoo-user] iptables will not load rule after kernel upgrade (2.6.19-r5 - 2.6.20-r6)

2007-04-21 Thread Dan Johansson
After upgrading gentoo-sources to 2.6.20-r6 from 2.6.19-r5 today my firewall 
won't start (shorewall).

The here's the error:
iptables: Invalid argument
   ERROR: Command /sbin/iptables -A FORWARD -m state --state 
ESTABLISHED,RELATED -j ACCEPT Failed

I'm getting the same errormessage when it try it by hand. I've reemerged my 
iptables (net-firewall/iptables-1.3.5-r4  
USE=-extensions -imq -ipv6 -l7filter -static) but that did not help.
Any suggestions?
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


pgpfjuLbnyR4Q.pgp
Description: PGP signature


Re: [gentoo-user] iptables will not load rule after kernel upgrade (2.6.19-r5 - 2.6.20-r6)

2007-04-21 Thread Uwe Thiem
On 21 April 2007, Dan Johansson wrote:
 After upgrading gentoo-sources to 2.6.20-r6 from 2.6.19-r5 today my
 firewall won't start (shorewall).

 The here's the error:
 iptables: Invalid argument
ERROR: Command /sbin/iptables -A FORWARD -m state --state
 ESTABLISHED,RELATED -j ACCEPT Failed

 I'm getting the same errormessage when it try it by hand.

When you generated the kernel, did you build all modules necessary. In this 
particlu case, ipt_state?

Uwe

-- 
The Informal Linux Group Namibia:
http://www.linux.org.na
SysEx (Pty) Ltd.:
http://www.SysEx.com.na
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] initrd for LVM no longer works

2007-04-21 Thread Dietrich Moerman
Dietrich Moerman schreef:
 In the mean time, I also tried to build a manual initrd containing all the 
 tools and commands in linuxrc I need to activate LVM volumes. But the problem 
 remains, the kernel boots but when initrd is extracted and mounted everything 
 seems to go wrong, and the system again stops giving Kernel panic - not 
 syncing: No init found.
 
 I have ran out of ideas, I guess this must be the most bizarre Linux related 
 problem I have ever encountered.
 
 Any ideas are still welcome. If the problems remains, I guess I'll have to 
 ditch LVM and go back to regular partitions which don't need an initrd to 
 boot from.
 
 

Okay, the problem is fixed. The guilty part seemed to be /dev/ram0. Both
the initrd I generated using lvm2create_initrd and the manual one didn't
work with /dev/ram0, but the manual one does with /dev/ram1.

Why the previous initrd did work is a big question to me. I suspect I'm
going to have big troubles with the RAM within some time.

-- 
MVG
Dietrich Moerman
http://dmoerman.be
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Bug in bash ?

2007-04-21 Thread Bo Ørsted Andresen
On Saturday 21 April 2007 09:52:40 [EMAIL PROTECTED] wrote:
 Can somebody explain why
 ls [A-Z]*
 works as ls * (or ls -R):
 It seems that [A-Z] is ignored by bash-3.1.17 on amd64.
 The expression works as expected with zsh...

Try `ls [[:upper:]]*`. Also -R is recursive. You should google that since you 
don't seem to know what it means..

-- 
Bo Andresen


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] ndiswrapper

2007-04-21 Thread Matthew Daubenspeck
On Fri, Apr 20, 2007 at 11:30:47PM +0100, Mick wrote:
  iwconfig wlan0 mode Managed key hexkey essid local_wireless_wap channel
  11 rate 54M
 
 Try managed in lower case - may make a difference.

I tried that, just to be sure. Same result.

 Also, I assume that where you have key hexkey you specify a hexadecimal 
 number?  Also, have you set up your /etc/conf.d/net correctly with regards to 
 using the correct module for wep/wap (wap_supplicant)?

Yes, it's the full hexadecimal number.

  Here is dmesg:
 [snip...]
  wlan0: encryption modes supported: none
 
 You need to define the encryption mode and module as suggested above.

I have tried that as well and have copied settings and iwconfig lines
from other systems that are working perfectly, so I don't believe that
is the problem. I think it's something with the module itself, I just
have no idea what.

-- 
  Matthew Daubenspeck
  http://oddprocess.org

Gentoo Linux x86_64 Dual Core AMD Opteron(tm) Processor 165
12:04:52 up 78 days, 1:52, 1 user, load average: 0.00, 0.00, 0.00
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] [OT] Understanding sshd response

2007-04-21 Thread Dan Farrell
On Fri, 20 Apr 2007 14:10:11 +0100
Mick [EMAIL PROTECTED] wrote:


 So there's nothing that I would need to do client wise to make my
 gentoo box communicate 'better' with the server?  This is almost a
 rhetorical question, because I am not sure I can define 'better'.  I
 just ask to see if there is any setting client-wise that will improve
 compatibility.

It sounds like if your router had 'quirks', then yes your could improve
compatibility.  your router plays nicely with others already, so
there's no need to treat it special.
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Keyboard works in Grub but not once Gentoo is booted

2007-04-21 Thread Mark Knecht

My son got a new, fancy Razer gaming keyboard for his birthday today.
The keyboard works in grub so I can choose Windows or Linux. It works
fine in Windows but once Gentoo is booted it does nothing.

I see that the device is recognized in under /proc and the device is
seen in lsusb but the system doesn't seem to understand that 1532 is
Razer and that 0102 is their Tarantula keyboard. This is also true for
their Copperhead mouse with is 1532:0101.

Is there a way for me to indicate to the system that these ID's should
use regular USB mouse and keyboard drivers?

Thanks,
Mark

cat /proc/bus/usb/devices
SNIP
T: Bus=02 Lev=02 Prnt=02 Port=03 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=1532 ProdID=0102 Rev=21.00
S: Manufacturer=Razer
S: Product=Razer Tarantula Keyboard
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=10ms
I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=(none)
E: Ad=82(I) Atr=03(Int.) MxPS= 16 Ivl=10ms


Sector9 ~ # lsusb
Bus 002 Device 003: ID 1532:0101
Bus 002 Device 004: ID 1532:0102
Bus 002 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub
Bus 002 Device 001: ID :
Bus 001 Device 001: ID :
Sector9 ~ #

cat /proc/bus/usb/devices
SNIP
T:  Bus=02 Lev=01 Prnt=01 Port=02 Cnt=02 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=1532 ProdID=0101 Rev=21.00
S:  Manufacturer=Razer
S:  Product=Razer Copperhead Laser Mouse
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=02 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=1ms
I:  If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=(none)
E:  Ad=82(I) Atr=03(Int.) MxPS=  16 Ivl=1ms

  Maybe there is a page around somewhere about how to deal with new
USB device IDS under Gentoo? Using slocate I found this file:

/usr/share/misc/usb.ids

There is no entry for Razer and no use of the Vendor ID 1532:

SNIP
1520  Bitwire Corp.
152e  LG (HLDS)
   e001  GSA-5120D DVD-RW
1546  U-Blox AG
1554  Prolink Microsystems Corp.
SNIP

Looking at the Microsoft entries it would appear that I could edit
this file and probably get lsusb to recognize the device by name but
what makes it link to the right mouse or keyboard driver?

SNIP
045e  Microsoft Corp.
   0007  SideWinder Game Pad
   0008  SideWinder Precision Pro
   0009  IntelliMouse
SNIP

Thanks in advance,
Mark
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] iptables will not load rule after kernel upgrade (2.6.19-r5 - 2.6.20-r6)

2007-04-21 Thread Dan Johansson
On Saturday 21 April 2007 15:53, Uwe Thiem wrote:
 On 21 April 2007, Dan Johansson wrote:
  After upgrading gentoo-sources to 2.6.20-r6 from 2.6.19-r5 today my
  firewall won't start (shorewall).
 
  The here's the error:
  iptables: Invalid argument
 ERROR: Command /sbin/iptables -A FORWARD -m state --state
  ESTABLISHED,RELATED -j ACCEPT Failed
 
  I'm getting the same errormessage when it try it by hand.

 When you generated the kernel, did you build all modules necessary. In this
 particlu case, ipt_state?
If you meen CONFIG_NETFILTER_XT_MATCH_STATE=y then yes it's compiled in (not a 
module). You know of any other part that NEEDS to be activated other the the 
following?

CONFIG_NETFILTER=y
CONFIG_NF_CONNTRACK_ENABLED=y
CONFIG_NF_CONNTRACK_SUPPORT=y
CONFIG_NF_CONNTRACK=y
CONFIG_NETFILTER_XTABLES=y
CONFIG_NETFILTER_XT_MATCH_LIMIT=y
CONFIG_NETFILTER_XT_MATCH_STATE=y
CONFIG_IP_NF_QUEUE=y
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
CONFIG_IP_NF_TARGET_LOG=y
CONFIG_IP_NF_MANGLE=y


-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


pgphJOdBpZj61.pgp
Description: PGP signature


Re: [gentoo-user] iptables will not load rule after kernel upgrade (2.6.19-r5 - 2.6.20-r6)

2007-04-21 Thread Mark Shields

On 4/21/07, Dan Johansson [EMAIL PROTECTED] wrote:


On Saturday 21 April 2007 15:53, Uwe Thiem wrote:
 On 21 April 2007, Dan Johansson wrote:
  After upgrading gentoo-sources to 2.6.20-r6 from 2.6.19-r5 today my
  firewall won't start (shorewall).
 
  The here's the error:
  iptables: Invalid argument
 ERROR: Command /sbin/iptables -A FORWARD -m state --state
  ESTABLISHED,RELATED -j ACCEPT Failed
 
  I'm getting the same errormessage when it try it by hand.

 When you generated the kernel, did you build all modules necessary. In
this
 particlu case, ipt_state?
If you meen CONFIG_NETFILTER_XT_MATCH_STATE=y then yes it's compiled in
(not a
module). You know of any other part that NEEDS to be activated other the
the
following?

CONFIG_NETFILTER=y
CONFIG_NF_CONNTRACK_ENABLED=y
CONFIG_NF_CONNTRACK_SUPPORT=y
CONFIG_NF_CONNTRACK=y
CONFIG_NETFILTER_XTABLES=y
CONFIG_NETFILTER_XT_MATCH_LIMIT=y
CONFIG_NETFILTER_XT_MATCH_STATE=y
CONFIG_IP_NF_QUEUE=y
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
CONFIG_IP_NF_TARGET_LOG=y
CONFIG_IP_NF_MANGLE=y


--
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



You found your problem, then.  When you use iptables -m state, it loads the
state module.  Since it's not compiled as a module, it won't load.  Either
change it to module in the kernel or remove the -m state (I think I tried
once compiling into the kernel and dropping the -m state, but it didn't
work).

--
- Mark Shields


Re: [gentoo-user] Keyboard works in Grub but not once Gentoo is booted

2007-04-21 Thread Mark Shields

On 4/21/07, Mark Knecht [EMAIL PROTECTED] wrote:


My son got a new, fancy Razer gaming keyboard for his birthday today.
The keyboard works in grub so I can choose Windows or Linux. It works
fine in Windows but once Gentoo is booted it does nothing.

I see that the device is recognized in under /proc and the device is
seen in lsusb but the system doesn't seem to understand that 1532 is
Razer and that 0102 is their Tarantula keyboard. This is also true for
their Copperhead mouse with is 1532:0101.

Is there a way for me to indicate to the system that these ID's should
use regular USB mouse and keyboard drivers?

Thanks,
Mark

cat /proc/bus/usb/devices
SNIP
T: Bus=02 Lev=02 Prnt=02 Port=03 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=1532 ProdID=0102 Rev=21.00
S: Manufacturer=Razer
S: Product=Razer Tarantula Keyboard
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=10ms
I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=(none)
E: Ad=82(I) Atr=03(Int.) MxPS= 16 Ivl=10ms


Sector9 ~ # lsusb
Bus 002 Device 003: ID 1532:0101
Bus 002 Device 004: ID 1532:0102
Bus 002 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub
Bus 002 Device 001: ID :
Bus 001 Device 001: ID :
Sector9 ~ #

cat /proc/bus/usb/devices
SNIP
T:  Bus=02 Lev=01 Prnt=01 Port=02 Cnt=02 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=1532 ProdID=0101 Rev=21.00
S:  Manufacturer=Razer
S:  Product=Razer Copperhead Laser Mouse
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=02 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=1ms
I:  If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=(none)
E:  Ad=82(I) Atr=03(Int.) MxPS=  16 Ivl=1ms

   Maybe there is a page around somewhere about how to deal with new
USB device IDS under Gentoo? Using slocate I found this file:

/usr/share/misc/usb.ids

There is no entry for Razer and no use of the Vendor ID 1532:

SNIP
1520  Bitwire Corp.
152e  LG (HLDS)
e001  GSA-5120D DVD-RW
1546  U-Blox AG
1554  Prolink Microsystems Corp.
SNIP

Looking at the Microsoft entries it would appear that I could edit
this file and probably get lsusb to recognize the device by name but
what makes it link to the right mouse or keyboard driver?

SNIP
045e  Microsoft Corp.
0007  SideWinder Game Pad
0008  SideWinder Precision Pro
0009  IntelliMouse
SNIP

Thanks in advance,
Mark
--
[EMAIL PROTECTED] mailing list




Have you installed hotplug?  iirc, it's still required to load up the likes
of USB peripherals you state.

# esearch  ^hotplug$
* sys-apps/hotplug
Available versions:  20030805-r2 20030805-r3 20040105 20040401
~20040920 20040923 20040923-r1 20040923-r2
Homepage:http://linux-hotplug.sourceforge.net
Description: USB and PCI hotplug scripts

--
- Mark Shields


Re: [gentoo-user] Keyboard works in Grub but not once Gentoo is booted

2007-04-21 Thread Mark Knecht

On 4/21/07, Mark Shields [EMAIL PROTECTED] wrote:

On 4/21/07, Mark Knecht [EMAIL PROTECTED] wrote:

 My son got a new, fancy Razer gaming keyboard for his birthday today.
 The keyboard works in grub so I can choose Windows or Linux. It works
 fine in Windows but once Gentoo is booted it does nothing.


SNIP



Have you installed hotplug?  iirc, it's still required to load up the likes
of USB peripherals you state.

# esearch  ^hotplug$
* sys-apps/hotplug
 Available versions:  20030805-r2 20030805-r3 20040105 20040401
~20040920 20040923 20040923-r1 20040923-r2
 Homepage:
http://linux-hotplug.sourceforge.net
 Description: USB and PCI hotplug scripts

--
- Mark Shields


HummOK - I thought that both hotplug and coldplug were depreciated
by udev. I see that I can emerge hotplug but it tells me to use
coldplug. When I try to emerge coldplug it's blocked by udev.

I emerged hotplug and started it but it still doesn't do anything with
lsusb and the keyboard itself doesn't do anything on the system yet.

Sector9 ~ # lsusb
Bus 002 Device 003: ID 1532:0101
Bus 002 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub
Bus 002 Device 014: ID 1532:0102
Bus 002 Device 001: ID :
Bus 001 Device 001: ID :
Sector9 ~ # /etc/init.d/hotplug start
* Caching service dependencies ...
[ ok ]
Sector9 ~ # lsusb
Bus 002 Device 003: ID 1532:0101
Bus 002 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub
Bus 002 Device 014: ID 1532:0102
Bus 002 Device 001: ID :
Bus 001 Device 001: ID :
Sector9 ~ #

I really suspect the issue here is that the system - maybe udev? -
doesn't know these devices are keyboard and mouse.

- Mark
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Keyboard works in Grub but not once Gentoo is booted

2007-04-21 Thread Mark Shields

On 4/21/07, Mark Knecht [EMAIL PROTECTED] wrote:


On 4/21/07, Mark Shields [EMAIL PROTECTED] wrote:
 On 4/21/07, Mark Knecht [EMAIL PROTECTED] wrote:
 
  My son got a new, fancy Razer gaming keyboard for his birthday today.
  The keyboard works in grub so I can choose Windows or Linux. It works
  fine in Windows but once Gentoo is booted it does nothing.
 
SNIP


 Have you installed hotplug?  iirc, it's still required to load up the
likes
 of USB peripherals you state.

 # esearch  ^hotplug$
 * sys-apps/hotplug
  Available versions:  20030805-r2 20030805-r3 20040105 20040401
 ~20040920 20040923 20040923-r1 20040923-r2
  Homepage:
 http://linux-hotplug.sourceforge.net
  Description: USB and PCI hotplug scripts

 --
 - Mark Shields

HummOK - I thought that both hotplug and coldplug were depreciated
by udev. I see that I can emerge hotplug but it tells me to use
coldplug. When I try to emerge coldplug it's blocked by udev.

I emerged hotplug and started it but it still doesn't do anything with
lsusb and the keyboard itself doesn't do anything on the system yet.

Sector9 ~ # lsusb
Bus 002 Device 003: ID 1532:0101
Bus 002 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub
Bus 002 Device 014: ID 1532:0102
Bus 002 Device 001: ID :
Bus 001 Device 001: ID :
Sector9 ~ # /etc/init.d/hotplug start
* Caching service dependencies ...
 [ ok ]
Sector9 ~ # lsusb
Bus 002 Device 003: ID 1532:0101
Bus 002 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub
Bus 002 Device 014: ID 1532:0102
Bus 002 Device 001: ID :
Bus 001 Device 001: ID :
Sector9 ~ #

I really suspect the issue here is that the system - maybe udev? -
doesn't know these devices are keyboard and mouse.

- Mark
--
[EMAIL PROTECTED] mailing list



It's been a while since I've used anything that required any sort of
hotplugging, so it was just a suggestion.  Looking again now, have you
enabled  CONFIG_USB_HID (USB Human Interface Device (full HID) support)?
The help for that states:

CONFIG_USB_HID:

Say Y here if you want full HID support to connect keyboards,
mice, joysticks, graphic tablets, or any other HID based devices
to your computer via USB. You also need to select HID Input layer
support (below) if you want to use keyboards, mice, joysticks and
the like ... as well as Uninterruptible Power Supply (UPS) and
monitor control devices.

You can't use this driver and the HIDBP (Boot Protocol) keyboard
and mouse drivers at the same time. More information is available:
file:Documentation/input/input.txt.

--
- Mark Shields


Re: [gentoo-user] [OT] Understanding sshd response

2007-04-21 Thread kashani

Mick wrote:

So there's nothing that I would need to do client wise to make my gentoo box 
communicate 'better' with the server?  This is almost a rhetorical question, 
because I am not sure I can define 'better'.  I just ask to see if there is 
any setting client-wise that will improve compatibility.


In regards to ssh-ing into Cisco routers, just be happy it actually 
works. :-) It wasn't that long ago that they barely supported protocol 1 
 and interoperating with openssh was interesting.


kashani
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Keyboard works in Grub but not once Gentoo is booted

2007-04-21 Thread Mark Knecht

On 4/21/07, Mark Shields [EMAIL PROTECTED] wrote:

On 4/21/07, Mark Knecht [EMAIL PROTECTED] wrote:

 On 4/21/07, Mark Shields [EMAIL PROTECTED] wrote:
  On 4/21/07, Mark Knecht [EMAIL PROTECTED] wrote:
  
   My son got a new, fancy Razer gaming keyboard for his birthday today.
   The keyboard works in grub so I can choose Windows or Linux. It works
   fine in Windows but once Gentoo is booted it does nothing.
  
 SNIP
 
 
  Have you installed hotplug?  iirc, it's still required to load up the
likes
  of USB peripherals you state.
 
  # esearch  ^hotplug$
  * sys-apps/hotplug
   Available versions:  20030805-r2 20030805-r3 20040105 20040401
  ~20040920 20040923 20040923-r1 20040923-r2
   Homepage:
  http://linux-hotplug.sourceforge.net
   Description: USB and PCI hotplug scripts
 
  --
  - Mark Shields

 HummOK - I thought that both hotplug and coldplug were depreciated
 by udev. I see that I can emerge hotplug but it tells me to use
 coldplug. When I try to emerge coldplug it's blocked by udev.

 I emerged hotplug and started it but it still doesn't do anything with
 lsusb and the keyboard itself doesn't do anything on the system yet.

 Sector9 ~ # lsusb
 Bus 002 Device 003: ID 1532:0101
 Bus 002 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub
 Bus 002 Device 014: ID 1532:0102
 Bus 002 Device 001: ID :
 Bus 001 Device 001: ID :
 Sector9 ~ # /etc/init.d/hotplug start
 * Caching service dependencies ...
  [ ok ]
 Sector9 ~ # lsusb
 Bus 002 Device 003: ID 1532:0101
 Bus 002 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub
 Bus 002 Device 014: ID 1532:0102
 Bus 002 Device 001: ID :
 Bus 001 Device 001: ID :
 Sector9 ~ #

 I really suspect the issue here is that the system - maybe udev? -
 doesn't know these devices are keyboard and mouse.

 - Mark
 --
 [EMAIL PROTECTED] mailing list



It's been a while since I've used anything that required any sort of
hotplugging, so it was just a suggestion.  Looking again now, have you
enabled  CONFIG_USB_HID (USB Human Interface Device (full HID) support)?
The help for that states:

 CONFIG_USB_HID:



 Say Y here if you want full HID support to connect keyboards,
 mice, joysticks, graphic tablets, or any other HID based devices
 to your computer via USB. You also need to select HID Input layer
support (below) if you want to use keyboards, mice, joysticks and
 the like ... as well as Uninterruptible Power Supply (UPS) and
monitor control devices.

 You can't use this driver and the HIDBP (Boot Protocol) keyboard
 and mouse drivers at the same time. More information is available:
file:Documentation/input/input.txt.

--
- Mark Shields


Yes, it's set.

Sector9 ~ # cat /usr/src/linux/.config | grep CONFIG_USB_HID
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_USB_HIDINPUT_POWERBOOK is not set
# CONFIG_USB_HIDDEV is not set
Sector9 ~ #

Now, I just grabbed a Microsoft USB mouse and it's not working either
so I think you're onto the right area. I must not have something
turned on that is required for any of these USB input devices to work.

Of course, by 'not working' I'm saying X isn't responding. Maybe the
mouse is working and X isn't configured correctly? xorg.conf has this:

Section InputDevice

# Identifier and driver

   Identifier  Mouse1
   Driver  mouse
   Option ProtocolAuto # Auto detect
   Option Device  /dev/input/mice

As I say with the M$ mouse plugged in it's recognized but it doesn't
cause X to do anything:

Sector9 linux # lsusb
Bus 002 Device 015: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 002 Device 003: ID 1532:0101
Bus 002 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub
Bus 002 Device 014: ID 1532:0102
Bus 002 Device 001: ID :
Bus 001 Device 001: ID :


Is there a way to cat the mouse output to a terminal so that when I
wiggle the mouse I see some stuff in the terminal?

Thanks,
Mark
--
[EMAIL PROTECTED] mailing list



[gentoo-user] [SOLVED] Keyboard works in Grub but not once Gentoo is booted

2007-04-21 Thread Mark Knecht

Rebuilt the kernel with a few more options and rebooted. It's working
now. No way to be exactly sure what got it going at this point. Not
sure I care. It works!

Thanks for the help.

Over and out,
Mark
--
[EMAIL PROTECTED] mailing list



[gentoo-user] Permission denied during emerge...

2007-04-21 Thread David Corbin
I've started getting this: Permission denied: access('/', W_OK) on my 
emerges.  I've gotten for two different un-related projects.  It seems to 
happen during the install.  

I've look at permission on / and they look normal to me.  And I am running 
this as root.

Thanks
-- 
David Corbin
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Thunderbird 2.0 browser fonts are tiny

2007-04-21 Thread Vladimir G. Ivanovic
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Since upgrading to Thunderbird 2.0.0.0, the browser font used to
display trees (folders, message lists) is tiny, so tiny that (a) I
have difficulty reading it, and (b) nothing is rendered in bold.

The docs speak of userChrome.css as the file (not present by default)
that allows one to modify the browser's appearance, but

  strace -fe trace=open /usr/bin/thunderbird 21 | \
fgrep userChrome.css

yields nothing; Thunderbird 2.0 apparently no longer uses userChrome.css.

How can I change the size of the fonts in Thunderbird's browser?

TIA.

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

iD8DBQFGKu18Eo/yvZUwubMRAt2UAJ9xLk9XjC0BmrsKSM3eX+foiTtAdgCffcD/
sgfvVpn3DDoPSmFo+qEI238=
=uU8F
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list