scanner question
#2
RE: scanner question
(05-24-2021, 09:03 AM)blaiserulez Wrote:  As root I had to create a /dev/scanner folder and a link to the /dev/scsi/sc2d1l0 item (this represent my scanner on the scsi controller2):
ln -s /dev/scsi/sc2d1l0 /dev/scanner

Are you sure /dev/scanner is supposed to be a "folder" (or "directory" as it is called in Unix)?  I would think that it should be a direct link /dev/scanner -> /dev/scsi/sc2d1l0.  In other words, you should NOT create the "folder" (or remove the existing one);  just type the "ln" command as given above to create a direct link rather than a link in a folder.  (But again, that's my speculation.  I'm not 100% sure of the above.)

(05-24-2021, 09:03 AM)blaiserulez Wrote:  The link is created (I see it with italic letters on the desktop) it is a 17Bytes file (link) permissions: rwx/r-x/r-x

The 17 bytes looks right.  The permissions don't.  I think they should be rw-rw-rw-.  I don't see why you'd need execute permission (the 'x' bit), but you would need write permission ('w') to send SCSI commands to it.  Try that first, before the above suggestion.

(05-24-2021, 09:03 AM)blaiserulez Wrote:  The original item in /dev/scsi/ is 0Bytes long and had the permissions rw-/---/--- as the other scsi items.

That is perfectly normal.  The files under /dev aren't real files.  They're special to the operating system kernel.

SGI:  Indigo, Indigo2, Octane, Origin 300
Sun:  SPARCstation 20 (x4), Ultra 2, Blade 2500, T5240
HP:  9000/380, 425e, C8000
Digital: DECstation 5000/125, PWS 600au
jpstewart
Developer

Trade Count: (1)
Posts: 444
Threads: 6
Joined: May 2018
Location: SW Ontario, CA
Find Reply
05-24-2021, 11:33 PM


Messages In This Thread
scanner question - by blaiserulez - 05-24-2021, 09:03 AM
RE: scanner question - by jpstewart - 05-24-2021, 11:33 PM
RE: scanner question - by blaiserulez - 05-25-2021, 06:04 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)