Ciao,
esiste per netbsd un utility ugen che serve per mappare in /dev i
device USB generici non supportati da nessun driver del kernel.
Esiste una cosa analoga per linux? Se io inserisco una periferica usb
non riconosciuta ottengo in /var/log/message:
usb 3-1: new full speed USB device using address 4
mentre allego ciò che mi mostra usbview sotto.
Come faccio a creare un file in /dev che mi rappresenti questa
periferica? Magari come farebbe ugen?
Unknown Device
Speed: 12Mb/s (full)
USB Version: 1.10
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Vendor Id: 0572
Product Id: 0041
Revision Number: 0.01
Config Number: 1
Number of Interfaces: 1
Attributes: 80
MaxPower Needed: 98mA
Interface Number: 0
Name: (none)
Alternate Number: 0
Class: 0a(data )
Sub Class: ff
Protocol: 00
Number of Endpoints: 1
Endpoint Address: 81
Direction: in
Attribute: 1
Type: Isoc
Max Packet Size: 0
Interval: 1ms
Interface Number: 0
Name: (none)
Alternate Number: 1
Class: 0a(data )
Sub Class: ff
Protocol: 00
Number of Endpoints: 1
Endpoint Address: 81
Direction: in
Attribute: 1
Type: Isoc
Max Packet Size: 154
Interval: 1ms
Interface Number: 0
Name: (none)
Alternate Number: 2
Class: 0a(data )
Sub Class: ff
Protocol: 00
Number of Endpoints: 1
Endpoint Address: 81
Direction: in
Attribute: 1
Type: Isoc
Max Packet Size: 307
Interval: 1ms
Interface Number: 0
Name: (none)
Alternate Number: 3
Class: 0a(data )
Sub Class: ff
Protocol: 00
Number of Endpoints: 1
Endpoint Address: 81
Direction: in
Attribute: 1
Type: Isoc
Max Packet Size: 461
Interval: 1ms
Interface Number: 0
Name: (none)
Alternate Number: 4
Class: 0a(data )
Sub Class: ff
Protocol: 00
Number of Endpoints: 1
Endpoint Address: 81
Direction: in
Attribute: 1
Type: Isoc
Max Packet Size: 614
Interval: 1ms
Interface Number: 0
Name: (none)
Alternate Number: 5
Class: 0a(data )
Sub Class: ff
Protocol: 00
Number of Endpoints: 1
Endpoint Address: 81
Direction: in
Attribute: 1
Type: Isoc
Max Packet Size: 768
Interval: 1ms
Interface Number: 0
Name: (none)
Alternate Number: 6
Class: 0a(data )
Sub Class: ff
Protocol: 00
Number of Endpoints: 1
Endpoint Address: 81
Direction: in
Attribute: 1
Type: Isoc
Max Packet Size: 921
Interval: 1ms
Interface Number: 0
Name: (none)
Alternate Number: 7
Class: 0a(data )
Sub Class: ff
Protocol: 00
Number of Endpoints: 1
Endpoint Address: 81
Direction: in
Attribute: 1
Type: Isoc
Max Packet Size: 1023
Interval: 1ms