Re: [gentoo-user] usb wacom tablet

2006-01-24 Thread Robert Morris
On Tue, 2006-01-24 at 12:38 -0330, Roger Mason wrote:
 Hello,
 
 I'm installing a wacom tablet, following the instructions here:
 
 http://gentoo-wiki.com/HOWTO_Wacom_Tablet
 
 Problem:
 
 The tablet does not show up in /proc/bus/input/devices -
 
 cat /proc/bus/input/devices 
 I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
 N: Name=AT Translated Set 2 keyboard
 P: Phys=isa0060/serio0/input0
 H: Handlers=kbd event0 
 B: EV=120013 
 B: KEY=4 200 3802078 f840d001 f2df ffef  fffe 
 B: MSC=10 
 B: LED=7 
 
 I: Bus=0011 Vendor=0002 Product=0001 Version=0001
 N: Name=PS/2 Logitech Mouse
 P: Phys=isa0060/serio1/input0
 H: Handlers=mouse0 event1 
 B: EV=7 
 B: KEY=7 0 0 0 0 0 0 0 0 
 B: REL=3 
 
 Background:
 
 The tablet is plugged into a NEC usb controller card.  dmesg shows
 
 ehci_hcd :00:0a.2: NEC Corporation USB 2.0
 ehci_hcd :00:0a.2: new USB bus registered, assigned bus number 1
 ehci_hcd :00:0a.2: irq 11, io mem 0xe000
 ehci_hcd :00:0a.2: park 0
 ehci_hcd :00:0a.2: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
 hub 1-0:1.0: USB hub found
 hub 1-0:1.0: 5 ports detected
 usbcore: registered new driver wacom
 drivers/usb/input/wacom.c: v1.43:USB Wacom Graphire and Wacom Intuos tablet 
 driver
 
 The wacom driver is compiled into the kernel (last line of dmesg
 output, above)
 
 I have recompiled xorg with the sdk use flag and emerged
 linuxwacom-0.6.7. 
 
 The following usb related kernel options are set:
 
 CONFIG_USB_ARCH_HAS_HCD=y
 CONFIG_USB_ARCH_HAS_OHCI=y
 CONFIG_USB=y
 CONFIG_USB_DEVICEFS=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_WACOM=y
 CONFIG_USB_MON=y
 
 The following are the hotplug settings for the kernel:
 
 CONFIG_HOTPLUG=y
 # CONFIG_HOTPLUG_PCI is not set
 
 The kernel event detection stuff is built in:
 
 CONFIG_KOBJECT_UEVENT=y
 CONFIG_PREVENT_FIRMWARE_BUILD=y
 
 Can anyone suggest what may be wrong?
 
 Thanks,
 
 Roger Mason

It doen't look like you have USB HID turned on in your kernel.
Here is what I have for the USB portion of my kernel config:
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_PRINTER=m
CONFIG_USB_STORAGE=m
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
CONFIG_USB_WACOM=m
CONFIG_USB_EGALAX=m

If that doesn't work, maybe try to plug it directly into the computer
instead of the hub. I've had devices not like being plugged into a hub
before.

For what it's worth, here is what I have showing up in dmesg when I plug
my tablet in:
ohci_hcd :00:02.0: wakeup
usb 1-1: new full speed USB device using ohci_hcd and address 2
input: Wacom Intuos2 6x8 on usb-:00:02.0-1

cat /proc/bus/input/devices shows this for the tablet:
I: Bus=0003 Vendor=056a Product=0042 Version=0126
N: Name=Wacom Intuos2 6x8
P: Phys=usb-:00:02.0-1/input0
H: Handlers=mouse2 event4
B: EV=1f
B: KEY=1cdf 0 1f 0 0 0 0 0 0 0 0
B: REL=100
B: ABS=f000163
B: MSC=1

Robert

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] yet more ALSA trouble

