Came onto this late but:
usb-storage ties itself to an instance so each time you plug/unplug the
cammera, rmmod the stack and re-modprobe it.  Does the camera name show
when you do a cdrecord -scanbus?  Note that it could be /dev/sd[abc](n)
- keeps moving around at times.  My info here - its on a laptop and the
cdwriter came adrift and needs a reboot to recognise it, but the camera
works fine.  I just unplugged the usb-mouse, plugged in the camera and
turned it on and ran the commands below.

[?]
[?]
[?]
[?]
[?]
[?]
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
scsibus1:
        1,0,0   100) 'OLYMPUS ' 'C300Z/D550Z     ' '1.00' Removable Disk
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *

bunyip NewScanner # mount /mnt/cam

bunyip NewScanner # ls -al /dev/sd*
lr-xr-xr-x    1 root     root           33 Oct 21 13:32 /dev/sda ->
scsi/host1/bus0/target0/lun0/disc
lr-xr-xr-x    1 root     root           34 Oct 21 13:32 /dev/sda1 ->
scsi/host1/bus0/target0/lun0/part1
 
/dev/sd:
total 0
drwxr-xr-x    1 root     root            0 Oct 21 13:32 .
drwxr-xr-x    1 root     root            0 Jan  1  1970 ..
lr-xr-xr-x    1 root     root           36 Oct 21 13:32 c1b0t0u0 ->
../scsi/host1/bus0/target0/lun0/disc
lr-xr-xr-x    1 root     root           37 Oct 21 13:32 c1b0t0u0p1 ->
../scsi/host1/bus0/target0/lun0/part1

bunyip NewScanner # ls /mnt/cam/dcim/100olymp/
p9250004.jpg  p9250013.jpg  pa010020.jpg  pa010027.jpg  pa010034.jpg 
pa160041.jpg  pa190048.jpg  pa190055.jpg  pa190062.jpg  pa190069.jpg 
pa190076.jpg
p9250005.jpg  p9250014.jpg  pa010021.jpg  pa010028.jpg  pa010035.jpg 
pa160042.jpg  pa190049.jpg  pa190056.jpg  pa190063.jpg  pa190070.jpg 
pa190077.jpg
p9250006.jpg  p9250015.jpg  pa010022.jpg  pa010029.jpg  pa010036.jpg 
pa160043.jpg  pa190050.jpg  pa190057.jpg  pa190064.jpg  pa190071.jpg 
pa190078.jpg
p9250007.jpg  p9250016.jpg  pa010023.jpg  pa010030.jpg  pa010037.jpg 
pa160044.jpg  pa190051.jpg  pa190058.jpg  pa190065.jpg  pa190072.jpg 
pa190079.jpg
p9250009.jpg  p9250017.jpg  pa010024.jpg  pa010031.jpg  pa160038.jpg 
pa160045.jpg  pa190052.jpg  pa190059.jpg  pa190066.jpg  pa190073.jpg 
pa190080.jpg
p9250011.jpg  p9250018.jpg  pa010025.jpg  pa010032.jpg  pa160039.jpg 
pa160046.jpg  pa190053.jpg  pa190060.jpg  pa190067.jpg  pa190074.jpg
p9250012.jpg  pa010019.jpg  pa010026.jpg  pa010033.jpg  pa160040.jpg 
pa160047.jpg  pa190054.jpg  pa190061.jpg  pa190068.jpg  pa190075.jpg

bunyip NewScanner # grep cam /etc/fstab
/dev/sda1               /mnt/cam        vfat           
defaults,ro,user,noauto 0 0

bunyip NewScanner # umount /mnt/cam

bunyip NewScanner # lsmod 
(><cut><)
mousedev                4244   1
usb-uhci               23596   0  (unused)
hid                    15176   0  (unused)
usbcore                63904   1  [usb-uhci hid]
sd_mod                 11180   0
ide-scsi               10096   0
sr_mod                 13656   0
sg                     28364   0
scsi_mod               59252   4  [sd_mod ide-scsi sr_mod sg]


