Problems with digital camera
Mike Jeays
Mike.Jeays at rogers.com
Sat Jan 1 14:32:52 PST 2005
On Sat, 2005-01-01 at 15:20, Louis LeBlanc wrote:
> On 01/01/05 02:01 PM, Trey Sizemore sat at the `puter and typed:
> > On Sat, 2005-01-01 at 13:43 -0500, Louis LeBlanc wrote:
> > > <SNIP>
> > >
> > > 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?
>
> That's strange. Did you have the umass device detected before
> removing the loader.conf entries? I don't have any usb related
> entries in loader.conf myself, so I don't see why you'd have trouble.
>
> What about the da device in your kernel config? I imagine you do have
> it since umass requires it . . .
>
> This is what I see in my dmesg:
> usb0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0
> usb0: USB revision 1.0
> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> umass0: SanDisk Corporation ImageMate CompactFlash USB, rev 1.10/0.09, addr 2
> umass0: Get Max Lun not supported (STALLED)
>
> BTW, I never bothered to keep a card in the reader when booting. It's
> always been sufficient to keep the reader itself plugged in.
>
> What model is your reader? UMASS(4) lists a few that are explicitly
> supported, and mine is in the list; is yours?
>
> Sorry I can't help with the Epson. I stick to network printers when
> possible. Much less hassle.
>
> Lou
My SANDisk reader is recognized whenever I plug it in. The only
requirement I have found is that I must put the CF card into the reader
before plugging the reader into the USB port. Works fine with 5.3; I
got occasional panics when plugging devices into the USB port with 5.1.
More information about the freebsd-questions
mailing list