LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
LinkBack Search this Thread
Old 06-15-2004, 06:53 AM   #1
zhilla
LQ Newbie
 
Registered: Mar 2004
Posts: 9

Rep: Reputation: 0
Question nokia 3300 as usb drive problem


something is wrong here...
i would like to use my nokia 3300a as usb disk, as in windows.
when i plug it in, dmsg says...

usb 1-1: new full speed USB device using address 3
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: NOKIA Model: 3300a Rev: 0001
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 125152 512-byte hdwr sectors (64 MB)
sda: assuming drive cache: write through
sda: sda1
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
USB Mass Storage device found at 3

but when i try to mount iz with mount -t vfat /dev/sda1 /mnt/uesbe
it says "mount: special device /dev/sda1 does not exist"
so i do:
cd /dev
./MAKEDEV sda
mount -t vfat /dev/sda1 /mnt/uesbe

and its mounted ok.
now, i wonder why isnt device autocreated (and i have to makedev every
time), and how to mount it automatically when connected.

distribution is slackware 9.1 with current updates, and 2.6.6 kernel. i
slightly modified slackware .config for 2.6.6, disabled some stuff like
isdn, and compiled. i also have submount installed, can it help? tia
 
Old 07-23-2004, 05:10 AM   #2
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Did u enable devfs support? Hmm, I think you did. Just that with Slackware 9.1, you don't have the rc.udev. So I guess it would be good if you upgrade to Slackware 10.0.
 
Old 07-23-2004, 07:10 AM   #3
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282

Rep: Reputation: 61
If you use udev, you can put 4 lines from /etc/udev/rules.d/devfs.rules.unsupported and add them to /etc/udev/rules.d/udev.rules
Code:
# SCSI block devices
BUS="scsi", KERNEL="sd[a-z]",            PROGRAM="/etc/udev/scripts/scsi-devfs.sh %k %b %n", NAME="%c{1}", SYMLINK="%k %c{2}"
BUS="scsi", KERNEL="sd[a-z][0-9]*",      PROGRAM="/etc/udev/scripts/scsi-devfs.sh %k %b %n", NAME="%c{1}", SYMLINK="%k %c{2}"
BUS="scsi", KERNEL="sd[a-i][a-z]",       PROGRAM="/etc/udev/scripts/scsi-devfs.sh %k %b %n", NAME="%c{1}", SYMLINK="%k %c{2}"
BUS="scsi", KERNEL="sd[a-i][a-z][0-9]*", PROGRAM="/etc/udev/scripts/scsi-devfs.sh %k %b %n", NAME="%c{1}", SYMLINK="%k %c{2}"
Then edit /etc/udev/permissions.d/udev.permissions and change :
Code:
# scsi devices
sg*:root:disk:0660
pg*:root:disk:0660
cdwriter:root:disk:0660
to :
Code:
# scsi devices
sg*:root:disk:0660
sd*:root:disk:0660
pg*:root:disk:0660
cdwriter:root:disk:0660
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Bluetooth and Nokia 3650 Hammett LinuxQuestions.org Member Success Stories 42 08-02-2005 12:21 PM
Nokia DKU-5 cable based on TI USB 3410 titus78 Linux - Hardware 0 04-21-2005 05:39 AM
Nokia 3300 meto Linux - Hardware 0 12-25-2003 01:56 PM
Nokia 3300 Backslash Linux - Laptop and Netbook 6 10-15-2003 08:31 AM
how to configure HP Deskjet 3325 USB PRINTER AND ACER 3300 USB SCANNER ON RHL 8.0 rddreamz Linux - Newbie 2 07-12-2003 08:05 AM


All times are GMT -5. The time now is 06:28 AM.

Main Menu
 
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
Open Source Consulting | Domain Registration