[Bug 1093378] conflicting udev rules completely break USB Serial bridges
http://bugzilla.suse.com/show_bug.cgi?id=1093378 http://bugzilla.suse.com/show_bug.cgi?id=1093378#c23 --- Comment #23 from Stanislav Brabec <sbrabec@suse.com> --- The installer itself should run with enabled brltty. Otherwise blind people cannot install. But the installed system should have brltty as optional. The short time solution: - According to comment 12, there is anm initial probe. If it fails, brltty should avoid further handling of the device, and especially its rebind from serial to input device. My idea of perfect solution consists of: 1. Make possible to create udev rules active for one physical port only and rules active for selected amount of time (1 hour, until reboot,...) 2. Write a GUI tool that can provide feedback for indistinguishable devices, and load only correct rules. That tool will pop-up and ask user: Generic USB device was connected. Please select a device from list: Braille terminal Watts Up? Pro Wattmeter MTK GPS device SiRF Star III GPS Modem device Generic USB Serial bridge AVR programmer JETI & KLEIN Spectrophotometer Bus watching device (CEM DT-8852, Buspirate, ChronoVu LA8, ChronoVu LA16) []remember for this physical USB port []remember for this USB id []remember for [v]1 hour 3. Response from that tool will generate udev event, and rules can be based on reply. Something like that: # SiRF Star III 20ch Gmouse GPS (a.k.a Cygnal Integrated Products, Inc.) KERNEL=="ttyUSB*", ATTR{idVendor}=="10c4", ATTR{idProduct}=="ea60", NAME='SiRF Star III GPS' RUN="askuser-uncertain-usb-device" KERNEL=="ttyUSB*", ATTR{idVendor}=="10c4", ATTR{idProduct}=="ea60", USER_RESPONSE=="sirf-star-iii", RUN="gpsd.sh" Note on indistinguishable devices: For example, GPS devices using USB serial chip can be completely indistinguishable from USB serial bridge, even with serial probe. My Qstarz BT-Q1000P has a mechanical switch. In the position Off, only the bridge chip is connected, and no communication occurs. No probe can recognize that a GPS device was connected. Only after switching the mechanical switch to "Bluetooth mode" or "Logger mode" the device starts to communicate and respond to probes. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com