Results 1 to 9 of 9

Thread: How Can I Redetect Hardware?

  1. #1
    Junior Member
    Join Date
    Jan 2005
    Posts
    1

    How Can I Redetect Hardware?

    Hello,
    I ran apt-get upgrade today and now my mouse isn't working. I have Knoppix 3.6 installed to the Hard Drive and am running it on a Dell Inspiron 3800. It previously had no problem detecting it. I'm not sure how to make it redetect what mouse it's using. Everything else seems to be fine. Thanks for any help!

  2. #2
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    To auto detect hardware 'sudo /etc/init.d/knoppix-installer'.

    Problems like this are common after apt-get upgrade, I think most are the result of the upgrade process 'improving' the system startup by staring every known available service at boot up. Use sys-v-init editor & remove any services you don't need from runlevel 5 start.

    A default knoppix-style install has only knoppix-autoconfig, knoppix-hd-config & mountall.sh in /etc/rcS.d

    Check also your file /etc/X11/XF86Config-4, compare with this file on your Knoppix CD.

    On my knoppix-style HDinstall the video driver selection gets screwed up every time I upgrade, I have to let it start using the default-last-resort vesa driver (which means I can't see the screen) then crtl-alt-f2 to a terminal, edit XF86Config-4 to the proper driver, crtl-alt-f5 back to the flickering screen & blind logout 'end session only'. When X restarts the video driver is correct & remains correct. It's weird but no other procedure works. I have also had this problem after sys-V-init changing the startup services which is why I think the startup services stuff is the source of the problem.

    This is why apt-get upgrade is not recommended for knoppix systems.

  3. #3
    Member registered user
    Join Date
    Jun 2004
    Location
    U.P., MI, USA
    Posts
    35
    Quote Originally Posted by CrashedAgain
    -snipped-
    On my knoppix-style HDinstall the video driver selection gets screwed up every time I upgrade, I have to let it start using the default-last-resort vesa driver (which means I can't see the screen) then crtl-alt-f2 to a terminal, edit XF86Config-4 to the proper driver, crtl-alt-f5 back to the flickering screen & blind logout 'end session only'. It's weird but no other procedure works. I have also had this problem after sys-V-init changing the startup services which is why I think the startup services stuff is the source of the problem.
    Hi, CrashedAgain!

    It's odd that the blind log-out step is necessary. Usually Ctrl-Alt-Del will trigger a reboot, or at least a shut down. The halting of the X server processes on the other virtual console should be automatic, in the event a reboot is called for on VC1 as root. If Ctrl-Alt-Del doesn't work, then I think(?) "telinit 6" would do the job.

    Oh, by the way,... In another thread, I'd told you that I'd also done a "Knoppix style" install onto my HD? Well, as usual, I couldn't leave sort of okay alone. I spent an afternoon repeatedly re-installing Knoppix, and eventually succeeded (more or less) in doing a "Debian" install. I say "more or less", because the installation script crapped out near the end and locked up the computer. I had to shut it down via pressing and holding the power button. However, when I powered up the machine again, and booted using the GRUB entry I'd had for the previous (Knoppix style) installation in that same partition, it worked and boot properly! In fact, it's working more smoothly than the Knoppix style did; even, giving me full colors on screen instead of limiting it to 256. Cool, eh?

  4. #4
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    Quote Originally Posted by scruffyeagle

    It's odd that the blind log-out step is necessary. Usually Ctrl-Alt-Del will trigger a reboot, or at least a shut down.
    Actually that is how I was doing the blind restart. Ctrl-alt-del brings up the logout dialog box then one <up> key selects 'logout session only' then <enter>. Since it is a Knoppix style install it logs out then logs right back in thus restarting X.

    Pleased that your Hd install is now working better.

  5. #5
    Member registered user
    Join Date
    Feb 2004
    Location
    UK
    Posts
    42
    I am also having problems and i have no idea what to do.

    I selected the debian style install (whats the diff between this and the knoppix style?)

    My mouse doesnt get detected although when booting the live cd as a poormans install
    it works fine.

    How can i get it to work again? I am unable to do anything (pretty much as i dont know what im doing)
    If I press ctrl alt and f2 i can get a command line but i dont know what i can do from there to get it
    to autodetect things.

    All i want is to run knoppix off the HD uncompressed so i can install a couple of other apps.

    I have tried this

    udo mount /dev/hd?? /mnt/hd??
    sudo cp /mnt/hd??/etc/X11/XF86Config-4 /mnt/hd??/etc/X11/XF86Config-4.original
    sudo cp /etc/X11/XF86Config-4 /mnt/hd??/etc/X11/XF86Config-4
    answer yes to the overwrite

    It didnt seem to work, I put hda1 which is where mine is installed it seemed to copy it ok but the mouse
    didnt work.

  6. #6
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Colorado, USA
    Posts
    205
    I selected the debian style install (whats the diff between this and the knoppix style?)
    Paraphrasing from Kyle Rankin's excellent Knoppix Hacks, the Knoppix style essentially gives you the CD on your hard drive - single user, disabled passwords, but upgraded from the default read-only access. You can change things, of course.

    Debian style gives you a multi-user system and no hardware-detection scripts.

    You might try a beginner-style installation, which combines the two, or just a Knoppix-style and tweak things the way you want them.

    In any event, before you add stuff you'll want to edit /etc/apt/sources.list so that it points to nearby websites instead of German ones. As a starting point, change these entries:
    Code:
    http://ftp.de.debian.org...
    like this:
    Code:
    http://ftp.uk.debian.org....
    and find secondary mirror sites on this page:
    • http://www.debian.org/mirror
    Be aware that Knoppix isn't designed to be an installed Linux ... installing means maintaining. You start with a mix of Linux/GNU software from three development streams (stable, testing, and unstable) plus tweaks thrown in by Klaus Knopper and friends. The pieces have been essentially hand-fitted so that they work together.

    When you upgrade the packages from Debian websites, this will no longer be true. Package A, from the testing release, gets upgraded to A+. Package B, from the unstable release, gets upgraded to B+. A and B worked together, but A+ and B+ may not. And anything you add, regardless which release it comes from, will probably be working with material from other streams.

    It's not something to back away from, just something to be aware of.

    -- Ed

  7. #7
    Member registered user
    Join Date
    Feb 2004
    Location
    UK
    Posts
    42
    Thanks for the information i will give the knoppix style a try and see if i have more luck.

    Im sure i would have better luck if i were installing linux on a decent computer instead
    of my craptop which cant boot from a CD

    Thanks again i appreciate it a lot.

  8. #8
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Colorado, USA
    Posts
    205
    Im sure i would have better luck if i were installing linux on a decent computer
    Ah, but this is where Linux is supposed to shine! Re-purposing vintage assets, and all that.

    By the way, if the mouse is your only problem, there's a very good chance that just booting to console mode (no GUI) and tweaking one or two lines in one file could fix it.

    Let us know, okay?

    -- Ed

  9. #9
    Member registered user
    Join Date
    Feb 2004
    Location
    UK
    Posts
    42
    i using a 266 MHz laptop with 64 MB of ram 5 gb hd and a floppy drive i think it makes it harder for me as
    a linux begineer but its the only laptop i have haha.

    ive now got a knoppix style install on the hd which runs ok. strange thing is that live cd gives me a bad display
    the debian one seemed to detect it better and used the right setup or driver.

    now all i have to do is try installing a few progs and get them working.

Similar Threads

  1. using hardware...
    By Phantom69 in forum General Support
    Replies: 0
    Last Post: 10-22-2005, 11:13 AM
  2. Hardware modem here..
    By tkienzle in forum Hardware & Booting
    Replies: 1
    Last Post: 07-20-2005, 01:49 AM
  3. Add special hardware to the hardware detection on boot
    By Danmak in forum Hardware & Booting
    Replies: 3
    Last Post: 12-01-2003, 03:40 AM
  4. hardware
    By nitrousracer2000 in forum Hardware & Booting
    Replies: 1
    Last Post: 03-23-2003, 11:45 AM
  5. Hardware?
    By AdamTruth in forum Hardware & Booting
    Replies: 0
    Last Post: 01-25-2003, 03:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


HPGYT DELL 960GB SATA 6Gb/s 2.5in Internal SSD 0HPGYT MTFDDAK960TCB picture

HPGYT DELL 960GB SATA 6Gb/s 2.5in Internal SSD 0HPGYT MTFDDAK960TCB

$59.00



G5T03 Dell Intel DC S3700 Series 800GB SATA 6Gb/s 2.5

G5T03 Dell Intel DC S3700 Series 800GB SATA 6Gb/s 2.5" SSD 0G5T03 SSDSC2BA800G3E

$55.00



Samsung 1.6TB PM1735 PCIE SSD HHHL PCIE4.0 SOLID STATE DERIVE MZPLJ1T6HBJR-00AD3 picture

Samsung 1.6TB PM1735 PCIE SSD HHHL PCIE4.0 SOLID STATE DERIVE MZPLJ1T6HBJR-00AD3

$256.00



1TB Samsung 840 EVO Internal 2.5

1TB Samsung 840 EVO Internal 2.5" SATA III SSD MZ7TE1T0HMHP Solid State Drive

$78.95



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$14.99



PNY 500GB SSD SATA III 2.5

PNY 500GB SSD SATA III 2.5" Hard Drive | SSD7CS900-500-RB

$25.00



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$13.99



Samsung - 980 PRO 1TB Internal Gaming SSD PCIe Gen 4 x4 NVMe picture

Samsung - 980 PRO 1TB Internal Gaming SSD PCIe Gen 4 x4 NVMe

$109.99



4 TB SSD SATA III Drive 2.5

4 TB SSD SATA III Drive 2.5" Solid State Drive SATAIII 6Gb/s UP to 540MB/s

$149.00



Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5

Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5" SATA III 6GB/s for PC/MAC Lot

$197.99