2005-11-14 Thread Robert Morris
On Sun, 2005-11-13 at 23:13 -0800, Phil Thomson wrote:
 Hi,
 
 Reading the archives, I noticed there's been a long thread on
 ALSA trouble, so I hesitate to post a similar problem, but following
 the relevant steps outlined in that thread so far hasn't seemed to
 help my own problem with ALSA.
 
 I've been trying to get ALSA working with my Nvidia nForce2 AC97
 onboard sound card, but without much luck. 

 GentooBoxGuy ~ # lspci | grep audio
 :00:06.0 Multimedia audio controller: nVidia Corporation nForce2
 AC97 Audio Controler (MCP) (rev a1)
 
 for which the ALSA soundcard matrix says intel8x0 is the appropriate driver.
 
 Here's lsmod | grep snd:
 
 snd_seq34192  0
 snd_seq_device  4876  1 snd_seq
 snd_pcm_oss37184  0
 snd_mixer_oss  12992  1 snd_pcm_oss
 snd_intel8x0   21664  0
 snd_ac97_codec 52440  1 snd_intel8x0
 snd_pcm53572  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
 snd_timer  15972  2 snd_seq,snd_pcm
 snd32004  8
 snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
 snd_page_alloc  5604  2 snd_intel8x0,snd_pcm
 
 GentooBoxGuy ~ # cat /etc/modules.d/alsa
 # Alsa 0.9.X kernel modules' configuration file.
 # $Header: 
 /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v
 1.4 2004/11/16 01:31:22 eradicator Exp $
 
 # ALSA portion
 # OSS/Free portion
 
 ##
 ## IMPORTANT:
 ## You need to customise this section for your specific sound card(s)
 ## and then run `update-modules' command.
 ## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
 ##
 ##  ALSA portion
 ## alias snd-card-1 snd-ens1371
 ##  OSS/Free portion
 ## alias sound-slot-0 snd-card-0
 ## alias sound-slot-1 snd-card-1
 ##
 
 # OSS/Free portion - card #1
 ##  OSS/Free portion - card #2
 ## alias sound-service-1-0 snd-mixer-oss
 ## alias sound-service-1-3 snd-pcm-oss
 ## alias sound-service-1-12 snd-pcm-oss
 
 alias /dev/mixer snd-mixer-oss
 alias /dev/dsp snd-pcm-oss
 alias /dev/midi snd-seq-oss
 
 # Set this to the correct number of cards.
 
 # --- BEGIN: Generated by ALSACONF, do not edit. ---
 # --- ALSACONF version 1.0.9a ---
 alias snd-card-0 snd-intel8x0
 alias sound-slot-0 snd-intel8x0
 # --- END: Generated by ALSACONF, do not edit. ---
 
 /proc/asound/cards has nothing in it.

I have a nForce2 board as well, here is what I have.

[EMAIL PROTECTED] ~ $ lsmod | grep snd
snd_intel8x0   29696  1
snd_ac97_codec 82428  1 snd_intel8x0

[EMAIL PROTECTED] ~ $ cat /etc/modules.d/alsa
# Alsa 0.9.X kernel modules' configuration file.
#
$Header: 
/home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 
1.1 2003/08/05 21:07:55 johnm Exp $

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
alias snd-card-0 snd-intel8x0
##  OSS/Free portion
alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=1

[EMAIL PROTECTED] ~ $ cat /proc/asound/cards
0 [nForce2]: NFORCE - NVidia nForce2
 NVidia nForce2 with ALC650F at 0xe508, irq 19

Not sure that helps or not, but it looks like there are a few things
missing from your config. Specifically this section:
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

Hope that helps,
Robert


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sound Servers and Such

2005-10-14 Thread Robert Morris
On Thu, 2005-10-13 at 23:24 -0400, Michael Crute wrote:
 On 10/13/05, Robert Morris [EMAIL PROTECTED] wrote:

 It's the gstreamer-alsa plugin that is probably causing the
 crackle.
 There are several bug reports in Gnome bugzilla. If you are
 using dmix, 
 you might want to look at this one:
 http://bugzilla.gnome.org/show_bug.cgi?id=314689
 
 There are a few others, but the general solution is to either
 downgrade 
 the gstreamer-alsa plugin or switch to using OSS instead of
 ALSA (which
 is what I did). If want to do this in Gnome, go to the
 Multimedia
 Systems Selector in the preferences menu, and switch the
 Default Output
 Sink to OSS.
 
 
 OSS does it too, even worse than ESD. The only one that seems clean is
 ALSA. Now I guess my next question would have to be is there a way to
 remove the dmix middleman and still get software based mixing? Also
 would putting in Jack potentially fix the problem?
 
 -Mike

