On 04.05.2017 20:18, Will Brokenbourgh wrote:
Greetings all,

I know the Illumos kernel probably isn't stuffed full of drivers like
Linux or FreeBSD kernels, but is there some official way to request a
driver be added?

I have a 2014 Moto X phone that can work in MTP and PTP modes and OI
doesn't recognize the phone in any of those modes.  'dmesg' says it
sees the phone being connected and adds it to devices, but then says
there isn't a driver available and the phone obviously isn't
accessible.

Hi.

Fortunately, mtp is usually implemented in userland, not as kernel module. It's enough for kernel to see it as USB device (you can check it in prtconf -v).

For example, I have

  device, instance #2
                Driver properties:
                    name='pm-components' type=string items=3 dev=none
value='NAME= usb_mid2 Power' + '0=USB D3 State' + '3=USB D0 State'
                Hardware properties:
                    name='driver-minor' type=int items=1
                        value=00000000
                    name='driver-major' type=int items=1
                        value=00000002
                    name='high-speed' type=boolean
                    name='configuration#' type=int items=1
                        value=00000001
                    name='usb-product-name' type=string items=1
                        value='LGE Android Phone'
                    name='usb-vendor-name' type=string items=1
                        value='LG Electronics Inc.'
                    name='usb-serialno' type=string items=1
                        value='LGD410851994d'
                    name='usb-raw-cfg-descriptors' type=byte items=39
value=09.02.27.00.01.01.00.80.fa.09.04.00.00.03.06.01.01.08.07.05.81.02.00.02.00.07.05.01.02.00.02.00.07.05.82.03.1c.00.06
                    name='usb-dev-descriptor' type=byte items=18
value=12.01.00.02.00.00.00.40.04.10.3e.63.28.02.01.02.03.02
                    name='usb-release' type=int items=1
                        value=00000200
                    name='usb-num-configs' type=int items=1
                        value=00000002
                    name='usb-revision-id' type=int items=1
                        value=00000228
                    name='usb-product-id' type=int items=1
                        value=0000633e
                    name='usb-vendor-id' type=int items=1
                        value=00001004
                    name='compatible' type=string items=5
value='usb1004,633e.228.config1' + 'usb1004,633e.228' + 'usb1004,633e.1' + 'usb1004,633e' + 'usb,device'
                    name='reg' type=int items=1
                        value=00000006
                    name='assigned-address' type=int items=1
                        value=00000002


You can install gmtp and try if it sees the device. gmtp should be run with root privileges to be able to access device. I've just updated gmtp and libmtp to system/media/[email protected] , library/[email protected],
you can try updated versions.

There's one know issue - gmtp stucks when scanning device for about half a minute. But after that it works more or less fine.

---
System Administrator of Southern Federal University Computer Center

_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to