| View previous topic :: View next topic |
| Author |
Message |
hairymunky

Joined: Sun Apr 17, 2005 6:50 pm Posts: 59
|
Posted: Tue May 17, 2005 8:44 pm Post subject: detecting dvd drive in C++ |
|
|
Hi all,
Anybody know how to (auto)detect a machines dvd-row/writer in c++ (or c), and also how to mount, unmount and eject the drive once its detected...?
(ie my machine the DVDr is /media/cdrecorder (although its a dvd-writer) and it
is on /dev/hdd) . This information would be sent to a list box in my KDE app.
tia
Graham _________________ Linux powered Astronomy |
|
| Back to top |
|
 |
hairymunky

Joined: Sun Apr 17, 2005 6:50 pm Posts: 59
|
Posted: Sun May 29, 2005 4:45 pm Post subject: |
|
|
done it
although it's a bit of a hack just now, Im using "/dev/dvd" for my device and all is fine,
for the meantime  _________________ Linux powered Astronomy |
|
| Back to top |
|
 |
wiz LXF regular
Joined: Thu Apr 07, 2005 7:20 pm Posts: 119 Location: In front of a computer
|
Posted: Sun May 29, 2005 8:36 pm Post subject: |
|
|
| Yes,yes,yes! But how did you do it? |
|
| Back to top |
|
 |
hairymunky

Joined: Sun Apr 17, 2005 6:50 pm Posts: 59
|
Posted: Wed Jun 15, 2005 8:20 am Post subject: |
|
|
Using dvdread library and passing in "/dev/dvd" as the device  _________________ Linux powered Astronomy |
|
| Back to top |
|
 |
wiz LXF regular
Joined: Thu Apr 07, 2005 7:20 pm Posts: 119 Location: In front of a computer
|
Posted: Wed Jun 15, 2005 5:34 pm Post subject: |
|
|
Thanks.. I think  |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|