View previous topic :: View next topic |
Author |
Message |
dirtbag Guru
Joined: 18 Feb 2003 Posts: 508 Location: NC
|
Posted: Sat Apr 19, 2003 12:10 am Post subject: gentoo wont recognize dvd drive |
|
|
have an ibm T30 laptop
in dmesg, I get
laptop dev # dmesg | grep -i dvd
hdc: HL-DT-STDVD-ROM GDR8081N, ATAPI CD/DVD-ROM drive
laptop dev #
but theres no /dev/hdc or /dev/cdrom
am I missing kernel modules or what?
-DB |
|
Back to top |
|
|
David_Escott l33t
Joined: 12 Jan 2003 Posts: 952 Location: Boston, MA
|
Posted: Sat Apr 19, 2003 1:29 am Post subject: |
|
|
Do you have /etc/devfsd.conf set up correctly?
Code: |
# Create /dev/dvd for the second cdrom drive
# (change 'cdroms/cdrom1' to suite your setup)
LOOKUP ^dvd$ CFUNCTION GLOBAL mksymlink cdroms/cdrom0 dvd
REGISTER ^cdrom/cdrom0$ CFUNCTION GLOBAL mksymlink $devname dvd
UNREGISTER ^cdrom/cdrom0$ CFUNCTION GLOBAL unlink dvd
|
|
|
Back to top |
|
|
dirtbag Guru
Joined: 18 Feb 2003 Posts: 508 Location: NC
|
Posted: Sat Apr 19, 2003 1:40 am Post subject: the case is solved... kinda |
|
|
so I found out that I wasnt loading the following modules
insmod cdrom.o
insmod ide-cd.o
after I loaded those, the /dev/cdrom/cdrom0 showed up
so I now have those insmod statements in /etc/conf.d/local.start
Im sure theres a mo-better place to put these, right? |
|
Back to top |
|
|
David_Escott l33t
Joined: 12 Jan 2003 Posts: 952 Location: Boston, MA
|
Posted: Sat Apr 19, 2003 1:42 am Post subject: |
|
|
Put the module names that your want to load (in this case ide-cd and cdrom) in /etc/modules.autoload |
|
Back to top |
|
|
|