LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-24-2003, 06:40 PM   #1
satellites101
LQ Newbie
 
Registered: Oct 2003
Distribution: mandrake
Posts: 8

Rep: Reputation: 0
2 Qestions About USB Devices


I have a samsung digimax 200 digital camera. Under windows it is recognized as a removeable drive. I would like to know how to use this camera under Mandrake Linux 9.1.
When I cnnect the device to the USB port and turn it on nothing happens. I checked under Harddrake to see if it was detecting it. It is detected as a samsung mass storage device, and it says module unknown. I tried a few things I seen on the forums but nothing worked. I tried mount /dev/sda1 -t vfat /mnt//Digimax after creating a directory for it. It returned that this device does not exist. Any help would be greatly appreciated. The other USB problem I am having is with a saitek P-150 action pad game controller. It recognizes it as a Human Interface Device, just like windows, but it says module unknown there as well. I have read somewhere on a forum that another guy was using one of these. In his post he said he plugged it in and it worked. Mine isn't happening this way. Any help would be gretly appreciated. Thanks in advance.

satellites101

Last edited by satellites101; 10-24-2003 at 06:43 PM.
 
Old 10-25-2003, 09:33 AM   #2
Faecal
Member
 
Registered: Sep 2002
Location: York, UK
Distribution: Debian Sid
Posts: 215

Rep: Reputation: 30
It would be helpful if you supplied the output in the system log that occurs when you plug in the device. You can obtain a dump of the system log using the 'dmesg' command, or you can view the file /var/log/messages (may need to be root to view this file).
 
Old 10-25-2003, 11:07 AM   #3
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
satellites101

Your samsung mass storage device will be seen as a SCSI device so you need support for this in your Kernel

If you have SCSI support you may have to modprobe some drivers, for instance to use my USB key I have to modprobe sd_mod.o

Pete
 
Old 10-25-2003, 01:47 PM   #4
satellites101
LQ Newbie
 
Registered: Oct 2003
Distribution: mandrake
Posts: 8

Original Poster
Rep: Reputation: 0
Hello, and thanks for the fast replys. Here is the data that dmesg returned:

The Camera:
hub.c: new USB device 00:1d.2-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x839/0x5) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
usb-uhci.c: interrupt, status 2, frame# 1723
usb_control/bulk_msg: timeout
scsi1 : SCSI emulation for USB Mass Storage devices
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.

The Game Pad:
hub.c: new USB device 00:1d.2-2, assigned address 3
usb.c: USB device 3 (vend/prod 0x6a3/0x510) is not claimed by any active driver.
usb.c: registered new driver hiddev
usb.c: registered new driver hid
usb-uhci.c: interrupt, status 2, frame# 1859
input0: USB HID v1.00 Joystick [Saitek Saitek P150] on usb3:3.0
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice

Sorry for my lack of intelligence on Linux, but I am still kind of new at this. Could you go into more detail about the modprobe for the drivers. I did forget to mention that the camera is recognized as a mass storage device. Any help would be greatly appreciated. Thanks in advance.

satellites101
 
Old 10-25-2003, 05:20 PM   #5
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
satellites101

For the camera try http://www.gphoto.org/ unless you already have it installed, should support your Samsung

For the saitek P-150 action pad try as root (su, password)

sbin/insmod usr/src/linux-2.4.22/drivers/input/joydev.o
sbin/insmod usr/src/linux-2.4.22/drivers/input/input.o

Replace usr/src/linux-2.4.22 with your own path to source directorys

Not sure this will work but it's worth a try

Pete
 
Old 10-25-2003, 06:12 PM   #6
Faecal
Member
 
Registered: Sep 2002
Location: York, UK
Distribution: Debian Sid
Posts: 215

Rep: Reputation: 30
Given that the dmesg output appears to indicate the mass storage/scsi drivers being loaded successfully, "I tried mount /dev/sda1 -t vfat /mnt//Digimax" ought to have worked (I'm assuming that the double slash is just a typo, and that the /mnt/Digimax directory exists). What you may find is that the media is formatted unusually. Try /dev/sda, or /dev/sda2|3|4 etc.

Pete M's instructions for loading modules may be overkill. It would appear that the input module is being loaded correctly when you plug in the gamepad. Try a simple "modprobe joydev" followed by "modprobe analog". One would hope that this would activate a joystick device at /dev/input/js0. Try 'cat /dev/input/js0' (ctrl-C to terminate) to see if this device is producing data when you press buttons on the pad.
 
Old 10-25-2003, 11:55 PM   #7
satellites101
LQ Newbie
 
Registered: Oct 2003
Distribution: mandrake
Posts: 8

Original Poster
Rep: Reputation: 0
I have done a little digging around and I do not believe the camera is being listed in the dev directory. By the way I got the controller working thanks for the great advice. Anyway I ran this and here are the results:

[satellites101@localhost satellites101]$ cat /proc/scsi/usb-storage-0/0
Host scsi0: usb-storage
Vendor: Unknown
Product: Unknown
Serial Number: None
Protocol: Transparent SCSI
Transport: Bulk
GUID: 083900050000000000000000
Attached: Yes
[satellites101@localhost satellites101]$ cat /proc/scsi/scsi
Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: COMBI Model: RW16x10/DVD Rev: H1.0
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 01 Lun: 00
Vendor: LITE-ON Model: LTR-0841 Rev: MNS1
Type: CD-ROM ANSI SCSI revision: 02

I noticed beside protocol that it says Transparent SCSI. I don't really know if this means anything or not, but I thought I would post this anyway. If the device is in the /dev directory is there a way to find out the what it is listed as? I read elsewhere that if an scsi mass storage device was entered into the dev directory that it would be sda1. I still haven't got the modprobe thing figured out so I could use some help there as well in case I do need to use it. Yes the two slashes in the above post were typos, and yes the /mnt/Digimax directory does exist. Any help will be greatly appreciated. Thanks in advance.

satellites101
 
  


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
MDK 10.2: No USB at all (/proc/bus/usb/devices missing) shrodi Mandriva 5 07-01-2005 11:28 AM
No USB at all (/proc/bus/usb/devices missing) shrodi Linux - Hardware 1 05-26-2005 04:07 AM
USB scanner not in /proc/bus/usb/devices psweetma Linux - Hardware 4 02-25-2004 04:47 PM
slackware 9.1 USB mouse and other usb devices not working jimMC Linux - Hardware 11 01-24-2004 10:58 AM
Port qestions Stingreen Linux - General 3 11-18-2001 10:44 AM

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

All times are GMT -5. The time now is 07:23 AM.

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