[Linuxtrent] Re: USB2???

  • From: Flavio Visentin <THe_ZiPMaN@xxxxxxxxx>
  • To: linuxtrent@xxxxxxxxxxxxx
  • Date: Mon, 04 Oct 2004 01:11:47 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

| Prova, come root, a montare a manina:
| modprobe usb-storage
| mkdir /mnt/usbreader
| mount -t vfat /dev/sdXY /mnt/usbreader
| e sostitisci a X a poi b, poi c e così via.
| e a Y 1, poi 2... (anche se di solito è sempre 1)
| con 3/4 prove dovresti trovare il device giusto.

Se utilizzi un kernel 2.6 ti consiglio udev. Con udev puoi assegnare un
nome di periferica costante ad ogni periferica usb/fw/ecc.
Per esempio nel file /etc/udev/rules.d/custom.rules sul mio PC ho le
seguenti righe:

BUS="usb", SYSFS{product}="DiskOnKey", NAME="diskonkey"
BUS="usb", SYSFS{product}="FlashBuster-U", NAME="floppy"
BUS="usb", SYSFS{idVendor}="067b", SYSFS{idProduct}="2303", NAME="serial"
BUS="usb", SYSFS{product}="PowerShot G1", SYMLINK="camera"
BUS="pci", SYSFS{vendor}="0x8086", SYSFS{device}="0x24c6",
NAME="slamr%k", SYMLINK="modem"
BUS="usb", SYSFS{idVendor}="04ce", SYSFS{idProduct}="002", NAME="usbdisk"

che mi semplificano la vita.
Puoi usare systool per vedere i codici dei dispositivi.
- --
Flavio Visentin

|                     \|||/
|                    @/0.0\@
|                     \ - /
+------------------oOOo---oOOo------------------

There are only 10 types of people in this world:
those who understand binary, and those who don't.

GPG Key: http://www.zipman.it/gpgkey.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBYIczusUmHkh1cnoRAqd/AJwOSoeef11XBwyzzaxqvsOoDRpIoQCcC2aP
l+8Gghm8hOKwcRtdvC47UTc=
=ygd7
-----END PGP SIGNATURE-----
--
Per iscriversi  (o disiscriversi), basta spedire un  messaggio con OGGETTO
"subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx


Other related posts: