Debian :: List Hardware Devices And Their Drivers?
Sep 28, 2010
I would like to display hardware devices and their drivers in Debian. Sth similar to windows 'Device Manager' not necessarily must be in gui version. What kind of cmds I should use to be able to display hardware detected by HAL and their drivers ?
I have been administering linux systems for years now, but usually they are commodity boxes and as a result I rarely have driver problems, short of needing to install some "restricted" or "proprietary" driver package, or manually installing the nvidia binary drivers back in the day. However, one question to which I have never picked up a straight answer regards common troubleshooting practice. Will lsusb and lspci list device for which a system has no drivers (kernel modules)? I am trying to install a webcam on a SiS-chipset laptop and though I can see a physical webcam, neither lsusb or lspci are showing me that any webcam-like device exists. What I want to know is if it would show anything, or if it needs drivers in order to show a device?
I would like to ping all my virtual hosts in virtual machine server with a oneliner. For example like this:
Code:
for i in $(seq 1 20); do if [[ $(ping host$i.virtualhostserver.com -c 2 2>/dev/null | grep "2 received") == "2 packets transmitted" ]]; then echo $i; fi; done
The problem is, that I'm afraid my if-sentence is somewhat wrong because it never gets a match even if I know, that host is up.
I get ubuntu 10.04 LTS installed on my PC and laptop , and I tried ubuntu one.It worked and I want to have a test, so I removed the two devices that already subscribed to my ubuntu one account, after that, I found I can't get them subscribed back.Everytime I start ubuntu one preference , I'll get the error message: got empty result for devices list.How can I add my two devices back to my ubuntu one account (I googled a lot and found that someone pointed that delete the ubuntu one's key will work, so if this is the right solution, how to delete it?
Here's what I a running dell n series Inspiron 910 ubuntu hardy heron the following codes read : aplay -l **** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 1: ALC268 Digital [ALC268 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0
aplay -L default:CARD=Intel HDA Intel, ALC268 Analog Default Audio Device front:CARD=Intel,DEV=0 HDA Intel, ALC268 Analog Front speakers surround40:CARD=Intel,DEV=0 HDA Intel, ALC268 Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=Intel,DEV=0 HDA Intel, ALC268 Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=Intel,DEV=0 HDA Intel, ALC268 Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=Intel,DEV=0 HDA Intel, ALC268 Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=Intel,DEV=0 HDA Intel, ALC268 Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers null Discard all samples (playback) or generate zero samples (capture) .....
Is there a terminal command or application to browse attached firewire devices in the likes of lspci and lsusb? I'd like to view elementary device information such as the ID, manufacturer, and the like.
I want to know that is there any command by which i can check which type of hardware devices are installed in my Linux box like SVGA,Sound Card,LAN Card.
This is probably me looking but not seeing an option somewhere. I re-installed 10.10 over 10.04 by formatting the root partition but keeping the home partition the same, to save me a lot of work. (64 bit) However, now when I mount a CD, DVD or USB stick, they don't appear in Dophin's "Places" window. What have I missed please?
After I installed my ati grapics driver (the ati driver from the ati website) my ubuntu has this weird problem. When loading there is a line that cought my attention: Running DKMS auto installation service for kernel 2.6.34: fglrx (8.543)...Failed
I think that has something todo with the other error I get which is: Primary device is not PCI (EE No devices detected) Fatal server error no screens found giving up. I have an ATI 5650 Radeon mobile grapics card By the way.
As the title says the machine name is not showing up in the attached devices list on my router. Is there a file where I need to add the name? Or is this an issue with the router? The router finds all the other machine names on the network except my 3 servers.
When you download linux drivers for devices such as wireless dongles, you'll get a folder full of random files that I'm assuming oyu need to compile? How do you install a wireless driver in linux?
I'm having issues getting the nvidia-current drivers working with a GeForce 8400 graphics card on Ubuntu 10.10 (x64). After running nvidia-xconfig and restarting, X fails to start with an error: No devices detected.
Here is my xorg.conf:
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 260.19.06 (buildmeister@builder101) Mon Sep 13 04:59:45 PDT 2010 Section "ServerLayout"
How can I get a list of what X video drivers are on my system? Preferably not using a package manager (since I'm not sure I trust it to not miss stuff like the nvidia driver). Googling didn't give anything useful .
I have tried several times to get Ubuntu to work on my SX3, and I gave it a serious attempt today to see if I could get things working, I'm getting a new hard drive so this is Ubuntu's last chance - for a while at least.
I've gotten past all the minor inconveniences and has it set up like I want it, but my problem is drivers. If I go to System - Drivers I get a grand list of 0 drivers on my system. Things like the touchpad, bluetooth and WLAN are working, but any function keys, brightness control keys etc are useless. In addition it either doesn't have, or is running on really bad drivers for my screen and graphic card. My screen comes up as "unknown" - though it's usable. Scrolling is not a matter of scrolling, but "jumping", and the computer is generally kinda sluggish (which is odd since it's running quite fine on Windows 7) and attempting to play any video file, on any media player - or even ..... - gives you a fps of about 0.1. (sound's working perfectly though)
I noticed some thread about laptops that are incompatible with Ubuntu somewhere, Is there anything that can be done about this or should I just give up and go back to Windows 7? Kohjinsha has drivers for XP, Vista, and 7, as a side-note, if it matters.
I don't have an opportunity to check it out now... Does Debian 6 testing mount inserted CDs/Flash-drives automatically like Ubuntu does? Or the only way to mount them after inserting is to use mount command?
I use Debian 8.2 without DE. I can mount removable devices (USB sticks, external HDDs) manually using mount/umount to specific folders under /mnt or /media. But I want them mount automatically when plugged-in as /media/disk-label. Also I want to be able safely remove already mounted devices without data loss.As I understand, I need to create custom UDEV rule and associate it with mount/umount scripts. E.g. mount script
Code: Select all#!/bin/sh
mount_point=$ID_FS_LABEL if [ -z $mount_point ]; then mount_point=${DEVNAME##*/} fi # retrieve gid of the plugdev group and set it as owner of mountpoint plugdev_gid="$(grep plugdev /etc/group|cut -f3 -d:)" if [ -z $plugdev_gid ]; then
[code]....
Is this safe and correct approach or it is better to use something else?
I'm using a Dell SC440 server for this effort. I started with Debian 6.0.7 32 bit i386 version in mid April and everything seemed to go smoothly until the first boot finished, I wanted to look at the hard drive just to see what storage space was left to work with. The drive was not recognized and I could not mount it. The error message was "One or More Block Devices are Holding /dev/dm-0".
I could not find anything on the debian forums that seemed to relate to the error message so Google led me to the same problem on Fedora, Ubuntu and one other distro. I flattened the machine and restarted from scratch. This time using Debian 6.0.7 AMD64 version. The install went well but I had the same problem with the same results. So I started over several more times before the new Debian 7.0 AMD64 version was released. Under Debian 7.0 I not only get the same error message but I also get a message that my video card is not supported under this new version of gnome and sudo does not work.
I would like to create a logon script, for specific user, under ssh connection, to backup several directories in a USB device; this backup will run when the device was plugged in and the user logs in server. My knowledge of linux isn't very deeply now, and some questions are in my head. I would like to make this in a chroot jail, and the user log in through ssh connection doesn't have to make nothing, the logon script will mount the USB device and make the backup (using rsync or whatever), and exit the ssh connection when it finish.
But the questions are:
- is possible to a user in a chroot jail mount a USB device?
- from this jail, the directories outside of the jail could be available or need to be bind or something for this task?
- it will be better to "jail" all the directories to backup, inside de chroot path (almost would be samba sharing for Windows clients)?
I'm trying to assign pci devices to pci-stub at boot before any of the kernel drivers can access it. I've successfully managed to do this on a Ubuntu system but I cannot get it to work on Debian. I've set pci-stub to load as a module in /etc/modules. I've then tried both these methods:
Add pci_stub ids=8086:100f to /etc/initramfs-tools/modulesSet GRUB_CMDLINE_LINUX_DEFAULT="pci_stub.ids=8086:100f" in /etc/default/grub.
Both give the same result after updating grub/initramfs and a reboot: when I check "dmesg | grep pci-stub" I get:
The actual device id's are not claimed by stub. Same for lspci -v which shows that the devices are still using the kernel drivers.Again, this configuration works on Ubuntu. Also issuing the following commands successfully assigns one of the devices to pci-stub but I need it to work on boot before the kernel drivers load:
I've encountered this problem twice. Sometimes Phonon is listing so many devices like this: [URL] ....
Usually there are just two devices like this: [URL] ....
When there are so many devices listed the volume control by using volume keys is different. It's usually up or down by 5%, but if the condition is like that the volume not up or down by 5%.
I've never encountered this kind of problem in other KDE distros. I'm using Jessie.
On a fresh install of squeeze (with the exception of some installed video firmware and the latest updates from the repos) from the kde cd.
System is running an ASUS Sk8V motherboard with onboard sound, also a SB Audigy 2 ZS sound card. Speakers are plugged into the sound card.
Sound worked fine before in Lenny except I had to create /etc/modprobe.d/sound with the following to get the system to prioritize the SB card over the onboard audio
I use gMTP for transferring files between tablet/ phone and my PC. Since like a week ago when I try to connect, I get "Detect: No raw devices found" error.
lsusb -v -d 2970:2008 returned Code: Select allBus 003 Device 009: ID 2970:2008 Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00
I've got 2 problems:1. How can I use the find command to search for devices files?2. I need to find all files thaare 6 months (or more) old and that have a size of 2 Mo or more. What would the code look like?Oh and also, how can I use the cat command to insert text in a file?
I've been keeping my feet wet learning Debian. So far only in a virtual machine but I have had that machine running every day. I'm running a Lenny/Squeeze mix.The system is running well, yet every time I reboot or halt the system there is a long pause at the "Deconfiguring network devices" message. I traced the message to S35networking. With this virtual machine, which is a model for my eventual physical machine installation, I have only a single wired eth0 NIC (pcnet32).
I'll take a wild guess the script might be trying to find additional cards to halt, or perhaps a wireless card that does not exist, but that is just a guess. I'm stil learning my way around with how the init.d scripts and various /etc config files interact.I'm using a static IP address. DHCP is disabled, as far as I can tell. I did not notice anything in the logs.
I have a sony x10mini and it is correctly seen in nautilus and shotwell. But nor in banshee 1.6 (testing and sid) nor in 1.9 (experimental) is mounted. Fact is that I know it works for sure in fedora and debian so I wonder if it a problem of some dependency missing, configuration or permissions. I use the testing distro by the way...