Bugzilla – Bug 146152
ttyACM not detected by hal
Last modified: 2006-02-22 16:25:21 UTC
when plugging in a mobile phone with cdc_acm loaded hal doesn't detect the corresponding serial ttyACM device. That worked on 10.0. hwinfo --modem knows it: 34: USB 00.0: 10200 Modem [Created at usb.122] UDI: /org/freedesktop/Hal/devices/usb_device_22b8_4902_noserial_if0 Unique ID: hSuP.ko2lbttwgn0 Parent ID: pBe4.1TAjh24mQt2 SysFS ID: /devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0 SysFS BusID: 2-2:1.0 Hardware Class: modem Model: "Motorola PCS Motorola Phone (V3)" Hotplug: USB Vendor: usb 0x22b8 "Motorola PCS" Device: usb 0x4902 "Motorola Phone (V3)" Revision: "0.01" Driver: "cdc_acm" Device File: /dev/ttyACM0 Speed: 12 Mbps Init1: ATZ Init2: AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Module Alias: "usb:v22B8p4902d0001dc02dsc00dp00ic02isc02ip01" Driver Info #0: Driver Status: cdc_acm is active Driver Activation Cmd: "modprobe cdc_acm" Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #33 (Hub)
slimer:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0 # l insgesamt 0 drwxr-xr-x 4 root root 0 2006-01-27 15:00 ./ drwxr-xr-x 6 root root 0 2006-01-27 14:55 ../ -r--r--r-- 1 root root 4096 2006-01-27 15:00 bAlternateSetting -r--r--r-- 1 root root 4096 2006-01-27 15:00 bInterfaceClass -r--r--r-- 1 root root 4096 2006-01-27 15:00 bInterfaceNumber -r--r--r-- 1 root root 4096 2006-01-27 15:00 bInterfaceProtocol -r--r--r-- 1 root root 4096 2006-01-27 15:00 bInterfaceSubClass -r--r--r-- 1 root root 4096 2006-01-27 15:00 bNumEndpoints lrwxrwxrwx 1 root root 0 2006-01-27 15:00 bus -> ../../../../../../bus/usb/ lrwxrwxrwx 1 root root 0 2006-01-27 15:00 driver -> ../../../../../../bus/usb/drivers/cdc_acm/ drwxr-xr-x 2 root root 0 2006-01-27 15:00 ep_89/ -r--r--r-- 1 root root 4096 2006-01-27 15:00 interface -r--r--r-- 1 root root 4096 2006-01-27 15:00 modalias drwxr-xr-x 2 root root 0 2006-01-27 14:55 power/ lrwxrwxrwx 1 root root 0 2006-01-27 15:00 tty:ttyACM0 -> ../../../../../../class/tty/ttyACM0/ --w------- 1 root root 4096 2006-01-27 15:00 uevent slimer:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0 # l tty\:ttyACM0/ insgesamt 0 drwxr-xr-x 2 root root 0 2006-01-27 15:00 ./ drwxr-xr-x 202 root root 0 2006-01-27 14:55 ../ -r--r--r-- 1 root root 4096 2006-01-27 15:00 dev lrwxrwxrwx 1 root root 0 2006-01-27 15:00 device -> ../../../devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/ --w------- 1 root root 4096 2006-01-27 15:00 uevent
Please restart hal with: hald --retain-privileges --daemon=yes --verbose=yes --use-syslog and if hal end with initial import devices, add your mobile phone, wait for the event and attach the hal related part from /var/log/messages
Created attachment 66303 [details] log file
could you provide a lshal output (complete) with this serial device attached?
And could you also provide the same output from a SUSE 10.0 where it worked?
probe-serial.c fails with non ACM devices: open("/dev/ttyACM0", O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 3 ioctl(3, TIOCGSERIAL, 0xbff5029c) = -1 EINVAL (Invalid argument)
Created attachment 68987 [details] lshal output from 10.0
Created attachment 68991 [details] lshal output from 10.1
*** This bug has been marked as a duplicate of 148862 ***