Device Information KCM

System Software

Source (required if based on other people's work):

5
Score 80%
Description:

DevInfo is a hardware device information KCM. This module allows you to view current information about the hardware in your PC.

To build create a build dir, cd into it and do the normal cmake .. && make install.

Last changelog:

8 years ago

- Add new devices to current tree instead of refreshing list.
- Remove devices from tree instead of refreshing list.
- Added support for audio device adding to the tree.
- Added Udi label.
- Fixed some mem leaks.

C

hubnerd

8 years ago

Device Info KCM has been discontinued as it has been moved upstream and will make a presence in KDE SC 4.5

Thanks for your support with the application.

Report

binro

8 years ago

have tried the latest version but get the same segfault on many devices:

Application: System Settings (systemsettings), signal: Segmentation fault
[KCrash Handler]
#5 0x0000003f017c4728 in QLayout::parentWidget() const () from /usr/lib64/qt4/libQtGui.so.4
#6 0x0000003f017c5528 in QLayout::addChildWidget(QWidget*) () from /usr/lib64/qt4/libQtGui.so.4
#7 0x0000003f017ab3f6 in QBoxLayout::insertWidget(int, QWidget*, int, QFlags<Qt::AlignmentFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#8 0x0000003f017ab56b in QBoxLayout::addWidget(QWidget*, int, QFlags<Qt::AlignmentFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#9 0x00007fdc05297d5b in QVListLayout::applyQListToLayout (this=0xdc25a0, list=<value optimized out>) at /usr/src/kde/devinfo/qvlistlayout.cpp:26
#10 0x00007fdc05292d6c in SolSerialDevice::getInfoPanelLayout (this=0xdc2b70) at /usr/src/kde/devinfo/soldevicetypes.cpp:522
#11 0x00007fdc0528e083 in DeviceListing::deviceItemClicked (this=0x832170, listItemIn=0xdc2b70, columnIn=<value optimized out>) at /usr/src/kde/devinfo/devicelisting.cpp:165
#12 0x00007fdc0528c5fa in DeviceListing::qt_metacall (this=0x832170, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff7cbe3710) at /usr/src/kde/devinfo/build/moc_devicelisting.cpp:67
#13 0x00000035bc539008 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#14 0x0000003f01c6a270 in QTreeWidget::itemClicked(QTreeWidgetItem*, int) () from /usr/lib64/qt4/libQtGui.so.4
#15 0x0000003f01c73ea6 in QTreeWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt4/libQtGui.so.4
#16 0x00007fdc0528c5d6 in DeviceListing::qt_metacall (this=0xdc25a0, _c=8757840, _id=8757840, _a=0x0) at /usr/src/kde/devinfo/build/moc_devicelisting.cpp:62
#17 0x00000035bc539008 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#18 0x0000003f01bff8a5 in QAbstractItemView::clicked(QModelIndex const&) () from /usr/lib64/qt4/libQtGui.so.4
#19 0x0000003f01c0a96d in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#20 0x0000003f017ed4a0 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#21 0x0000003f01b0397b in QFrame::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#22 0x0000003f01b7eea9 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#23 0x0000003f01c0d905 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#24 0x0000003f01c46485 in QTreeView::viewportEvent(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#25 0x0000003f01b80858 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00000035bc52809e in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#27 0x0000003f0179f1c0 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#28 0x0000003f017a64db in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#29 0x0000003f0321d88b in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#30 0x00000035bc527ca4 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#31 0x0000003f017a59a3 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib64/qt4/libQtGui.so.4
#32 0x0000003f017feb2a in ?? () from /usr/lib64/qt4/libQtGui.so.4
#33 0x0000003f017fd7fc in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#34 0x0000003f01821253 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#35 0x000000358d0374b2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0x000000358d03a79b in ?? () from /usr/lib/libglib-2.0.so.0
#37 0x000000358d03ac6f in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0x00000035bc54cb1f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#39 0x0000003f0182109f in ?? () from /usr/lib64/qt4/libQtGui.so.4
#40 0x00000035bc5270d5 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#41 0x00000035bc527255 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#42 0x00000035bc5292fc in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#43 0x000000000040d487 in ?? ()
#44 0x00000039d4e1ea44 in __libc_start_main () from /lib/libc.so.6
#45 0x0000000000409099 in _start ()

qvlistlayout.cpp:26 seesm to be the problem.

Report

C

hubnerd

8 years ago

Thanks, i have uploaded a new version with the same version number, if you download it again it should work as intended...

Report

binro

8 years ago

Thanks, that did the trick. The "Processor" page is not shown and I am sure I have one! (A Core2Duo E6400 for reference).

Report

C

hubnerd

8 years ago

Umm, odd.. sounds like Solid is not picking up your processor.. can you supply me with what distribution you are using, thanks.

Report

binro

8 years ago

Gentoo, so it's all compiled from pristine sources.

Report

vdboor

8 years ago

This looks wonderful, and much better then the current kinfocenter dialogs. Could this one replace them? (in kinfocenter?)

Thanks for your lovely work! :)

