Is usb-storage loaded at the point where you cat-ed /proc/bus/usb/devices? If so, you must need to update the unusual-dev.h file as it hasn't bound to it.
On Sun, 14 Dec 2003, glenn lawyer wrote: > Hi, everyone, > > I am trying to get my new Sony DSC-p10 digital camera working on a RH 9 > distro. I only found one article in the archives about this problem, > Greg suggesting > that it should be ok with the 2.6 kernel. I have downloaded the test-11 > version, compiled it, > and gotten it to boot (I am running that kernal now, as I write you), > but the camera still > will not mount. > > The camera shows up in /proc/bus/usb/devices. When I try > mount -t vfat /dev/sda /mnt/camera, > I get the following error: > /dev/sda is not a valid block device > > I get the same error when I try to mount it from fstab, which has the > following entry: > /dev/sda /mnt/camera auto noauto,user 0 0 > > Same results when I try /dev/sda1 and /dev/sda2 > > Searching the archives did show that in many cases, one must modify the > "unusual devices.h" file. The reason for this seems to be that the > unusual devices > macro takes an arguement indicating the highest product number for which > the rest of the code should apply. For some reason, the 2.4 kernel has > 0x0210 as the highest > revision number, so any camera with rev number greater than this fails. > > On the 2.6 kernel, however (at least the version I have), the high end > is 0x0450. I checked in > /proc/bus/usb/devices, and this is the rev number for my camera. Thus (I > am guessing) it should > be ok, and no modification of "unusual_devices.h" is required. > > I thought that the problem might be that I use a memory stick pro, > 256MB, but I get the same > failure with a standard memory stick (32MB). > > Does anyone have any ideas? > > Below I am attaching all of the outputs one is generally supposed to > send with > help requests. > > Thank you for your time and any help you might offer > > glenn lawyer > > The section of /proc/bus/usb/devices with the camera: > > T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > P: Vendor=054c ProdID=0010 Rev= 4.50 > S: Manufacturer=Sony > S: Product=Sony DSC > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA > I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=ff Prot=01 Driver=(none) > E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms > E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=255ms > > /root:)lspci -v > 00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333] > Flags: bus master, 66Mhz, medium devsel, latency 0 > Memory at e0000000 (32-bit, prefetchable) [size=128M] > Capabilities: [a0] AGP version 2.0 > Capabilities: [c0] Power Management version 2 > > 00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo > KT266/A/333 AGP] (prog-if 00 [Normal decode]) > Flags: bus master, 66Mhz, medium devsel, latency 0 > Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 > Capabilities: [80] Power Management version 2 > > 00:08.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] > (rev 78) > Subsystem: 3Com Corporation 3C905C-TX Fast Etherlink for PC > Management NIC > Flags: bus master, medium devsel, latency 32, IRQ 11 > I/O ports at d000 [size=128] > Memory at ec008000 (32-bit, non-prefetchable) [size=128] > Expansion ROM at <unassigned> [disabled] [size=128K] > Capabilities: [dc] Power Management version 2 > > 00:09.0 Multimedia audio controller: Yamaha Corporation YMF-724 (rev 03) > Subsystem: Yamaha Corporation YMF724-Based PCI Audio Adapter > Flags: bus master, medium devsel, latency 32, IRQ 11 > Memory at ec000000 (32-bit, non-prefetchable) [size=32K] > Capabilities: [50] Power Management version 1 > > 00:0b.0 VGA compatible controller: nVidia Corporation NV5 [RIVA > TNT2/TNT2 Pro] (rev 15) (prog-if 00 [VGA]) > Subsystem: Asustek Computer, Inc. PCI-V3800 > Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 10 > Memory at ea000000 (32-bit, non-prefetchable) [size=16M] > Memory at e8000000 (32-bit, prefetchable) [size=32M] > Expansion ROM at <unassigned> [disabled] [size=64K] > Capabilities: [60] Power Management version 1 > > 00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 > [UHCI]) > Subsystem: VIA Technologies, Inc. USB > Flags: bus master, medium devsel, latency 32, IRQ 11 > I/O ports at d400 [size=32] > Capabilities: [80] Power Management version 2 > > 00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 > [UHCI]) > Subsystem: VIA Technologies, Inc. USB > Flags: bus master, medium devsel, latency 32, IRQ 11 > I/O ports at d800 [size=32] > Capabilities: [80] Power Management version 2 > > 00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 > [UHCI]) > Subsystem: VIA Technologies, Inc. USB > Flags: bus master, medium devsel, latency 32, IRQ 5 > I/O ports at dc00 [size=32] > Capabilities: [80] Power Management version 2 > > 00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) (prog-if > 20 [EHCI]) > Subsystem: VIA Technologies, Inc. USB 2.0 > Flags: bus master, medium devsel, latency 32, IRQ 10 > Memory at ec009000 (32-bit, non-prefetchable) [size=256] > Capabilities: [80] Power Management version 2 > > 00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge > Subsystem: VIA Technologies, Inc. VT8235 ISA Bridge > Flags: bus master, stepping, medium devsel, latency 0 > Capabilities: [c0] Power Management version 2 > > 00:11.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus > Master IDE (rev 06) (prog-if 8a [Master SecP PriP]) > Subsystem: VIA Technologies, Inc. VT8235 Bus Master > ATA133/100/66/33 IDE > Flags: bus master, medium devsel, latency 32 > I/O ports at e000 [size=16] > Capabilities: [c0] Power Management version 2 > > 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 > Audio Controller (rev 50) > Subsystem: Unknown device 1695:3005 > Flags: medium devsel, IRQ 5 > I/O ports at e400 [size=256] > Capabilities: [c0] Power Management version 2 > > > > ~/linux-2.6.0-test11 :)cat /proc/version > > Linux version 2.6.0-test11 > ([EMAIL PROTECTED]) (gcc version > 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #3 Thu Dec 4 21:17:25 EST 2003 > > > ~/linux-2.6.0-test11 :)cat /proc/cpuinfo > processor : 0 > vendor_id : AuthenticAMD > cpu family : 6 > model : 6 > model name : AMD Athlon(tm) XP 1600+ > stepping : 2 > cpu MHz : 1403.835 > cache size : 256 KB > fdiv_bug : no > hlt_bug : no > f00f_bug : no > coma_bug : no > fpu : yes > fpu_exception : yes > cpuid level : 1 > wp : yes > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge > mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow > bogomips : 2760.70 > > > ~/linux-2.6.0-test11 :)cat /proc/modules > binfmt_misc 10120 - - Live 0xf8912000 > autofs 15616 - - Live 0xf88fe000 > ohci1394 34464 - - Live 0xf8936000 > ieee1394 81324 - - Live 0xf894e000 > parport_pc 26920 - - Live 0xf880f000 > parport 42656 - - Live 0xf8906000 > ide_scsi 14820 - - Live 0xf88f3000 > scsi_mod 117572 - - Live 0xf8918000 > ide_cd 40512 - - Live 0xf88dd000 > cdrom 34880 - - Live 0xf88e9000 > hid 24736 - - Live 0xf8818000 > > ~/linux-2.6.0-test11 :)cat /proc/ioports > 0000-001f : dma1 > 0020-0021 : pic1 > 0040-005f : timer > 0060-006f : keyboard > 0070-0077 : rtc > 0080-008f : dma page reg > 00a0-00a1 : pic2 > 00c0-00df : dma2 > 00f0-00ff : fpu > 0170-0177 : ide1 > 01f0-01f7 : ide0 > 0376-0376 : ide1 > 0378-037a : parport0 > 03c0-03df : vga+ > 03f6-03f6 : ide0 > 0cf8-0cff : PCI conf1 > d000-d07f : 0000:00:08.0 > d000-d07f : 0000:00:08.0 > d400-d41f : 0000:00:10.0 > d400-d41f : uhci_hcd > d800-d81f : 0000:00:10.1 > d800-d81f : uhci_hcd > dc00-dc1f : 0000:00:10.2 > dc00-dc1f : uhci_hcd > e000-e00f : 0000:00:11.1 > e000-e007 : ide0 > e008-e00f : ide1 > e400-e4ff : 0000:00:11.5 > > > ~/linux-2.6.0-test11 :)cat /proc/iomem > 00000000-0009fbff : System RAM > 0009fc00-0009ffff : reserved > 000a0000-000bffff : Video RAM area > 000d0000-000d07ff : Extension ROM > 000f0000-000fffff : System ROM > 00100000-4ffeffff : System RAM > 00100000-002c23b7 : Kernel code > 002c23b8-0037713f : Kernel data > 4fff0000-4fff2fff : ACPI Non-volatile Storage > 4fff3000-4fffffff : ACPI Tables > e0000000-e7ffffff : 0000:00:00.0 > e8000000-e9ffffff : 0000:00:0b.0 > ea000000-eaffffff : 0000:00:0b.0 > ec000000-ec007fff : 0000:00:09.0 > ec008000-ec00807f : 0000:00:08.0 > ec009000-ec0090ff : 0000:00:10.3 > ec009000-ec0090ff : ehci_hcd > fec00000-fec00fff : reserved > fee00000-fee00fff : reserved > ffff0000-ffffffff : reserved > > > ~/linux-2.6.0-test11 :)cat /proc/scsi/scsi > Attached devices: > Host: scsi0 Channel: 00 Id: 00 Lun: 00 > Vendor: ATAPI Model: CD-R/RW 24X10 Rev: P.GJ > Type: CD-ROM ANSI SCSI revision: 02 > > > > > -- /------------------------------------+-------------------------\ |Stephen J. Gowdy | SLAC, MailStop 34, | |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road, | |http://calendar.yahoo.com/gowdy | Menlo Park CA 94025, USA | |EMail: [EMAIL PROTECTED] | Tel: +1 650 926 3144 | \------------------------------------+-------------------------/ ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel