LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-24-2005, 01:03 PM   #1
JBarber
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
Casio EX-Z50 with Slack X


First post, glad to be part of the community.

I am posting in hopes of getting some assistance with my Casio Z50 camera. I am new to Linux, in fact, this is my first time playing around with it.

I'm running Slackware 10, and have all the recent Dropline packages. My problem is getting the /dev/sd* devices to display.

I am running the 2.6.11-rc2 kernel, and this is all the pertinent information.

root@kusari:~# cat /var/log/messages | grep usb
Jan 22 21:53:52 kusari kernel: usbcore: registered new driver usbfs
Jan 22 21:53:52 kusari kernel: usbcore: registered new driver hub
Jan 22 21:53:52 kusari kernel: usb 1-1: new low speed USB device using ohci_hcd and address 2
Jan 22 21:53:52 kusari kernel: usbcore: registered new driver usb-storage
Jan 22 21:53:52 kusari kernel: usb 2-1: new full speed USB device using ohci_hcd and address 2
Jan 22 21:53:52 kusari kernel: usb 2-1: configuration #1 chosen from 2 choices
Jan 22 21:53:52 kusari kernel: input: USB HID v1.10 Mouse [Microsoft Basic Optical Mouse] on usb-0000:00:02.2-1
Jan 22 21:53:52 kusari kernel: usbcore: registered new driver usbhid
Jan 22 21:53:52 kusari kernel: drivers/usb/input/hid-core.c: v2.0:USB HID core driver
Jan 22 22:04:27 kusari kernel: usb 2-1: USB disconnect, address 2

--

root@kusari:/proc/scsi/usb-storage# ls
1
root@kusari:/proc/scsi/usb-storage# cat 1
Host scsi1: usb-storage
Vendor: CASIO COMPUTER
Product: CASIO QV DIGITAL
Serial Number: None
Protocol: 8070i
Transport: Control/Bulk
Quirks: FIX_INQUIRY

--

Under my kernel configuration, I have ALL SCSI device support options enabled, just to eliminate the chance of having something I don't need. I do NOT use modules, everything is just compiled into the kernel, so there's no lsmod to output.

Support for Host-side USB (USB)
USB device filesystem (USB_DEVICEFS)
EHCI HCD (USB 2.0) support (USB_EHCI_HCD)
OHCI HCD support (USB_OHCI_HCD)
USB Mass Storage support (USB_STORAGE)

And HID support are what're enabled under the kernel.

What am I missing? What do I do to mount it? Why does nothing appear under /dev/sd*?

ANY help is greatly appreciated.
 
Old 01-24-2005, 04:44 PM   #2
linuxgeekery
Member
 
Registered: Jul 2004
Location: Austin, Texas!
Distribution: Gentoo
Posts: 121

Rep: Reputation: 15
Well, first, try doing mount /dev/sda as root. (Just a note, for usb info, you can do lsusb).

Also, in the /var/log/messages, it says usb disconnect. Is it connected?
 
Old 01-25-2005, 09:34 AM   #3
JBarber
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Original Poster
Rep: Reputation: 0
There's no /dev/s* devices to mount it with, this is the problem.

/proc/scsi/usb-storage exists when the device is on, when it's off, it's no longer there, so I know it's registering it, all the information is there, and then there's one item under usb-storage, namely:

Code:
root@kusari:/proc/scsi/usb-storage# cat 1
   Host scsi1: usb-storage
       Vendor: CASIO COMPUTER
      Product: CASIO QV DIGITAL
Serial Number: None
     Protocol: 8070i
    Transport: Control/Bulk
       Quirks: FIX_INQUIRY
lsusb does not list the device, but it also doesn't list the USB keyboard or mouse that both work.

Code:
root@kusari:~# dmesg|tail -15
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
  Vendor: Casio     Model: QV DigitalCamera  Rev: 1000
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 248320 512-byte hdwr sectors (127 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
SCSI device sda: 248320 512-byte hdwr sectors (127 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
 sda: sda1
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0,  type 0
usb-storage: device scan complete
What am I doing wrong?
Code:
root@kusari:~# ls -d /dev/s*
/dev/sequencer@   /dev/shm/  /dev/sound/   /dev/stdin@
/dev/sequencer2@  /dev/snd/  /dev/stderr@  /dev/stdout@
As you can see, no SCSI devices to mount it with. :/

Last edited by JBarber; 01-25-2005 at 09:50 AM.
 
Old 01-25-2005, 12:52 PM   #4
iscurrah
Member
 
Registered: Jan 2005
Location: Szeged, Hungary
Distribution: Slackware 10
Posts: 35

Rep: Reputation: 15
Hiya,

I'm using Slackware 10 with a Casio Ex100S (I think). My device was created automatically, so I guess that you've got something conflicting - software or driver.

When you boot, does the computer say something about starting hotplug devices ?
Is your rc.hotplug executable ?

iain@bob:~$ ls /etc/rc.d/rc.hotplug -l
-rwxr-xr-x 1 root root 1511 2004-06-21 05:34 /etc/rc.d/rc.hotplug*

Have you tried creating a device for the camera manually ?
(as root)
mknod -m 660 /dev/sda b 8 0
mknod -m 660 /dev/sda1 b 8 1

If you run 'lsmod', is usb_storage listed ?
iain@bob:~$ lsmod | grep usb
usb_storage 28544 0

Do you have other real SCSI devices ?

Iain.
 
Old 01-25-2005, 12:57 PM   #5
iscurrah
Member
 
Registered: Jan 2005
Location: Szeged, Hungary
Distribution: Slackware 10
Posts: 35

Rep: Reputation: 15
Oh, I've also got a file called 000-homegrown.rules in /etc/udev/rules.d/

It uses a Udev rule to create a device called /dev/casio when the camera is connected. You could try the same :

iain@bob:~$ cat /etc/udev/rules.d/000-homegrown.rules
BUS="usb", SYSFS{manufacturer}="OLYMPUS", SYSFS{product}="C5050Z ", NAME="%k", SYMLINK="olympus"
BUS="usb", SYSFS{manufacturer}="CASIO COMPUTER", SYSFS{product}="CASIO QV DIGITAL", NAME="%k", SYMLINK="casio"

From what you've posted, and from the little I understand of Udev rules, this bottom line should work for you.

Oh. Just came to my mind to ask if you've configured your PC to use Udev ? (There will be lots of messages about it in /var/log/messages)
 
  


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
Linux on E-115 Casio Cassiopeia bd1308 Linux - Laptop and Netbook 1 08-31-2005 09:04 AM
Casio E-125 gax1985 Linux - Laptop and Netbook 1 09-19-2004 10:03 PM
USB, Fedora and Casio QV-R40 PhiMati Fedora 2 06-19-2004 04:57 AM
Casio Cassiopeia p-2400u shockWAPs Linux - Laptop and Netbook 0 05-26-2004 07:55 AM
CASIO QV-10A driver problema jamaso Linux - Hardware 2 01-11-2003 06:07 PM

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

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