public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Joerg Platte <lists@naasa.net>
To: linux-kernel@vger.kernel.org
Subject: 2.6.23-rcX SG_GET_SCSI_ID regression?
Date: Wed, 3 Oct 2007 12:58:45 +0200	[thread overview]
Message-ID: <200710031258.46266.lists@naasa.net> (raw)

Hi,

sane is not able to detect my old SCSI scanner with kernel 2.6.23-rc9. The 
scanner was found with 2.6.22.8. According to strace the behavior of the 
SG_GET_SCSI_ID ioctl changed:

2.6.22.8:
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = 3
ioctl(3, SG_SET_TIMEOUT, 0xbfe40624)    = 0
ioctl(3, SG_GET_VERSION_NUM, 0x8063fa4) = 0
ioctl(3, SG_GET_SCSI_ID, 0xbfe405e0)    = 0

2.6.23-rc9:
open("/dev/scanner", O_RDWR|O_NONBLOCK|O_EXCL) = 3
ioctl(3, SG_SET_TIMEOUT, 0xbf84a834)    = 0
ioctl(3, SG_GET_VERSION_NUM, 0x8062524) = 0
ioctl(3, SG_GET_SCSI_ID, 0xbf84a7f0)    = -1 ENOTTY (Inappropriate ioctl for 
device)

Is this an intentional change?

regards,
Jörg

-- 
PGP Key: send mail with subject 'SEND PGP-KEY' PGP Key-ID: FD 4E 21 1D
PGP Fingerprint: 388A872AFC5649D3 BCEC65778BE0C605


             reply	other threads:[~2007-10-03 11:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-03 10:58 Joerg Platte [this message]
2007-10-03 12:52 ` 2.6.23-rcX SG_GET_SCSI_ID regression? Joerg Platte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200710031258.46266.lists@naasa.net \
    --to=lists@naasa.net \
    --cc=jplatte@naasa.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox