My laptop has a dedicated GPU, it is an AMD Radeon HD 6300. How can I test it with glmark2
?
By default it is using the iGPU. glmark2
man page doesn't show an option to choose the dGPU.
Necktwi's questions
I have created VMWare VM from ubuntu 18.04 installed on the physical partition. ifconfig
shows only lo
. I tried installing vmware-tools
bundled with VMWare: they didn't work! I booted the Ubuntu at system boot-up and installed open-vm-tools
and again booted virtually: they didn't work! I didn't face this issue with previous versions of Ubuntu. I don't know why the good old interfaces file is wrapped with netplan
.
I am not talking about the login screen. This question has helped me fix that.
I am talking about the initial start up screen with incrementing anticipation dots during the boot. It says Lubuntu instead of Ubuntu. I'd like it to say Ubuntu if possible.
Where is this config file stored?
This is the screen I want to modify:
I have GitHub repo named logger. Its a C++ library. What I am doing to package and publish to my launchpad ppa is
cd
rm -Rf Packages2
mkdir Packages2
cp -R workspace/logger/ Packages2/logger-1.0
cd Packages2/logger-1.0
rm -R build/
rm -R debian/
rm -R dist/
rm -R nbproject/
rm -R QtBuild/
rm -Rf .git
rm Makefile.old
rm CMakeLists.txt.user
cd ~/Packages2/logger-1.0/
make clean
cd ..
rm -Rf logger-1.0.tar.gz logger_* logger logger-dev_* liblogger1_* logger1_* build-area/logger-1.0 build-area/logger_* build-area liblogger1_* build-area/logger-dev_* build-area/logger1*
tar -czf logger-1.0.tar.gz logger-1.0
bzr dh-make logger 1.0 logger-1.0.tar.gz
ly
cd logger/debian/
rm *ex *EX
cp ~/workspace/logger/debian/control ./
cp ~/workspace/logger/debian/changelog ./
cp ~/workspace/logger/debian/copyright ./
cp ~/workspace/logger/debian/rules ./
cp ~/workspace/logger/debian/README.Debian ./
cp ~/workspace/logger/debian/README.source ./
bzr commit -m "Initial commit of Debian packaging."
bzr builddeb -- -us -uc # -sd
bzr builddeb -S -- # -sd
bzr tag release-1.1
cd ../../build-area
pbuilder-dist xenial build logger_1.0-0ubuntu1.dsc
cd ../logger
bzr push lp:~satyagowtham-k-gmail/+junk/logger-package
cd ../build-area
dput ppa:satyagowtham-k-gmail/ferryfair.ppa logger_1.0-0ubuntu1_source.changes
Now I came to know that we can use git
instead of bzr
. I found very sparse documentation regarding packaging and publishing to launchpad ppa.
How can I accomplish it?
I have packaged a library named base
and uploaded to my ppa:satyagowtham-k-gmail/ferryfair.ppa
. launchpad has successfully built the base
package and I successfully installed it by sudo apt install base-dev
. Now I am packaging another library called logger
which depends on base
.
I have added my ppa
to pbuilder chroot
by
$ sudo cp ~/pbuilder/xenial-base.tgz /var/cache/pbuilder/base.tgz
$ pbuilder login --save-after-login
# apt-add-repository ppa:satyagowtham-k-gmail/ferryfair.ppa
# apt-get update
# exit
pbuilder-dist xenial build logger_1.0-0ubuntu1.dsc is giving below error
...
...
install -d debian/logger-dev/DEBIAN
dpkg-shlibdeps -Tdebian/logger1.substvars -l/build/logger-1.0/lib/x86_64 --ignore-missing-info debian/logger1/usr/lib/x86_64/liblogger.so.1.0
dpkg-shlibdeps: error: couldn't find library libbase.so.1 needed by debian/logger1/usr/lib/x86_64/liblogger.so.1.0 (ELF format: 'elf64-x86-64'; RPATH: '')
dpkg-shlibdeps: error: cannot continue due to the error above
Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to use -l.
dh_shlibdeps: dpkg-shlibdeps -Tdebian/logger1.substvars -l/build/logger-1.0/lib/x86_64 --ignore-missing-info debian/logger1/usr/lib/x86_64/liblogger.so.1.0 returned exit code 2
debian/rules:10: recipe for target 'override_dh_shlibdeps' failed
make[1]: *** [override_dh_shlibdeps] Error 2
make[1]: Leaving directory '/build/logger-1.0'
debian/rules:13: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
...
...
debian/rules
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
override_dh_auto_test:
override_dh_usrlocal:
override_dh_shlibdeps:
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info -l$(shell pwd)/lib/$(shell uname -m)
%:
dh $@ --buildsystem=cmake
debian/control
Source: logger
Priority: optional
Maintainer: Satya Gowtham Kudupudi <[email protected]>
Build-Depends: debhelper (>= 9), cmake, base-dev
Standards-Version: 3.9.7
Section: non-free/libs
Homepage: https://github.com/necktwi/logger
Vcs-Git: https://github.com/necktwi/logger.git
Vcs-Browser: https://github.com/necktwi/logger
Package: logger-dev
Section: non-free/libdevel
Architecture: any
Depends: logger1 (= ${binary:Version}), ${misc:Depends}, base1
Description: logger from ferryfair.com
It logs a beautiful and useful format.
Package: logger1
Section: non-free/libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, base1
Description: logger from ferryfair.com
It logs a beautiful and useful format.
I am trying to publish my cmake built project to my launchpad ppa. While I am doing fake build below is the error being thrown.
gowtham@ubuntu:~/Packages/build-area$ pbuilder-dist xenial build base_1.1-0ubuntu1.dsc
...
...
dh_auto_configure -O--buildsystem=cmake
mkdir -p obj-x86_64-linux-gnu
cd obj-x86_64-linux-gnu
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var
dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var failed to to execute: No such file or directory
cd /build/base-1.1
debian/rules:11: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
...
...
The error message doesn't say what file is missing. my project doesn't have a configure
file to do ./configure
.
my debian/rules file
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
override_dh_auto_test:
override_dh_usrlocal:
%:
dh $@ --buildsystem=cmake
I was able to successfully publish my library with my hand written Makefile. But I am having troubles when I opted cmake. Unfortunately I didn't find any beginner friendly guide for packaging a cmake built project.
my normal build procedure:
cd ~/Packages/base
mkdir build
cd build
cmake ..
make
sudo make install
Instructions I am following to package and publish to my ppa
cd ~/Packages/base
bzr dh-make base 1.1 base-1.1.tar.gz
cd base/debian/
rm *ex *EX
bzr commit -m "Initial commit of Debian packaging."
bzr builddeb -- -us -uc -sd
bzr builddeb -S -- -sd
bzr tag release-1.1
cd ../../build-area
pbuilder-dist xenial build base_1.1-0ubuntu1.dsc
cd ../base
bzr push lp:~satyagowtham-k-gmail/+junk/base-package
cd ../build-area
dput ppa:satyagowtham-k-gmail/ferryfair.ppa base_1.1-0ubuntu1_source.changes
I am trying to publish my cmake project to ppa at launchpad. The project is a library named "base".
bzr builddeb -- -us -uc -sd
fails with following error while trying to fake install dev
version of the package.
...
...
Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "None"
-- Installing: /home/gowtham/Packages/build-area/base-1.1/debian/tmp/usr/lib/libbase.so.1.0
-- Installing: /home/gowtham/Packages/build-area/base-1.1/debian/tmp/usr/lib/libbase.so.1
-- Installing: /home/gowtham/Packages/build-area/base-1.1/debian/tmp/usr/lib/libbase.so
-- Installing: /home/gowtham/Packages/build-area/base-1.1/debian/tmp/usr/include/ferryfair/base/myxml.h
-- Installing: /home/gowtham/Packages/build-area/base-1.1/debian/tmp/usr/include/ferryfair/base/Socket.h
-- Installing: /home/gowtham/Packages/build-area/base-1.1/debian/tmp/usr/include/ferryfair/base/ClientSocket.h
-- Installing: /home/gowtham/Packages/build-area/base-1.1/debian/tmp/usr/include/ferryfair/base/mycurl.h
-- Installing: /home/gowtham/Packages/build-area/base-1.1/debian/tmp/usr/include/ferryfair/base/mystdlib.h
-- Installing: /home/gowtham/Packages/build-area/base-1.1/debian/tmp/usr/include/ferryfair/base/ServerSocket.h
-- Installing: /home/gowtham/Packages/build-area/base-1.1/debian/tmp/usr/include/ferryfair/base/JPEGImage.h
-- Installing: /home/gowtham/Packages/build-area/base-1.1/debian/tmp/usr/include/ferryfair/base/SocketException.h
-- Installing: /home/gowtham/Packages/build-area/base-1.1/debian/tmp/usr/include/ferryfair/base/FerryTimeStamp.h
-- Installing: /home/gowtham/Packages/build-area/base-1.1/debian/tmp/usr/include/ferryfair/base/myconverters.h
-- Installing: /home/gowtham/Packages/build-area/base-1.1/debian/tmp/usr/include/ferryfair/base/baseConfig.h
-- Installing: /home/gowtham/Packages/build-area/base-1.1/debian/tmp/usr/lib/pkgconfig/libbase.pc
-- Installing: /home/gowtham/Packages/build-area/base-1.1/debian/tmp/usr/share/pkgconfig/libbase.pc
make[1]: Leaving directory '/home/gowtham/Packages/build-area/base-1.1/obj-x86_64-linux-gnu'
dh_install -O--buildsystem=cmake
dh_install: base-dev missing files: usr/lib/*/lib*.so
dh_install: base-dev missing files: usr/lib/*/pkgconfig/*
dh_install: base1 missing files: usr/lib/*/lib*.so.*
dh_install: missing files, aborting
debian/rules:11: recipe for target 'binary' failed
make: *** [binary] Error 20
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc -sd failed
bzr: ERROR: The build failed.
how to differ builddeb
for dev
version of the package at installing header files
debian/rules
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
override_dh_auto_test:
override_dh_usrlocal:
%:
dh $@ --buildsystem=cmake
When I upload a package to archive
$ dput ppa:mylaunchpadid/myppa.ppa mypackage1.0-0ubuntu2_source.changes
Checking signature on .changes
gpg: Signature made ...
gpg: Good signature from ...
Good signature on ...source.changes
Good signature on ....dsc.
Package includes an .orig.tar.gz file although the debian revision suggests
that it might not be required. Multiple uploads of the .orig.tar.gz may be
rejected by the upload queue management software.
Uploading to ppa (via sftp to ppa.launchpad.net):
How to prevent uploading orig.tar.gz every time I upload a revision?
I don't want to tar ball my C++ source. I think a good Makefile is sufficient to build an ubuntu package. Can't I bzr dh-make
with out making a tar.gz
of my source code.
My problem is that I initiated git
on my project folder. In order to make tar ball I need to make a copy of the project with out .git
folder and then use bzr dh-make
. I want to use bzr-git
plugin to right away use bzr
on my git repository.
I need help in writing a Makefile that installs my library on Linux FHS. https://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-dev says that there should be a link from .so
to .so.$(version).$(minor)
and a link from .so.$(version)
to .so
to .so.$(version).$(minor)
. Below is snippet from my Makefile
install -D ${CND_ARTIFACT_PATH_${CONF}} $(DESTDIR)/usr/lib/${CND_ARTIFACT_NAME_${CONF}}.$(version).0.0
ln -s $(DESTDIR)/usr/lib/${CND_ARTIFACT_NAME_${CONF}}.$(version).0.0 $(DESTDIR)/usr/lib/${CND_ARTIFACT_NAME_${CONF}}
ln -s $(DESTDIR)/usr/lib/${CND_ARTIFACT_NAME_${CONF}}.$(version).0.0 $(DESTDIR)/usr/lib/${CND_ARTIFACT_NAME_${CONF}}.$(version)
after packaging with dpkg-buildpackage -rfakeroot -b
and installing the package the soft links created are pointing to actual .so used to build the package but not to the .so that was installed in /usr/lib/
gowtham@VBUbu:~$ ls -la /usr/lib/libbase.so.1*
lrwxrwxrwx 1 root root 67 Aug 25 00:35 /usr/lib/libbase.so.1 -> /home/gowtham/Packages/base-1.0/debian/tmp/usr/lib/libbase.so.1.0.0
-rw-r--r-- 1 root root 170588 Aug 25 00:35 /usr/lib/libbase.so.1.0.0
I forwarded X over ssh. From unity-control-center I couldn't perform any of the administrative tasks like changing audio input, changing wifi network etc. How can I do them remotely. Its the same problem even when I connect through remote desktop. I think its some thing to do with policy kit. I could never remotely operate X since my introduction to ubuntu; Its 5yrs bck!
On ubuntu 14.04 i installed Xfce to maker remote desktop working. when i rdp to the machine and while performing some tasks like mounting removable usb media I get "not authorized to perform operation" message. I got this message when i tried to change some other settings like desktop settings, network settings, etc. This problem has almost made remoted desktop feature useless for me. I couldn't perform any administrative task remotely.
I'm using Ubuntu since one year and it got everything I need daily. I've written couple of applications like gps tracking and live video streaming in C++ with netbeans on Ubuntu.
The only drawback with Linux distributions so far I encountered is untidy gui interface for editors like gedit, netbeans, etc. These type of Applications have bigger buttons, bigger boundaries, untidy scroll bars, etc. I think all these applications share common API to generate graphical objects like buttons, scroll bars, etc.
I love coding in netbeans on Windows rather than on Ubuntu because of look and feel. I feel I have more screen estate in Windows applications than in Ubuntu.
- I want to try developing or redesigning these GUI objects like buttons, scroll bars etc.
- Where to start? At least through me some light on this..
Thank you.
while packaging I encountered following error
dh_builddeb
dpkg-deb: building package `remotedevicecontroller' in `../remotedevicecontroller_1.0-1_i386.deb'.
dpkg-source -b remotedevicecontroller-1.0
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: error: unwanted binary file: debian/remotedevicecontroller/usr/share/doc/remotedevicecontroller/changelog.Debian.gz
dpkg-source: error: detected 1 unwanted binary file (add it in debian/source/include-binaries to allow its inclusion).
dpkg-buildpackage: error: dpkg-source -b remotedevicecontroller-1.0 gave error exit status 29
why is the file being created by debian-helper and why is it again asking to include it in some other directory?
I am trying to debian package my C++ application developed with aid of Netbeans 7.3. Here is bit of Makefile
of it.
APPNAME=remotedevicecontroller
install:
install config.xml /etc/${APPNAME}.conf.xml
install devices.rules /etc/udev/rules.d/${APPNAME}.rules
install error.log /var/log/${APPNAME}.log
install init.conf /etc/init/${APPNAME}.conf
install init.d /etc/init.d/${APPNAME}
install ${CND_ARTIFACT_NAME_${CONF}} /usr/local/bin/${APPNAME}
chmod u+x ${CND_ARTIFACT_NAME_${CONF}}
./${CND_ARTIFACT_NAME_${CONF}} -i
I am following HOW TO CREATE A .DEB PACKAGE and Debian New Maintainer's Guide. When I run dpkg-buildpackage -rfakeroot
after successfully completing all the above steps I encountered following error
$ dpkg-buildpackage -rfakeroot
dpkg-buildpackage: source package remotedevicecontroller
dpkg-buildpackage: source version 1.0-1
dpkg-buildpackage: source changed by satya gowtham kudupudi (gowtham) <[email protected]>
dpkg-buildpackage: host architecture i386
dpkg-source --before-build remotedevicecontroller-1.0
fakeroot debian/rules clean
dh clean
dh: No packages to build.
dpkg-source -b remotedevicecontroller-1.0
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building remotedevicecontroller using existing ./remotedevicecontroller_1.0.orig.tar.gz
dpkg-source: info: building remotedevicecontroller in remotedevicecontroller_1.0-1.debian.tar.gz
dpkg-source: info: building remotedevicecontroller in remotedevicecontroller_1.0-1.dsc
debian/rules build
dh build
dh: No packages to build.
fakeroot debian/rules binary
dh binary
dh: No packages to build.
signfile remotedevicecontroller_1.0-1.dsc
You need a passphrase to unlock the secret key for
user: "satya gowtham kudupudi (gowtham) <[email protected]>"
2048-bit RSA key, ID 9A2853A0, created 2013-08-22
gpg: gpg-agent is not available in this session
dpkg-genchanges >../remotedevicecontroller_1.0-1_i386.changes
dpkg-genchanges: error: cannot read files list file: No such file or directory
dpkg-buildpackage: error: dpkg-genchanges gave error exit status 2
at http://www.debian.org/doc/manuals/maint-guide/dreq.en.html#defaultrules there is no explaination for what the role of rules
file is. What does
%:
dh $@
mean? Why does dpkg-buildpackage -rfakeroot
say dh: No packages to build.
?
In Ubuntu desktop 13.04 changing /etc/network/interfaces
file don't change ip address or convert DHCP to static network interface configuration. after changing the file I tried
sudo service networking restart
----------EDIT----------
I have connected to system with ssh.
The udev rule i've written for CDMA modem is
SUBSYSTEM=="tty", ATTRS{bInterfaceNumber}=="00", ATTRS{bNumEndpoints}=="03", ATTRS{product}=="ZTE CDMA Tech", ACTION=="add", SYMLINK+="CDMAModem"
and
$ sudo udevadm info -a -p $(sudo udevadm info -q path -n /dev/ttyUSB0)
Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/ocp.2/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.4/1-1.4.3/1-1.4.3:1.0/ttyUSB0/tty/ttyUSB0':
KERNEL=="ttyUSB0"
SUBSYSTEM=="tty"
DRIVER==""
looking at parent device '/devices/ocp.2/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.4/1-1.4.3/1-1.4.3:1.0/ttyUSB0':
KERNELS=="ttyUSB0"
SUBSYSTEMS=="usb-serial"
DRIVERS=="option1"
ATTRS{port_number}=="0"
looking at parent device '/devices/ocp.2/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.4/1-1.4.3/1-1.4.3:1.0':
KERNELS=="1-1.4.3:1.0"
SUBSYSTEMS=="usb"
DRIVERS=="option"
ATTRS{bInterfaceClass}=="ff"
ATTRS{bInterfaceSubClass}=="ff"
ATTRS{bInterfaceProtocol}=="ff"
ATTRS{bNumEndpoints}=="03"
ATTRS{supports_autosuspend}=="1"
ATTRS{bAlternateSetting}==" 0"
ATTRS{bInterfaceNumber}=="00"
ATTRS{interface}=="Data Interface"
looking at parent device '/devices/ocp.2/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.4/1-1.4.3':
KERNELS=="1-1.4.3"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{devpath}=="1.4.3"
ATTRS{idVendor}=="19d2"
ATTRS{speed}=="12"
ATTRS{bNumInterfaces}==" 6"
ATTRS{bConfigurationValue}=="1"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{busnum}=="1"
ATTRS{devnum}=="6"
ATTRS{configuration}==""
ATTRS{bMaxPower}=="500mA"
ATTRS{authorized}=="1"
ATTRS{bmAttributes}=="a0"
ATTRS{bNumConfigurations}=="1"
ATTRS{maxchild}=="0"
ATTRS{bcdDevice}=="0000"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{quirks}=="0x0"
ATTRS{version}==" 1.10"
ATTRS{urbnum}=="3895"
ATTRS{ltm_capable}=="no"
ATTRS{manufacturer}=="ZTE, Incorporated"
ATTRS{removable}=="unknown"
ATTRS{idProduct}=="fff1"
ATTRS{bDeviceClass}=="00"
ATTRS{product}=="ZTE CDMA Tech"
looking at parent device '/devices/ocp.2/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.4':
KERNELS=="1-1.4"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="01"
ATTRS{devpath}=="1.4"
ATTRS{idVendor}=="05e3"
ATTRS{speed}=="480"
ATTRS{bNumInterfaces}==" 1"
ATTRS{bConfigurationValue}=="1"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{busnum}=="1"
ATTRS{devnum}=="5"
ATTRS{configuration}==""
ATTRS{bMaxPower}=="100mA"
ATTRS{authorized}=="1"
ATTRS{bmAttributes}=="e0"
ATTRS{bNumConfigurations}=="1"
ATTRS{maxchild}=="4"
ATTRS{bcdDevice}=="7764"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{quirks}=="0x0"
ATTRS{version}==" 2.00"
ATTRS{urbnum}=="29"
ATTRS{ltm_capable}=="no"
ATTRS{removable}=="unknown"
ATTRS{idProduct}=="0608"
ATTRS{bDeviceClass}=="09"
ATTRS{product}=="USB2.0 Hub"
looking at parent device '/devices/ocp.2/47400000.usb/musb-hdrc.1.auto/usb1/1-1':
KERNELS=="1-1"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="01"
ATTRS{devpath}=="1"
ATTRS{idVendor}=="05e3"
ATTRS{speed}=="480"
ATTRS{bNumInterfaces}==" 1"
ATTRS{bConfigurationValue}=="1"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{busnum}=="1"
ATTRS{devnum}=="2"
ATTRS{configuration}==""
ATTRS{bMaxPower}=="100mA"
ATTRS{authorized}=="1"
ATTRS{bmAttributes}=="e0"
ATTRS{bNumConfigurations}=="1"
ATTRS{maxchild}=="4"
ATTRS{bcdDevice}=="7764"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{quirks}=="0x0"
ATTRS{version}==" 2.00"
ATTRS{urbnum}=="49"
ATTRS{ltm_capable}=="no"
ATTRS{removable}=="unknown"
ATTRS{idProduct}=="0608"
ATTRS{bDeviceClass}=="09"
ATTRS{product}=="USB2.0 Hub"
looking at parent device '/devices/ocp.2/47400000.usb/musb-hdrc.1.auto/usb1':
KERNELS=="usb1"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="01"
ATTRS{devpath}=="0"
ATTRS{idVendor}=="1d6b"
ATTRS{speed}=="480"
ATTRS{bNumInterfaces}==" 1"
ATTRS{bConfigurationValue}=="1"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{authorized_default}=="1"
ATTRS{busnum}=="1"
ATTRS{devnum}=="1"
ATTRS{configuration}==""
ATTRS{bMaxPower}==" 0mA"
ATTRS{authorized}=="1"
ATTRS{bmAttributes}=="e0"
ATTRS{bNumConfigurations}=="1"
ATTRS{maxchild}=="1"
ATTRS{bcdDevice}=="0308"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{quirks}=="0x0"
ATTRS{serial}=="musb-hdrc.1.auto"
ATTRS{version}==" 2.00"
ATTRS{urbnum}=="28"
ATTRS{ltm_capable}=="no"
ATTRS{manufacturer}=="Linux 3.8.13-bone21 musb-hcd"
ATTRS{removable}=="unknown"
ATTRS{idProduct}=="0002"
ATTRS{bDeviceClass}=="09"
ATTRS{product}=="MUSB HDRC host driver"
looking at parent device '/devices/ocp.2/47400000.usb/musb-hdrc.1.auto':
KERNELS=="musb-hdrc.1.auto"
SUBSYSTEMS=="platform"
DRIVERS=="musb-hdrc"
ATTRS{mode}=="b_peripheral"
ATTRS{vbus}=="Vbus off, timeout 1100 msec"
looking at parent device '/devices/ocp.2/47400000.usb':
KERNELS=="47400000.usb"
SUBSYSTEMS=="platform"
DRIVERS=="musb-dsps"
looking at parent device '/devices/ocp.2':
KERNELS=="ocp.2"
SUBSYSTEMS=="platform"
DRIVERS==""
where did i go wrong? I don get /dev/CDMAModem
when i plug in the modem.
I am running beaglebone black on ubuntu installed on sd card. i am learning to program the device in trial and error method by installing various packages (just like CERN guys study sub atomic particles by hitting them together in various angles and studying their trajectories). So can i initialize a git repository at root directory and ignore volatile directories like /sys and /proc? Or watching what system directories is sufficient to successfully time track entire OS? Are there any similar snapshoting tools? Other than git, what repository system is best to time track binary files?
How to change filesystem to ZFS? During ubuntu installation am i provided with ZFS filesytem option in addition to extX, FAT, NTFS etc. filesystems, I never noticed?
--EDIT--
What is list of non-volatile and important(unlike /tmp
) directories in /
?
I am trying to set up a usb gsm Modem. I can't find /etc/sysconfig/networking/devices/
directory to put the driver configuration file into.
In Ubuntu where can i find this directory? I want to put /etc/sysconfig/networking/devices/ifcfg-Verizon_USB
file wherever it needs to go.
The contents are:
ONBOOT=no
USERCTL=yes
PEERDNS=yes
TYPE=Modem
DEVICE=ppp0
BOOTPROTO=dialup
CCP=on
PC=on
AC=on
BSDCOMP=on
VJ=on
VJCCOMP=on
LINESPEED=115200
MODEMPORT=/dev/cellphone
PROVIDER=VerizonQNC
DEFROUTE=yes
PERSIST=no
PAPNAME=qnc
WVDIALSECT=Verizon_USB
MODEMNAME=Modem_USB
DEMAND=no
how to install gimp webp plugin? I found out that we can do it using with gimp-plugin-registry, but donno how. I have install gimp-plugin-registry extension for gimp from ubuntu software center, now what should i do?
I also found out that we can put plugins in /usr/lib/gimp/2.0/plug-ins/
, so i tried to compile the gimp webp plugin src. I installed libwebp-dev
and ran make
in plugin source folder. It says
Package gtk+-2.0 was not found in the pkg-config search path.
so i decided to install libgtk
package but i found both libgtk2.0-dev
and libgtk-3-dev
. Is libgtk-3-dev is latest release of the libgtk2.0-dev? If so is it ok if I installed the later one?
I want to know at least how to install the plugin with gimp-plugin-registry and i will be more happy if i can do it by compiling src.
----------EDIT----------
I've installed libgtk-3-dev and ran make
and it threw same error, I carried on with libgtk2.0-dev, Now it throws Package gimp-2.0 was not found in the pkg-config search path
. There is no gimp-dev in repositories! I got stuck!