03-15-2011
In unix (I guess it is like linux) all devices are files which you can open for read and write streaming, placed on /dev/ folder.
If you want to do a driver, you need to read and write the file that is linked to the printer.
By the way, it is so tedious, more tedious if you don't even know how the printer interacts with USB.
4 More Discussions You Might Find Interesting
1. Solaris
I've been researching minimizeing Solaris 8 and found that on the web page http://www.sun.com/bigadmin/content/packagelist/s8u7PkgList/p2.html the package SUNWglmr
is listed as "rasctrl environment monitoring driver for i2c, (Root) (32-bit)" while in the document "Solaris 8 minimize-updt1.pdf"... (1 Reply)
Discussion started by: roygoodwin
1 Replies
2. UNIX for Advanced & Expert Users
Hi All,
I have a device driver that uses UARTserial port to write/read to-from a device.
That device driver is working fine on FC3 machine( kernel version 2.6.12)...
Now I am switching to FC9 (kernel version 2.6.25.11-97).I have changed the interrupt flag SA_INTERRUPT to IRQF_DISABLED... (0 Replies)
Discussion started by: rajuprade
0 Replies
3. Programming
Hi All,
I have a device driver that uses UARTserial port to write/read to-from a device.
That device driver is working fine on FC3 machine( kernel version 2.6.12)...
Now I am switching to FC9 (kernel version 2.6.25.11-97).I have changed the interrupt flag SA_INTERRUPT to IRQF_DISABLED... (0 Replies)
Discussion started by: rajuprade
0 Replies
4. UNIX for Advanced & Expert Users
Can anybody get me some sample driver code of linux block drivers to send request to scsi disks?
Basically I need a sample code of linux scsi block driver.
I tried googling for sample code but did not find it. (1 Reply)
Discussion started by: rupeshkp728
1 Replies
UDAV(4) BSD Kernel Interfaces Manual UDAV(4)
NAME
udav -- Davicom DM9601 USB Ethernet driver
SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:
device ehci
device uhci
device ohci
device usb
device miibus
device udav
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
if_udav_load="YES"
HARDWARE
The udav driver supports the following adapters:
o Corega FEther USB-TXC
o ShanTou ST268 USB NIC
DESCRIPTION
The udav driver provides support for USB Ethernet adapters based on the Davicom DM9601 chipset.
For more information on configuring this device, see ifconfig(8).
SEE ALSO
altq(4), arp(4), miibus(4), netintro(4), ng_ether(4), usb(4), ifconfig(8)
Davicom DM9601 data sheet, http://ptm2.cc.utu.fi/ftp/network/cards/DM9601/From_NET/DM9601-DS-P01-930914.pdf.
HISTORY
The udav device driver first appeared in NetBSD 2.0.
AUTHORS
The udav driver was written by Shingo WATANABE <nabe@nabechan.org>.
BSD
July 16, 2005 BSD