Problems with digital camera
Trey Sizemore
trey at fastmail.fm
Sat Jan 1 11:00:02 PST 2005
On Sat, 2005-01-01 at 13:43 -0500, Louis LeBlanc wrote:
> On 01/01/05 01:13 PM, Trey Sizemore sat at the `puter and typed:
> > On Sat, 2005-01-01 at 12:53 -0500, Louis LeBlanc wrote:
> >
> > > I have that same model. I never bothered to try hooking it directly
> > > to the USB port. The camera uses CompactFlash cards, so I picked up a
> > > SanDisk USB reader (Sandisk PN: SDDR-31) and hooked it to the USB
> > > port. All I needed in the kernel config was the umass device, which
> > > it sounds like you already have.
> > >
> > > Then I just mount the inserted card as a dos partition (usually
> > > /dev/da0s1) and I can move pics to my filesystem (mv, not cp). This cleans
> > > out the card and preserves the timestamp on the file, so I don't have
> > > to otherwise mar my pic with an auto date label to know when I took
> > > it.
> > >
> > > Another advantage, is you can buy a couple cards, and the camera isn't
> > > tied down for the upload.
> > >
> > > What may (or may not) be related, is that I have to have the reader
> > > mounted prior to boot, or the /dev/da0 device doesn't show in the /dev
> > > partition. When the card in inserted, it's detected and the
> > > /dev/da0s1 device appears. There may be a way to get the USB device
> > > to rescan, but I'm not that fluent with USB.
> > >
> > > I had the same setup on FreeBSD versions, 4.8, 4.9, 4.10, and now 5.3
> > > RELEASE. Works like a charm. And yes, I bought mine way back when it
> > > cost a good months rent :|
> > >
> > > Good luck.
> > > Lou
> >
> > Months rent...same here ;-)
> >
> > I have a SanDisk reader as well. Are you saying you plug the card in
> > the SanDisk reader and *then* boot? It won't work "on-the-fly"?
>
> No, my reader has to be plugged in at boot, but inserting the card
> works on the fly. Your device may be different, but mine has always
> been /dev/da0s1 for the card itself.
>
> The /dev partition is pretty manageable in 5.3, so you might try an
> ls /dev
> and look for /dev/da0*. It might just jump out at you. I do an ls
> before inserting the card, and I see da0, but not da0s1. After
> inserting the card, da0s1 is there. Sometimes it's instantaneous,
> other times it takes a couple attempts to mount, but it works.
>
> Perhaps someone else on the list will know how to get the reader
> detected on the fly without a reboot, or perhaps the command to check
> the reader for an inserted card?
>
> I had thought camcontrol was it, but it doesn't seem to recognize that
> the card was removed.
>
> Lou
Well, I've removed the entries in /boot/loader.conf (seemed redundant),
connected the SanDisk with card to the desktop, and rebooted. Here is
the output of dmesg (I also have a Epson Stylus C84 connected to the USB
hub and it doesn't appear to be detected either):
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004
root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2800.12-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf29 Stepping = 9
Features=0xbfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXS
R,SSE,SSE2,SS,HTT,TM,PBE>
real memory = 536805376 (511 MB)
avail memory = 515616768 (491 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <AMIINT VIA_P6> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA Generic host to PCI bridge> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcm0: <Creative EMU10K1> port 0xe800-0xe81f irq 11 at device 9.0 on pci0
pcm0: <SigmaTel STAC9708/11 AC97 Codec>
fwohci0: <NEC uPD72873> mem 0xdffff000-0xdfffffff irq 11 at device 10.0 on pci0
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:00:4c:02:00:00:00:90
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:00:4c:00:00:90
fwe0: Ethernet address: 02:00:4c:00:00:90
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
uhci0: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 5 at device 16.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 11 at device 16.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 11 at device 16.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 16.3 (no driver attached)
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8235 UDMA133 controller> port 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on p
ci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xd800-0xd8ff mem 0xdfffee00-0xdfffeeff irq 5 at device 18.0 on pci0
miibus0: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:0a:e6:6e:73:95
acpi_button1: <Sleep Button> on acpi0
fdc0: <floppy drive controller> port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
orm0: <ISA Option ROMs> at iomem 0xcf000-0xd2fff,0xc0000-0xcefff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 2800120244 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0%
ad0: 78533MB <HDS722580VLAT20/V32OA60A> [159560/16/63] at ata0-master UDMA100
acd0: DVDROM <SONY DVD-ROM DDU1612/DYS3> at ata1-master UDMA33
acd1: CDRW <SONY CD-RW CRX230E/QYS1> at ata1-slave UDMA33
Mounting root from ufs:/dev/ad0s1a
________________________________________________________________
Hmmmm.....ideas?
--
Cheers,
Trey
---
No lake so still but that it has its wave;
No circle so perfect but that it has a blur.
I would change things for you if I could;
As I can't, you must take them as they are.
-Han fei Tzu
2:00PM up 42 mins, 0 users, load averages: 0.24, 0.07, 0.03
FreeBSD salamander.thesizemores.net 5.3-RELEASE i386
More information about the freebsd-questions
mailing list