Closed Thread
Results 1 to 7 of 7

Thread: Research Project: Interfacing with a CD/DVD Writer Device Driver

  1. #1
    Dahsar is offline Newbie
    Join Date
    Jun 2009
    Posts
    6
    Rep Power
    0

    Question Research Project: Interfacing with a CD/DVD Writer Device Driver

    Hello,

    I am an engineering student conducting research at a university this summer. In order to progress in this research, I need to develop some program that can interface with the driver to a cd burner so that I can control the laser manually. So before I develop a program that times the laser's movement accordingly, I need some way to communicate with the driver.

    Does anyone know how I should go about doing this? Any input would be greatly appreciated.


    Thanks!

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Posts
    16,494
    Blog Entries
    75
    Rep Power
    143

    Re: Research Project: Interfacing with a CD/DVD Writer Device Driver

    It will depend a LOT on the driver for the DVD writer. Have you gone to the website of the developer?
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  4. #3
    Dahsar is offline Newbie
    Join Date
    Jun 2009
    Posts
    6
    Rep Power
    0

    Re: Research Project: Interfacing with a CD/DVD Writer Device Driver

    Currently, I am not sure what computer I will be working with that uses this dvd writer. However, I am sure that I would like to install Linux on whatever computer it is, because it is free of anything proprietary. Before I determine the maker of the writer, is there any further information you can give me so I can get started? Anything in general that can help me achieve this goal?

    Thank you,

    Rashad

  5. #4
    Join Date
    Jul 2006
    Posts
    16,494
    Blog Entries
    75
    Rep Power
    143

    Re: Research Project: Interfacing with a CD/DVD Writer Device Driver

    Because the driver will determine what functionality is exposed, that's really the first step. You may be looking at rewriting the driver, or may not even be able to do this.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  6. #5
    Dahsar is offline Newbie
    Join Date
    Jun 2009
    Posts
    6
    Rep Power
    0

    Re: Research Project: Interfacing with a CD/DVD Writer Device Driver

    It is a Samsung SH-S182M DVD-ROM. It seems that the previous researcher from last year could not access the writer in the way he wanted, because of security features enabled. Apparently he could not make changes when a cd was not inserted in the drive. He writes on he tried to circumvent this:

    "Unable to gain complete control over the DVD-Rom, I then attempted to access from a hardware approach. Primarily, we took the DVD-Rom apart and removed everything useless to us and left only a tray which the laser diode and a motor is mounted to. The purpose for dissembling the DVD-Rom was to allow us to control the system through analogue input (apply voltage/current sources to the laser diode and the motor). To control the laser diode, I used a programmable power supply that provides a voltage potential across the diode’s leads to turn it on and adjust laser’s output power. To control the motor, I purchased a bipolar stepper motor controller from ‘OceanControls Inc’. Finally, I wrote a device driver in labview that communicates with both the programmable power supply and bipolar stepper motor controller through serial ports; this ultimately allows me to control the entire experiment with my computer. "

    However, I have no knowledge as to how he used LabView to make a driver to connect to the serial ports. Is it possible that you can create a Linux device driver for serial ports?

    Or do you think that these these security mechanisms can be circumvented by using a Linux device driver in the first place?

  7. #6
    Join Date
    Jul 2006
    Posts
    16,494
    Blog Entries
    75
    Rep Power
    143

    Re: Research Project: Interfacing with a CD/DVD Writer Device Driver

    Quote Originally Posted by Dahsar View Post
    However, I have no knowledge as to how he used LabView to make a driver to connect to the serial ports. Is it possible that you can create a Linux device driver for serial ports?
    I can almost guarantee the answer to this is yes.

    Quote Originally Posted by Dahsar View Post
    Or do you think that these these security mechanisms can be circumvented by using a Linux device driver in the first place?
    That depends on the hardware. If the DVD-Rom has the security mechanisms in the firmware, no. If they are in the driver, then you may be able to open the driver and remove them.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  8. #7
    Dahsar is offline Newbie
    Join Date
    Jun 2009
    Posts
    6
    Rep Power
    0

    Re: Research Project: Interfacing with a CD/DVD Writer Device Driver

    I have been reading numerous literature concerning Linux device drivers and how to develop them. However, after gaining some understanding as to what a serial port device driver is and what categories they go under (character device drivers, more specifically ttyS device drivers), I began to contemplate why would I need to develop a device driver unique to this setup if it is simply following the protocol of a standard serial port? Wouldn't I simply have to call the device driver for serial ports in linux to get a signal sent through? If so, how would I go about calling the driver?

    Thanks,

    Dahsar

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. my device driver is dropping characters
    By onus in forum C and C++
    Replies: 10
    Last Post: 09-26-2010, 09:29 AM
  2. Replies: 0
    Last Post: 06-25-2010, 01:45 AM
  3. USB device driver in linux
    By B-80 in forum C and C++
    Replies: 5
    Last Post: 06-02-2010, 04:21 AM
  4. Replies: 3
    Last Post: 03-22-2010, 05:12 PM
  5. Sending output to a device driver
    By DarkLordoftheMonkeys in forum Linux Programming and Scripting
    Replies: 3
    Last Post: 02-19-2010, 08:08 AM

Tags for this Thread

Bookmarks

Posting Permissions

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