Device Driver Manager - Help needed

Questions about applications and software
Forum rules
Before you post please read how to get help

Device Driver Manager - Help needed

Postby Schoelje on Fri Sep 28, 2012 12:44 pm

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.
User avatar
Schoelje
Level 5
Level 5
 
Posts: 791
Joined: Wed Jan 18, 2012 6:25 am
Location: Netherlands

Linux Mint is funded by ads and donations.
 

Re: Device Driver Manager - Help needed

Postby zerozero on Mon Oct 15, 2012 6:14 am

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
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6492
Joined: Tue Jul 07, 2009 2:29 pm

Re: Device Driver Manager - Help needed

Postby Schoelje on Mon Oct 15, 2012 6:32 am

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).
User avatar
Schoelje
Level 5
Level 5
 
Posts: 791
Joined: Wed Jan 18, 2012 6:25 am
Location: Netherlands

Re: Device Driver Manager - Help needed

Postby zerozero on Mon Oct 15, 2012 6:35 am

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")
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6492
Joined: Tue Jul 07, 2009 2:29 pm

Re: Device Driver Manager - Help needed

Postby Schoelje on Mon Oct 15, 2012 6:39 am

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?
User avatar
Schoelje
Level 5
Level 5
 
Posts: 791
Joined: Wed Jan 18, 2012 6:25 am
Location: Netherlands

Re: Device Driver Manager - Help needed

Postby zerozero on Mon Oct 15, 2012 6:43 am

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
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6492
Joined: Tue Jul 07, 2009 2:29 pm

Re: Device Driver Manager - Help needed

Postby zerozero on Mon Oct 15, 2012 7:21 am

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
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6492
Joined: Tue Jul 07, 2009 2:29 pm

Re: Device Driver Manager - Help needed

Postby dcihon on Mon Oct 15, 2012 7:26 am

zero,
Can we still download the DDM? The link at the top doesn't work for me. Says file not found.
Thanks
Dan
Kernel 3.2.0-3-amd64 x86_64 (64 bit) Distro Linux Mint Xfce Edition
ATI - Tracking - Testing
User avatar
dcihon
Level 4
Level 4
 
Posts: 276
Joined: Sun Aug 07, 2011 2:15 pm
Location: Florissant, MO USA

Re: Device Driver Manager - Help needed

Postby Schoelje on Mon Oct 15, 2012 7:34 am

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.
User avatar
Schoelje
Level 5
Level 5
 
Posts: 791
Joined: Wed Jan 18, 2012 6:25 am
Location: Netherlands

Re: Device Driver Manager - Help needed

Postby Schoelje on Mon Oct 15, 2012 7:35 am

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 :)
User avatar
Schoelje
Level 5
Level 5
 
Posts: 791
Joined: Wed Jan 18, 2012 6:25 am
Location: Netherlands

Re: Device Driver Manager - Help needed

Postby zerozero on Mon Oct 15, 2012 7:41 am

