hope for scanner w/ psc 1350 on freebsd

Lars Eighner <[email protected]> Wed, 4 May 2005 16:42:10 -0500 (CDT)
Newsgroups gmane.linux.drivers.hpofficejet.devel
Message-ID <[email protected]>
I am hoping to use the scanner/cardreader functions of my
psc 1350 all-in-one with freebsd.  These functions work flawless
with my broken OS, so I would like them to work with the OS 
I actually use.

I obtained the printer functions with a combination of hpijs,
cups, and foomatic-filters from the freebsd ports.

I have install hpoj, devel/libusb, and sane frontends and
backends from the freebsd ports.  But ptal-init cannot find the
scanner.

This is my system (uname -a output)

FreeBSD goodwill.io.com 5.4-STABLE FreeBSD 5.4-STABLE #5:\
  Mon Apr 25 09:39:03 CDT 2005\
      [email protected]:/usr/obj/usr/src/sys/GENERIC  i386

The kernel is generic with USB 2.0 enabled.  The results below
are similar whether or not the printer is plugged into a USB 1
or USB 2 port and whether or not I use the plain-vanilla generic
kernel or the one with USB 2 enabled.

These appear to be the relevant parts of dmesg


usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: <VIA VT6202 USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered


ulpt0: hp psc 1300 series, rev 2.00/1.00, addr 2, iclass 255/204
ulpt0: using bi-directional mode

### printer function found - this works on both usb ports and
### with both kernels.

umass0: hp psc 1300 series, rev 2.00/1.00, addr 2

### evidently umass identifies the scanner functions as a mass storage
### device  (which is the right answer for the photo card when in the
### camera, but evidently is not correct for the psc).

da0 at umass-sim0 bus 0 target 0 lun 0
da0: <HP  1.00> Removable Direct Access SCSI-2 device 
da0: 1.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 -> 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 -> 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 -> 6

### attached as a mass storage device at da0, umass continues to
### get wrong answers for the psc 1350

### I get similar messages whether or not a photocard is in the
### 1350, whether or not a document is loaded in the scanner,
### and whether or not the 1350 is recently powered up.

I get a similar set of messages when ptal-init probes /dev/ad0 .


-- 
Lars Eighner
[email protected]
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20