LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-23-2005, 12:56 PM   #1
Amirhossein
Member
 
Registered: Jul 2004
Posts: 72

Rep: Reputation: 15
When will Linux like Digital Cameras?


Hello all of my friends,
After trying Redhat 8, Fedora core and then Yoper, it seems (just a guess) I want to stick with slackware. I just want a distribution which is clean, so fast, standard, bug-free and of course, source based; for installing all the packages easily. So far, slack has owned fairly all of these charachteristics. But, look at this point please: There are problems that are related to Linux generally and not to a specified distribution. Some of them do have solutions and some don't. I have never encountered such problems (either solvable or without solution) in a REAL COMMERCIAL product. After paying TONS of dollars for MatLab and its toolboxes, I just layed while installation and right away after installation I started to write my codes. I can't imagine Octave will do as good as MatLab at all. I am satisfied with the product completely because it is even better than Windows version. Another example is CATIA. Most of corporations use linux version of CATIA rather Windows version. Yes, commercial products.
But it's ok. I love linux. I am a fan of open sourse and I have only linux on my box. I am not an expert also not a newbie. I don't like GUI's and I love terminal! It's ok if the way for reaching your purpose in linux is long. It's ok if the way is hard to understand and non suitable for newbies. It's ok if you have to spend some time to reach the end. It's ok if the way is not like a breeze. But, there is a standard way for reaching any aim. Everyone expects that if he went into the way, then he would found his end. But what happens if you can't reach your aim through the standard way?
All of us must admit that there are lot's of problems in linux that even the standard way does not approach anything. Just wasting valuable time ...The so valuable time which never backs again. We must admit that all the people are not computer science engineers. Everyone wants his own works to be done.
I don't know till when this tragedies will continue. In world of communication, still most of modems are not supported! In 2005 A. D. most of drivers still are built for kernel 2.2.x!!!!! It's funny!
After a tragedy about mounting cd-roms as non-root users, after a tragedy about building acceleration for non-nvidia cards, after another tragedy about ....
Now, another tragedy is flowing: Slackware can't recognize my Concord eye-Q duo 1300 digital camera and mount it as mass-storage usb device. I have put 4 days (day and night) thouroughly on this topic. Viewing any page related to this, it just wasted my time. All were the standard ways which never work! All were the funny scripts do just this command and nothing more:
mount /dev/sda1 /mnt/"a place in the hell" !!!!!!!!!!!!!!!!!!!!!
I don't want to explain more. The problem is quite obvious: It can't attach the device as a scsi device; so nothing goes right.
The bare.i (default) kernel has all the needed modules and drivers(with built in scsi support & scsi disk support and usb-uhci and usb-storage and other needed stuff as modules).
It uses hotplug; although manually setting the parameters and modules has no effect.
LOGS:
################################
dmesg shows this:

hub.c: new USB device 00:11.3-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x595/0x4343) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
usb.c: USB disconnect on device 00:11.3-2 address 2
hub.c: new USB device 00:11.3-2, assigned address 3
usb.c: USB device 3 (vend/prod 0x595/0x4343) is not claimed by any active driver
################################
cat /proc/scsi/scsi:

Attached devices: none
################################
cat /proc/bus/usb/devices

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-alt Root Hub
S: SerialNumber=dc00
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=01 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0595 ProdID=4343 Rev= 1.00
S: Manufacturer=
S: Product=Concord EyeQ Duo 1300 Digital Camera
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=00(>ifc ) Sub=00 Prot=00 Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
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:SB UHCI-alt Root Hub
S: SerialNumber=d800
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
################################
lsmod

Module Size Used by Not tainted
usb-storage 62336 0 (unused)
savage 53320 1
snd-pcm-oss 36704 0 (unused)
snd-mixer-oss 12152 3 [snd-pcm-oss]
uhci 24284 0 (unused)
usbcore 58860 1 [usb-storage uhci]
snd-via82xx 12928 7
gameport 1420 0 [snd-via82xx]
snd-ac97-codec 52472 0 [snd-via82xx]
snd-pcm 54504 1 [snd-pcm-oss snd-via82xx snd-ac97-codec]
snd-timer 13412 0 [snd-pcm]
snd-mpu401-uart 3200 0 [snd-via82xx]
snd-rawmidi 12320 0 [snd-mpu401-uart]
snd-seq-device 3812 0 [snd-rawmidi]
snd 31268 3 [snd-pcm-oss snd-mixer-oss snd-via82xx snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
snd-page-alloc 4712 0 [snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-rawmidi snd-seq-device snd]
soundcore 3396 4 [snd]
ide-scsi 9392 0
8139too 13928 1
mii 2272 0 [8139too]
crc32 2880 0 [8139too]
agpgart 45092 3
apm 9452 2
################################
tail -f /var/log/messages :

Apr 24 21:21:55 Amirhossein kernel: hub.c: new USB device 00:11.3-2, assigned address 3
Apr 24 21:21:58 Amirhossein kernel: Initializing USB Mass Storage driver...
Apr 24 21:21:58 Amirhossein kernel: usb.c: registered new driver usb-storage
Apr 24 21:21:58 Amirhossein kernel: USB Mass Storage support registered.
################################
and finally :
mount /dev/sda1 (or another sh!t like sda15 sdh10 sdb2 .......) /mnt/a_place_inside_hell

says one of these two nice sentences:

mount: special device /dev/s-sh!t does not exist
OR:
mount: /dev/s-sh!t is not a valid block device
################################
I am using slackware 10.1.
Any help, any comment, any tip, any new hint is really really appreciated. Thanks in advance and sorry for the bad literature! I am quite angry!
Great Cheers,
 
Old 04-23-2005, 01:41 PM   #2
YellowBull
LQ Newbie
 
Registered: Jun 2004
Location: The Netherlands
Distribution: Slackware
Posts: 17

Rep: Reputation: 0
As far as I can see the scsi modules are not loaded:

- scsi_mod
- sd_mod

You need these 2 modules loaded if you want connect a usb-storage device.
They are simulated scsi disks.

Try manually loading these modules with modprobe (as root)

Hopes this help you a little bit
 
Old 04-23-2005, 02:16 PM   #3
everal
Member
 
Registered: Nov 2004
Location: Zona Leste, Sao Paulo, Brazil, South America, Alpha Quadrant, Milk Way
Distribution: Slackware 14.0
Posts: 140

Rep: Reputation: 16
attention whem mounting

Hey...


use:


mount -t vfat /dev/sda1 /mnt/camera


remember that the cam will need to be mounted as fat file system , and that 'camera' is the suggested 'place' where you should mount it.



And by the way... all you said is correct, BUT do not forget that today things are really easier, and are changing and becoming better every day.

bye
 
Old 04-23-2005, 02:57 PM   #4
Namaseit
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 325

Rep: Reputation: 30
My canon digital elf s500 works perfectly under linux. And the linux apps are alot more comprehensive too. I like digikam and find it alot better then any windows app I've seen.
 
Old 04-24-2005, 02:33 AM   #5
Amirhossein
Member
 
Registered: Jul 2004
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by YellowBull
As far as I can see the scsi modules are not loaded:

- scsi_mod
- sd_mod

You need these 2 modules loaded if you want connect a usb-storage device.
They are simulated scsi disks.

Try manually loading these modules with modprobe (as root)

Hopes this help you a little bit
First, thanks alot for your reply. Second, scsi_mod means the same as "scsi support" and the latter module means "scsi disk support"; and I WROTE that these are built into the default kernel...OK?
I am waiting for your further but NEW hints,
Cheers,
 
Old 04-24-2005, 02:36 AM   #6
Amirhossein
Member
 
Registered: Jul 2004
Posts: 72

Original Poster
Rep: Reputation: 15
Re: attention whem mounting

Quote:
Originally posted by everal
Hey...


use:


mount -t vfat /dev/sda1 /mnt/camera


remember that the cam will need to be mounted as fat file system , and that 'camera' is the suggested 'place' where you should mount it.



And by the way... all you said is correct, BUT do not forget that today things are really easier, and are changing and becoming better every day.

bye
Thanks alot but I said that where the problem arises. It is not about the "-t vfat" option! It is about this fact kernel cannot attach device as a scsi device; so /dev/sda* refers to nothing.
I am waiting for more technical notes....
Cheers,
 
Old 04-24-2005, 02:42 AM   #7
Amirhossein
Member
 
Registered: Jul 2004
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Namaseit
My canon digital elf s500 works perfectly under linux. And the linux apps are alot more comprehensive too. I like digikam and find it alot better then any windows app I've seen.
Thanks for your reply. I didn't said that Linux application are worse than anything else. Also noting your sentence "I like digikam" or "My canon digital elf s500 works perfectly under linux." has no effect on solving my problem! Your camera is known under libgphoto but mine is not. All the cameras that can act as a usb-mass storge system (like my own camera; don't know yours supports it or not) must accept this funny standard mounting procedure which actually has not worked for me so far....
Great Cheers,
 
Old 04-24-2005, 02:45 AM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Are you using a 2.6 kernel because it should support most USB devices.
 
Old 04-24-2005, 02:48 AM   #9
Amirhossein
Member
 
Registered: Jul 2004
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by reddazz
Are you using a 2.6 kernel because it should support most USB devices.
Thanks...
No, I use the default bare.i 2.4.29 kernel which comes with the CD's. It has anything and it's well compiled and it seems ready for any modern hardware...but.....
Cheers,
 
Old 04-24-2005, 03:08 AM   #10
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I was just asking because hardware support is much better in the 2.6 compared to the 2.4 kernel. Anyway good luck, hope you sort out your problem soon.
 
Old 04-24-2005, 11:42 PM   #11
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Do you have hotplug enabled?

--Shade
 
Old 04-24-2005, 11:50 PM   #12
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Did you try sda or sda0?
 
Old 04-25-2005, 03:53 AM   #13
Nobber
Member
 
Registered: Jun 2002
Location: Nova Scotia
Distribution: Debian (home), Kubuntu 7.04 (work)
Posts: 265

Rep: Reputation: 30
If I were having this much trouble with my digital camera and usb/scsi modules, I'd try something different. For example:

- the latest version of (lib)gphoto2
- using a memory card and card reader instead of connecting the camera directly to the PC
 
Old 04-25-2005, 05:50 AM   #14
Amirhossein
Member
 
Registered: Jul 2004
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Shade
Do you have hotplug enabled?

--Shade
Thanks for your note...
Yes, of course. As you can see the logs in the dmesg or tail outputs. When I plug it, everything using hotplug loads; but...
Cheers,
 
Old 04-25-2005, 05:52 AM   #15
Amirhossein
Member
 
Registered: Jul 2004
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by gbonvehi
Did you try sda or sda0?
Thanks for your note.
It makes no difference which to be used! I have tried ALL of the possibilities. (sd*)
Great Cheers,
 
  


Reply



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 Cameras that Work with Linux rhwaltham Linux - Hardware 6 10-17-2005 06:29 AM
Digital cameras and Linux khwang Linux - Newbie 4 08-19-2005 02:46 PM
Digital Cameras on Linux. excidy Linux - Newbie 1 04-03-2005 07:58 PM
no drivers for digital cameras XforcR Linux - Hardware 2 07-01-2004 12:44 PM
digital cameras allelopath Linux - General 3 04-10-2004 06:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:47 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