Bug 146152 - ttyACM not detected by hal
Summary: ttyACM not detected by hal
Status: RESOLVED DUPLICATE of bug 148862
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Beta 2
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Danny Kukawka
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-27 13:58 UTC by Ludwig Nussel
Modified: 2006-02-22 16:25 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
log file (4.54 KB, text/plain)
2006-02-03 08:53 UTC, Ludwig Nussel
Details
lshal output from 10.0 (100.64 KB, text/plain)
2006-02-17 10:25 UTC, Ludwig Nussel
Details
lshal output from 10.1 (109.51 KB, text/plain)
2006-02-17 10:34 UTC, Ludwig Nussel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ludwig Nussel 2006-01-27 13:58:12 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)
Comment 1 Ludwig Nussel 2006-01-27 13:59:47 UTC
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
Comment 2 Danny Al-Gaaf 2006-02-02 21:31:43 UTC
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
Comment 3 Ludwig Nussel 2006-02-03 08:53:37 UTC
Created attachment 66303 [details]
log file
Comment 4 Danny Al-Gaaf 2006-02-16 13:57:48 UTC
could you provide a lshal output (complete) with this serial device attached?
Comment 5 Danny Al-Gaaf 2006-02-16 14:02:40 UTC
And could you also provide the same output from a SUSE 10.0 where it worked?
Comment 6 Kay Sievers 2006-02-16 20:49:32 UTC
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)
Comment 7 Ludwig Nussel 2006-02-17 10:25:40 UTC
Created attachment 68987 [details]
lshal output from 10.0
Comment 8 Ludwig Nussel 2006-02-17 10:34:25 UTC
Created attachment 68991 [details]
lshal output from 10.1
Comment 9 Danny Al-Gaaf 2006-02-22 16:25:21 UTC

*** This bug has been marked as a duplicate of 148862 ***