LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-11-2006, 02:39 AM   #1
Jedi_Jay87
Member
 
Registered: Mar 2006
Distribution: slackware, zenwalk, mint
Posts: 48

Rep: Reputation: 15
slackware 10.2 recognizing usb ports


as the title says I'm having problems detecting my USB ports, i've tried making a dir, and mounting them and recognizing them but its not working. I should also go ahead nad ask about this, everytime i start KDE i get a message that says
Sound server informational message.
Error while intializing the sound driver:
device /dev/dsp can't be opened (no such device)
The sound server will continue, using the null output device

Now i tried working on that but it tell mes that /dev/dsp isnt even a directory and im not sure what i should do.

Last edited by Jedi_Jay87; 03-11-2006 at 02:46 AM.
 
Old 03-11-2006, 02:48 AM   #2
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
Quote:
've tried making a dir, and mounting them
do a "dmesg" after plugging ur usb/flash drive

see the device assigned by the kernel (may b /dev/sda1)
then mount it by mount command(mount -t vfat /dev/sda1 /mnt/usb)
if it is working then edit the fstab for permenent setup
waht kernel ur using?
 
Old 03-11-2006, 02:59 AM   #3
Jedi_Jay87
Member
 
Registered: Mar 2006
Distribution: slackware, zenwalk, mint
Posts: 48

Original Poster
Rep: Reputation: 15
the kernal im using is just the default from the install ,bare.i. when i tried mounting it using that command i got:
mount: /dev/sda1 is not a valid block device.

as for when i run dmesg now all i get is a bunch of I/O errors
 
Old 03-11-2006, 07:25 AM   #4
JockVSJock
Member
 
Registered: Jan 2004
Posts: 636

Rep: Reputation: 31
Quote:
Originally Posted by Jedi_Jay87
as the title says I'm having problems detecting my USB ports, i've tried making a dir, and mounting them and recognizing them but its not working. I should also go ahead nad ask about this, everytime i start KDE i get a message that says
Sound server informational message.
Error while intializing the sound driver:
device /dev/dsp can't be opened (no such device)
The sound server will continue, using the null output device
Sounds like you got two separate things going on here...sound server problems with artsd and/or alsa

Here is info on google about artsd/alsa

http://www.arts-project.org/doc/mcop-doc/artsd-faq.html

Can you post your modules being used by your kernel?

If USB is in your kernel, you should see something called

Code:
usbcore.o
usb-uhci.o, uhci.o or usb-ohci.o
And just like what the others on this thread have said

-make an entry under /etc/fstab
-make a dir under /mnt for the usb device
 
Old 03-11-2006, 07:32 AM   #5
WindowBreaker
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 228

Rep: Reputation: 31
Your USB question fails to provide key information.
1) Do/have these USB ports worked with other devices under linux?
2) What kind of drive are you plugging into USB ports (ie: flash drive or external hard drive, etc)?
3) Have you tried at least two different devices/drives on the USB ports?

Is this a brand new drive, or have you used it on other computer?
If this is an external hard drive, be sure to flip the power switch on the back of the drive (commonly overlooked by users).

I suggest you make sure the 'hotplug' system is running. To see if it's currently enabled/running, check for the existence of the /var/lock/subsys/hotplug file with the following command (and post the output here):
Code:
ls -l /var/lock/subsys/hotplug
To enable hotplug, make it's startup script executable and reboot, as follows:
Code:
chmod 755 /etc/rc.d/rc.hotplug
reboot
If after doing so, you still cannot mount and access your USB drive, display all the partitions which are visible to linux with these commands:
Code:
fdisk -l
or
Code:
cat /proc/partitions
Be sure to post the output of those commands here so we can further help you.

Also, be so kind as to post 'exactly' all the commands you are using to try and mount your USB drives, and manipulate them, etc (also include any output, error messages, that sort of thing).

If any of these resolve your issue, please post details so others may benefit as well.

Last edited by WindowBreaker; 03-11-2006 at 07:34 AM.
 
Old 03-11-2006, 11:46 PM   #6
Jedi_Jay87
Member
 
Registered: Mar 2006
Distribution: slackware, zenwalk, mint
Posts: 48

Original Poster
Rep: Reputation: 15
ok i've fixed the sound that workin great now, as for the usb it rocognizes it and ive set it up to mount when it boots but when i start windowsX i dont see an icon under storage media any help on that one?
 
Old 03-12-2006, 05:29 AM   #7
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
Quote:
make it's startup script executable and reboot,
u dont need to reboot (not windows), just type as root /etc/rc.d/rc.hotplug start
Quote:
dont see an icon under storage media
u may be discribing this related to kde(from where this storage media came)

anyway i hope u need to enter the entry in fstab for that
/dev/sda1 /mnt/usb vfat noauto,user 0 0 --> think so i dont have a usb

first is device--for this u check the dmesg output
second mount point --for this u have to create a dir in /mnt or where ever u want it to

then u can mount the device by typing
mount /mnt/usb
then u can c the device poping in desktop as u c for cddrives
 
Old 03-12-2006, 02:54 PM   #8
Jedi_Jay87
Member
 
Registered: Mar 2006
Distribution: slackware, zenwalk, mint
Posts: 48

Original Poster
Rep: Reputation: 15
Alright everybody thanks for the help I've gotten everything up and running the way it should.
 
Old 03-12-2006, 09:07 PM   #9
Jedi_Jay87
Member
 
Registered: Mar 2006
Distribution: slackware, zenwalk, mint
Posts: 48

Original Poster
Rep: Reputation: 15
Ok, new questions im trying to add it into fstab where it will automatically detect my flash drive but when i try it tell mes permission denied, how do i fix that?
 
Old 01-15-2008, 01:09 AM   #10
Sitzengruben
LQ Newbie
 
Registered: Jan 2008
Posts: 6

Rep: Reputation: 0
Trying to Follow but didn't catch on all the way very new

I have a simular problem getting it to let me see a external hard drive which it referenced to in the install so i know it knows it is there but when I ran the dmesg command I got this

isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
uhci.c: 3c00: host controller halted. very bad
usb.c: USB disconnect on device 00:1d.3-1 address 2
hub.c: new USB device 00:1d.7-7, assigned address 2
usb.c: USB device 2 (vend/prod 0xc0b/0x2bcf) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi2 : SCSI emulation for USB Mass Storage devices
Vendor: WDC WD80 Model: 0JB-00JJC0 Rev: 0000
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi disk sda at scsi2, channel 0, id 0, lun 0
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
sda:<6>hub.c: new USB device 00:1d.3-2, assigned address 3
input0: Microsoft Microsoft Wheel Mouse OpticalŪ on usb5:3.0
sda1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
usb.c: USB disconnect on device 00:1d.7-7 address 2
hub.c: new USB device 00:1d.7-7, assigned address 3
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3

Not sure what to do with this I have that hotplug thingy running too and the usb ports are working also if it is helpful i named the drive ntfs c during the install because it mentioned it so I could look at it
 
  


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
Missing USB Ports (Slackware) Poetics Linux - Hardware 2 01-11-2006 03:52 PM
my slackware does not configure my 8 USB ports? age-jan Linux - Newbie 2 01-07-2006 11:48 AM
recognizing network card on older computer during Slackware install towarzysz Slackware - Installation 2 07-19-2004 03:40 AM
Slackware not recognizing my hard drive? I can't even load bare.i from the cd leeman_s Slackware 1 09-28-2003 11:43 AM
Slackware setup not recognizing cdrom drive smj Linux - Software 9 03-07-2003 05:14 PM


All times are GMT -5. The time now is 04:09 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration