LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-29-2003, 05:19 AM   #1
h6p
LQ Newbie
 
Registered: May 2003
Location: Paris
Distribution: deb
Posts: 4

Rep: Reputation: 0
Angry Digital Camera, Epsilon 2.3


Hey there i just bought a little digital camera, i took a usb one thinking that it will work very simply as a mass storage device with a fat partition but .... cant beat the log to explain....


Loading the drivers ...........
ay 29 23:02:58 nerdzland kernel: SCSI subsystem driver Revision: 1.00
May 29 23:03:44 nerdzland kernel: Initializing USB Mass Storage driver...
May 29 23:03:44 nerdzland kernel: usb.c: registered new driver usb-storage
May 29 23:03:44 nerdzland kernel: USB Mass Storage support registered.


Plugged it in:
(USB Verbose debug cut out....)
May 29 23:06:07 nerdzland kernel: hub.c: new USB device 00:07.2-1, assigned address 5
May 29 23:06:07 nerdzland kernel: Manufacturer:
May 29 23:06:07 nerdzland kernel: Product: DigitalCam Pro
May 29 23:06:07 nerdzland kernel: SerialNumber: 01.00.00
May 29 23:06:07 nerdzland kernel: scsi0 : SCSI emulation for USB Mass Storage devices
May 29 23:06:07 nerdzland kernel: Vendor: Model: DigitalCam Pro Rev: 1.00
May 29 23:06:07 nerdzland kernel: Type: Direct-Access ANSI SCSI revision: 02
May 29 23:06:07 nerdzland kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
May 29 23:06:07 nerdzland kernel: SCSI device sda: 16384 512-byte hdwr sectors (8 MB)
May 29 23:06:07 nerdzland kernel: sda: Write Protect is off
May 29 23:06:07 nerdzland kernel: sda:<7>usb-storage: queuecommand() called
May 29 23:06:07 nerdzland kernel: sda1


and a Quick mount /dev/sda1 /mnt/flash/
May 29 23:17:44 nerdzland kernel: Device not ready. Make sure there is a disc in the drive.
May 29 23:17:44 nerdzland kernel: sda : READ CAPACITY failed.
May 29 23:17:44 nerdzland kernel: sda : status = 1, message = 00, host = 0, driver = 08
May 29 23:17:44 nerdzland kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
May 29 23:17:44 nerdzland kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
May 29 23:17:44 nerdzland kernel: sda: I/O error: dev 08:00, sector 0
May 29 23:17:44 nerdzland kernel: I/O error: dev 08:00, sector 0
May 29 23:17:44 nerdzland kernel: I/O error: dev 08:00, sector 0
May 29 23:17:44 nerdzland kernel: unable to read partition table
May 29 23:17:44 nerdzland kernel: Device not ready. Make sure there is a disc in the drive.
May 29 23:17:44 nerdzland kernel: sda : READ CAPACITY failed.
May 29 23:17:44 nerdzland kernel: sda : status = 1, message = 00, host = 0, driver = 08
May 29 23:17:44 nerdzland kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
May 29 23:17:44 nerdzland kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
May 29 23:17:44 nerdzland kernel: sda: I/O error: dev 08:00, sector 0
May 29 23:17:44 nerdzland kernel: I/O error: dev 08:00, sector 0
May 29 23:17:44 nerdzland kernel: I/O error: dev 08:00, sector 0
May 29 23:17:44 nerdzland kernel: unable to read partition table




Thats about it, i simply cant get it to read the partition table, im thinking they dump a few empty bytes at the start of the media. There is absolutly no documentation about it, exept a page to kentcomputers (site offline..)

If anyone have got a clue please help ou, ive tryed dd and stiff nothing also contacted the vendor to get a reply as "It shoudl work with recent kernels but we dont support linux."

Thanks for any help

OS: debian vanilla kernel 2.4.20
 
Old 05-29-2003, 06:25 AM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Its assuming a disk size of 1Gb! nah, something's hosed. Maybe its accomodated for in a newer kernel rev, might want to try one of the rc's of 2.4.21, or see if its covered by direct access through gphoto, but really its probably a best bet to just buy around it with a CF adapter, or Smartmedia, etc.

Cheers,

Finegan
 
Old 05-29-2003, 06:53 AM   #3
h6p
LQ Newbie
 
Registered: May 2003
Location: Paris
Distribution: deb
Posts: 4

Original Poster
Rep: Reputation: 0
thanks for the quick help, im blasted off now because i cant get anything to work with it what is this smartmedia card reader thing? If there a list of suported ones because i dont want to put myself in the same situation.

and with gphoto2 --shell i managed to get:
nerdzland:/usr/src/linux# gphoto2 --get-all-raw-data
Writing packet to port

*** Error ***
An error occurred in the io-library ('Error setting the serial port speed'): Could not set the baudrate to 115200
*** Error (-41: 'Error setting the serial port speed') ***


Anyway, how can u buy around it?
 
Old 05-29-2003, 05:12 PM   #4
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
My favorite is the PNY Compact Flash or Smart Media adapters, they're about $10 US. Also, I think its got the same name in France as its one of the few parts I've ever picked up that was manufactured in France. Its as common as dirt and are supported in any kernel from 2.4.19 +

Most cameras have Compact Flash cards, yours doesn't have internal memory does it?

Cheers,

Finegan
 
Old 05-29-2003, 11:15 PM   #5
linux_pioneer
Member
 
Registered: May 2003
Distribution: Solaris 10, Solaris 8.0, Fedora Core 3
Posts: 203

Rep: Reputation: 30
Re: Digital Camera, Epsilon 2.3

Quote:
Originally posted by h6p
Hey there i just bought a little digital camera, i took a usb one thinking that it will work very simply as a mass storage device with a fat partition but .... cant beat the log to explain....


Loading the drivers ...........
ay 29 23:02:58 nerdzland kernel: SCSI subsystem driver Revision: 1.00
May 29 23:03:44 nerdzland kernel: Initializing USB Mass Storage driver...
May 29 23:03:44 nerdzland kernel: usb.c: registered new driver usb-storage
May 29 23:03:44 nerdzland kernel: USB Mass Storage support registered.


Plugged it in:
(USB Verbose debug cut out....)
May 29 23:06:07 nerdzland kernel: hub.c: new USB device 00:07.2-1, assigned address 5
May 29 23:06:07 nerdzland kernel: Manufacturer:
May 29 23:06:07 nerdzland kernel: Product: DigitalCam Pro
May 29 23:06:07 nerdzland kernel: SerialNumber: 01.00.00
May 29 23:06:07 nerdzland kernel: scsi0 : SCSI emulation for USB Mass Storage devices
May 29 23:06:07 nerdzland kernel: Vendor: Model: DigitalCam Pro Rev: 1.00
May 29 23:06:07 nerdzland kernel: Type: Direct-Access ANSI SCSI revision: 02
May 29 23:06:07 nerdzland kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
May 29 23:06:07 nerdzland kernel: SCSI device sda: 16384 512-byte hdwr sectors (8 MB)
May 29 23:06:07 nerdzland kernel: sda: Write Protect is off
May 29 23:06:07 nerdzland kernel: sda:<7>usb-storage: queuecommand() called
May 29 23:06:07 nerdzland kernel: sda1


and a Quick mount /dev/sda1 /mnt/flash/
May 29 23:17:44 nerdzland kernel: Device not ready. Make sure there is a disc in the drive.
May 29 23:17:44 nerdzland kernel: sda : READ CAPACITY failed.
May 29 23:17:44 nerdzland kernel: sda : status = 1, message = 00, host = 0, driver = 08
May 29 23:17:44 nerdzland kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
May 29 23:17:44 nerdzland kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
May 29 23:17:44 nerdzland kernel: sda: I/O error: dev 08:00, sector 0
May 29 23:17:44 nerdzland kernel: I/O error: dev 08:00, sector 0
May 29 23:17:44 nerdzland kernel: I/O error: dev 08:00, sector 0
May 29 23:17:44 nerdzland kernel: unable to read partition table
May 29 23:17:44 nerdzland kernel: Device not ready. Make sure there is a disc in the drive.
May 29 23:17:44 nerdzland kernel: sda : READ CAPACITY failed.
May 29 23:17:44 nerdzland kernel: sda : status = 1, message = 00, host = 0, driver = 08
May 29 23:17:44 nerdzland kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
May 29 23:17:44 nerdzland kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
May 29 23:17:44 nerdzland kernel: sda: I/O error: dev 08:00, sector 0
May 29 23:17:44 nerdzland kernel: I/O error: dev 08:00, sector 0
May 29 23:17:44 nerdzland kernel: I/O error: dev 08:00, sector 0
May 29 23:17:44 nerdzland kernel: unable to read partition table




Thats about it, i simply cant get it to read the partition table, im thinking they dump a few empty bytes at the start of the media. There is absolutly no documentation about it, exept a page to kentcomputers (site offline..)

If anyone have got a clue please help ou, ive tryed dd and stiff nothing also contacted the vendor to get a reply as "It shoudl work with recent kernels but we dont support linux."

Thanks for any help

OS: debian vanilla kernel 2.4.20
I got the same errors when I hooked up my digital camera and ran the commmand: dmesg | less
I still got the device name which was /dev/sdb1
so i just did: mount /dev/sdb1 /mnt/camera
After I did that I was able to see all my pics. Don't know what all those errors were about, don't really care since it worked.
 
Old 05-30-2003, 09:11 AM   #6
h6p
LQ Newbie
 
Registered: May 2003
Location: Paris
Distribution: deb
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the help, i tryed to get a sm reader but the man in the shop got it completly wrong, time for the return


Last edited by h6p; 05-30-2003 at 09:12 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
digital camera to cd poof! Linux - Software 3 11-07-2004 09:00 PM
Digital Camera (NOW!!!!) DropSig Linux - Hardware 1 09-13-2004 01:25 AM
What digital camera ? phoeniXflame General 12 04-30-2003 04:22 PM
Digital Dreams Epsilon 1.3 USB Camera and Mandrake 9 XavierP Linux - Hardware 0 12-21-2002 09:47 AM
Digital Camera Mike Blick Linux - Hardware 1 05-28-2002 02:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration