Difool wrote:T'as pas l'air d'avoir pris le bon périphérique :p
Pour retrouver le « device file », j'ai fait :
lshal | grep -i megawin -C 10
Ha, la commande qu'il me fallait, j'avais fait par comparaison...
Je viens d'éditer ma réponse 😉 ... ça correspond un peu plus...
Par contre je n'ai pas de règle
/etc/udev/rules.d/10-local.rules !
Pour info :
[root@localhost dev]# lshal | grep -i megawin -C 10
usb_device.vendor = 'Philips Semiconductors' (string)
usb_device.vendor_id = 1228 (0x4cc) (int)
usb_device.version = 2.0 (2) (double)
udi = '/org/freedesktop/Hal/devices/usb_device_e6a_101_noserial'
info.bus = 'usb_device' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_4cc_1521_noserial' (string)
info.product = 'USB Bridge' (string)
info.subsystem = 'usb_device' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_e6a_101_noserial' (string)
info.vendor = 'Megawin Technology Co., Ltd' (string)
linux.device_file = '/dev/bus/usb/001/006' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'usb' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2' (string)
usb_device.bus_number = 1 (0x1) (int)
usb_device.can_wake_up = false (bool)
usb_device.configuration_value = 1 (0x1) (int)
usb_device.device_class = 0 (0x0) (int)
usb_device.device_protocol = 0 (0x0) (int)
usb_device.device_revision_bcd = 1296 (0x510) (int)
--
usb_device.is_self_powered = false (bool)
usb_device.linux.device_number = 6 (0x6) (int)
usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2' (string)
usb_device.max_power = 100 (0x64) (int)
usb_device.num_configurations = 1 (0x1) (int)
usb_device.num_interfaces = 1 (0x1) (int)
usb_device.num_ports = 0 (0x0) (int)
usb_device.product = 'USB Bridge' (string)
usb_device.product_id = 257 (0x101) (int)
usb_device.speed = 1.5 (1.5) (double)
usb_device.vendor = 'Megawin Technology Co., Ltd' (string)
usb_device.vendor_id = 3690 (0xe6a) (int)
usb_device.version = 1.1 (1.1) (double)
udi = '/org/freedesktop/Hal/devices/usb_device_e6a_101_noserial_if0'
info.bus = 'usb' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_e6a_101_noserial' (string)
info.product = 'USB Vendor Specific Interface' (string)
info.subsystem = 'usb' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_e6a_101_noserial_if0' (string)
linux.hotplug_type = 2 (0x2) (int)
--
usb.is_self_powered = false (bool)
usb.linux.device_number = 6 (0x6) (int)
usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.2/1-2.2:1.0' (string)
usb.max_power = 100 (0x64) (int)
usb.num_configurations = 1 (0x1) (int)
usb.num_interfaces = 1 (0x1) (int)
usb.num_ports = 0 (0x0) (int)
usb.product = 'USB Vendor Specific Interface' (string)
usb.product_id = 257 (0x101) (int)
usb.speed = 1.5 (1.5) (double)
usb.vendor = 'Megawin Technology Co., Ltd' (string)
usb.vendor_id = 3690 (0xe6a) (int)
usb.version = 1.1 (1.1) (double)
udi = '/org/freedesktop/Hal/devices/usb_device_4cc_1521_noserial_if0'
info.bus = 'usb' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_4cc_1521_noserial' (string)
info.product = 'USB Hub Interface' (string)
info.subsystem = 'usb' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_4cc_1521_noserial_if0' (string)
linux.hotplug_type = 2 (0x2) (int)