I've never used Jack, so I am not sure if that's a solution or not.
When you switch from ESD to OSS, did you still have /etc/init.d/esound
running? You may need to stop that service in order to make sure it is
completely out of the loop when you try and use OSS (not 100% sure on
this though).

There is also a thread on the forums with some options here:
http://forums.gentoo.org/viewtopic-t-347016.html

Robert

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sound Servers and Such

2005-10-13 Thread Robert Morris
On Thu, 2005-10-13 at 12:48 -0400, Michael Crute wrote:
 First I think I should start out saying that I don't have too much of
 a clue when it comes to Linux audio. Now that that's out of the way, I
 have a box that works at the moment with ALSA + ESD + Gstreamer +
 Gnome that allows me to do software mixing and all my sound works. The
 problem I am having is that I have this constant crackle when I'm
 listening to anything. I know its not EMF because the sound was clean
 when I had Windoze on the box. Its not so loud that it makes listening
 to anything unpleasant but it is quite annoying.
  
 Does anyone have any suggestions on how to correct this? I saw on some
 of the newsgroups that people say this is an ESD issue but nobody
 seems to have a good solution. The card is some on board Intel High
 Def audio thing that Albatron ships with their mobos (can get
 specifics if needed). Any help would be appreciated.
  
 -Mike

It's the gstreamer-alsa plugin that is probably causing the crackle.
There are several bug reports in Gnome bugzilla. If you are using dmix,
you might want to look at this one:
http://bugzilla.gnome.org/show_bug.cgi?id=314689

There are a few others, but the general solution is to either downgrade
the gstreamer-alsa plugin or switch to using OSS instead of ALSA (which
is what I did). If want to do this in Gnome, go to the Multimedia
Systems Selector in the preferences menu, and switch the Default Output
Sink to OSS.

Robert

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvidia drivers and glx

2005-04-25 Thread Robert Morris
On Mon, 2005-04-25 at 15:00 -0400, Mike Markowski wrote:
 Bruno Lustosa wrote on 04/25/05 12:40 ET:
  Hello.
  After some update, the GLX extensions stopped working.
  I noticed it because opengl xscreensavers would just segfault. After I
  quit X and tried to restart it, I would get a segfault when trying to
  load the glx extension. [...]
 
 I noticed this Saturday morning after doing a Friday night update
 (Athlon 2600+, nvidia video).  FWIW, the errors I see on my ~x86 set up
 are below.  I haven't had a chance to start tracking it down yet...
 
 Mike

I had this too. I believe its the permissions being changed by/for PAM.
Check to make sure you are in the video group. Add your user to it if
you're not. That fixed it for me.

Robert

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: System time drift problem

2005-04-19 Thread Robert Morris
On Tue, 2005-04-19 at 15:27 +0200, Frédéric Grosshans wrote:
 Le mardi 19 avril 2005 à 09:09 +0930, Iain Buchanan a écrit :
 
  
  are you sure this doesn't answer your question?  It solved my system
  clock drift (which was about 30 minutes a day, but hw clock was ok).  I
  know adjtime is used to correct inaccurate hwclocks, but it can get
  stuffed.  post your /etc/adjtime and see what it says...
 
 I've already played with it / deleted it and it doesn't seem to change
 anything. My current /etc/adjtime is
 
 0.00 1113497480 0.00
 1113497480
 LOCAL
 
 and didn't prevent any drift
 -- 
 Frédéric Grosshans [EMAIL PROTECTED]

I am having the same problem here too. I still haven't sorted out the
cause, but judging from the number of people having this problem
recently, I would say that some library/program (or maybe config file?)
was changed recently to cause this.

All I know is, I only started having this problem recently after an
update. Up until then, my clock stayed fairly accurate.

Just for the record, here is my /etc/adjtime:
0.00 1112675669 0.00
1112675669
LOCAL


Robert


-- 
gentoo-user@gentoo.org mailing list