Re: [gentoo-user] do we have gst-plugins-really-bad or equivalent?

2010-03-25 Thread John H. Moe
On 26/03/10 01:49, Xi Shen wrote:
 hi,

 i have some .m4a files. and i want to play them in rhythmbox. when i
 import them into rhythmbox, it says it needs plugin to play mpeg-4 acc
 file. i searched the network, and people from ubuntu says a
 gstreamer0.10-plugins-really-bad package would do. but i cannot find
 this 'really bad' one on gentoo. i have already emerged
 gst-plugins-bad, but i still cannot play these file.


   
I would have thought that gst-plugins-faac would do this for you; try
that and see if it helps.

Looking through the changelog for RhythymBox ebuild, and if I understand
it all correctly, it appears there used to be a faad use flag to
automatically pull it in back in 2003-2004, but then in 2007, there was
a bug report that caused them to remove it.  See
http://gentoo-portage.com/media-sound/rhythmbox/ChangeLog and 
http://bugs.gentoo.org/159538.

John Moe



Re: [gentoo-user] Cannot edit files on usb flash drive.

2010-03-08 Thread John H. Moe
On 08/03/10 16:46, Alan McKinnon wrote:
 On Monday 08 March 2010 08:31:40 ubiquitous1980 wrote:
 I have a usb flash drive which will not allow me to edit its files.  I
 have tried chmod a+rwx -R $files but this does still not permit
 editing.  Further, the files within the directories refuse to have
 ownership changed via chown $myusername -R /mnt/disk.  Output is:
 operation not permitted.  Any ideas?  Thanks.

 This happens when the flash drive is type vfat. This excuse for a file system 
 does not have a concept of owners and permissions so the kernel has to fudge 
 it. You are finding that you cannot change these for the simple reason that 
 they do not exist and the kernel is pretending they are owned by root with 
 MODE 755 or some such.

 If hal is mounting the device, check your hal config, looking for some likely 
 named option.

 If the device is mounted via /etc/fstab, adjust the uid/gid/umask/dmask/fmask 
 options to mount in column 4. Full details in the man page, under section 
 fat
   

I use both a USB memory stick with VFAT, and a USB hard drive with
NTFS.  Both work fine, but I *am* mounting both as my user account using
/etc/fstab.  Entries are as follows:

LABEL=USBSTICK/media/usbstick autouser,noauto 0 0
LABEL=USBstorage  /media/usbstorage   ntfs-3g user,noauto 0 0

Then I just type mount /media/usbstick and use it as normal.

John Moe



Re: [gentoo-user] nvidia GeForce 6200 questions

2010-03-01 Thread John H. Moe
Mark Knecht wrote:
 Hi,
I've been trying to get an nvidia controller working today and not
 having much luck. It's complaining about failing to load kernel
 module.

As a starting point I'm following this guide:

 http://www.gentoo.org/doc/en/nvidia-guide.xml

My nvidia device is (I think) a GeForce 6 family card:

 dragonfly ~ # lspci | grep VGA
 01:00.0 VGA compatible controller: nVidia Corporation NV44A [GeForce
 6200] (rev a1)
 dragonfly ~ #

 and from this nVidia page seems to be supported by the 173.xx series drivers:

 http://www.nvidia.com/object/linux_display_ia32_173.14.25.html

Because modinfo nvidia suggested it depended on them I've added
 agpgart and i2c-core to modules.autoload and after booting this is
 what's loaded:

 dragonfly ~ # lsmod
 Module  Size  Used by
 ipv6  176929  18
 sg 19077  0
 usb_storage29021  0
 usbhid 18281  0
 snd_intel8x0   19155  0
 snd_ac97_codec 76628  1 snd_intel8x0
 ac97_bus 662  1 snd_ac97_codec
 snd_pcm42338  2 snd_intel8x0,snd_ac97_codec
 ehci_hcd   27089  0
 uhci_hcd   15779  0
 snd_timer  11966  1 snd_pcm
 usbcore87247  4 usb_storage,usbhid,ehci_hcd,uhci_hcd
 agpgart19136  0
 snd31592  4 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
 8139cp 12993  0
 soundcore   3607  1 snd
 rtc 6022  0
 8139too14560  0
 i2c_core   11618  0
 snd_page_alloc  4685  2 snd_intel8x0,snd_pcm
 processor  20861  0
 thermal 9266  0
 button  3526  0
 thermal_sys 8333  2 processor,thermal
 dragonfly ~ #

 When I try to load the nvidia driver it just complains:

 dragonfly ~ # modprobe nvidia
 FATAL: Error inserting nvidia
 (/lib/modules/2.6.33-gentoo/video/nvidia.ko): No such device
 dragonfly ~ #

 dragonfly ~ # modprobe --show-depends nvidia
 insmod /lib/modules/2.6.33-gentoo/kernel/drivers/i2c/i2c-core.ko
 insmod /lib/modules/2.6.33-gentoo/kernel/drivers/char/agp/agpgart.ko
 insmod /lib/modules/2.6.33-gentoo/video/nvidia.ko
 NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27
 NVreg_ModifyDeviceFiles=1
 dragonfly ~ #

 dragonfly ~ # modprobe -v nvidia
 insmod /lib/modules/2.6.33-gentoo/video/nvidia.ko
 NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27
 NVreg_ModifyDeviceFiles=1
 FATAL: Error inserting nvidia
 (/lib/modules/2.6.33-gentoo/video/nvidia.ko): No such device
 dragonfly ~ #

 The driver exists:

 dragonfly ~ # ls -al /lib/modules/2.6.33-gentoo/video/nvidia.ko
 -rw-r--r-- 1 root root 7859091 Mar  1 13:35
 /lib/modules/2.6.33-gentoo/video/nvidia.ko
 dragonfly ~ #

 I'm not clear what it means by 'no such device'. Is that a message
 that this driver doesn't support this card?

 I tried going down to the 96 series drivers but got the same results.

 Sort of obvious stuff in the kernel config I could think of before
 sending this email is here:

 dragonfly ~ # zcat /proc/config.gz | grep AGP
 CONFIG_AGP=m
 # CONFIG_AGP_ALI is not set
 # CONFIG_AGP_ATI is not set
 # CONFIG_AGP_AMD is not set
 # CONFIG_AGP_AMD64 is not set
 CONFIG_AGP_INTEL=m
 # CONFIG_AGP_NVIDIA is not set
 # CONFIG_AGP_SIS is not set
 # CONFIG_AGP_SWORKS is not set
 # CONFIG_AGP_VIA is not set
 # CONFIG_AGP_EFFICEON is not set
 dragonfly ~ # zcat /proc/config.gz | grep NVIDIA
 # CONFIG_AGP_NVIDIA is not set
 # CONFIG_FB_NVIDIA is not set
 dragonfly ~ # zcat /proc/config.gz | grep DRM
 CONFIG_DRM=m
 # CONFIG_DRM_TDFX is not set
 # CONFIG_DRM_R128 is not set
 # CONFIG_DRM_RADEON is not set
 # CONFIG_DRM_I810 is not set
 # CONFIG_DRM_I830 is not set
 # CONFIG_DRM_I915 is not set
 # CONFIG_DRM_MGA is not set
 # CONFIG_DRM_SIS is not set
 # CONFIG_DRM_VIA is not set
 # CONFIG_DRM_SAVAGE is not set
 dragonfly ~ #

 I assumed the Intel AGP might be usefull since it's an Intel
 motherboard but it didn't help so I blacklisted it and it's not
 loaded.

Anyone able to spot what must be an obvious mistake?

Current xorg.conf file it attached. It was done by hand so it could
 easily have big problems. I tried running with no xorg.conf file but
 it didn't work either.

hald is running.

 Thanks,
 Mark


 dragonfly ~ # cat /etc/X11/xorg.conf
 Section Files
   ModulePath   /usr/lib/xorg/modules
   FontPath /usr/share/fonts/misc/
   FontPath /usr/share/fonts/TTF/
   FontPath /usr/share/fonts/OTF
   FontPath /usr/share/fonts/Type1/
   FontPath /usr/share/fonts/100dpi/
   FontPath /usr/share/fonts/75dpi/
 EndSection

 Section Module
   Load  extmod
   Load  glx
 # Load  dri
 EndSection

 Section DRI
   Mode 0666
 EndSection

 Section InputDevice
   Identifier  Keyboard0
   Driver  kbd
 EndSection

 Section InputDevice
   Identifier  

Re: [gentoo-user] Sandbox violation emerging media-gfx/dcraw-8.73

2010-02-22 Thread John H. Moe
Arttu V. wrote:
 On 2/22/10, John H. Moe john...@optusnet.com.au wrote:
   
 From the looks of things, it's trying to install a file directly to the
 filesystem outside the /var/tmp sandbox.  I believe this is a bug that
 needs reporting, but before I did that, I thought I'd check to be sure
 it wasn't something I was doing wrong.  Can can someone more
 knowledgeable than me advise?
 

 Could it be bug #306177? Looks a lot like your case.

 http://bugs.gentoo.org/show_bug.cgi?id=306177

   
Perfect, thank you.  :-)  I had searched bugs.gentoo.org before, but
obviously not thoroughly enough...

John Moe



[gentoo-user] Sandbox violation emerging media-gfx/dcraw-8.73

2010-02-21 Thread John H. Moe
When trying to emerge the Thunar thumbnailer plugin, it pulls in dcraw. 
However, after successfully compiling dcraw, I get the following error
when make gets to the install phase:

**

 Source compiled.
 Test phase [not enabled]: media-gfx/dcraw-8.73

 Install dcraw-8.73 into /var/tmp/portage/media-gfx/dcraw-8.73/image/
