From owner-freebsd-questions Fri Jun 8 10:57: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from 208b.umsom.edu (som-480.dhcp.umass.edu [128.119.137.224]) by hub.freebsd.org (Postfix) with ESMTP id 7F48037B401 for ; Fri, 8 Jun 2001 10:56:53 -0700 (PDT) (envelope-from gp@oitunix.oit.umass.edu) Received: (from gp@localhost) by 208b.umsom.edu (8.11.3/8.11.3) id f58HuC200498 for freebsd-questions@freebsd.org; Fri, 8 Jun 2001 13:56:12 -0400 (EDT) (envelope-from gp) Date: Fri, 8 Jun 2001 13:56:12 -0400 From: Greg Pavelcak To: freebsd-questions@freebsd.org Subject: USB Flash-Card Reader Message-ID: <20010608135611.A460@208b.umsom.edu> Mail-Followup-To: Greg Pavelcak , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Speaking of more robust USB support. I bought a flash-card reader for work. Of course it has drivers for windows and works, but I would love to be able to use it in FreeBSD. It is a *NewMedia USB Port Flash-Link* All dmesg says about it is (I have a verbose boot at the end in case there's some other useful info): uhci0: port 0x6400-0x641f irq 11 at device 7.2 on pci0 usb0: 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 ugen0: SIIG product 0x0001, rev 1.00/0.01, addr 2 I read an earlier e-mail that said the sandisk is treated as a scsi device da*. I do have scbus et al in my KERNCONF: device scbus device da device sa device cd device pass device pt options SCSI_DELAY=8000 device uhci device ohci device usb device ugen device uhid device umass device ulpt Anyway, if there's any useful information I can provide to help get this working, I'll be glad to do what I can to contribute. Unfortunately, my knowledge in this area is limited. Any feedback/pointers greatly appreciated. Thanks. Greg Copyright (c) 1992-2001 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 4.3-STABLE #3: Mon Jun 4 08:43:27 EDT 2001 gp@208b.umsom.edu:/usr/obj/usr/src/sys/MIN Calibrating clock(s) ... TSC clock: 451029155 Hz, i8254 clock: 1193198 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method Timecounter "TSC" frequency 451025067 Hz CPU: Pentium III/Pentium III Xeon/Celeron (451.03-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x387f9ff real memory = 67108864 (65536K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x00420000 - 0x03ff7fff, 62750720 bytes (15320 pages) config> di pcic0 No such device: pcic0 Invalid command or syntax. Type `?' for help. config> di bt0 No such device: bt0 Invalid command or syntax. Type `?' for help. config> di aic0 No such device: aic0 Invalid command or syntax. Type `?' for help. config> di aha0 No such device: aha0 Invalid command or syntax. Type `?' for help. config> di adv0 No such device: adv0 Invalid command or syntax. Type `?' for help. config> q avail memory = 60928000 (59500K bytes) bios32: Found BIOS32 Service Directory header at 0xc00faf70 bios32: Entry = 0xfb3f0 (c00fb3f0) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xb420 pnpbios: Found PnP BIOS data at 0xc00fbfd0 pnpbios: Entry = f0000:bff8 Rev = 1.0 Other BIOS signatures found: ACPI: 00000000 Preloaded elf kernel "kernel" at 0xc03fa000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc03fa0a8. VESA: information block 56 45 53 41 00 02 00 01 00 01 00 00 00 00 22 00 00 01 80 00 00 01 0b 01 00 01 21 01 00 01 2a 01 00 01 00 01 01 01 10 01 11 01 12 01 03 01 13 01 14 01 15 01 05 01 16 01 17 01 18 01 07 01 19 01 VESA: 3 mode(s) found VESA: v2.0, 8192k memory, flags:0x0, mode table:0xc037ff42 (1000022) VESA: ATI MACH64 VESA: ATI Technologies Inc. MACH64GT 01.00 Pentium Pro MTRR support enabled md0: Malloc disk Creating DISK md0 pci_open(1): mode 1 addr port (0x0cf8) is 0x80003afc pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71908086) npx0: on motherboard npx0: INT 16 interface pci_open(1): mode 1 addr port (0x0cf8) is 0x00000000 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71908086) pcib0: on motherboard found-> vendor=0x8086, dev=0x7190, revid=0x03 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base e0000000, size 26 found-> vendor=0x8086, dev=0x7191, revid=0x03 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=1 secondarybus=1 found-> vendor=0x8086, dev=0x7110, revid=0x02 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x7111, revid=0x01 class=01-01-80, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[20]: type 1, range 32, base 0000f000, size 4 found-> vendor=0x8086, dev=0x7112, revid=0x01 class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=d, irq=11 map[20]: type 1, range 32, base 00006400, size 5 found-> vendor=0x8086, dev=0x7113, revid=0x02 class=06-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[90]: type 1, range 32, base 00005000, size 4 found-> vendor=0x1274, dev=0x5000, revid=0x01 class=04-01-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base 00006800, size 6 found-> vendor=0x10b7, dev=0x9055, revid=0x64 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base 00006c00, size 7 map[14]: type 1, range 32, base e8000000, size 7 pci0: on pcib0 pcib1: at device 1.0 on pci0 found-> vendor=0x1002, dev=0x475a, revid=0x7a class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=5 map[10]: type 1, range 32, base e6000000, size 24 map[14]: type 1, range 32, base 0000e000, size 8 map[18]: type 1, range 32, base e5000000, size 12 pci1: on pcib1 pci1: (vendor=0x1002, dev=0x475a) at 0.0 irq 5 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xf000 ata0: mask=03 status0=50 status1=50 ata0: mask=03 ostat0=50 ostat2=50 ata0-master: ATAPI probe a=00 b=00 ata0-slave: ATAPI probe a=00 b=00 ata0: mask=03 status0=50 status1=50 ata0-master: ATA probe a=01 b=a5 ata0-slave: ATA probe a=01 b=a5 ata0: devices=03 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xf008 ata1: mask=01 status0=50 status1=ff ata1: mask=01 ostat0=50 ostat2=ff ata1-master: ATAPI probe a=14 b=eb ata1: mask=01 status0=00 status1=ff ata1: devices=04 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x6400-0x641f irq 11 at device 7.2 on pci0 usb0: 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 ugen0: SIIG product 0x0001, rev 1.00/0.01, addr 2 chip1: port 0x5000-0x500f at device 7.3 on pci0 pcm0: port 0x6800-0x683f irq 11 at device 9.0 on pci0 using shared irq11. pcm: setmap 3d72000, 1000; 0xc0e9e000 -> 3d72000 pcm: setmap 3d73000, 1000; 0xc0e9f000 -> 3d73000 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x6c00-0x6c7f mem 0xe8000000-0xe800007f irq 10 at device 11.0 on pci0 xl0: Ethernet address: 00:50:04:a0:7f:c5 xl0: media options word: a xl0: found MII/AUTO miibus0: on xl0 ukphy0: on miibus0 ukphy0: OUI 0x001018, model 0x0012, rev. 0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bpf: xl0 attached ata-: ata0 exists, using next available unit number ata-: ata1 exists, using next available unit number Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0047 atkbd: keyboard ID 0x41ab (2) kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 psm0: current command byte:0047 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3-00, 3 buttons psm0: config:00000000, flags:00000000, packet size:4 psm0: syncmask:08, syncbits:08 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x700ff fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) ata2 failed to probe at port 0x1f0 irq 14 on isa0 ata3 failed to probe at port 0x170 irq 15 on isa0 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: irq maps: 0x41 0x51 0x41 0x41 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A pca0 at port 0x40 on isa0 pcf0: at port 0x320-0x321 irq 5 on isa0 iicbus0: on pcf0 addr 0xaa iicsmb0: on iicbus0 smbus0: on iicsmb0 smbus: smb devclass not found iic0: on iicbus0 ppc0: parallel port found at 0x378 ppc0: using extended I/O port range ppc0: EPP SPP ppc_detect_fifo: PWord not supported ppc0: at port 0x378-0x37f irq 7 flags 0x8 on isa0 ppc0: Generic chipset (ECP-only) in ECP mode lpt0: on ppbus0 lpt0: Interrupt-driven port pcfclock0: on ppbus0 ppi0: on ppbus0 pps0: on ppbus0 imm0: (disconnect) s1=0x98 s2=0x98, s3=0x18 imm0: NIBBLE mode unavailable! plip0: on ppbus0 bpf: lp0 attached isa_probe_children: probing PnP devices BIOS Geometries: 0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors 1:03ff0f3f 0..1023=1024 cylinders, 0..15=16 heads, 1..63=63 sectors 0 accounted for Device configuration finished. bpf: xl0f0 attached bpf: xl0f1 attached bpf: xl0f2 attached bpf: xl0f3 attached bpf: gif0 attached bpf: gif1 attached bpf: gif2 attached bpf: gif3 attached bpf: lo0 attached bpf: ppp0 attached bpf: ppp1 attached new masks: bio 68c840, tty 631892, net 671cb2 bpf: sl0 attached bpf: sl1 attached bpf: stf0 attached bpf: faith0 attached ncp_load: [210-213] ata0-master: success setting UDMA2 on Intel chip Creating DISK ad0 Creating DISK wd0 ad0: ATA-4 disk at ata0-master ad0: 8056MB (16498944 sectors), 16368 cyls, 16 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 1 depth queue, UDMA33 ad0: piomode=4 dmamode=2 udmamode=2 cblid=1 ad0: 8056MB [16368/16/63] at ata0-master UDMA33 ata0-slave: success setting UDMA2 on Intel chip Creating DISK ad1 Creating DISK wd1 ad1: ATA-4 disk at ata0-slave ad1: 9787MB (20044080 sectors), 19885 cyls, 16 heads, 63 S/T, 512 B/S ad1: 16 secs/int, 1 depth queue, UDMA33 ad1: piomode=4 dmamode=2 udmamode=4 cblid=1 ad1: 9787MB [19885/16/63] at ata0-slave UDMA33 ata1-master: piomode=4 dmamode=2 udmamode=2 dmaflag=1 ata1-master: success setting PIO4 on generic chip acd0: CDROM drive at ata1 as master acd0: read 6890KB/s (6890KB/s), 128KB buffer, PIO4 acd0: Reads: CD-R, CD-RW, CD-DA stream acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked Mounting root from ufs:/dev/ad1s1a ad1s1: type 0xa5, start 63, end = 20044079, size 20044017 : OK start_init: trying /sbin/init splash: image decoder found: blank_saver Linux-ELF exec handler installed To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message