Dan, this ddm version i'm testing comes bundled in the latest isos Schoelje built here viewtopic.php?f=61&t=113571&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[?25l(B                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                          (BPackage configuration┌────────────────────────┤ Mint Debian Mirrors ├────────────────────────┐│                                                                       │ (B│                                                                       │ (B│ The list below show the available LMDE mirrors.                       │ (B│                                                                       │ (B│ You are currently using the following mirror:                         │ (B│                                                                       │ (B│     http://mirror.rts-informatique.
fr/linuxmint/debian                │ (B│                                                                       │ (B│ Please select a repository mirror:                                    │ (B│                                                                       │ (B│     http://lmde-mirror.gwendallebihan.net - 524Kbps                   │ (B│     http://mirror.rts-informatique.fr/linuxmint/debian - 484Kbps      │ (B│     http://debian.lth.se/lmde - 256Kbps                               │ (B│     http://debian.linuxmint.com - 136Kbps                             │ (B│                                                                       │ (B│                                         
                              │ (B│                                <Ok>                                   │ (B│                                                                       │ (B└───────────────────────────────────────────────────────────────────────┘                                                                          (Bhttp://lmde-mirror.gwendallebihan.net - 524Kbps             http://mirror.rts-informatique.fr/linuxmint/debian - 484Kbpshttp://mirror.rts-informatique.fr/linuxmint/debian - 484Kbpshttp://debian.lth.se/lmde - 256Kbps                         http://debian.lth.se/lmde - 256Kbps                         http://debian.linuxmint.com - 136Kbps                       http://debian.lth.se/lmde - 256Kbps                         [
47mhttp://debian.linuxmint.com - 136Kbps                       http://mirror.rts-informatique.fr/linuxmint/debian - 484Kbpshttp://debian.lth.se/lmde - 256Kbps                         http://lmde-mirror.gwendallebihan.net - 524Kbps             http://mirror.rts-informatique.fr/linuxmint/debian - 484Kbpshttp://lmde-mirror.gwendallebihan.net - 524Kbps             http://mirror.rts-informatique.fr/linuxmint/debian - 484Kbpshttp://mirror.rts-informatique.fr/linuxmint/debian - 484Kbpshttp://debian.lth.se/lmde - 256Kbps                         http://debian.lth.se/lmde - 256Kbps                         http://debian.linuxmint.com - 136Kbps                       [?12l[?25h(B

[?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
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6492
Joined: Tue Jul 07, 2009 2:29 pm

Re: Device Driver Manager - Help needed

Postby Schoelje on Mon Oct 15, 2012 8:18 am

I've updated the download URL: http://www.schoelje.nl/lmdekde/packages/device-driver-manager_0.2.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
User avatar
Schoelje
Level 5
Level 5
 
Posts: 791
Joined: Wed Jan 18, 2012 6:25 am
Location: Netherlands

Re: Device Driver Manager - Help needed

Postby BostonPeng on Mon Oct 15, 2012 8:24 am

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.
J.M. "BostonPeng" Hardin
Now very happily running SolydK
My new Linux blog: Tux + Me
It's time for Dodgers baseball!
User avatar
BostonPeng
Level 5
Level 5
 
Posts: 619
Joined: Mon Aug 02, 2010 8:50 am
Location: Boston, MA

Re: Device Driver Manager - Help needed

Postby zerozero on Mon Oct 15, 2012 8:46 am

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 ~ $
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6492
Joined: Tue Jul 07, 2009 2:29 pm

Re: Device Driver Manager - Help needed

Postby Schoelje on Mon Oct 15, 2012 9:20 am

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.
User avatar
Schoelje
Level 5
Level 5
 
Posts: 791
Joined: Wed Jan 18, 2012 6:25 am
Location: Netherlands

Re: Device Driver Manager - Help needed

Postby BostonPeng on Mon Oct 15, 2012 9:27 am

$ 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
J.M. "BostonPeng" Hardin
Now very happily running SolydK
My new Linux blog: Tux + Me
It's time for Dodgers baseball!
User avatar
BostonPeng
Level 5
Level 5
 
Posts: 619
Joined: Mon Aug 02, 2010 8:50 am
Location: Boston, MA

Re: Device Driver Manager - Help needed

Postby Schoelje on Mon Oct 15, 2012 9:46 am

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.
User avatar
Schoelje
Level 5
Level 5
 
Posts: 791
Joined: Wed Jan 18, 2012 6:25 am
Location: Netherlands

Re: Device Driver Manager - Help needed

Postby BostonPeng on Mon Oct 15, 2012 9:47 am

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.
J.M. "BostonPeng" Hardin
Now very happily running SolydK
My new Linux blog: Tux + Me
It's time for Dodgers baseball!
User avatar
BostonPeng
Level 5
Level 5
 
Posts: 619
Joined: Mon Aug 02, 2010 8:50 am
Location: Boston, MA

Re: Device Driver Manager - Help needed

Postby Schoelje on Mon Oct 15, 2012 12:22 pm

Sorry guys, there was some testing code left for Broadcom.
I just uploaded the correct version.
User avatar
Schoelje
Level 5
Level 5
 
Posts: 791
Joined: Wed Jan 18, 2012 6:25 am
Location: Netherlands

Re: Device Driver Manager - Help needed

Postby Schoelje on Fri Oct 19, 2012 4:32 pm

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/device-driver-manager_0.2.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
User avatar
Schoelje
Level 5
Level 5
 
Posts: 791
Joined: Wed Jan 18, 2012 6:25 am
Location: Netherlands

Linux Mint is funded by ads and donations.
 
Next

Return to Software & Applications

Who is online

Users browsing this forum: benchrest and 28 guests