category media-gfx
make -j5 DESTDIR=/var/tmp/portage/media-gfx/dcraw-8.73/image/ install
/usr/bin/install -d /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/bin
/usr/bin/install dcraw /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/bin
/usr/bin/install dcparse
/var/tmp/portage/media-gfx/dcraw-8.73/image//usr/bin
/usr/bin/install -d
/var/tmp/portage/media-gfx/dcraw-8.73/image//usr/share/man/man1
/usr/bin/install dcraw.1
/var/tmp/portage/media-gfx/dcraw-8.73/image//usr/share/man/man1
cp rawphoto /usr/lib/gimp/2.0/plug-ins
ACCESS DENIED  open_wr:  /usr/lib/gimp/2.0/plug-ins/rawphoto
cp: cannot create regular file `/usr/lib/gimp/2.0/plug-ins/rawphoto':
Permission denied
 Completed installing dcraw-8.73 into
/var/tmp/portage/media-gfx/dcraw-8.73/image/

--- ACCESS VIOLATION SUMMARY
---
LOG FILE /var/log/sandbox/sandbox-9890.log

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /usr/lib/gimp/2.0/plug-ins/rawphoto
A: /usr/lib/gimp/2.0/plug-ins/rawphoto
R: /usr/lib/gimp/2.0/plug-ins/rawphoto
C: cp rawphoto /usr/lib/gimp/2.0/plug-ins


 Failed to emerge media-gfx/dcraw-8.73, Log file:

  '/var/tmp/portage/media-gfx/dcraw-8.73/temp/build.log'

**

From the looks of things, it's trying to install a file directly to the
filesystem outside the /var/tmp sandbox.  I believe this is a bug that
needs reporting, but before I did that, I thought I'd check to be sure
it wasn't something I was doing wrong.  Can can someone more
knowledgeable than me advise?

I've attached emerge --info and the full build log file for reference.

John Moe
Portage 2.1.7.16 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 
2.6.31-gentoo-r6 i686)
=
System uname: 
Linux-2.6.31-gentoo-r6-i686-Intel-R-_Pentium-R-_4_CPU_3.40GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 21 Feb 2010 20:15:02 +
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash: 4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python: 2.6.4
dev-util/cmake:  2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:   4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS=x86
ACCEPT_LICENSE=* -...@eula
CBUILD=i686-pc-linux-gnu
CFLAGS=-march=native -fomit-frame-pointer -O2 -pipe
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/X11/xkb /usr/share/config
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ 
/etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ 
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild 
/etc/sandbox.d /etc/terminfo /etc/udev/rules.d
CXXFLAGS=-march=native -fomit-frame-pointer -O2 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=assume-digests distcc distlocks fixpackages news parallel-fetch 
protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch
GENTOO_MIRRORS=ftp://jhb5970 ftp://ftp.swin.edu.au/gentoo 
ftp://ftp.planetmirror.com/pub/gentoo;
LANG=en_AU
LC_ALL=en_AU
LDFLAGS=-Wl,-O1
LINGUAS=en_AU en en_GB en_US
MAKEOPTS=-j5
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles 
--exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/local/portage/layman/sunrise
SYNC=rsync://jhb5970/gentoo-portage
USE=X a52 aac acl acpi aim alsa apache2 bash-completion berkdb branding bzip2 
cdda cddb cdinstall cdr cli cracklib crypt css cups cxx dbus dri dvd dvdr 
encode exif ffmpeg firefox flac fortran ftp gdbm gif gimp gpm gtk gzip hal 
hddtemp iconv icq imap jbig joystick jpeg jpeg2k kde libnotify lm_sensors lzo 
matroska mng modules mp3 mp4 mpeg mplayer msn mudflap mysql mysqli ncurses nls 
nptl nptlonly nsplugin offensive ogg openexr opengl openmp oscar pam pcre pdf 
perl php plasma png pppd python qt3support qt4 quicktime raw rdesktop readline 
reflection samba semantic-desktop session spl sql ssl startup-notification svg 
sysfs szip taglib tcpd theora tiff truetype unicode usb v4l v4l2 vcd vnc vorbis 
wavpack 

Re: [gentoo-user] Can't unsubscribe from gentoo-user

2010-02-21 Thread John H. Moe
Adam Van Ymeren wrote:
 I've sent two emails to gentoo-user+unsubscr...@lists.gentoo.org over
 the last week , but I continue to receive emails from the list.

 Not that I don't love the gentoo-user mailing list :-)

 Any advice?
 -Adam

   
Do you get any response from the list?  Any reason given?  If not, maybe
it's not making it to the list server?

You could try sending to gentoo-user+h...@lists.gentoo.org and see what
options are available to you there.

John Moe



Re: [gentoo-user] Problem configuring Intel Wireless 5300 device

2010-02-07 Thread John H. Moe
Shoka wrote:
 On 07.02.2010 20:29, Zeerak Waseem wrote:
 On Sun, 07 Feb 2010 19:21:20 +0100, Shoka sh...@gmx.ch wrote:

 Hi folks,

 I got stuck when trying to get the Intel Wireless 5300 device
 running. I'm using the 2.6.31.gentoo-r6 kernel source and have tried
 several configuration options for getting this driver to work.

 The gentoo os is running on a lenovo x200 notebook.

 It seems that the iwlagn module doesn't get compiled at all. When
 trying to run modprobe iwlagn I get the message Module iwlagn not
 found. The device is properly recognized when using the Gentoo Live
 CD. There it uses the iwlagn module. So it should be possible to
 configure the kernel to do the same.

 I have found this forum post about configuring the 5300 device, but
 this guy used the 2.6.30-gentoo-r6 kernel source and it looks like
 the kernel config options in menuconfig have changed. I cannot find
 a kernel config option called Intel Wireless WiFi Next Gen AGN
 (iwlagn).

 Link to forum post:
 http://forums.gentoo.org/viewtopic-t-792424-highlight-5300.html

 I'm a gentoo newbie and therefore would be very glad, if anyone
 could give me an advice in the right direction.

 Thank you very much!

 Best regards
 Shoka

 You should be able to find the iwlagn in Device Drivers - Network
 Device Support - Wireless Lan

 There you need to set Intel Wireless Wifi and then the option
 should appear :-)

 Hi Zeerak,

 When calling make menuconfig, then enter section Device Drivers
 -- Network Device Support -- Wireless LAN, all I can see are
 these options:

 [ ] Wireless LAN (pre-802.11)
 [ ] Wireless LAN (IEEE 802.11)
   Intel PRO/Wireless 2100 Network Connection
   Intel PRO/Wireless 2200BG and 2915ABG Network Connection

 I have selected both Intel PRO/Wireless sections and the only
 sup-options that appeared were:

 [ ] promiscuous mode
 [ ] full debugging output

 But there was nothing written about Intel Wireless Wifi or iwlagn
 stuff
 Even if I checked all the options nothing more appeared.

 Shoka

You need to enable Wireless LAN (IEEE 802.11) first.  You don't need
either of the 2100 or the 2200 modules; once you select Wireless LAN
(IEEE 802.11) a new slew of options should come up, including the Intel
Wireless Wifi option, and in there you should find your wireless card.

John Moe



Re: [gentoo-user] Thunderbird 2.0.0.23: Incorrect date format.

2010-01-31 Thread John H. Moe
Neil Walker wrote:
 ubiquitous1980 wrote:
   
 I am trying to get Thunderbird to correctly display the date format in
 my locale: EN_AU

 Does anyone have any tips?
 

 Setting LANG in /etc/env.d/02locale works for me.


 Be lucky,

 Neil
 http://www.the-workathome.com
   

Is this the Gentoo way of setting this?  I've always used .bashrc to
set up LANG and LC_ALL.

To the OP: I'm using Thunderbird and I didn't have to configure anything
special to get the AU date format.  Just emerged it.  But I had already
set LANG and LC_ALL when I built my system.  Also, I use FVWM as my WM,
so I have no localization settings via KDE or Gnome or such; that may
affect things for you?

John Moe



Re: [gentoo-user] Error in Emerge

2010-01-28 Thread John H. Moe
Crístian Viana wrote:
 pastebin can also hold the file forever :)

 On Thu, Jan 28, 2010 at 8:16 AM, Neil Bothwick n...@digimed.co.uk wrote:

   
 On Thu, 28 Jan 2010 12:12:15 +0300, wins mallow wrote:

 
 Please place full log to pastebin.
 maybe, you missed cc profile, gcc not found, etc ?
   
 Please don't use pastebin. It only holds the file for something like 30
 days, whereas the mailing list archives are long term. If the log file is
 too large for a plain attachment, gzip it.


 --
 Neil Bothwick

 C Error #029: Well! I'm impressed
 
Yeah, but does pastebin refer back to this e-mail thread if I look up
the same error sometime later?  If the errors and info are directly in
the e-mail, then future searches for the same problem are much easier to
track down.

I would assume the info requested might make up a few KB?  And if it's
bigger than that, the like the man said, gzip it; text files generally
get really good compression.

Just my $0.02.

John Moe



Re: [gentoo-user] skype masked because of eula?

2010-01-26 Thread John H. Moe
Mick wrote:
 This is confusing me ...

 I have skype-2.0.0.72 installed for some time now.  eix -l skype shows:

 [I] net-im/skype
  Available versions:  
 2.0.0.72!m!s amd64 x86 [qt-static]
 ~   2.1.0.81+i!m!s ~amd64 ~x86 [qt-static]
  Installed versions:  2.0.0.72!m!s(06:22:21 04/15/09)(-qt-static)
  Homepage:http://www.skype.com/
  Description: A P2P-VoiceIP client.

 However, after updating portage I see:

 Calculating dependencies... done!

 Total: 0 packages, Size of downloads: 0 kB

 !!! The following installed packages are masked:
 - net-im/skype-2.0.0.72 (masked by: skype-eula license(s))
 A copy of the 'skype-eula' license is located at '/usr/portage/licenses/skype-
 eula'.

 Is portage telling me that I need to do something about the eula?  eix does 
 not show this version as being masked.
   
1. Go to Google (or your favourite search engine)
2. Search for gentoo license mask
3. Follow instructions from several previous threads

John Moe



Re: [gentoo-user] A quick test of su

2010-01-18 Thread John H. Moe
Hilco Wijbenga wrote:
 2010/1/18 walt w41...@gmail.com:
   
 Can I trouble you folks to do this ten-second test and report your
 results?

 As an ordinary user, type 'su' at a bash prompt.  Now, where you
 would normally type your root password, just type Ctrl-d instead.

 What do you see? (I'm ruling out evil spirits here, so please bear
 with me ;)
 

 su: Authentication information cannot be recovered

   
 Thanks for your help.
 

 What did I win? :-)
   
Same result:

j...@aus9703 ~ $ su
Password:
su: Authentication information cannot be recovered




Re: [gentoo-user] {OT} Problems playing back DVD

2010-01-15 Thread John H. Moe
pk wrote:
 John H. Moe wrote:

   
 play or rip it on my computer.  SMplayer, VLC, Xine, K3B, DVD::Rip and
 AcidRip all seem to have the same basic problem:

 libdvdread: Can't seek to block 3362902
 libdvdread: Invalid IFO for title 18 (VTS_18_0.IFO).
 

 Not sure if this is the solution but judging from what you write it
 seems likely:
 http://tobias.rautenkranz.ch/libdvdread_ifo.html.en

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460400

 Might help to upgrade to a newer version of libdvdread (you don't say
 which version you have installed)?

 Best regards

 Peter K
   
Thanks for the reply!  Sorry, I didn't think to put versions in.  I'm
currently using 0.97, the latest stable ebuild on x86.  However, the
link you pointed me to seems to say if I go up to 4.13, I shouldn't have
that problem.  Portage, conveniently, has unstable builds for 4.13. 
I'll give it a go and report back.

John Moe



Re: [gentoo-user] {OT} Problems playing back DVD

2010-01-15 Thread John H. Moe
John H. Moe wrote:
 pk wrote:
   
 John H. Moe wrote:

   
 
 play or rip it on my computer.  SMplayer, VLC, Xine, K3B, DVD::Rip and
 AcidRip all seem to have the same basic problem:

 libdvdread: Can't seek to block 3362902
 libdvdread: Invalid IFO for title 18 (VTS_18_0.IFO).
 
   
 Not sure if this is the solution but judging from what you write it
 seems likely:
 http://tobias.rautenkranz.ch/libdvdread_ifo.html.en

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460400

 Might help to upgrade to a newer version of libdvdread (you don't say
 which version you have installed)?

 Best regards

 Peter K
   
 
 Thanks for the reply!  Sorry, I didn't think to put versions in.  I'm
 currently using 0.97, the latest stable ebuild on x86.  However, the
 link you pointed me to seems to say if I go up to 4.13, I shouldn't have
 that problem.  Portage, conveniently, has unstable builds for 4.13. 
 I'll give it a go and report back.

 John Moe
   

Damn, didn't work.  I still get the same error from Xine, but now VLC
will play the first track.  However, if I try to view the 2nd through
the 8th track, they all seem to be the same track.  Also, it seems to
think there's 99 tracks on the DVD.  And if I choose something higher up
like track 75, it segfaults and I get what's in the attached log.

I've included logs of all output from Xine, VLC and K3B in case
something in there helps.

Any other ideas?  Should I just pick one player, and follow up on their
mailing list?  I've only asked here because it doesn't seem to be
specific to any one player, and am looking for some more general help. 
Or is this even fixable?  I assume this all has something to do with
copy protection, and that they've come up with a new way of doing it
that the authors of the apps/libs haven't figured out yet, and maybe I
just need to wait?

Any help or ideas would be appreciated.  Thanks.

John Moe
j...@jhb5970 ~ $ k3b
K3bQProcess::QProcess(0x0)
K3bQProcess::QProcess(0x0)
j...@jhb5970 ~ $ libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Can't seek to block 2389220
libdvdread: Can't seek to block 2389220
libdvdread: Invalid IFO for title 14 (VTS_14_0.IFO).

j...@jhb5970 ~ $ VLC media player 1.0.4 Goldeneye
[0x9d268a8] main libvlc: Running vlc with the default interface. Use 'cvlc' to 
use vlc without interface.
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdnav: DVD Title: SC8-0A-AT1_DES
libdvdnav: DVD Serial Number: UNDEFINED
libdvdnav: DVD Title (Alternative): 
libdvdnav: Unable to find map file '/home/jmoe/.dvdnav/SC8-0A-AT1_DES.map'
libdvdnav: DVD disk reports itself with Region mask 0x00f5. Regions: 2 4

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x02d0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0408
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x040f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0408
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x040f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0408
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x040f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0007a103
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0007a10a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x0007a103
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x0007a10a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x0007a103
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x0007a10a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x000ed583
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x000ed58a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x000ed583
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x000ed58a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x000ed583
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x000ed58a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_0.VOB at 0x00160ed4
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x00160edb
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_0.VOB at 0x00160ed4
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_1.VOB at 0x00160edb
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_12_0.VOB at 0x001d4a71
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_12_1.VOB at 0x001d4a78

[gentoo-user] {OT} Problems playing back DVD

2010-01-13 Thread John H. Moe
Hello all,

I've just gotten Scrubs Season 8 on DVD (as well as House Season 5 and a
Dylan Moran DVD), and have found, to my chagrin, that I can't seem to
play or rip it on my computer.  SMplayer, VLC, Xine, K3B, DVD::Rip and
AcidRip all seem to have the same basic problem:

libdvdread: Can't seek to block 3362902
libdvdread: Invalid IFO for title 18 (VTS_18_0.IFO).

I know the DVD drive is fine, as I've ripped (and watched) all of the
House and Dylan Moran DVDs after trying Scrubs the first time.  The DVD
seems to be fine, as I can play it on my laptop using Windows and
InterVideo WinDVD (comes with many HP laptops).

As near as I can tell, there's some sort of encryption that libdvdread
can't read (yet).  Can anyone recommend another player that may have
success?  I was under the impression that Xine, Mplayer and VLC were the
main three, and most others used one of the first two as a playback
engine anway, but maybe there's others I haven't heard of yet that do
better.  Or does anyone know a good DVD playback/ripping guide that's
fairly current?  Or perhaps a) how long I can expect to wait for someone
to figure out the encryption, and b) how I might help with my specific
DVDs?  Any info (especially current info) that might help would be welcome.

John Moe




Re: [gentoo-user] kde-4.3 tweenview does not work

2009-12-27 Thread John H. Moe
Xi Shen wrote:
 On Mon, Dec 28, 2009 at 11:54 AM, Xi Shen davidshe...@googlemail.com wrote:
   
 have they changed the definition of the word, or i were wrong at the
 first place?


 On Sun, Dec 27, 2009 at 5:13 AM, Alan McKinnon alan.mckin...@gmail.com 
 wrote:
 
 On Saturday 26 December 2009 19:29:10 Xi Shen wrote:
   
 hi,

 my system is gentoo amd64, kde-4.3, my graphic card is nvidia's. i use
 nvidia-settings to set up my two displayer to work in the tweenview
 mode. it supposed to have two separate desktop, instead it have a
 large desktop expand two displayer.

 on gnome and windows, tweenview always sets up two separate desktop.
 how can i set this on kde?

 
 Per the nvidia-driver docs 
 (/usr/share/doc/nvidia-drivers-190.53/README.bz2),
 TwinView is designed to give you one large desktop and there's not much you
 can do about that in KDE.

 See Chap 15 of that same doc for a description of how to configure two
 separate screens.

 --
 alan dot mckinnon at gmail dot com


   

 --
 Best Regards,
 David Shen

 http://twitter.com/davidshen84/
 http://meme.yahoo.com/davidshen84/

 


 why i cannot find the file you mentioned? it looks like i do not have
 it installed. how can i install it?


   
It should get installed with nvidia-drivers:

j...@jhb5970 ~ $ equery belongs
/usr/share/doc/nvidia-drivers-185.18.36/README.bz2
[ Searching for file(s)
/usr/share/doc/nvidia-drivers-185.18.36/README.bz2 in *... ]
x11-drivers/nvidia-drivers-185.18.36
(/usr/share/doc/nvidia-drivers-185.18.36/README.bz2)

You may have to substitute your nvidia-drivers version number for the
185.18.36 in my path, or the 190.53 in Alan's path?

John H. Moe



Re: [gentoo-user] {OT} Preparing a laptop for sale

2009-12-22 Thread John H. Moe
Neil Bothwick wrote:
 On Mon, 21 Dec 2009 13:31:31 -0500, Willie Wong wrote:

   
 If DSLinux is what I think it is, it may have been (on hindsight)
 rather obvious that it may not support the block device your system HD
 is on or the filesystem used. The DS, afterall, has fairly predictable
 hardware. 
 

 DS = Damn Small, not Dual Screen.

 I don't know if anyone has installed Gentoo on the DS you were thinking
 of ;-)
   
The anal-retentive in me feels compelled to point out:

http://www.dslinux.org/
http://www.damnsmalllinux.org/

DSLinux = Linux on the Nintendo DS
DSL = Damn Small Linux

:-P

John Moe



Re: [gentoo-user] Problem with update world

2009-11-10 Thread John H. Moe
Dale wrote:
 Neil Bothwick wrote:
   
 On Tue, 10 Nov 2009 22:39:24 +0200, Alan McKinnon wrote:

   
 
 You likely don;t need it then. device-mapper is only used by lvm and
 software- raid type packages. If you use those, you will know about it
 
   
 It's also used by cryptsetup.


   
 

 Yup, I'm not sure if I am using that or not.  I don't think so but I
 don't want to remove it without making sure.  Be my luck it will blow up
 or something. lol  This is what equery returns tho:

 sys-apps/hal-0.5.13-r2 (kernel_linux  crypt? =sys-fs/cryptsetup-1.0.5)
 sys-apps/pmount-0.9.20 (crypt? =sys-fs/cryptsetup-1.0.5)

 Don't get me started on hal.  Is this a USE flag thing?  I need to check
 on this more.

 Dale

 :-)  :-) 

   
That's pretty much what I ended up doing: emerge --unmerge device-mapper
 emerge -aDNuv world.  Get rid of it, and let Portage tell me if I
need it or not.  :-)  Seems to be working still...

John Moe



Re: [gentoo-user] sun-jre-bin end-of-life - what now?

2009-11-09 Thread John H. Moe
Mark Knecht wrote:
 On Mon, Nov 9, 2009 at 6:27 PM, Dale rdalek1...@gmail.com wrote:
   
 Mark Knecht wrote:
 
 Hi,
It seems that Gentoo-devs have decided that Sun Java is end-of-life
 with security problems. I don't find any mention of this or what is
 recommended on the Gentoo front page so I figured I'd ask what others
 are doing for their machines.

 Thanks,
 Mark


   
 I checked the changelog and it appears to be stable as of a few days ago.

 # ChangeLog for dev-java/sun-jre-bin
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v
 1.163 2009/11/05 21:28:43 maekke Exp $

  05 Nov 2009; Markus Meier mae...@gentoo.org sun-jre-bin-1.5.0.22.ebuild,
  sun-jre-bin-1.6.0.17.ebuild:
  amd64 stable, bug #291817

  05 Nov 2009; Markus Meier mae...@gentoo.org sun-jre-bin-1.6.0.17.ebuild:
  x86 stable, bug #291817

  05 Nov 2009; Markus Meier mae...@gentoo.org sun-jre-bin-1.5.0.22.ebuild:
  x86 stable, bug #291817


 I synced my tree yesterday so unless it was done today it looks like it
 is still there.  What kind of message are you getting?

 Dale

 :-)  :-)


 

 Hi Dale,
If I remove the new ACCEPT_LICENSE=dlj-1.1 I added to make.conf
 then I see this:

 DesertFlower ~ # emerge -pv sun-jre-bin

 These are the packages that would be merged, in order:

 Calculating dependencies... done!

 !!! All ebuilds that could satisfy dev-java/sun-jre-bin have been masked.
 !!! One of the following masked packages is required to complete your request:
 - dev-java/sun-jre-bin-1.6.0.17 (masked by: dlj-1.1 license(s))
 A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.

 - dev-java/sun-jre-bin-1.6.0.16 (masked by: dlj-1.1 license(s), ~x86 keyword)
 - dev-java/sun-jre-bin-1.6.0.15 (masked by: dlj-1.1 license(s))
 - dev-java/sun-jre-bin-1.5.0.22 (masked by: dlj-1.1 license(s))
 - dev-java/sun-jre-bin-1.5.0.21 (masked by: dlj-1.1 license(s), ~x86 keyword)
 - dev-java/sun-jre-bin-1.5.0.20 (masked by: dlj-1.1 license(s))
 - dev-java/sun-jre-bin-1.4.2.19 (masked by: package.mask)
 /usr/portage/profiles/package.mask:
 # Vlastimil Babka cas...@gentoo.org (06 Nov 2009)
 # Removal for EOL and security, bug #287615


 For more information, see the MASKED PACKAGES section in the emerge
 man page or refer to the Gentoo Handbook.

 DesertFlower ~ #

 Thanks,
 Mark


   
Did you read the bug it referenced?  It sounds like they're removing JRE
1.4 only, not all JRE.  Also, the message you pasted shows that only the
1.4.2.19 is masked by package.mask, which is where that message came
from.  The rest of the versions are masked by dlj-1.1 license (and a few
by ~x86 keyword as well), not by package.mask.

John H. Moe



Re: [gentoo-user] Re: kernel build - back in the soup.

2009-11-04 Thread John H. Moe
Harry Putnam wrote:
 John H. Moe john...@optusnet.com.au writes:

   
 I stopped using that option in my systems, as there is now a AHCI SATA
 option to use instead. It appears CONFIG_ATA_SFF (which CONFIG_ATA_PIIX
 requires) is deprecated. From the help on it:
 

 Do you notice some kind of difference from switching?


   
Well, my understanding is that SATA controllers can operate in one of
two modes: AHCI (or native) mode, which allows for the full capabilities
(read: SPEED) of the SATA interface, and an IDE-compatible mode, for
things like Windows XP (which I use at work) that doesn't, by default,
understand SATA. If you try to load WinXP on to a PC with SATA, you
either have to switch the SATA controller to IDE-mode, which allows
WinXP to see it as a normal IDE hard drive, or load a SATA driver at
install time (from a floppy! One of the few things I still need 3.5
floppies for).

Translating this to Linux (at home), I chose the AHCI option when it
showed up in one kernel upgrade, and when I saw in the help for ATA_SFF
that it's the legacy IDE interface, I figured I didn't need it, so I
left it out.

So if I understand this correctly, you should use the AHCI option if
your SATA controller is in AHCI or Native mode, and the ATA_SFF
option if you're in IDE or Compatible mode.

Hope this helps (and makes sense)

John Moe



Re: [gentoo-user] kernel build - back in the soup.

2009-11-03 Thread John H. Moe
Harry Putnam wrote:
 I'll say right from the start, that building a new kernel, has always
 been a problem for me.  I don't remember ever not having a problem, in
 10+ yrs..

 Many people here seem to find it completely easy... not me.

 So I'm back in the soup.
 [I hope what I try to layout below is not overly confusing]

 (After install of gentoo-sources-2.6.31-r4)

 I started with `make oldconfig'
 Moved from that to `make menuconfig'

 Trying to mimic all the needed drivers in current running kernel.
 But, On the first build and reboot, I got  `kernel panic'

 So by now I've rebuilt the kernel 4 times, each time trying to get the
 new one to have all the needed drivers that are present in the old
 one, but still getting `kernel panic'.

 I tried closely comparing the current working kernel with newly built
 one. I mean side by side with `make menuconfig' running in both sources.
 I cannot tell what it is I'm overlooking.

 I copied the latest output painfully off the boot screen, and best I
 can make of it, a driver required to let the kernel recognize the
 filesystem that / is on, is not getting loaded.  I think its one of
 PIIX items.

 The thing is, I cannot find the culprit.  For example, examining the
 PIIX items in the working kernel and inserting here:

 zgrep PIIX /proc/config.gz

  CONFIG_BLK_DEV_PIIX=y
  CONFIG_ATA_PIIX=m
  CONFIG_PATA_MPIIX=y
  # CONFIG_PATA_OLDPIIX is not set
  CONFIG_I2C_PIIX4=m

 Try the same thing on the newbuild:

 grep  PIIX /usr/src/linux/.config

  CONFIG_BLK_DEV_PIIX=y
  CONFIG_ATA_PIIX=m
  CONFIG_PATA_MPIIX=y
  # CONFIG_PATA_OLDPIIX is not set
  CONFIG_I2C_PIIX4=m

 So maybe it is not even related to PIIX
 But let me insert the kernel messages from a failed boot here:
 (I've numbered the lines from the bad boot output so as not confuse
 them with the good boot messages from kernel 2.6.30-r1
 ----   ---=---   -  
 From Kernel 2.6.31-r4
  
 1  hda: ST3160021A, ATA DISK drive
 2  hdb: WDC SE3000JB-00KFA0, ATA DISK drive
 3  hda: UDMA/100 mode selected
 4  hdb: UDMA/100 mode selected
 5  hdc: LITE-ON CD-ROM LTN-5291s, ATAPI CD/DVD-ROM drive
 6  hdd: WDC WD16000JB-00EVA0, ATA DISK drive
 7  hdc: UDMA/33 mode selected
 8  hdd: UDMA/100 mode selected
 9  IDE0 at 0x1f0-0X1f7,0X3f6 on irg 14
 10 IDE0 at 0x170-0X177,0X376 on irg 15
 ----   ---=---   -   

 NOTE: Comparing a similar section of dmesg from  working kernel
  2.6.30-r1

 Uniform Multi-Platform E-IDE driver
 piix :00:1f.1: IDE controller (0x8086:0x24db rev 0x02)
 PIIX_IDE :00:1f.1: enabling device (0005 - 0007)
 ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
 PCI: setting IRQ 10 as level-triggered
 PIIX_IDE :00:1f.1: PCI INT A - Link[LNKC] - GSI 10 (level, low) - IRQ 
 10
 piix :00:1f.1: not 100% native mode: will probe irqs later
 ide0: BM-DMA at 0xfc00-0xfc07
 ide1: BM-DMA at 0xfc08-0xfc0f

   ** The part above, I think is where a piix driver is loaded or 
  something (these messages from working kernel 2.6.30-r1)

 Probing IDE interface ide0...
 Switched to high resolution mode on CPU 0
 hda: ST3160021A, ATA DISK drive
 hdb: WDC WD3000JB-00KFA0, ATA DISK drive
 hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
 hda: UDMA/100 mode selected
 hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO4
 hdb: UDMA/100 mode selected
 Probing IDE interface ide1...
 hdc: LITE-ON CD-ROM LTN-5291S, ATAPI CD/DVD-ROM drive
 hdd: WDC WD1600JB-00EVA0, ATA DISK drive
 hdc: host max PIO4 wanted PIO255(auto-tune) selected PIO4
 hdc: UDMA/33 mode selected
 hdd: host max PIO4 wanted PIO255(auto-tune) selected PIO4
 hdd: UDMA/100 mode selected

 [...] snipped the rest of dmesg ouput from running kernel
   2.6.30.1

 ----   ---=---   -   
(continuation of messages from failed boot of kernel-2.6.31-r4

 11 ide_generic: please use probe_mask=0x3f module parameters for probing 
 all legacy IS IDE ports
 12 ide-cd driver 5.00
 13 ide cd:hdc: ATAPI 52X CD-ROM drive 96kB Cache
 14 Uniform CD-ROM driver Revision: 3.10
 15 Intel(R) PRO/1000 Network Driver version - 7.3.21-k3-NAPI
 16 Copyright (c) 1999-2006 Intel Corporation
 17 e1000e: Intel(R) Pro/1000 Network Driver, 1.0.2-k2
 18: e1000e: Copyright(c) 1999-2008 Intel Corporation
 19: e100: Intel (R) PRO/100 Network Driver 3.5.24-k-NAPI
 20: e100: Copyright blah blah
 21: sky2 driver version 1.23
 22: r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
 23: r8169 :02:03:0: PCI INT A - GSI 19 (level,low) - IRQ 19
 24: r8169 :02:03:0: no PCI Experss capability
 25: eth0  RTL8110s at 0xf8026f00, 00:40:f4:b5:29:41, XID 0400 IRQ 20
 26: r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
 27: r8169 :02:06:0: PCI INT A - GSI 20 (level,low) - IRQ 20
 28: r8169 :02:06:0: no PCI Experss capability
 29: eth1  

Re: [gentoo-user] Intel iwl3945 problem

2009-10-15 Thread John H. Moe




John Moe wrote:

  daid kahl wrote:
  
  

  I've recently rebuilt my laptop, and am having trouble getting the
wireless to work correctly.  My wireless is making an association with
my AP, but TCP/IP traffic doesn't seem to want to transmit over it; I
can't even ping my AP.  TCP/IP works fine on the ethernet adapter.
Wireshark (without the ethernet connected) only shows traffic going out
the wireless card, not in, and another station on my home network is not
seeing the DHCP broadcasts.  My access point can see the MAC address of
the wireless card in my laptop.  I've tried to config the networking
with DHCP and static IPs, neither worked.

So, the wireless card appears to be working, and TCP/IP appears to be
working, but not together.  Does anyone have any idea what could cause
this?  I've previously had it working, however, I forgot to grab my
kernel config before I wiped the drive, only the /etc folder and my home
folder, so there's a good chance that I've done something differently in
the kernel config.

  

Use portage to rebuild all the relevant network ebuilds.  I've had
similar trouble with NetworkManager and my wireless after rebuilding
lots of the system, and once I rebuilt NetworkManager then everything
was back to normal.  So, dhcpcd certainly should be rebuilt, and
whatever other things might be related to the wireless in portage.

~daid


  

  
  Well, I've used emerge -C and then emerge again on dhcpcd and
iwl3945-ucode.  I'm not sure if I did that with wireless-tools, but I'll
try that now.  Actually, I'll unmerge all three and re-emerge them again.

Are there any others that I'm missing?  I can't think of any other
packages that would apply; at least, not that I specified.

John Moe

  

Well, nevermind. It seems to have sorted itself out. I'm not sure if
it was the re-emerging of the three network packages mentioned before,
but they didn't seem to do anything afterwards. So then I noticed that
FireWire networking module hadn't been built, and that was in there the
last build, so I switched CONFIG_IEEE1394_ETH1394 to m,
recompiled the kernel, copied it over and rebooted, and suddenly the
wireless started working. Could it have needed a reboot after
re-emerging the network packages? I can't see how adding FireWire
networking support would change anything...

Anyway, thanks for the quick suggestions. It seems to be working now.

John Moe





Re: [gentoo-user] No sound with Intel HDA card in Gateway m6888u laptop (2.6.30-r4, amd64)

2009-09-17 Thread John H. Moe
Jesse Taylor wrote:
 Hello --

 I've been trying to get my sound working for nearly a month now with
 no luck.

 * I've followed the Gentoo ALSA Guide *several times*, and it's not
 working for me.

 * I've already unmuted my card in alsamixer and raised the volume to
 100%

 * There is no sound that is coming from any of the following:
-- mplayer (movies or mp3's)
-- speaker-test
-- flash movies in Firefox
-- etc ... i.e. NOTHING gives me any sound

 * But when I try to play sound in any of the above mentioned programs,
 I get no errors (i.e. they seem to think that my sound *is* working.

 * I've checked to make sure that the volume isn't muted via the
 keyboard, and that the volume is at 100% there too.

 * There are no errors that are popping up in /var/log/messages or /var/
 log/dmesg when I do '/etc/init.d/alsasound restart' nor when I
 manually rmmod/modprobe the sound modules

 * The hardware is not damaged/broken -- it works fine from Windows

 * I've tried to disable ati-hdmi in the kernel and it doesn't make a
 difference (it's currently enabled, but unused according to lspci -k)
 and according to http://kmuto.jp/debian/hcl/ the ATI HDMI card should
 be using snd-hda-intel (as it currently is) anyway

 * I've tried telling alsaconf to use the Intel HDA card, and the ATI
 HDMI card -- neither of these work.

 * I started a thread on Gentoo Forums regarding this problem () and
 someone said: QUOTE HD Audio often needs a model option passed to it
 based on the codec see /usr/src/linux/Documentation/
 sound/alsa/HD-
 Audio-Models.txt to see what the model should be. /QUOTE ... But
 looking through that file, I could not determine which option I should
 use (if this is even a solution, anyway) for my card. Google was no
 help here.  (note that the Intel HDA card uses the SigmaTel ID 76a0
 codec)

 Is there any additional information I can provide (besides what I just
 mentioned, and the stuff below) to help diagnose this? Anything else I
 should try? Any help would be *very* much appreciated.

 Thanks,
 Jesse Taylor

 P.S.

 Here's some info on the current state of things:

 #
 # cat /proc/asound/cards
 #
  0 [Intel  ]: HDA-Intel - HDA Intel
  HDA Intel at 0xf330 irq 22
  1 [HDMI   ]: HDA-Intel - HDA ATI HDMI
  HDA ATI HDMI at 0xf301 irq 17

 
 #lspci -k
 
 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio
 Controller (rev 04)
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
 01:00.1 Audio device: ATI Technologies Inc RV630/M76 audio device
 [Radeon HD 2600 Series]
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

 ##
 # cat /proc/asound/devices
 ##
 0: [ 0]   : control
  1:: sequencer
  16: [ 0- 0]: digital audio playback
  24: [ 0- 0]: digital audio capture
  32: [ 1]   : control
  33:: timer

 
 # codecs  (note that there are two codecs for card0 (is this normal?))
 

 # the intel card
 localhost ~ # cat /proc/asound/card0/codec#0
 Codec: SigmaTel ID 76a0
 Address: 0
 Function Id: 0x1
 Vendor Id: 0x838476a0
 Subsystem Id: 0x107b0562
 Revision Id: 0x100204

 #the intel card again
 localhost ~ # cat /proc/asound/card0/codec#1
 Codec: Conexant ID 2c06
 Address: 1
 Function Id: 0x2
 Vendor Id: 0x14f12c06
 Subsystem Id: 0x14f1
 Revision Id: 0x10
 Modem Function Group: 0x2

 # the ATI HDMI card
 localhost ~ # cat /proc/asound/card1/codec#0
 Codec: ATI ID aa01
 Address: 0
 Function Id: 0x1
 Vendor Id: 0x1002aa01
 Subsystem Id: 0x00aa0100
 Revision Id: 0x10
 No Modem Function Group found


 
 # lsmod
 
 snd_seq_oss31392  0
 snd_seq_midi_event  7208  1 snd_seq_oss
 snd_seq56672  4 snd_seq_oss,snd_seq_midi_event
 snd_seq_device  7164  2 snd_seq_oss,snd_seq
 snd_pcm_oss41184  0
 snd_mixer_oss  16904  1 snd_pcm_oss
 snd_hrtimer 2840  0
 snd_hda_codec_atihdmi 3944  1
 snd_hda_intel  28296  0
 snd_hda_codec  66152  2 snd_hda_codec_atihdmi,snd_hda_intel
 snd_pcm74640  3
 snd_pcm_oss,snd_hda_intel,snd_hda_codec
 snd_timer  22264  3 snd_seq,snd_hrtimer,snd_pcm
 snd65256  9
 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
 snd_page_alloc  9496  2 snd_hda_intel,snd_pcm


 #
 # Kernel config
 #

 CONFIG_SND=m
 CONFIG_SND_TIMER=m
 CONFIG_SND_PCM=m
 CONFIG_SND_JACK=y
 CONFIG_SND_SEQUENCER=m
 CONFIG_SND_OSSEMUL=y
 CONFIG_SND_MIXER_OSS=m
 CONFIG_SND_PCM_OSS=m
 CONFIG_SND_PCM_OSS_PLUGINS=y
 CONFIG_SND_SEQUENCER_OSS=y
 CONFIG_SND_HRTIMER=m
 CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
 CONFIG_SND_SUPPORT_OLD_API=y
 CONFIG_SND_VMASTER=y
 CONFIG_SND_PCI=y
 CONFIG_SND_HDA_INTEL=m
 # 

Re: [gentoo-user] [OT] In search of a good windowmanager

2009-09-12 Thread John H. Moe




Lars Gustbel wrote:

  On Sat, Sep 12, 2009 at 03:40:56PM +0200, meino.cra...@gmx.de wrote:
  
  
 I would like to hear from others what experiences they made with
 what windowmanagers.

  
  
Hi!

I've been using fvwm2 (http://fvwm.org) for years now and am quite happy with
it. Although it may look old and strange at first (the default settings are
rather horrible IIRC), it is possible to configure every tiny detail of it
using config files. I am still sometimes amazed of what you can do with it.
The fvwm manpage has everything you need to know.
The complexity is also its main drawback: it took me several weeks to have
it the way I wanted it. fvwm is indeed rather complicated at first but that's
why it's so powerful. It is really flexible and you can still use all the
little gui tools out there from other window managers. One cool feature of fvwm
is that you can assign different window styles based on the application, e.g. I
have a graphical system monitor on my third desktop, that is started when I log
in via .xinitrc and always stays on bottom, never gets the focus and does not
appear in the window list or on the task bar, so it does not interfere with the
rest of the system at all.
Before using fvwm2 I used KDE which had too much stuff I didn't really need.
(However, I am still using the KDE kicker panel with fvwm, which I think is
quite funny.)  When I looked for a new window manager I tried fluxbox for a few
days, but it did not convince me. Then I tried fvwm and stayed with it.

Regards,

  

Vote #2 for FVWM.

  It does nothing (or at least, an absolute minimum) by default
  you can configure it to be just about whatever you want
  man pages explicitly say it can be used mouse-less, and I'm like
you: I grew up with old, command-line systems and am still more
comfortable with that :-P so I've configured most mouse bindings to
keys as well
  Support for extras via FVWM Modules, so that the core system
itself stays small. If you want to add a desktop pager, add the
FVWMPager module. If you want a taskbar, add the FVWMTaskBar module.
Even a popup banner at startup with FVWMBanner, if you're in to that
sort of thing.. :-P
  However, as previous poster pointed out, all this configurability
is also a bit of a drawback, in that there are a LOT of configuration
items to trawl through to find what you want. But most things I've
wanted to do I've been able to find an example of on the FVWM forums,
which are quite helpful.
  
  From what I've read, you can also use FVWM-Themes to try and get
a jump start with some possible configs, but I've never used them, so I
can't comment on their worth or helpfulness
  

HTH

John Moe





Re: [gentoo-user] timeouts with dhcpcd 5.1

2009-09-10 Thread John H. Moe
Stroller wrote:

 On 11 Sep 2009, at 03:49, cov...@ccs.covici.com wrote:

 Hi. I had a strange problem when I emerge dhcpcd 5.1 I get a timeout
 when trying to get a lease -- it says broadcasting for a lease and times
 out, however when I go back to 4.0.13 everything is fine. I even tried
 toput -I  in the command line to emulate the old behavior, but it
 didn't make any difference.

 I'm pretty sure you can start dhcpcd with a verbose flag.

 Stroller.
Sure can. dhcpcd -d ifname will do it. Or put 'dhcpcd_ifname=-d'
in your /etc/conf.d/net to have it always show the output during boot.

John Moe



Re: [gentoo-user] timeouts with dhcpcd 5.1

2009-09-10 Thread John H. Moe
Stroller wrote:

 On 11 Sep 2009, at 05:17, John H. Moe wrote:
 Stroller wrote:
 On 11 Sep 2009, at 03:49, cov...@ccs.covici.com wrote:

 Hi. I had a strange problem when I emerge dhcpcd 5.1 I get a timeout
 when trying to get a lease -- it says broadcasting for a lease and
 times
 out 

 I'm pretty sure you can start dhcpcd with a verbose flag.

 Sure can. dhcpcd -d ifname will do it. Or put 'dhcpcd_ifname=-d'
 in your /etc/conf.d/net to have it always show the output during boot.


 Ah, splendid!

 I didn't feel the need to to look up that information because I was
 sure snark the OP would find it in the manpage. /snark

 Stroller.


You know, I almost didn't click on send, because I had a fleeting
thought that you might have used that reasoning. Always go with your
first instinct, eh? :-P



Re: [gentoo-user] upgrading ~x68 kde-4.2 to kde-4.3 question

2009-08-19 Thread John H. Moe
Alex Schuster wrote:
 Roy Wright writes:

   
 kde-4.3 is now unmasked for ~x86.  Whop!
 

 I'm also happy, and I want to upgrade soon. I hope many of those little 
 annoyances I experience will be fixed.

   
 But it is looking like a non-trivial upgrade.  :(
 

 Yeah.

   
 When I installed kde-4.2, I followed the advice of unmasking portage
 and using sets.  Also followed the recommendation to use -kdeprefix.
 Further I removed kde-3.5 and added a mask on kdelibs-3.5 to help keep
 3.5 off of the system.

 So for the kde-4.3 upgrade, it looks like this is what will be
 necessary:

 1) grab the sets again from the kde-testing overlay and put them in /
 etc/portage/sets (assumption is to do a replace).
 

 I did that, too, but got errors from portage (Error during set creation: 
 Redefinition of set...). Looks like the sets are found in the kde-testing 
 overlay, so I removed them from /etc/portage/sets, and all was fine. Coool.

   
 2) unmerge kde-4.2 using: emerge --unmerge @kde-4.2
 

 Not really necessary I heard.
 But: I am still using the dreaded kdeprefix use flag. It sounded like a good 
 idea to use it, and I would also like to have different minor KDE versions 
 alongside. Okay, it's hard to maintain, I understand it will be dropped.
 Now, do I REALLY REALLY have to unmerge all @kde-4.2 first, remove the 
 kdeprefix use flag, and proceed to step 3?

   
 3) merge kde-4.3 using: emerge -av @kde-4.3
 

 Hopefully this runs through. If it takes a night, it's okay, but if it stops 
 in the middle, I have no KDE for a while. And I need much of the stuff in 
 there, like the wallet with its passwords.

 What about this: I update my system's backup (I'm using rdiff-backup), 
 chroot into the backup, sudo to my account, and issue startkde. Could I get 
 a running KDE 4.2? Then I would have time to install 4.3.

   
 4) recustomize kde as the ~/.kde will not be migrated
 

 I really hope I can just copy .kde4.2 to .kde4 and all (okay, most) settings 
 will be kept. I think it just _should_ work. Customizing all over again 
 every time a new KDE arrives would be no good.

   Wonko


   

Well, I don't know about necessary, but on my box, when I tried to
update from kde-meta:4.2 to kde-meta:4.3, there were a few blockers that
wouldn't let it go through, so I ended up unmerging 4.2, then emerging
4.3 (which took about 4-6 hours, but I have distcc set up between two
boxes, so that probably sped things up).  However, I seem to remember
that the blockers were with PyQt, Python and eselect-python; I hadn't
thought about it, cause I'm still not THAT experienced with Linux in
general, and Gentoo in particular, but the Python update was a Big Deal,
so perhaps updating Python before the KDE upgrade would have been a good
idea.  :-P  Granted though, I didn't use sets, so it may be a bit
different for you.

Oh, and I didn't touch my .kde or .kde4 folders during this process, and
as far as I can tell, it's still using all of my customizations...

--==**==--
John Moe