PDA

View Full Version : How do can I get Ubuntu to list all the drivers in use?



MasterNetra
June 14th, 2009, 06:43 PM
I was thinking about setting up a partition for Arch and giving it ago, but off hand I don't know all the drivers Ubuntu is using for my system. So I was wondering if I could get it to simply display them all and prehaps a brief desc? Oppose to hunting in synaptic for them and possibly missing some that maybe critical.

blueturtl
June 14th, 2009, 07:13 PM
You're probably looking for the 'lsmod' command. It will list all modules plugged into the kernel. However since modules are not necessarily separate downloads, you will have to research which modules are "in stock" and which are included in extra repository packages.

For example I discovered under Debian that if I wanted to use webcams, I had to install a package called gspca-modules which installs all the web cam related module files.

.Maleficus.
June 14th, 2009, 07:17 PM
Arch isn't like Gentoo in the sense that you need to know EVERYTHING about your system. Like Ubuntu, Arch has most the the "common" kernel modules built in, and you're unlikely to have any hardware issues (or at least I didn't on any of the 6 machines Arch has been on). Like blueturtl said, 'lsmod' will show all of the modules currently loaded though.


Edit: And if you do have any troubles, 'modprobe xxx' will load a module and 'rmmod xxx' will unload a module.

MasterNetra
June 14th, 2009, 07:19 PM
You're probably looking for the 'lsmod' command. It will list all modules plugged into the kernel. However since modules are not necessarily separate downloads, you will have to research which modules are "in stock" and which are included in extra repository packages.

For example I discovered under Debian that if I wanted to use webcams, I had to install a package called gspca-modules which installs all the web cam related module files.

Xorg isn't even in that list don't look like what I'm looking for. When installing Arch it would help to know the packages I need to and should install for my Dell Latitude D530 ^.^


Arch isn't like Gentoo in the sense that you need to know EVERYTHING about your system. Like Ubuntu, Arch has most the the "common" kernel modules built in, and you're unlikely to have any hardware issues (or at least I didn't on any of the 6 machines Arch has been on). Like blueturtl said, 'lsmod' will show all of the modules currently loaded though.


Edit: And if you do have any troubles, 'modprobe xxx' will load a module and 'rmmod xxx' will unload a module.

Perhaps I didn't make myself clear, if thats the case my apologize. Possibily a more accurate question would be. "Is there a way to see all the driver packages that Ubuntu uses?" Like xorg for example, with them displaying the full package name of course. ^.^

anystupidname
June 14th, 2009, 07:24 PM
Others answered the first part of your question better than I could. To answer the second part, "modinfo -d <module name>" will give you the short description.

Skripka
June 14th, 2009, 07:26 PM
Xorg isn't even in that list don't look like what I'm looking for. When installing Arch it would help to know the packages I need to and should install for my Dell Latitude D530 ^.^



Perhaps I didn't make myself clear, if thats the case my apologize. Possibily a more accurate question would be. "Is there a way to see all the driver packages that Ubuntu uses?" Like xorg for example, with them displaying the full package name of course. ^.^

In all honesty, if you follow the Arch Beginner's Wiki document top to bottom, you should have a system with most all the Core things you need.

Some niceties like on demand CPU scaling are easy to do-and in the Arch Wiki.

anystupidname
June 14th, 2009, 07:30 PM
Xorg isn't even in that list don't look like what I'm looking for. When installing Arch it would help to know the packages I need to and should install for my Dell Latitude D530 ^.^

Perhaps I didn't make myself clear, if thats the case my apologize. Possibily a more accurate question would be. "Is there a way to see all the driver packages that Ubuntu uses?" Like xorg for example, with them displaying the full package name of course. ^.^

After reading your followup post, I'm thinking you're looking more for something like "apt-show-versions" in combination with "aptitude show <package>"

MasterNetra
June 14th, 2009, 07:31 PM
In all honesty, if you follow the Arch Beginner's Wiki document top to bottom, you should have a system with most all the Core things you need.

Some niceties like on demand CPU scaling are easy to do-and in the Arch Wiki.

Does the Arch CD come with the Broadcom STA wireless driver do you know? I generally have to connect wirelessly :/

Skripka
June 14th, 2009, 07:36 PM
Does the Arch CD come with the Broadcom STA wireless driver do you know? I generally have to connect wirelessly :/

From the linky in my sig ;)

http://wiki.archlinux.org/index.php/Beginners_Guide#Wireless_Quickstart_For_the_Live_E nvironment_.28If_you_need_wireless_connectivity_du ring_the_installation_process.29

mikewhatever
June 14th, 2009, 07:46 PM
I was thinking about setting up a partition for Arch and giving it ago, but off hand I don't know all the drivers Ubuntu is using for my system. So I was wondering if I could get it to simply display them all and prehaps a brief desc? Oppose to hunting in synaptic for them and possibly missing some that maybe critical.

sudo lshw | grep driver

Sealbhach
June 14th, 2009, 07:55 PM
Yes, or simply run lshw it lists your hardware and gives the driver used for each piece.

.

MasterNetra
June 14th, 2009, 08:12 PM
From the linky in my sig ;)

http://wiki.archlinux.org/index.php/Beginners_Guide#Wireless_Quickstart_For_the_Live_E nvironment_.28If_you_need_wireless_connectivity_du ring_the_installation_process.29

Thanks, it lead me (eventully) to where I needed to see for the wireless. which was: http://wiki.archlinux.org/index.php/Broadcom_BCM4312 ^.^

MasterNetra
June 14th, 2009, 08:46 PM
Could I edit Arch's iso with a archiver to throw in the wireless tarball so i can extract it accordingly and install it? Or would that be a bad idea? I tried looking at: https://help.ubuntu.com/community/LiveCDCustomization but it served only to confuse me. I think a more basic and simple tutorial is required for extracting and Puting together a generic iso... With windows you could use some iso program to drag and drop files into a iso to be created, but meh.

Never mind found this: http://ubuntuforums.org/archive/index.php/t-6509.html