Fedora Linux Support Community & Resources Center
Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

Go Back   FedoraForum.org > Fedora Support > Hardware

Hardware Problems with hardware not being detected or supported.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2009-11-03, 03:24 AM CST
PeTzZz's Avatar
PeTzZz Offline
Community Manager
 
Join Date: Mar 2004
Location: Estonia
Age: 25
Posts: 1,531
linuxfedorafirefox
Changing (Logitech) mouse resolution in F10 or F11 and up

Hi!

From Fedora 10 or 11 it's not possible to install lomoco because of the compiling error
Code:
error: stropts.h: No such file or directory
As written in this thread it is not possible to bypass it.

The xorg.conf mouse section option
Code:
Option "Resolution" "800"
does not work either. The xorg.conf mouse section:
Code:
Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
    Option         "Resolution" "800"
EndSection
So how is it possible to change the mouse resolution now (to 800)?

The mouse is Logitech MX300.
Reply With Quote
  #2  
Old 2009-11-03, 08:23 AM CST
leigh123linux's Avatar
leigh123linux Offline
Administrator
 
Join Date: Oct 2006
Location: Hampshire UK
Posts: 15,822
linuxfedorafirefox
It's your luck day , I have just got a logitech mouse .

Here's a untested rpm that I chucked together.
Reply With Quote
  #3  
Old 2009-11-03, 09:19 AM CST
leigh123linux's Avatar
leigh123linux Offline
Administrator
 
Join Date: Oct 2006
Location: Hampshire UK
Posts: 15,822
linuxfedorafirefox
updated ..........
Attached Files
File Type: rpm lomoco-1.0-0.1r133.fc11.i586.rpm (20.1 KB, 3 views)
File Type: rpm lomoco-1.0-0.1r133.fc11.src.rpm (78.0 KB, 3 views)
Reply With Quote
  #4  
Old 2009-11-03, 09:41 AM CST
PeTzZz's Avatar
PeTzZz Offline
Community Manager
 
Join Date: Mar 2004
Location: Estonia
Age: 25
Posts: 1,531
linuxfedorafirefox
Thank you!

What medicines you used for the magic?

I'll built it in F12 86_64 demo later.
Reply With Quote
  #5  
Old 2009-11-03, 09:48 AM CST
leigh123linux's Avatar
leigh123linux Offline
Administrator
 
Join Date: Oct 2006
Location: Hampshire UK
Posts: 15,822
linuxfedorafirefox
Quote:
Originally Posted by PeTzZz View Post
Thank you!

What medicines you used for the magic?

I'll built it in F12 86_64 demo later.

It's the svn beta .........

https://dev.lomoco.org/
Reply With Quote
  #6  
Old 2009-11-03, 11:45 AM CST
PeTzZz's Avatar
PeTzZz Offline
Community Manager
 
Join Date: Mar 2004
Location: Estonia
Age: 25
Posts: 1,531
linuxfedorafirefox
I tried to build the source, but there were some errors:
Code:
# rpmbuild --rebuild lomoco-1.0-0.1r133.fc11.src.rpm Installing lomoco-1.0-0.1r133.fc11.src.rpm
warning: user ad does not exist - using root
warning: group ad does not exist - using root
warning: user ad does not exist - using root
warning: group ad does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yZDUmh
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf lomoco-trunk
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/lomoco-r133.tar.bz2
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd lomoco-trunk
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ rm -rf build/build_make.sh .svn client/.svn doc/.svn doc/html/.svn iniparser/html/.svn iniparser/src/.svn
+ rm -rf iniparser/test/.svn lomoco/.svn lomoco/logitech/.svn iniparser/.svn
+ doxygen -u doc/doxy.config.in
Warning: Tag `USE_WINDOWS_ENCODING' at line 64 of file doc/doxy.config.in has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `DETAILS_AT_TOP' at line 156 of file doc/doxy.config.in has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `MAX_DOT_GRAPH_WIDTH' at line 1214 of file doc/doxy.config.in has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `MAX_DOT_GRAPH_HEIGHT' at line 1222 of file doc/doxy.config.in has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"


Configuration file `doc/doxy.config.in' updated.

+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dkQ7e7
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd lomoco-trunk
+ export 'CFLAGS=-O2 -g -fPIC'
+ CFLAGS='-O2 -g -fPIC'
+ cd build
+ cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR:PATH=/etc ..
-- The C compiler identification is GNU
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Performing Test WITH_FPIC
CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:17 (GET_FILENAME_COMPONENT):
  get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
  CMakeLists.txt:3 (PROJECT)


CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Performing Test WITH_FPIC - Failed
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found USB: /usr/lib64/libusb.so
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Found Doxygen: /usr/bin/doxygen
-- Generate /root/rpmbuild/BUILD/lomoco-trunk/build/doc/doxy.config from doxy.config.in
-- Configuring incomplete, errors occurred!
error: Bad exit status from /var/tmp/rpm-tmp.dkQ7e7 (%build)


