Re: Knoppix 7.0.3 LiveCD
Hi,
I was under the impression WINE supported USB, but it appears not to.
Q: Has anyone been able to hook WINE into the Universal Serial Bus?
thanks
luther
Printable View
Re: Knoppix 7.0.3 LiveCD
Hi,
I was under the impression WINE supported USB, but it appears not to.
Q: Has anyone been able to hook WINE into the Universal Serial Bus?
thanks
luther
Hi!
What kind of device do you want to use with WINE?
There is some information about USB support in the 'Official Wine Wiki' at http://wiki.winehq.org/USB but that page has been edited a long time ago ( 2011-11-10 09:58:19 ).
Dear klaus2008:
SANE does not support the hp scanner I use w/XP. Therefore, I figured WINE was a valid alternative. Are there other valid options, using Knoppix, to handle this device?
link
Regards,
luther
On the page Scanners not supported by SANE you can read that Hewlett-Packard Scanjet 4890 is unsupported by sane, but at http://anonscm.debian.org/gitweb/?p=...commit&s=GL843 you can find out that there is some progress.
Knoppix 7.0.3 comes with an old libsane package (1.0.21-9). In the experimental branch of the Debian distribution you can find a more recent version of libsane (1.0.23). You could try to update SANE with the packages from the experimental branch and find out whether the scanner is supported by the newer libsane.
I would suggest that you boot off the Knoppix 7.0.3 CD and connect to the internet. Open an LXTerminal and issue the following commands.
Allow apt-get to overwrite the configuration file /etc/sane.d/dll.conf (enter 'Y' and press enter key).Code:sudo apt-get update
sudo apt-get install libsane/experimental libsane-common/experimental libsane-extras/unstable sane-utils/experimental libsane-extras-common/unstable
Connect your scanner and issueSince the packages are from the experimental branch it is possible that the driver does not work properly. Therefore be prepared to unplug or switch off you scanner.Code:sane-find-scanner -v
Hi,
The chipset used is GL843. I found the following article regarding its logic:
link
Q: Any tips how this chipset can be added to the backend?
luther
Hey klaus2008!
Which INPUT is correct (Y/I/N/O/D/Z):
Configuration file `/etc/sane.d/dll.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** dll.conf (Y/I/N/O/D/Z) [default=N] ?
*****************
luther
Altered cfg files:
lutherQuote:
Installing new version of config file /etc/sane.d/dll.conf ...
Installing new version of config file /etc/sane.d/genesys.conf ...
Installing new version of config file /etc/sane.d/canon_dr.conf ...
Installing new version of config file /etc/sane.d/avision.conf ...
Installing new version of config file /etc/sane.d/gt68xx.conf ...
Installing new version of config file /etc/sane.d/xerox_mfp.conf ...
Installing new version of config file /etc/sane.d/lexmark.conf ...
Installing new version of config file /etc/sane.d/canon.conf ...
Installing new version of config file /etc/sane.d/fujitsu.conf ...
.udevdb or .udev presence implies active udev. Aborting MAKEDEV invocation.
Setting up libsane-extras-common (1.0.22.3) ...
Setting up libsane-extras:i386 (1.0.22.3) ...
Setting up sane-utils (1.0.23-0.1~experimental1) ...
Installing new version of config file /etc/sane.d/saned.conf ...
saned disabled; edit /etc/default/saned
Hi, luther!
In post #4 I suggested to overwrite the existing dll.conf with the new one because there were a few modifications.
Now that you have installed the new packages it is time to try the command 'sane-find-scanner -v'. HP Scanjet 4850 and 4890 share the same USB ID and HP Scanjet 4850 is included in the new /etc/sane.d/genesys.conf. Therefore I think you could try to use XSane from the menu .
Thanks klaus2008!
link
luther
I see that K 7.2 includes wine in version 1.5 (1.5.10-0knoppix1) - how to upgrade to wine 1.6?
The following commands (recommended to add ppa repository):
knoppix@Microknoppix:~$ sudo add-apt-repository ppa:ubuntu-wine/ppa
gives the following error (in a python script I think):
#######################################
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 125, in <module>
ppa_info = get_ppa_info_from_lp(user, ppa_name)
File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 80, in get_ppa_info_from_lp
curl.perform()
pycurl.error: (77, 'Problem with the SSL CA cert (path? access rights?)')
#######################################
Anyone has a solution?
You can create the wine 1.6 packages by yourself. I would suggest that you do the following.
Add the source package repository to /etc/apt/sources.list.
Import the public key.Code:deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main
Update the list of available packages.Code:sudo gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 883E8688397576B6C509DF495A9A06AEF9CB8DB0
Create a special directory for the source files and change to this directory.Code:sudo apt-get update
Install depedencies needed for creation of the wine1.6 package.Code:mkdir -p /home/knoppix/src
cd /home/knoppix/src
Install the source packages for wine1.6.Code:wget -O libc6-dbg_2.17-5_i386.deb http://snapshot.debian.org/archive/debian/20130605T155724Z/pool/main/e/eglibc/libc6-dbg_2.17-5_i386.deb
sudo dpkg -i libc6-dbg_2.17-5_i386.deb
sudo apt-get install libosmesa6-dev
sudo apt-get install libjpeg8-dev
sudo apt-get -t testing install libusb-dev
sudo apt-get build-dep wine1.6
Build the packages.Code:apt-get source wine1.6
sudo apt-get clean
Remove the old package wine1.5 and install wine 1.6 package.Code:cd wine1.6-1.6
dpkg-buildpackage -b -uc
cd ..
Update wine configuration.Code:sudo dpkg -i wine1.5_1.6-0ubuntu1~ppa1_i386.deb wine_1.6-0ubuntu1~ppa1_i386.deb wine1.6_1.6-0ubuntu1~ppa1_i386.deb wine1.6-i386_1.6-0ubuntu1~ppa1_i386.deb
I hope that helps.Code:winecfg
Thanks Klaus,
Sadly however, this doesn't work for me, probably because I have updated a more recent version of the libc6 library which cause dependency problems. :???:
Everything goes well until the wget command, which downloads the libc6-dbg_2.17-5_i386.deb package allright.
Unfortunately, the next dpkg command displays:
knoppix@Microknoppix:~/src$ sudo dpkg -i libc6-dbg_2.17-5_i386.deb
dpkg: warning: files list file for package 'cloop-utils' missing; assuming package has no files currently installed
(Reading database ... 464882 files and directories currently installed.)
Preparing to replace libc6-dbg:i386 2.17-5 (using libc6-dbg_2.17-5_i386.deb) ...
Unpacking replacement libc6-dbg:i386 ...
dpkg: dependency problems prevent configuration of libc6-dbg:i386:
libc6-dbg:i386 depends on libc6 (= 2.17-5); however:
Version of libc6:i386 on system is 2.17-7.
dpkg: error processing libc6-dbg:i386 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libc6-dbg:i386
There must be a way to use libc-dbg:i386 with 2.17-7 instead of 2.17-5 (maybe another wget?)
Must I retry with a fresh install of Knoppix? - hope not :(
I would apreciate your help on this.
Thanks in advance
The package libc6-dbg_2.17-7_i386.deb is still available in the Debian repository. If you issueyou will see where it is stored. Most probablyCode:sudo apt-get update
apt-cache policy libc6-dbg
will do the trick. In the case you have upgraded libc6 you need the corresponding package libc6-dbg instead ofCode:sudo apt-get install libc6-dbg/testing
If you also upgraded other packages it might be that you need to eaxamine carefully which development packages are to be installed.Code:wget -O libc6-dbg_2.17-5_i386.deb http://snapshot.debian.org/archive/debian/20130605T155724Z/pool/main/e/eglibc/libc6-dbg_2.17-5_i386.deb
sudo dpkg -i libc6-dbg_2.17-5_i386.deb
I think the easiest way would be that you describe your issues if something does not work for you I wrote in my post.
Hi,
knoppix@Microknoppix:~/src$ apt-cache policy libc6-dbg
libc6-dbg:
Installed: 2.17-7
Candidate: 2.17-7
Version table:
2.17-90 0
1 http://ftp.de.debian.org/debian/ experimental/main i386 Packages
*** 2.17-7 0
500 http://ftp.de.debian.org/debian/ testing/main i386 Packages
500 http://ftp.de.debian.org/debian/ unstable/main i386 Packages
100 /var/lib/dpkg/status
2.13-38 0
990 http://ftp.de.debian.org/debian/ stable/main i386 Packages
Since I currently have downloaded libc6-dbg_2.17-7_i386.deb in my /home/knoppix/src, I tried:
knoppix@Microknoppix:~/src$ sudo apt-get install libc6-dbg/testing
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '2.17-7' (Debian:testing [i386]) for 'libc6-dbg'
The following packages were automatically installed and are no longer required:
fonts-dejavu fonts-opensymbol libclucene-contribs1 libclucene-core1
libhsqldb1.8.0-java libmwaw-0.1-1 libodfgen-0.0-0 liborcus-0.6-0
libpython3.3 libpython3.3-minimal libpython3.3-stdlib
libreoffice-style-galaxy libreoffice-style-tango libvisio-0.0-0 python3.3
python3.3-minimal wwwconfig-common xfonts-mathml
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
libc6-dbg
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 5,008 kB of archives.
After this operation, 41.1 MB of additional disk space will be used.
Get:1 http://ftp.de.debian.org/debian/ testing/main libc6-dbg i386 2.17-7 [5,008 kB]
Fetched 5,008 kB in 5s (920 kB/s)
Selecting previously unselected package libc6-dbg:i386.
dpkg: warning: files list file for package 'cloop-utils' missing; assuming package has no files currently installed
(Reading database ... 461159 files and directories currently installed.)
Unpacking libc6-dbg:i386 (from .../libc6-dbg_2.17-7_i386.deb) ...
Setting up libc6-dbg:i386 (2.17-7) ...
That seemed to have installed libcc6-dbg properly :)
What do I do next? (I could try a few things but don't want to risk breaking anything at this point :) )
Hi,
knoppix@Microknoppix:~/src$ apt-cache policy libc6-dbg
libc6-dbg:
Installed: 2.17-7
Candidate: 2.17-7
Version table:
2.17-90 0
1 http://ftp.de.debian.org/debian/ experimental/main i386 Packages
*** 2.17-7 0
500 http://ftp.de.debian.org/debian/ testing/main i386 Packages
500 http://ftp.de.debian.org/debian/ unstable/main i386 Packages
100 /var/lib/dpkg/status
2.13-38 0
990 http://ftp.de.debian.org/debian/ stable/main i386 Packages
Since I currently have downloaded libc6-dbg_2.17-7_i386.deb in my /home/knoppix/src, I tried:
knoppix@Microknoppix:~/src$ sudo apt-get install libc6-dbg/testing
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '2.17-7' (Debian:testing [i386]) for 'libc6-dbg'
The following packages were automatically installed and are no longer required:
fonts-dejavu fonts-opensymbol libclucene-contribs1 libclucene-core1
libhsqldb1.8.0-java libmwaw-0.1-1 libodfgen-0.0-0 liborcus-0.6-0
libpython3.3 libpython3.3-minimal libpython3.3-stdlib
libreoffice-style-galaxy libreoffice-style-tango libvisio-0.0-0 python3.3
python3.3-minimal wwwconfig-common xfonts-mathml
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
libc6-dbg
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 5,008 kB of archives.
After this operation, 41.1 MB of additional disk space will be used.
Get:1 http://ftp.de.debian.org/debian/ testing/main libc6-dbg i386 2.17-7 [5,008 kB]
Fetched 5,008 kB in 5s (920 kB/s)
Selecting previously unselected package libc6-dbg:i386.
dpkg: warning: files list file for package 'cloop-utils' missing; assuming package has no files currently installed
(Reading database ... 461159 files and directories currently installed.)
Unpacking libc6-dbg:i386 (from .../libc6-dbg_2.17-7_i386.deb) ...
Setting up libc6-dbg:i386 (2.17-7) ...
That seemed to have installed libcc6-dbg properly :)
What do I do next? (I could try a few things but don't want to risk breaking anything at this point :) )
I would continue withand watch whether any errors occur.Code:sudo apt-get install libosmesa6-dev
sudo apt-get install libjpeg8-dev
sudo apt-get -t testing install libusb-dev
sudo apt-get build-dep wine1.6
I thought so, and installing the missing libs + building dependencies went OK.
Then I continued with the series of commands you showed before:
getting the sources...
$apt-get source wine1.6
cleaning the environment...
$sudo apt-get clean
chanding to dir
$cd wine1.6-1.6
building the package (that lasted more than 1 hour)
$dpkg-buildpackage -b -uc
$cd ..
removing old, installing new
sudo dpkg -i wine1.5_1.6-0ubuntu1~ppa1_i386.deb wine_1.6-0ubuntu1~ppa1_i386.deb wine1.6_1.6-0ubuntu1~ppa1_i386.deb wine1.6-i386_1.6-0ubuntu1~ppa1_i386.deb
everything well so far
executing winecfg:
the Wine Mono installer poped up and could be executed, even though a Program Error requester poped up, stating:
"The program winemenubuilder.exe has encountered a serious problem and needs to close. We are sorry for the inconvenience"."This can be caused by a problem in the program or a deficiency in Wine. You may want to check the Application Database for tips about running this application". That happened at the same time the Gecko installer popped up.
A "Show Details" in the "Program Error" requester shows a bunch of errors (which code I suppose I better submit to Wine developers at this point):
Apart from this, eveything else went fine. Even though I didn't understand everything, I now have a closer idea of how to compile a package. The part I didn't understand well is how did you find out where and which parts were necessary for the dependencies, and how to de-install the old wine; but I think it is not too relevant here.
Thanks to K, I'm getting closer to the perfect desktop :)
In the winecfg interface, despite those errors above, the "About" tab shows well that I am now well into version 1.6.!
THANKS VM Klaus for this precious guide! Hope this helps others too.
I will now go ahead testing wine and eventually post some results in the Wine forums.