Device Driver Manager - Help needed

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Schoelje

Device Driver Manager - Help needed

Post by Schoelje »

Device Driver Manager: a third party hardware driver manager for Linux Mint

[Updated: 16 January 2013]
Implemented a minor change that might solve driver installation for ATI/Intel hybrid cards.
This is still untested because I don't have the hardware to test it on.
So, if you own a ATI/Intel hybrid card, please post back your results here.

I'm looking for testers:
  • Any Linux Mint taste (it should work on any Debian or Ubuntu based distribution).
  • Systems with Nvidia, ATI, Intel, Broadcom or multi-processor 32-bit CPU's.
  • Other hardware that you would like to have supported by DDM.
You can download the .deb file here:
http://schoelje.nl/lmdekde/packages/ddm_0.5.3_all.deb

DDM is still in development, so before you install, make sure you have made an image of your system you can revert to when things go not entirely the way you expected...
You can use CloneZilla (http://clonezilla.org) to create an image.

After installation, open up a terminal:

Code: Select all

ddm -d
This will create a debug file in your home directory:

Code: Select all

$HOME/ddm.log
When you want to post your findings in this thread, you can add the log file to your message (or link to pastebin, if you like). The information in this log helps me to debug the application.

If you're a coder, and you'd like to pitch in, you can check the source at GitHub:
https://github.com/linuxmint/device-driver-manager
You can look at the code at GitHub or fork the repository and create a new branch.

So you see: you don't need to be a Linux crack to help out!
Your help is very much appreciated!


Screenshot:
Image
Last edited by Schoelje on Wed Jan 16, 2013 5:46 am, edited 12 times in total.
zerozero

Re: Device Driver Manager - Help needed

Post by zerozero »

Schoelje,
with much delay :cry: (sorry, real life sometimes gets in the way) i'm reporting the issues with the broadcom drivers installation (i used this time the up5sr2 iso because of course i wanted to test the rest of shinny new stuff as well).

this time i can see why it fails (tho i can't explain it), see this part in the konsole output

Code: Select all

INFO      Selecting previously unselected package firmware-b43-lpphy-installer.
INFO      (Reading database ... 143300 files and directories currently installed.)
INFO      Unpacking firmware-b43-lpphy-installer (from firmware-b43-lpphy-installer_015-14_all.deb) ...
INFO      dpkg: dependency problems prevent configuration of firmware-b43-lpphy-installer:
INFO      firmware-b43-lpphy-installer depends on b43-fwcutter (>= 1:015-14); however:
INFO      Package b43-fwcutter is not installed.
INFO      dpkg: error processing firmware-b43-lpphy-installer (--install):
INFO      dependency problems - leaving unconfigured
INFO      Errors were encountered while processing:
INFO      firmware-b43-lpphy-installer
INFO      Done installing Broadcome drivers

there's a dependency problem: ddm doesn't pull in b43-fwcutter and the installation errors out (of course at this point i can't make the broadcom card work)

but this:

Code: Select all

Start-Date: 2012-10-15  10:47:34
Commandline: synaptic
Install: b43-fwcutter:i386 (015-14, automatic)
Reinstall: firmware-b43-lpphy-installer:i386 (015-14)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2012-10-15  10:47:36
if i reinstall firmware-b43-lpphy-installer with synaptic it pulls the right dependency.

unfortunately i can't give you (now) the ddm.log because the process stalled here

Code: Select all

INFO      Start driver install thread
INFO      Current server: 'http://debian.linuxmint.com' (latest)
INFO      Server http://mirror.rts-informatique.fr/linuxmint/debian - 620Kbps
INFO      Server http://debian.lth.se/lmde - 279Kbps
INFO      Server http://lmde-mirror.gwendallebihan.net - 305Kbps
INFO      Server http://debian.linuxmint.com - 153Kbps
INFO      Best server: http://mirror.rts-informatique.fr/linuxmint/debian

and trying to start it again overwrote the previous log.
time to start clean :D
Schoelje

Re: Device Driver Manager - Help needed

Post by Schoelje »

Would it be a good idea to pre-install b43-fwcutter?
I don't think it would do any harm if it's not used by any broadcom driver and it's really small (80Kb).
zerozero

Re: Device Driver Manager - Help needed

Post by zerozero »

but i want to understand why ddm doesn't pull it as a dep and synaptic does later (of course that only reinstalling because the system is now "contaminated")
Schoelje

Re: Device Driver Manager - Help needed

Post by Schoelje »

DDM is blind for dependencies...It simply downloads the given drivers and is blissfully unknown to whatever else is needed.
How can you find out what the dependencies are of a package?
zerozero

Re: Device Driver Manager - Help needed

Post by zerozero »

Code: Select all

zerozero@deb-kde ~/Documents $ apt-cache depends firmware-b43-lpphy-installer
firmware-b43-lpphy-installer
  Depends: b43-fwcutter
  Depends: bzip2
  Depends: wget
  Recommends: <linux-image>
    linux-image-3.2.0-2-amd64
    linux-image-3.2.0-3-amd64
    linux-image-3.2.0-3-rt-amd64
  Conflicts: firmware-b43-installer
EDIT: in the pae system the recommends are different

Code: Select all

zerozero@deb-kdeup5sr2 ~ $ apt-cache depends firmware-b43-lpphy-installer
firmware-b43-lpphy-installer
  Depends: b43-fwcutter
  Depends: bzip2
  Depends: wget
  Recommends: <linux-image>
    linux-image-3.2.0-3-486
    linux-image-3.2.0-3-686-pae
    linux-image-3.2.0-3-amd64
    linux-image-3.2.0-3-rt-686-pae
  Conflicts: firmware-b43-installer
zerozero

Re: Device Driver Manager - Help needed

Post by zerozero »

another thing (before reinstall i decided to test it a bit more)
- is the mirrors choosing integrated with debconf? it stalls again in the same place (where should have user input)
http://pastebin.com/7AecaHQ2
dcihon

Re: Device Driver Manager - Help needed

Post by dcihon »

zero,
Can we still download the DDM? The link at the top doesn't work for me. Says file not found.
Thanks
Dan
Schoelje

Re: Device Driver Manager - Help needed

Post by Schoelje »

zerozero wrote:another thing (before reinstall i decided to test it a bit more)
- is the mirrors choosing integrated with debconf? it stalls again in the same place (where should have user input)
http://pastebin.com/7AecaHQ2
Yes, we're (Clem and I) are working on mint-debian-mirrors and its integration into DDM.
To be safe, I'll comment the code that handles mirror installation until mint-debian-mirrors is done.
Schoelje

Re: Device Driver Manager - Help needed

Post by Schoelje »

dcihon wrote:zero,
Can we still download the DDM? The link at the top doesn't work for me. Says file not found.
Thanks
Dan
If you can wait a sec, I'll upload a new version :)
zerozero

Re: Device Driver Manager - Help needed

Post by zerozero »

Dan, this ddm version i'm testing comes bundled in the latest isos Schoelje built here http://forums.linuxmint.com/viewtopic.p ... &start=100
tbh at the moment i don't recall if you can find an updated version on its own (but that won't be a problem, i guess, Schoelje can get you one :lol: )

Schoelje,
somehow i have to rectify my last post:
- after a long wait (more than 10mint) i terminated :mrgreen: ddm and it wrote this in the logs (but only after being terminated)

Code: Select all

15-10-2012 12:32:27 execcmd.run                   INFO      [?1049h[1;24r[4l[?25l(B[m[37m[40m[1;24r[H[2J[1;1H[1m[37m[44m                                                                                [2;1H                                                                                [3;1H                                                                                [4;1H                                                                                [5;1H                                                                                [6;1H                                                                                [7;1H                                                                                [8;1H                                                                                [9;1H                                                                                [10;1H                                                                                [11;1H                           
                                                     [12;1H                                                                                [13;1H                                                                                [14;1H                                                                                [15;1H                                                                                [16;1H                                                                                [17;1H                                                                                [18;1H                                                                                [19;1H                                                                                [20;1H                                                                                [21;1H                                                                                [22;1H                                                                                [23;1H       
                                                                         [24;1H                                                                               [24;79H [4h [4l[1;1H(B[m[37m[44mPackage configuration[3;4H[30m[47m┌────────────────────────┤ [31mMint Debian Mirrors[30m ├────────────────────────┐[4;4H│                                                                       │[1m[37m[40m [5;4H(B[m[30m[47m│                                                                       │[1m[37m[40m [6;4H(B[m[30m[47m│ The list below show the available LMDE mirrors.                       │[1m[37m[40m [7;4H(B[m[30m[47m│                                                                       │[1m[37m[40m [8;4H(B[m[30m[47m│ You are currently using the following mirror:                         │[1m[37m[40m [9;4H(B[m[30m[47m│                                                                       │[1m[37m[40m [10;4H(B[m[30m[47m│     http://mirror.rts-informatique.
fr/linuxmint/debian                │[1m[37m[40m [11;4H(B[m[30m[47m│                                                                       │[1m[37m[40m [12;4H(B[m[30m[47m│ Please select a repository mirror:                                    │[1m[37m[40m [13;4H(B[m[30m[47m│                                                                       │[1m[37m[40m [14;4H(B[m[30m[47m│     [37m[41mhttp://lmde-mirror.gwendallebihan.net - 524Kbps             [30m[47m      │[1m[37m[40m [15;4H(B[m[30m[47m│     http://mirror.rts-informatique.fr/linuxmint/debian - 484Kbps      │[1m[37m[40m [16;4H(B[m[30m[47m│     http://debian.lth.se/lmde - 256Kbps                               │[1m[37m[40m [17;4H(B[m[30m[47m│     http://debian.linuxmint.com - 136Kbps                             │[1m[37m[40m [18;4H(B[m[30m[47m│                                                                       │[1m[37m[40m [19;4H(B[m[30m[47m│                                         
                              │[1m[37m[40m [20;4H(B[m[30m[47m│                                <Ok>                                   │[1m[37m[40m [21;4H(B[m[30m[47m│                                                                       │[1m[37m[40m [22;4H(B[m[30m[47m└───────────────────────────────────────────────────────────────────────┘[1m[37m[40m [23;5H                                                                         [14;10H(B[m[30m[47mhttp://lmde-mirror.gwendallebihan.net - 524Kbps             [15;10H[37m[41mhttp://mirror.rts-informatique.fr/linuxmint/debian - 484Kbps[15;10H[30m[47mhttp://mirror.rts-informatique.fr/linuxmint/debian - 484Kbps[16;10H[37m[41mhttp://debian.lth.se/lmde - 256Kbps                         [16;10H[30m[47mhttp://debian.lth.se/lmde - 256Kbps                         [17;10H[37m[41mhttp://debian.linuxmint.com - 136Kbps                       [17;10H[Ahttp://debian.lth.se/lmde - 256Kbps                         [17;10H[30m[
47mhttp://debian.linuxmint.com - 136Kbps                       [16;10H[A[37m[41mhttp://mirror.rts-informatique.fr/linuxmint/debian - 484Kbps[16;10H[30m[47mhttp://debian.lth.se/lmde - 256Kbps                         [15;10H[A[37m[41mhttp://lmde-mirror.gwendallebihan.net - 524Kbps             [15;10H[30m[47mhttp://mirror.rts-informatique.fr/linuxmint/debian - 484Kbps[14;10Hhttp://lmde-mirror.gwendallebihan.net - 524Kbps             [15;10H[37m[41mhttp://mirror.rts-informatique.fr/linuxmint/debian - 484Kbps[15;10H[30m[47mhttp://mirror.rts-informatique.fr/linuxmint/debian - 484Kbps[16;10H[37m[41mhttp://debian.lth.se/lmde - 256Kbps                         [16;10H[30m[47mhttp://debian.lth.se/lmde - 256Kbps                         [17;10H[37m[41mhttp://debian.linuxmint.com - 136Kbps                       [17;10H[?12l[?25h[24;1H[40m(B[m[39;49m
[K
[?1049l_pSLsys_getkey: EIO error
15-10-2012 12:32:27 execcmd.run                   INFO      _pSLsys_getkey: EIO error
15-10-2012 12:32:27 execcmd.run                   INFO      _pSLsys_getkey: EIO error
15-10-2012 12:32:27 execcmd.run                   INFO      _pSLsys_getkey: EIO error
15-10-2012 12:32:27 execcmd.run                   INFO      _pSLsys_getkey: EIO error
15-10-2012 12:32:27 execcmd.run                   INFO      _pSLsys_getkey: EIO error
15-10-2012 12:32:27 execcmd.run                   INFO      _pSLsys_getkey: EIO error
15-10-2012 12:32:27 execcmd.run                   INFO      _pSLsys_getkey: EIO error
15-10-2012 12:32:27 execcmd.run                   INFO      _pSLsys_getkey: EIO error
15-10-2012 12:32:27 execcmd.run                   INFO      _pSLsys_getkey: EIO error
15-10-2012 12:32:27 execcmd.run                   INFO      _pSLsys_getkey: EIO error
15-10-2012 12:32:27 execcmd.run                   INFO      _pSLsys_getkey: EIO error
15-10-2012 12:32:27 execcmd.run                   INFO      debconf: whiptail output the above errors, giving up!
15-10-2012 12:32:27 mirror.installMirror          INFO      Resynchronizing the package index files from their sources
and checking the sources.list i see

Code: Select all

zerozero@deb-kdeup5sr2 ~ $ inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://packages.linuxmint.com/ debian main upstream import
           deb http://mirror.rts-informatique.fr/linuxmint/debian/latest testing main contrib non-free
           deb http://mirror.rts-informatique.fr/linuxmint/debian/latest/security testing/updates main contrib non-free
           deb http://mirror.rts-informatique.fr/linuxmint/debian/latest/multimedia testing main non-free
Schoelje

Re: Device Driver Manager - Help needed

Post by Schoelje »

I've updated the download URL: http://www.schoelje.nl/lmdekde/packages ... .1_all.deb
DDM will now check for dependencies and download them before installing the Broadcom drivers.
I had to dry-run this but it downloaded all files that were not installed, and installed them along with the driver.

Now, this is what they call "lean development" :D
BostonPeng

Re: Device Driver Manager - Help needed

Post by BostonPeng »

One thing I meant to mention earlier: When I first used DDM I didn't know that the PAE kernel should get installed then the video drivers so I did it simultaneously. Would it be possible to add a reminder of the proper order for people using DDM before getting enough coffee for their brain to stop reporting 404 errors like mine did? I know it's probably a bit of a pain but if I did it like this I can imagine others will too as DDM gets wider usage.
zerozero

Re: Device Driver Manager - Help needed

Post by zerozero »

yep :D :lol:
http://pastebin.com/2GrLkZB0

Code: Select all

zerozero@deb-kdeup5sr2 ~ $ inxi -N
Network:   Card-1 Broadcom BCM4312 802.11b/g LP-PHY driver b43-pci-bridge
           Card-2 Marvell 88E8040 PCI-E Fast Ethernet Controller driver sky2
zerozero@deb-kdeup5sr2 ~ $ 
Schoelje

Re: Device Driver Manager - Help needed

Post by Schoelje »

BostonPeng wrote:One thing I meant to mention earlier: When I first used DDM I didn't know that the PAE kernel should get installed then the video drivers so I did it simultaneously. Would it be possible to add a reminder of the proper order for people using DDM before getting enough coffee for their brain to stop reporting 404 errors like mine did? I know it's probably a bit of a pain but if I did it like this I can imagine others will too as DDM gets wider usage.
Which version are you using?

Code: Select all

apt policy device-driver-manager
The one in this thread is V0.2.1 which checks if PAE is installed first, the one in the iso's is V0.1.0 and doesn't do the check.
BostonPeng

Re: Device Driver Manager - Help needed

Post by BostonPeng »

$ policy device-driver-manager
device-driver-manager:
Installed: 0.1.0
Candidate: 0.1.0
Version table:
*** 0.1.0 0
100 /var/lib/dpkg/status
Schoelje

Re: Device Driver Manager - Help needed

Post by Schoelje »

BostonPeng wrote:$ policy device-driver-manager
device-driver-manager:
Installed: 0.1.0
Candidate: 0.1.0
Version table:
*** 0.1.0 0
100 /var/lib/dpkg/status
Ah, that explains it!
If you feel like it, you can download and try the current version.
BostonPeng

Re: Device Driver Manager - Help needed

Post by BostonPeng »

Schoelje wrote:
BostonPeng wrote:$ policy device-driver-manager
device-driver-manager:
Installed: 0.1.0
Candidate: 0.1.0
Version table:
*** 0.1.0 0
100 /var/lib/dpkg/status
Ah, that explains it!
If you feel like it, you can download and try the current version.
Thanks, will do.
Schoelje

Re: Device Driver Manager - Help needed

Post by Schoelje »

Sorry guys, there was some testing code left for Broadcom.
I just uploaded the correct version.
Schoelje

Re: Device Driver Manager - Help needed

Post by Schoelje »

I've been testing DDM on the regular Linux Mint.
Some changes were made for Nvidia and Broadcom.

So...I'm in dire need of testers, especially with ATI and Broadcom.

If you have a regular LM running somewhere, please download and install:
http://www.schoelje.nl/lmdekde/packages ... .2_all.deb

Open a terminal and run:

Code: Select all

device-driver-manager -d
And post back the log file:

Code: Select all

$HOME/ddm.log
Locked

Return to “Software & Applications”