RPM build errors:
    user ad does not exist - using root
    group ad does not exist - using root
    user ad does not exist - using root
    group ad does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.dkQ7e7 (%build)
Any ideas how to make it working? It is the same on F11 and F12 x86_64 system.
Reply With Quote
  #7  
Old 2009-11-03, 01:48 PM CST
leigh123linux's Avatar
leigh123linux Offline
Administrator
 
Join Date: Oct 2006
Location: Hampshire UK
Posts: 15,822
linuxfedorafirefox
Have you got gcc-c++ installed?

Code:
su
yum install gcc-c++
Reply With Quote
  #8  
Old 2009-11-03, 01:56 PM CST
PeTzZz's Avatar
PeTzZz Offline
Community Manager
 
Join Date: Mar 2004
Location: Estonia
Age: 25
Posts: 1,531
linuxfedorafirefox
Thanks! Now it seems quite ok, but still there is an error:
Code:
...

Install the project...
-- Install configuration: "Debug"
-- Installing: /root/rpmbuild/BUILDROOT/lomoco-1.0-0.1r133.fc11.x86_64/usr/lib/liblomoco.so.0.1.0
-- Installing: /root/rpmbuild/BUILDROOT/lomoco-1.0-0.1r133.fc11.x86_64/usr/lib/liblomoco.so.0
-- Installing: /root/rpmbuild/BUILDROOT/lomoco-1.0-0.1r133.fc11.x86_64/usr/lib/liblomoco.so
-- Installing: /root/rpmbuild/BUILDROOT/lomoco-1.0-0.1r133.fc11.x86_64/usr/include/lomoco.h
-- Installing: /root/rpmbuild/BUILDROOT/lomoco-1.0-0.1r133.fc11.x86_64/usr/etc/lomoco.ini
+ mkdir -p /root/rpmbuild/BUILDROOT/lomoco-1.0-0.1r133.fc11.x86_64/usr/bin
+ cp -a client/lomoco /root/rpmbuild/BUILDROOT/lomoco-1.0-0.1r133.fc11.x86_64/usr/bin/lomoco
+ chrpath -d /root/rpmbuild/BUILDROOT/lomoco-1.0-0.1r133.fc11.x86_64/usr/bin/lomoco
+ cd ..
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-static-archive
+ /usr/lib/rpm/brp-strip-comment-note
Processing files: lomoco-1.0-0.1r133.fc12.x86_64
error: File not found by glob: /root/rpmbuild/BUILDROOT/lomoco-1.0-0.1r133.fc11.x86_64/usr/lib64/*.so.*


RPM build errors:
    user ad does not exist - using root
    group ad does not exist - using root
    user ad does not exist - using root
    group ad does not exist - using root
    File not found by glob: /root/rpmbuild/BUILDROOT/lomoco-1.0-0.1r133.fc11.x86_64/usr/lib64/*.so.*
Reply With Quote
  #9  
Old 2009-11-03, 03:36 PM CST
leigh123linux's Avatar
leigh123linux Offline
Administrator
 
Join Date: Oct 2006
Location: Hampshire UK
Posts: 15,822
linuxfedorafirefox
Try the updated srpm (I didn't have access to a 64bit pc earlier)




Code:
%build
export CFLAGS="%{optflags} -fPIC" 
cd build
%ifarch x86_64
cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_SUFFIX=64 -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} ..
%else
cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=%{_prefix} -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} ..
%endif
make %{?_smp_mflags}
make doc
Attached Files
File Type: rpm lomoco-1.0-0.2r133.fc11.src.rpm (78.2 KB, 2 views)
File Type: rpm lomoco-1.0-0.2r133.fc11.x86_64.rpm (20.3 KB, 1 views)
Reply With Quote
  #10  
Old 2009-11-03, 05:40 PM CST
PeTzZz's Avatar
PeTzZz Offline
Community Manager
 
Join Date: Mar 2004
Location: Estonia
Age: 25
Posts: 1,531
linuxfedorafirefox
I managed to make it now, but I cannot run lomoco after installation (I don't remember parameters, man lomoco does not work):
Code:
# lomoco
DEBUG(1) 02:38:27 lomoco_config.c:51 lomoco_load_config() - Configuration file: ./lomoco.ini
ERROR! 02:38:27 lomoco_config.c:56 lomoco_load_config() - Could not load config file ./lomoco.ini
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logitech Mouse problem..... stepher General Support 7 2009-03-16 02:03 PM CDT
Logitech mx500 resolution switching Vlok General Support 5 2007-02-11 03:06 PM CST
Logitech Optical USB mouse kc2005 Hardware 6 2005-09-19 10:30 PM CDT
Logitech MX700 mouse and FC2 Dr. Michael J. Chudobiak gmane.linux.redhat.fedora.general 0 2004-06-14 04:52 AM CDT
Logitech MX700 mouse and FC2 Dr. Michael J. Chudobiak gmane.linux.redhat.fedora.general 0 2004-06-14 04:48 AM CDT

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 07:13 AM CST.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
Hosting provided by ThePlanet



All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
Translations delivered by vB Enterprise Translator