Report

C

hubnerd

8 years ago

Glad you like it. I wish to get it more feature complete before possibly submitting it, i would think after 4.4 when new Solid based options are avaliable.

Thanks

Report

srog

8 years ago

Segmentation fault (core dumped) with the 0.2.0 when clicking the Video or SerialInterfase for more info.

Video is detecting an old Hauppauge (bt878) card and the SerialInterfase has info: 16550A-compatible COM port.

Report

C

hubnerd

8 years ago

Thanks, I shall look into this

Report

C

hubnerd

8 years ago

Try 0.3.0. If it still happens can you cut and paste the crash infomation here please

Thanks

Report

srog

8 years ago

With the Kubuntu 9.10 / KDE 4.3.2 / devinfo-0.3.0.

Clicking the "Device Information > SerialInterfase > 16550A-compatible COM port" for more info -> crash.

The KDE Crash Handler output can be found: http://pastebin.ca/1649134

Hopefully this helps.

Report

C

hubnerd

8 years ago

Thanks the segfault helped, could not see why it was happening but i added more error checking into that section.

Try version 0.0.4, hopefully it is fixed.

Report

srog

8 years ago

With the 0.0.4.

Output of the KDE Crash Handler: http://pastebin.ca/1650375.

Output of the Valgrind (2.8M text file): http://filebin.ca/ncrtrh/devinfo.


Hopefully they add something useful.

Report

C

hubnerd

8 years ago

Thanks, that helped a lot.. if you redownload the version it should work fine. It was a stupid mistake by me.

Thanks for your help

Report

srog

8 years ago

No crashes with the new source.

Thank you !

Report

hosein-mec2

8 years ago

compilled successfully in kubuntu 9.04 kde 4.3.1 but cant find it in system settings ! i also logged out & login again ...

Report

joth666

8 years ago

I'm guessing you just used

mkdir build
cd build
cmake ..
make
sudo make install

am I correct? If so, the files are installed in /usr/local instead of in /usr and that and AFAIK Kubuntu doesn't look in /usr/local for KDE-modules.

Just replace the cmake line with

cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release ..

and it should work. It can be found in the computer administration section of Systemsettings.

Report

hosein-mec2

8 years ago

thanks , solved :)

Report

srog

8 years ago

Compiling and working fine with the Kubuntu Karmic (beta) / KDE 4.3.2.

Thank you !

Throwing the sources to the PPA.

Report

gkrnours

8 years ago

devinfo isn't compiling out of the box on archlinux.
Following is the build function I've use in a custom PKGBUILD.
And this work quite right.

build() {
mkdir build && cd build

cmake ../${pkgbase}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
-DCMAKE_INSTALL_PREFIX=/usr
make
}

Report

C

hubnerd

8 years ago

Do you get any error messages?

Report

gkrnours

8 years ago

yep, this one:
Quote:Install the project...
-- Install configuration: "RelWithDebInfo"
CMake Error at cmake_install.cmake:41 (FILE):
file cannot create directory: /usr/local/lib/kde4. Maybe need
administrative privileges.
I've end doing "mkdir build && cd build && cmake .. && make", and the compile go smoothly.
After that, I've done a custom package, and install. This have work.

I'll probably do a PKGBUILD, and put it in AUR.

Report

gkrnours

8 years ago

Done !
devinfo AUR's PKGBUILD can be found here : http://aur.archlinux.org/packages.php?ID=31012

This will allow any archlinux user to compile and install devinfo through pacman with only one command.

Report

8 years ago

- Add new devices to current tree instead of refreshing list.
- Remove devices from tree instead of refreshing list.
- Added support for audio device adding to the tree.
- Added Udi label.
- Fixed some mem leaks.

product-maker 6 41

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
0.6
updated Dec 07 2009
added Oct 07 2009
downloads today
0
page views today 1
System Tags app software