LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-04-2004, 05:20 PM   #1
name_in_use450
Member
 
Registered: Jun 2004
Location: United States
Distribution: slackware 10.0 mostly; used many
Posts: 109

Rep: Reputation: 15
linux usb handling. Seen as SCSI?


I just want to clear some stuff up. Correct anything.

1. Linux sees every hardware device (besides pci and isa) as sdx or hdx which is SCSI and IDE??

2. USB devices are seen as SCSI.

Can USB devices that are not storage hardware (cameras, usb pendrives) be mounted? Such as an usb external wireless receiver or a joystick.
 
Old 09-04-2004, 05:44 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Cameras and USB pendrives are storage devices as far as the kernel is concerned. The kernel sees my camera and mp3 player as /dev/sda1. I could make udev mount them in different places but I don't plug them in at the same time so it's fine by me if it mounts them both at /mnt/mp3. However, to go back to your first point, it doesn't see every USB device as sdx or hdx. My USB printer is accessed through /dev/usb/lp0 and my modem is (I think) /dev/ppp
 
Old 09-04-2004, 08:40 PM   #3
name_in_use450
Member
 
Registered: Jun 2004
Location: United States
Distribution: slackware 10.0 mostly; used many
Posts: 109

Original Poster
Rep: Reputation: 15
cool. So Parallel port printers are /dev/lp0 and usb are /dev/usb/lp0 or it doesnt matter?
 
Old 09-05-2004, 03:56 AM   #4
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
I'm not sure. I know my parallel printer has always been mounted at /dev/lp0 and I used to mknod -m 660 /dev/usblp0 c 180 0 and mount my printer on that, but since I've been using udev, it mounts the USB printer on /dev/usb/lp0. I don't think the name is what counts, the kernel looks at whether it's a character or block device and whether the major and minor numbers match a suitable node. There's more detail in /usr/src/linux/Documentation/devices.txt
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB thumb drive detected by usb but not by scsi ashlock Linux - Hardware 6 06-02-2005 02:58 PM
Scanner Umax 2200 (USB,SCSI) with AHA2940U scsi card problem in Suse 9.2 Pro nathanv117 SUSE / openSUSE 5 02-22-2005 02:06 PM
Handling several USB mass storage devices? KlaymenDK Mandriva 3 06-30-2004 11:04 AM
Red Hat not handling USB devices as well as Mandrake? Campitor Red Hat 1 10-24-2003 08:31 PM
File handling in Linux Prommy Programming 7 07-21-2003 01:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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