Re: udev rule/permissions question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/7/26 Hiisi <very-cool@xxxxxxxxxx>:
> 2010/7/25 Kevin J. Cummings <cummings@xxxxxxxxxxxxxxxxxx>:
>> On 07/25/2010 11:09 AM, Hiisi wrote:
<--SNIP-->

I've solved my problem by adding this udev rule:
KERNEL=="ttyUSB*", ATTRS{idVendor}=="1d6b", ATTRS{idProduct}=="0002",
SYMLINK="modem", OWNER="smsd", GROUP="dialout", MODE="0660"
Now I have:
# ls -l /dev/modem
lrwxrwxrwx. 1 root root 7 26.7. 16:56 /dev/modem -> ttyUSB3
# ls -l /dev/ttyUSB*
crw-rw----. 1 smsd dialout 188, 0 26.7. 16:56 /dev/ttyUSB0
crw-rw----. 1 smsd dialout 188, 1 26.7. 16:56 /dev/ttyUSB1
crw-rw----. 1 smsd dialout 188, 3 26.7. 16:56 /dev/ttyUSB3

In this configuration it works for my needs. But now I encouraged
another problem. The device unsuspectingly disconnects and then
reconnects by itself. The /dev/modem symlink disappears after this.
>From dmesg output:
usb 1-4: USB disconnect, address 33
option: option_instat_callback: error -108
option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
option 1-4:1.0: device disconnected
option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
option 1-4:1.1: device disconnected
option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
option 1-4:1.2: device disconnected
usb 1-4: new high speed USB device using ehci_hcd and address 34
hub 1-0:1.0: unable to enumerate USB device on port 4
hub 3-0:1.0: unable to enumerate USB device on port 2
usb 1-4: new high speed USB device using ehci_hcd and address 35
hub 1-0:1.0: unable to enumerate USB device on port 4
usb 1-4: new high speed USB device using ehci_hcd and address 36
hub 1-0:1.0: unable to enumerate USB device on port 4
usb 3-2: new full speed USB device using ohci_hcd and address 13
usb 3-2: not running at top speed; connect to a high speed hub
usb 3-2: New USB device found, idVendor=12d1, idProduct=1001
usb 3-2: New USB device strings: Mfr=2, Product=1, SerialNumber=0
usb 3-2: Product: HUAWEI Mobile
usb 3-2: Manufacturer: HUAWEI Technology
usb 3-2: configuration #1 chosen from 1 choice
option 3-2:1.0: GSM modem (1-port) converter detected
usb 3-2: GSM modem (1-port) converter now attached to ttyUSB0
option 3-2:1.1: GSM modem (1-port) converter detected
usb 3-2: GSM modem (1-port) converter now attached to ttyUSB1
option 3-2:1.2: GSM modem (1-port) converter detected
usb 3-2: GSM modem (1-port) converter now attached to ttyUSB3

How can I find what causes these disconnections?
-- 
Hiisi.
Registered Linux User #487982. Be counted at: http://counter.li.org/
--
Spandex is a privilege, not a right.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux