Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372489 - media-video/kaffeine tries to open "dvb" instead of "/dev/dvb" and fails (See Comment #15)
Summary: media-video/kaffeine tries to open "dvb" instead of "/dev/dvb" and fails (See...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard: tracking upstream
Keywords:
: 453238 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-21 14:28 UTC by Volker Hemmann
Modified: 2013-06-25 18:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kaffeine strace logfile (log.strace.gz,121.88 KB, application/x-gzip)
2013-01-23 09:12 UTC, Peter Silie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Hemmann 2011-06-21 14:28:59 UTC
after update to udev-171-r1 kaffeine complains that it can not open dvb/adapter0/frontend0 in console. Additionally there is a popup 'device not found'.

The device is there and permissions are correct.

Other dvb apps can not access the device either or get nothing from it.

With udev-168-r2 kaffeine works as expected.

This behaviour has been seen with the kernels:
vanilla-2.6.36.4, -2.6.38.1, -2.6.39.1

kaffeine-versions tried:
kaffeine-1.2.2, kaffeine-1.2.1, kaffeine-9999

emerge --info        
WARNING: One or more repositories have missing repo_name entries:

        /usr/local/portage/ati-testing/profiles/repo_name
        /usr/local/portage/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.


Portage 2.2.0_alpha41 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.39.1 x86_64)
=================================================================
System uname: Linux-2.6.39.1-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-2.0.3
Timestamp of tree: Sun, 19 Jun 2011 16:00:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.1-r1, 3.1.3-r1, 3.2
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo x11 kde xarthisius x-portage x-ati-testing
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -msse3 -msse4a -mabm -fpredictive-commoning -mfpmath=sse -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=amdfam10 -O2 -msse3 -msse4a -mabm -fpredictive-commoning -mfpmath=sse -pipe"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="assume-digests binpkg-logs buildpkg candy distlocks ebuild-locks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/var/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="/var/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/kde /var/lib/layman/xarthisius /usr/local/portage /usr/local/portage/ati-testing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="32bit 3dnow 3dnowext 64bit 7zip S3TC X Xaw3d a52 aac acpi addbookmarks aften aim aio akode akonadi alias alsa altenburgcards amarok amarok2 amd64 amr amrnb amrwb analogtv aotuv apng archive athena atm audio audiofile autoreplace bash-completion berkdb binary-drivers binfilter bittorrent boost branding bzip2 cairo captury cdaudio cdda cddb cdinstall cdparanoia cdr cdrom cdsound cegui chm clamav cli clucene connection-sharing connectionstatus consolekit contactnotes cracklib crypt css cups curl cxx dbus declarative device-mapper dhcp dhcpcd dirac divx dnd double-precision downloadorder dpms dragonplayer dri dts dv dvb dvbplayer dvbsetup dvd dvdr eap-sim eap-tls editor embedded emboss emerald emovix enca encode exceptions exif exiv2 expat extensions extra-cardsets fame fasttrack fat festival ffmpeg fftw file firefox fits flac fontconfig fontforge foomaticdb fortran freetts ftp fts3 gadu gallium gd gdbm gdu geoip gif gimp gles glibc-omitfp glitz glut glx gnutella gpgme gpm graphite grub hddtemp highlight history icons iconv icotools icq icu id3 id3tag ieee1394 imagemagick inotify ipv6 irc irmc irrlicht jabber java java6 javascript jce jingle joystick jpeg jpeg2k kate kcal kde kde4 kdecards kdehiddenvisibility kdepim kdm kexi kipi konqueror kontact ktts lame lapack lastfm lcms lesstif libnotify libsamplerate libssh2 libv4l2 libwww lirc lm_sensors logitech-mouse logviewer lzma lzo mad magic mailbox maildir maps matroska mbox mbrola mdnsresponder-compat metric mime mixer mjpeg mmap mmx mmxext mng modules monolithic mp2 mp3 mp4 mpeg mpeg2 mpi mpi-threads mplayer msn mtp mudflap mule multilib musepack music nano-syntax ncurses neXt nepomuk net network newspr ngui nls no-old-linux nocd nowin nowlistening npp nptl nptlonly nsplugin nspluginwrapper ntfs obex offensive ogg ogg123 ogm old-daemons openexr opengl openmp oscar otr oxygen pam pango pch pcre pda pdf perl phonon physfs pixmaps plasma player plotutils plugins png pnm policykit posix postgres ppds pppd ps python qt-faststart qt3support qt4 rar readline recode reiser4 reiserfs remix reports resolvconf rogue rss rtc samba samba4 sametime sasl scanner scenarios schedule schroedinger scsi sdl sdl-image sdl-sound sdlaudio search secure-delete semantic-desktop sensord server session shaders shm skins skype slp smp sms sndfile sockets sound sounds spell sqlite sqlite3 sse sse2 sse3 sse4a ssh ssl startup-notification statistics stats stroke strong-optimization subp svg sysfs system-v8 sysvipc szip tcpd templates test-programs texteffect textures tga theora threads threadsafe thumbnail tiff timidity tk tomsfastmath toolbar tools transcode translator truetype tv tv_check tv_combiner tv_pick_cgi tvtime udev unicode unzip upnp usb userlocales utempter v4l v4l2 vcd video videos virtuoso visualization vlc vorbis vpx wav webdav webinterface webkit webpresence wifi windeco wireshark wma wma-fixed wmf wv2 x264 xanim xatrix xcb xcomposite xemacs xext xface xft xine xml xorg xosd xpm xrandr xrender xscreensaver xskatcards xulrunner xv xvid xvmc yahoo yiff yv12 zip zlib zsh-completion zvbi" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="devinput" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa v4l fglrx r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pacho Ramos gentoo-dev 2011-07-10 17:08:33 UTC
Please run kaffeine from a terminal and reproduce the problem looking for errors, post them here
Comment 2 Volker Hemmann 2011-07-10 17:16:35 UTC
I did!
Can not open dvb/adapter0/frontend0 is the error message. Nothing else.

Plus the popup.
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-07-10 18:03:59 UTC
I have seen a similar issue, the identification of the DVB device has changed so kaffeine would recognize it as a new device.

Resetting it in the "Configure Television" dialog box helped.
Comment 4 Volker Hemmann 2011-07-10 19:22:11 UTC
did not help here. I removed all kaffeine related configuration files. xinerc etc. I even tried it as root.

No device found.
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2011-08-07 17:53:40 UTC
Maybe the udev guys know something...
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2011-11-01 19:29:40 UTC
I fear we cannot do much here. Maybe it's best if you file a bug for kaffeine at bugs.kde.org, and link to it here (in the url field)...
Comment 7 Volker Hemmann 2011-11-01 20:43:48 UTC
https://bugs.kde.org/show_bug.cgi?id=285511
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2013-01-17 18:15:49 UTC
Can you try with something modern, 3.x kernel and =sys-fs/udev-197-r2? Reopen if the issue is still there. Thank you.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2013-01-21 13:31:58 UTC
*** Bug 453238 has been marked as a duplicate of this bug. ***
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2013-01-21 13:33:00 UTC
(In reply to comment #9)
> *** Bug 453238 has been marked as a duplicate of this bug. ***

Reopening this bug because of ^
Comment 11 Peter Silie 2013-01-21 20:21:24 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > *** Bug 453238 has been marked as a duplicate of this bug. ***
> 
> Reopening this bug because of ^

yes - this occurs with a "gentoo standard system" 

 + sys-fs/udev-197-r3 (current stable)
 + 3.6.11-gentoo kernel
Comment 12 Volker Hemmann 2013-01-22 21:08:20 UTC
I can't reproduce it anymore with udev > 190something. So somewhere it was 'fixed'. 197-r4 and kernel 3.2.X works for me.
Comment 13 Peter Silie 2013-01-23 09:04:05 UTC
(In reply to comment #12)
> I can't reproduce it anymore with udev > 190something. So somewhere it was
> 'fixed'. 197-r4 and kernel 3.2.X works for me.

still the same "no device found" for my standard gentoo system

 + sys-fs/udev-197-r3 (current stable)
 + sys-fs/udev-init-scripts-19-r1
 + 3.6.11-gentoo kernel

I am just preparing to use and retry with sys-fs/udev-197-r4
Comment 14 Peter Silie 2013-01-23 09:12:11 UTC
Created attachment 336560 [details]
kaffeine strace logfile
Comment 15 Bernd Raschke 2013-01-26 13:45:26 UTC
Had the same bug, fought like hell with my kernel, udev and the usb-stick.

Turns out, the problem is neither, but Kaffeine. For some reason after
scanning for dvb-Adapters it suddenly decides to open dvb/adapter0/frontend0.
So
$ cd /dev
$ kaffeine
 - works
and
$ cd 
$ ln -s /dev
$ kaffeine
 - works too.

I suspect kaffeine for some reasons cuts off the mount point which didn't
exist before i upgraded udev (at least i guess).
Comment 16 Samuli Suominen (RETIRED) gentoo-dev 2013-03-12 19:06:35 UTC
Can you try as root? Are you in video group? Is /dev/dvb and related owned by root:video?

I realize last comment said something entirely different, but Kaffeine seems to act oddly here when it can't access because of the permissions
Comment 17 Johannes Huber (RETIRED) gentoo-dev 2013-06-25 18:42:08 UTC
(In reply to Samuli Suominen from comment #16)
> Can you try as root? Are you in video group? Is /dev/dvb and related owned
> by root:video?
> 
> I realize last comment said something entirely different, but Kaffeine seems
> to act oddly here when it can't access because of the permissions

Please check your permissions and give feedback.