Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dove trovare il model e il vendor di una periferica?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
turborocket
Guru
Guru


Joined: 09 Oct 2004
Posts: 372

PostPosted: Wed Dec 15, 2004 7:49 pm    Post subject: dove trovare il model e il vendor di una periferica? Reply with quote

raga come da oggetto considerando che il dmesg non mi aiuta
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Wed Dec 15, 2004 7:54 pm    Post subject: Reply with quote

lspci

in pciutils
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
turborocket
Guru
Guru


Joined: 09 Oct 2004
Posts: 372

PostPosted: Wed Dec 15, 2004 8:00 pm    Post subject: Reply with quote

trovato è bastatao dare
Code:
udevinfo -a -p /sys/block/sda

per ottenere
Code:

 follow the class device's "device"
  looking at the device chain at '/sys/devices/pci0000:00/0000:00:0a.0/0000:02:00.2/usb2/2-2/2-2:1.0/host1/1:0:0:0':
    BUS="scsi"
    ID="1:0:0:0"
    SYSFS{detach_state}="0"
    SYSFS{device_blocked}="0"
    SYSFS{max_sectors}="64"
    SYSFS{model}="USB to IDE Disk"
    SYSFS{queue_depth}="1"
    SYSFS{rev}="0002"
    SYSFS{scsi_level}="3"
    SYSFS{state}="running"
    SYSFS{timeout}="30"
    SYSFS{type}="0"
    SYSFS{vendor}="Genesys "
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Dec 15, 2004 8:04 pm    Post subject: Reply with quote

turborocket wrote:
udevinfo -a -p /sys/block/sda


o anche potevi farlo con USB.

Certo, se nel post iniziale ci fossero state piú informazioni... :roll:
_________________
Ciao da me!
Back to top
View user's profile Send private message
turborocket
Guru
Guru


Joined: 09 Oct 2004
Posts: 372

PostPosted: Wed Dec 15, 2004 8:13 pm    Post subject: Reply with quote

:\ non va....

quello che volevo fare era(come ho fatto per il masterizztore dvd e il lettore mp3) nuove rules per l'udev

solo che con gli altri sono riuscito senza problemi, mentre con l'hd non riesco.....

c'è un altro modo per controllare il vendor e il model del disco???
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Wed Dec 15, 2004 8:18 pm    Post subject: Reply with quote

randomaze wrote:
Certo, se nel post iniziale ci fossero state piú informazioni... :roll:


Si' infatti...
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Wed Dec 15, 2004 8:19 pm    Post subject: Reply with quote

turborocket wrote:
c'è un altro modo per controllare il vendor e il model del disco???


Da BIOS
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
turborocket
Guru
Guru


Joined: 09 Oct 2004
Posts: 372

PostPosted: Wed Dec 15, 2004 8:20 pm    Post subject: Reply with quote

cosa dai bios....è un hd montato in un cassetto eide2usb2 come faccio a vederlo da bios
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Wed Dec 15, 2004 8:21 pm    Post subject: Reply with quote

turborocket wrote:
cosa dai bios....è un hd montato in un cassetto eide2usb2 come faccio a vederlo da bios


E io ho la sfera di cristallo per sapere che è un hd montato in un cassetto eide2usb2?

<EDIT> Magari si puo' anche capire che e' esterno leggendo il tuo
Code:
SYSFS{model}="USB to IDE Disk"
ma ti costava tanto dirlo da subito?
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Dec 15, 2004 8:31 pm    Post subject: Reply with quote

Comunque se si attacca alla USB mi sa che non vedresti di dati dell'HD ma il vendor dell'interfaccia USB
_________________
Ciao da me!
Back to top
View user's profile Send private message
SilverXXX
l33t
l33t


Joined: 18 Sep 2004
Posts: 885

PostPosted: Thu Dec 16, 2004 8:02 am    Post subject: Reply with quote

Si vedono i dati del disco, lo so perchè anch'io ho fatto la regola per udev per il mio hd

ps. per chi conosce udev meglio di me: è possibile fare in modo che tutti i device di classe 8 (memorie di massa) vengano raggruppati in una cartella (es /dev/usb-storage)?
_________________
about:mozilla
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Thu Dec 16, 2004 9:31 am    Post subject: Reply with quote

SilverXXX wrote:
ps. per chi conosce udev meglio di me: è possibile fare in modo che tutti i device di classe 8 (memorie di massa) vengano raggruppati in una cartella (es /dev/usb-storage)?

si, puoi fare dei symlink con le apposite regole di udev
guardati i link in fondo alla guida ufficiale per delucidazioni
quello che devi fare è solo trovare un loro minimo comune denominatore (una caratteristica che hanno in comune) tra quelle elencate con udevinfo
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
SilverXXX
l33t
l33t


Joined: 18 Sep 2004
Posts: 885

PostPosted: Thu Dec 16, 2004 10:05 am    Post subject: Reply with quote

Ho fatto grazie (il mcd era il driver usb-storage)
_________________
about:mozilla
Back to top
View user's profile Send private message
Syylk
n00b
n00b


Joined: 22 Jun 2004
Posts: 37
Location: Roma (IT)

PostPosted: Thu Dec 16, 2004 10:38 am    Post subject: Reply with quote

Nel caso di necessita' di trovare model/vendor di periferiche USB, c'e' anche il comodo comando "lsusb". Fa lo stesso che "lspci", solo che, inaspettatamente, su bus USB. :)

Oppure il caro vecchio
Code:
cat /proc/bus/usb/devices | grep "P:"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum