Using a usb compact flash card reader

2004-01-11 Thread Thomas Pasch
Hello,

I'm successfully using a usb compact flash card reader
with FreeBSD-5.2-RC2/amd64. It is a _intern_ reader 
(and because of this constantly attached to the usb bus).

However, I can only use it when I plug the memory card
in BEFORE BOOTING. When I try to attach the memory
card later, it will not be found.

I wonder if a could use the camcontrol command somehow
to simulate the reattachment of the usb device so that my
card gets recognized even if I plug it in AFTER BOOT.

For this to happen, I should somehow query the device size
like it is done in the following snippet of dmesg:

GEOM: create disk da0 dp=0xff001da24c68
GEOM: create disk da1 dp=0xffbb2868
GEOM: create disk da2 dp=0xffc53468
GEOM: create disk da3 dp=0xffc74068
da0 at umass-sim0 bus 0 target 0 lun 0
da0: IC USB Storage-CFC 301b Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 244MB (500736 512 byte sectors: 64H 32S/T 244C)
da1 at umass-sim0 bus 0 target 0 lun 1
da1: IC USB Storage-SMC 301b Removable Direct Access SCSI-0 device
da1: 1.000MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present

Anyone got an idea. 

Cheers,

Thomas

PS:
Yes, I tried camcontrol rescan 0:0:0 and camcontrol start 0:0:0 
but nothing much happend.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sane USB problem with HP ScanJet 5300C on FreeBSD-5.2-RC2/amd64

2004-01-11 Thread Thomas Pasch
Hello,
 
 I'm trying to get my scanner to work on FreeBSD 5.2-RC2/amd64. I can see
 the scanner with sane-find-scanner and usbdevs but scanimage seems to hang.
 
 I'm using the sane-backends-1.0.12_3 and sane-frontends-1.0.11 and
 libusb-0.1.7_1 from the package tree (but also tried ports and a newer
 backends version as well).
 
 See attached the DEBUG output of scanimage -L. For me it looks like
 the scanner is found and a request is written to it, but there is never an
 anwer.
 
 Beside, how do I use libusb on 5.2? The man pages are saying something
 about creating /dev/ugen* but as 5.2 uses devfs, you can't create it and it
 isn't there.
 
 Cheers,
 
 aanno
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]