Sponsored Content
Full Discussion: linux device drivers
Top Forums Programming linux device drivers Post 302299078 by techlinux on Thursday 19th of March 2009 06:46:55 AM
Old 03-19-2009
This book provides some good insight into device drivers
Linux Device Drivers | O'Reilly Media
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

View device drivers?

I might sound stupid for asking, but could someone please tell me how to view all the device drivers? I'm just starting to use UNIX after using Windows for years. Thanks. -sysop0130 (1 Reply)
Discussion started by: sysop0130
1 Replies

2. Programming

Linux Device Drivers

Here is a cool book. And the price is right! Linux Device Drivers, 2nd Edition (0 Replies)
Discussion started by: Perderabo
0 Replies

3. Windows & DOS: Issues & Discussions

Are Your Device Drivers Wacked Or Hacked?

Suggestion. Besides running scans it is also a good thing to run "sigverif". This will create a list of ALL drivers on your system, signed and unsigned. The output is located in your C:Windowssigverif.txt file. It surprised me most people do not do this. Many trojans mask themselves as... (0 Replies)
Discussion started by: ZOverLord
0 Replies

4. Linux

Linux and Leaf Drivers?

Hi there, I thought a lot, wheather or not this thread belongs to this forum, hope I made the right choice. So my question: Is there such thing like leaf driver in Linux, in correspondance to the Solaris nexus/leaf device driver tree? I'm asking that in the context of writing a device driver... (3 Replies)
Discussion started by: boyanov
3 Replies

5. Ubuntu

Need Bcm43XX Linux drivers

Hey I am using HP pavilion Notebook, I installed linux on my laptop. But i am unable to connect to internet, can any body help me out to get wireless linux Broadcom drivers for my notebook. Thanks kumar (2 Replies)
Discussion started by: kumar_d
2 Replies

6. Solaris

writing device drivers,for a beginner!!!

Hi all, Please excuse me if this is not the right forum to ask my question. I would like to know more about writing device drivers for Unix,particularly Solaris 10. excuse me if am being vague, but I have absolutely no idea about how i can start. I did try to search for a beginners guide to... (1 Reply)
Discussion started by: wrapster
1 Replies

7. UNIX for Dummies Questions & Answers

wireless drivers for linux?

so i downloaded a linux today, but i ahve the problem that i cant connect to the internett becouse i need drivers. annyone know where i can get the drivers? (4 Replies)
Discussion started by: Morton
4 Replies

8. Solaris

SPARC and device drivers

Hello all, I'm new here.. Can you please help me with device driver on Solaris10, Sun SPARC server; I need to know how to test if a PCI card is recognized and has a working driver. How to do it? As it is, the driver seems to be 'not attached', but some say it could be because the PCI card is not... (10 Replies)
Discussion started by: orange47
10 Replies

9. UNIX for Advanced & Expert Users

Learn Linux File System and Device Drivers

I am to start working on two project on Linux Device Drivers and other on File System. So I got the book "Understanding Linux Kernel" by Daniel and Marco. But I am confused as how to proce Will anybody pls let me know how to go to about studying the chapter in this book? I mean the order in... (1 Reply)
Discussion started by: shefalibv
1 Replies

10. UNIX for Beginners Questions & Answers

See installed drivers in Linux

Hello everyone from Tenerife, Canary Islands. How can i see in Debian or similar operating system the installed drivers or controllers ? Best Regards https://image.ibb.co/kC5C87/winkho2.gif (1 Reply)
Discussion started by: JohnFissburyn
1 Replies
SG_RESET(8)							     SG3_UTILS							       SG_RESET(8)

NAME
sg_reset - sends SCSI device, bus or host reset; or checks reset state SYNOPSIS
sg_reset [-b] [-d] [-h] [-V] DEVICE DESCRIPTION
The sg_reset utility with no options (other than DEVICE) reports on the reset state (e.g. if a reset is underway) of DEVICE. When given a -d, -b, or -h option it requests a device, bus or host reset respectively. In the linux kernel 2.6 series this utility can be called on sd, sr (cd/dvd), st or sg device nodes; if the user has appropriate permis- sions. In the linux kernel 2.4 series support for this utility first appeared in lk 2.4.19 and could only be called on sg device nodes. Various vendors made this capability available in their kernels prior to lk 2.4.19. OPTIONS
-b attempt a SCSI bus reset. This would normally be tried if the device reset (i.e. option -d) was not successful. -d attempt a SCSI device reset. If the device seems stuck, this is the first reset that should be tried. This assumes the linux scsi mid level error handler is not already in the process of resetting DEVICE. -h attempt a host adapter reset. This would normally be tried if both device reset (i.e. option -d) and bus reset (i.e. option -b) were not successful. -V prints the version string then exits. NOTES
The error recovery code within the linux kernel when faced with SCSI commands timing out and no response from the device (LU), first tries a device reset and if that is not successful tries a bus reset. If that is not successful it tries a host reset. Users of this utility should check whether such a recovery is already underway before trying to reset with this utility. The "device,bus,host" order is also rec- ommended (i.e. first start with the smallest hammer). SAM-4 defines a hard reset (which includes a device power on and a transport reset), a logical unit reset and a I_T nexus reset. A LU reset and an I_T nexus reset can be requested via task management function (and support for LU reset is mandatory). In Linux the SCSI subsystem leaves it up to the low level drivers as to whether a "device reset" is only for the addressed LU or all the LUs in the device that con- tains the addressed LU. The "bus reset" is a transport reset. A "host reset" attempts to re-initialize the HBA that the request passes through on route to the DEVICE. Obviously a "host reset" and a "bus reset" can cause collateral damage. This utility does not allow individual SCSI commands (or tasks as they are called in SAM-4) to be aborted. SAM-4 defines ABORT TASK and ABORT TASK SET task management functions for that. AUTHORS
Written by Douglas Gilbert. COPYRIGHT
Copyright (C) 1999-2006 Douglas Gilbert This software is distributed under the GPL version 2. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR- POSE. sg3_utils-1.23 December 2006 SG_RESET(8)
All times are GMT -4. The time now is 09:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy