[ale] USB Cam (LONG)
Jeff Hubbs
hbbs at attbi.com
Sun Dec 29 13:30:19 EST 2002
I'm poking around here and getting a certain degree of progress
but no joy.
"fdisk /dev/sd/c0b0t0u0" returns "Unable to read /dev/sd/c0b0t0u0" and
in /var/log/messages the following appears:
Dec 29 13:25:07 juanita kernel: usb-uhci.c: interrupt, status 3, frame#
374
Dec 29 13:25:07 juanita kernel: SCSI device (ioctl) reports ILLEGAL
REQUEST.
Dec 29 13:25:07 juanita kernel: SCSI device sda: 16384 512-byte hdwr
sectors (8 MB)
Dec 29 13:25:07 juanita kernel: sda: test WP failed, assume Write
Enabled
Dec 29 13:25:07 juanita kernel: /dev/scsi/host0/bus0/target0/lun0: I/O
error: dev 08:00, sector 0
Dec 29 13:25:07 juanita kernel: I/O error: dev 08:00, sector 0
Dec 29 13:25:07 juanita kernel: unable to read partition table
Dec 29 13:25:07 juanita kernel: I/O error: dev 08:00, sector 0
By the way, "cat /proc/bus/usb/devices" returns:
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=b000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0461 ProdID=0822 Rev= 1.00
S: Manufacturer=DigitalImageDevice
S: Product=Mega-Pixel Digital Camera
S: SerialNumber=01.00.00
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50
Driver=usb-storage
E: Ad=87(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=08(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=89(I) Atr=03(Int.) MxPS= 1 Ivl=1ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=b400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
Unfortunately, the KDE Control Center and the add camera dialog for
gtkam does not have my camera (Vivitar Vivicam 3555t) listed, and I
don't have any equivalency info for this cam and Google turns up nothing
so far.
So: SmartMedia card reader for me? And, what of that 6-in-1 card
reader thing I saw? I don't even understand how such a bugger is
supposed to hook up inside the box.
- Jeff
On Sun, 2002-12-29 at 12:07, James P. Kinney III wrote:
> Do an "fdisk /dev/sda" and look at the structure. The dmesg gripe I see
> is the card shows up as write protected. mount -o rw /dev/sda might
> force it to be writable from the Linux mount.
>
> You could also try a different usb controller module. Some stuff works
> better under the uhci module, other stuff under the usb_uhci. I hopt
> THAT get cleared up soon.
>
> On Sun, 2002-12-29 at 11:05, Jeff Hubbs wrote:
> > I see where you're coming from, but look at my dmesg output:
> >
> > Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
> > SCSI device sda: 16384 512-byte hdwr sectors (8 MB)
> > usb-uhci.c: interrupt, status 2, frame# 1460
> > sda: test WP failed, assume Write Enabled
> > /dev/scsi/host1/bus0/target0/lun0: p1
> > SCSI device (ioctl) reports ILLEGAL REQUEST.
> > VFS: Disk change detected on device 08:00
> > SCSI device sda: 16384 512-byte hdwr sectors (8 MB)
> >
> > I did try adding numbers, etc. but no joy.
> >
> > - Jeff
> >
> > On Sun, 2002-12-29 at 07:49, Geoffrey wrote:
> > > Jeff Hubbs wrote:
> > > > Geoffrey -
> > > >
> > > > I probably should have clarified this initially - the camera stores
> > > > images internally OR it can use a SmartMedia card. However, I do not
> > > > yet have one.
> > >
> > > I assume that means you don't have a SmartMedia card... :)
> > >
> > > > IIRC, I was trying to mount /dev/sda /mnt/cam after
> > > > having first mkdired /mnt/cam.
> > >
> > > what type of filesystem? My memory stick mounts as vfat. Also, you
> > > should be using /dev/sda? where ? is [0-N].
> > >
> > > I can mount my memstick as follows:
> > >
> > > /bin/mount -t vfat /dev/sda1 /mnt/memstick
> > >
> > > I'm wondering if it the internal memory and the SmartMedia would be seen
> > > as two different devices. I would expect so. That being said, I'd try
> > > all variations of:
> > >
> > > for i in 0 1 2 3 4; do
> > > /bin/mount -t vfat /dev/sda${i} /mnt/cam
> > > done
> > >
> > >
> > > --
> > > Until later: Geoffrey esoteric at 3times25.net
> > >
> > > The latest, most widespread virus? Microsoft end user agreement.
> > > Think about it...
> > >
> > > _______________________________________________
> > > Ale mailing list
> > > Ale at ale.org
> > > http://www.ale.org/mailman/listinfo/ale
> >
> >
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
> --
> James P. Kinney III \Changing the mobile computing world/
> President and CEO \ one Linux user /
> Local Net Solutions,LLC \ at a time. /
> 770-493-8244 \.___________________________./
>
> GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics) <jkinney at localnetsolutions.com>
> Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
>
>
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list