My Fiancee has a Motorola mobile phone. It has a USB cable, under windows you plug the phone in and it shows up as a usb drive, enableing one to drag and drop MP3s and jpegs from PC to phone. This is especially usefull as the phone operates as an MP3 player and camera.
She is infuriated by windows and wants linux/gnome like she uses when i grudgingly let her use one of my boxen.
The relevant chunk of /proc/bus/usb/devices is
Code:
DeviceAdded, udi=/org/freedesktop/Hal/devices/usb_usb_device_22b8_4902_1_-1_noserial_1
Code:
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 11 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=22b8 ProdID=4902 Rev= 0.01
S: Manufacturer=Motorola Inc.
S: Product=Motorola Phone (E398B)
C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr= 20mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=(none)
E: Ad=89(I) Atr=03(Int.) MxPS= 16 Ivl=10ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms
dmesg produces
Code:
usb 1-2: new full speed USB device using address 7
lines like the one below appear in my logs
Code:
Jan 1 23:04:46 [kernel] usb 1-2: new full speed USB device using address 7
Running hal-device-manager, the phone is recognised and I get lots of nice information. What it doesn't tell me is where the phone is accessible through /dev. It does, however, show up in /sys/devices.
The following is produced on the console by hal-device-manager when the device is connected:
Code:
DeviceAdded, udi=/org/freedesktop/Hal/devices/usb_usb_device_22b8_4902_1_-1_noserial_1
I would really like to know how to go about finding the device in /dev if it exists and failing that how to make the device show up if it doesn't already have a /dev entry
The USB controller is definately not the problem as scanner/mouse/tablet etc work fine.
I am testing the phone on Gentoo / 2.6.9-cko3. The system is fully udev. I have the hal up and running and use xfce4.2 or Gnome 2.8 with nautilus. Please help me save someone from the terror of windowze.