On Tue, 2003-10-21 at 12:40, Stephane Brossier wrote:
> Hi Peter,
> 
> 
> >From: Peter Ruskin <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: [EMAIL PROTECTED]
> >Subject: Re: [gentoo-user] Missing /dev/sda* entries ???
> >Date: Mon, 20 Oct 2003 06:13:34 +0100
> >
> >On Monday 20 Oct 2003 02:28, Stephane Brossier wrote:
> > > With 'uhci" module I got the following:
> > > bash-2.05b# lsmod
> > > Module                  Size  Used by    Tainted: P
> > > ide-scsi                7568   0
> > > sr_mod                 14648   0  (unused)
> > > sg                     29900   0
> > > sd_mod                 11020   0  (unused)
> > > vpnmod                187808  -1  (unused)
> > > prism2_pci             57008   1  (autoclean)
> > > p80211                 17036   1  [prism2_pci]
> > > usb-storage            22264   0  (unused)
> > > scsi_mod               89268   4  [ide-scsi sr_mod sg sd_mod
> > > usb-storage] uhci                   23536   0  (unused)
> > > usbcore                56000   1  [usb-storage uhci]
> > >
> > > And it results in the following outputs:
> > > usb.c: registered new driver usbdevfs
> > > usb.c: registered new driver hub
> > > uhci.c: USB Universal Host Controller Interface driver v1.1
> > > PCI: Found IRQ 10 for device 00:07.2
> > > PCI: Sharing IRQ 10 with 00:07.3
> > > PCI: Sharing IRQ 10 with 00:0b.0
> > > uhci.c: USB UHCI at I/O 0xd800, IRQ 10
> > > usb.c: new USB bus registered, assigned bus number 1
> > > hub.c: USB hub found
> > > hub.c: 2 ports detected
> > > PCI: Found IRQ 10 for device 00:07.3
> > > PCI: Sharing IRQ 10 with 00:07.2
> > > PCI: Sharing IRQ 10 with 00:0b.0
> > > uhci.c: USB UHCI at I/O 0xdc00, IRQ 10
> > > usb.c: new USB bus registered, assigned bus number 2
> > > hub.c: USB hub found
> > > hub.c: 2 ports detected
> > > SCSI subsystem driver Revision: 1.00
> > > Initializing USB Mass Storage driver...
> > > usb.c: registered new driver usb-storage
> > > USB Mass Storage support registered.
> > >
> > > -> It seems that up to this point everything works fine,
> > > the modules are loaded correctly by the kernel. I still don't
> > > have any entries in /dev/sd* though.
> > >
> > > The problem seems to be that when I plug the camera in  the USB
> > > port, nothing happens. I still don't have any entries under /dev/sd*,
> > > and if I grep syslog i have no traces. Could it be that my USB port
> > > don't work? I never used USB on linux.
> >
> >I'm no expert but it looks to me like USB is working.  Perhaps you need
> >to make the device nodes for /dev/sd*?  You can find out the details
> >in /usr/src/linux/Documentation/devices.txt, for example:
> ># mknod /dev/sda1 b 8 1
> 
> 
> I tried to create the device but then when i try to mount the filesystem
> i get the following error:
> bash-2.05b# mount -t vfat /dev/sda1 /mnt/camera;
> mount: /dev/sda1 is not a valid block device
> 
> 
> Also, I noticed something new.
> I don't get the entry /dev/sda* created when i plug the camera but
> i get the following trace in syslog:
> usb.c: USB disconnect on device 00:07.2-1 address 3
> usb.c: USB device 4 (vend/prod 0x4a9/0x3075) is not claimed by any active 
> driver
> 
> The number '4' increases everytime i plug my camera.
> So it seems that something happens but this is not enough
> for me to be able to create this entry /dev/sda...
> 
> I have ben looking on the gentoo forum. I found a lot of similar
> threads. I found
> - one which said there was a bug in the scsi driver
> - one which said we need a module 'hotplug'
> - one which says 'usb-uhci' instaed of 'uhci'
> (How can i know which one is good for me? uhci or usb-uhci?)
> 
> It seems to be a common problem with no generic solution :-(
> 
> S.
> 
> _________________________________________________________________
> Surf and talk on the phone at the same time with broadband Internet access. 
> Get high-speed for as low as $29.95/month (depending on the local service 
> providers in your area).  https://broadband.msn.com
> 
> 
> --
> [EMAIL PROTECTED] mailing list



--
[EMAIL PROTECTED] mailing list

Reply via email to